[FFmpeg-user] ffmpeg issues with XAVC-L in MXF container
Tim Zett
tim_z at gmx.net
Sat Oct 8 10:23:35 EEST 2016
Hi Carl Eugen,
here comes the console output - attached.
x264 does not support paff encoding, do you think the encoding
quality is bad?
=> can you please tell me what you mean with 'paff' ? It is common and actually the standard that one does encode progressive frames with x264, so if 'libx264' obviously cannot do it in my case, which ffmpeg codec should be used then?
It's not about quality here but getting exactly the same specs at the output file except it's size.
I don't understand this sentence.
=> The original (input) files had 50 frames per second, means a constant frame rate.
The resulting (output file) deals with a variable frame rate (like those videos from mobile phones or frame grabber) which is unusable in my editing program.
So the remaining question is: Why is libx264 touching both my progressive frames and the constant frame rate?
Regards,
Tim
Am 05.10.2016 um 13:12 schrieb Carl Eugen Hoyos:
> 2016-10-05 12:42 GMT+02:00 Tim Zett <tim_z at gmx.net>:
>
>> I'd like to re-wrap Sony XAVC-L video based on OP-1a in MXF container,
> Please use "remuxing" so everybody here understands what
> you are trying to say.
>
>> in order to produce proxy files for my edits.
>> I am using the following command line:
>>
>> & $ffmpegpath -i $Item.FullName -map 0:0 -map 0:1 -map 0:2 -map 0:3 -map 0:4
>> -c:a copy -c:d copy -c:t copy -copyts -metadata creation_time=$Timestamp
>> -c:v libx264 -pix_fmt yuv422p10le -intra -b:v 16000k -vf scale=1280:720 -y
>> $targetfolder\$TargetItem'.MXF'
> Complete, uncut console output missing.
>
>> However, the resulting frames are interlaced, even though in the
>> original file the are progressive,
> x264 does not support paff encoding, do you think the encoding
> quality is bad?
>
>> and even they are variable frames, other than in
>> the original where they are fixed:
> I don't understand this sentence.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
-------------- next part --------------
ffmpeg.exe : ffmpeg version N-81409-ga3cab3d Copyright (c) 2000-2016 the FFmpeg developers
In \\LTB\Thomas\Scripts\MakeXAVCProxy.ps1:37 Zeichen:5
+ & $ffmpegpath -i $Item.FullName -map 0:0 -map 0:1 -map 0:2 -map 0 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (ffmpeg version ...mpeg developers:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth
--enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 29.100 / 55. 29.100
libavcodec 57. 54.100 / 57. 54.100
libavformat 57. 47.101 / 57. 47.101
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 52.100 / 6. 52.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Input #0, mxf, from 'D:\_Test\FCTFE_03\Clip0001.MXF':
Metadata:
uid : 4907240a-b84e-122d-9c7c-000000000000
generation_uid : 49072414-b84e-122d-9be8-000000000000
company_name : Sony
product_name : Mem
product_version : 2.00
product_uid :
ffffffff-ffff-ffff-ffff-ffffffffffff
modification_date: 2016-09-04 11:03:04
material_package_umid:
0x060A2B340101010501010D431300000096E6E075357605C990B686FFFED299BB
timecode : 00:17:07:34
Duration:
00:00:04.80
, start:
0.000000
, bitrate:
52919 kb/s
Stream #0:
0: Video: h264 (High 4:2:2), yuv422p10le(tv, bt709/bt709/iec61966-2-4), 1920x1080 [SAR 1:1 DAR 16:9],
50 fps, 50 tbr, 50 tbn, 100 tb
c
Metadata:
file_package_umid:
0x060A2B340101010501010D431300000097E6E075357605C990B686FFFED299BB
Stream #0:
1: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
Metadata:
file_package_umid: 0x060A2B340101010501010D431300000097E6E075357605C990B686FFFED299BB
Stream #0:2: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
Metadata:
file_package_umid: 0x060A2B340101010501010D431300000097E6E075357605C990B686FFFED299BB
Stream #0:3
: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
Metadata:
file_package_umid:
0x060A2B340101010501010D431300000097E6E075357605C990B686FFFED299BB
Stream #0:
4: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
Metadata:
file_package_umid: 0x060A2B340101010501010D431300000097E6E075357605C990B686FFFED299BB
Stream #0:5: Data: none
Metadata:
file_package_umid: 0x060A2B340101010501010D431300000097E6E075357605C990B686FFFED299BB
data_type :
vbi_vanc_smpte_436M
[libx264 @ 000000000076dfc0]
using SAR=1/1
[libx264 @ 000000000076dfc0]
using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 000000000076dfc0]
profile High 4:2:2 Intra, level 3.2, 4:2:2 8-bit
[mxf @ 0000000002b72ba0]
Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Last message repeated 4 times
Output #0, mxf, to 'D:\_Test\FCTFE_03\Proxy\Clip0001.MXF':
Metadata:
uid :
4907240a-b84e-122d-9c7c-000000000000
generation_uid :
49072414-b84e-122d-9be8-000000000000
company_name :
Sony
product_name :
Mem
product_version : 2.00
product_uid : ffffffff-ffff-ffff-ffff-ffffffffffff
modification_date:
2016-09-04 11:03:04
material_package_umid:
0x060A2B340101010501010D431300000096E6E075357605C990B686FFFED299BB
timecode :
00:17:07:34
creation_time :
2016-10-08 11:15:3
5
encoder :
Lavf57.47.101
Stream #0:
0: Video: h264 (libx264), yuv422p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 8000 kb/s,
50 fps,
50 tbn,
50 tbc
Metadata:
file_package_umid:
0x060A2B340101010501010D431300000097E6E075357605C990B686FFFED299BB
encoder :
Lavc57.54.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/8000000 buffer size: 0 vbv_delay: -1
Stream #0:1
: Audio: pcm_s24le, 48000 Hz, mono (24 bit), 1152 kb/s
Metadata:
file_package_umid: 0x060A2B340101010501010D431300000097E6E075357605C990B686FFFED299BB
Stream #0:
2: Audio: pcm_s24le, 48000 Hz, mono (24 bit), 1152 kb/s
Metadata:
file_package_umid:
0x060A2B340101010501010D431300000097E6E075357605C990B686FFFED299BB
Stream #0:
3: Audio: pcm_s24le, 48000 Hz, mono (24 bit), 1152 kb/s
Metadata:
file_package_umid:
0x060A2B340101010501010D431300000097E6E075357605C990B686FFFED299BB
Stream #0:
4: Audio: pcm_s24le, 48000 Hz, mono (24 bit), 1152 kb/s
Metadata:
file_package_umid:
0x060A2B340101010501010D431300000097E6E075357605C990B686FFFED299BB
Stream mapping:
Stream #0:0 -> #0:0
(h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1
(copy)
Stream #0:2 -> #0:
2
(copy)
Stream #0:3 -> #0:
3 (copy)
Stream #0:4 -> #0:4 (copy)
Press [q] to stop, [?] for help
[mxf @ 0000000002b72ba0]
-d10_channelcount requires MXF D-10 and will be ignored
Last message r
ep
eate
d 3 times
frame= 14 fps=5.7 q=28.0 size= 45kB time=00:00:00.46 bitrate= 800.3kbits/s speed=0.186x
frame= 64 fps= 22 q=30.0 size= 1685kB time=00:00:01.46 bitrate=9453.5kbits/s speed=0.491x
frame= 117 fps= 34 q=30.0 size= 3376kB time=00:00:02.52 bitrate=10975.6kbits/s speed=0.725x
frame= 164 fps= 41 q=30.0 size= 4883kB time=00:00:03.46 bitrate=11561.0kbits/s speed=0.868x
frame= 214 fps= 48 q=30.0 size= 6493kB time=00:00:04.46 bitrate=11926.2kbits/s speed=0.994x
frame= 240 fps= 50 q=-1.0 Lsize= 7766kB time=00:00:04.80 bitrate=13254.1kbits/s speed= 1x
video:4691kB audio:2700kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 5.071590%
[libx264 @ 000000000076dfc0]
frame I:240 Avg QP:29.20 size: 20016
[libx264 @ 000000000076dfc0] mb I I16..4: 20.2% 61.7% 18.2%
[libx264 @ 000000000076dfc0] final ratefactor: 22.21
[libx264 @ 000000000076dfc0]
8x8 transform intra:61.6%
[libx264 @ 000000000076dfc0] coded y,uvDC,uvAC intra: 49.1% 38.8% 0.2%
[libx264 @ 000000000076dfc0] i16 v,h,dc,p: 32% 45% 7% 16%
[libx264 @ 000000000076dfc0]
i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 15% 22% 7% 5% 5% 5% 5% 4%
[libx264 @ 000000000076dfc0]
i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43% 19% 13% 6% 5% 4% 4% 3% 2%
[libx264 @ 000000000076dfc0]
i8c dc,h,v,p: 54% 15% 29% 2%
[libx264 @ 000000000076dfc0]
kb/s:8006.32
More information about the ffmpeg-user
mailing list