Poczekaj . Muszę sprawdzić który dawał najlepsze wyniki , zbliżone do MTS .Robiłem tyle różnych prób że się w tym pogubiłem
Dodano po 21 minutach 42 sekundach:np: sudo ffmpeg -i 1.MTS -c:a pcm_s16be -ab 44k 1.mov
Audio byłoby ok. w 6 kanałach oddzielnych ale bitrat b. wysoki ok 6000kb/s dostaje i nijak go nie potrafie zmienić na np( 448kb/s próby dodawania różnych opcji kończą się niepowodzeniem)
A co do wideo to dostaje bitrate 10Mb/s zamiast oczekiwanego 25Mb/s. Nie wiem jakie parametry i jak się co do znaku je pisze. A skrypty robię na czuja. Może wyśle wynik z media info obu plików?
Dodano po 1 minucie 18 sekundach:ORYGINAŁ:
File size : 54.1 MiB
Duration : 17 s 276 ms
Overall bit rate mode : Variable
Overall bit rate : 26.3 Mb/s
Maximum Overall bit rate : 28.0 Mb/s
Recorded date : 2018-09-02 18:41:06+02:00
Writing application : Sony HDR-CX700VE
Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile :
[email protected]Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Format settings, GOP : M=1, N=12
Codec ID : 27
Duration : 17 s 280 ms
Bit rate mode : Variable
Bit rate : 24.8 Mb/s
Maximum bit rate : 26.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 50.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.239
Stream size : 51.0 MiB (94%)
IrisFNumber : 3.400000
Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 129
Duration : 17 s 280 ms
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 945 KiB (2%)
Service kind : Complete Main
Text
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Duration : 16 s 735 ms
Dodano po 1 minucie 37 sekundach:UZYSKANY WYNIK:
Format : MPEG-4
Format profile : QuickTime
Codec ID : qt 0000.02 (qt )
File size : 21.9 MiB
Duration : 17 s 280 ms
Overall bit rate : 10.6 Mb/s
Writing application : Lavf58.20.100
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile :
[email protected]Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 17 s 280 ms
Bit rate : 6 006 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 50.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.058
Stream size : 12.4 MiB (57%)
Writing library : x264 core 155 r2917 0a84d98
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Codec configuration box : avcC
Audio
ID : 2
Format : PCM
Format settings : Big / Signed
Codec ID : twos
Duration : 17 s 280 ms
Bit rate mode : Constant
Bit rate : 4 608 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Stream size : 9.49 MiB (43%)
Language : English
Default : Yes
Alternate group : 1
Dodano po 3 minutach 50 sekundach:Kurde nie. Ten plik wynikowy DR czyta jako audio wyłącznie- to nie ten ffmg