[FFmpeg-user] MP4 from MXP - Material Package Only
Marton Balint
cus at passwd.hu
Mon Feb 18 23:53:02 EET 2019
On Mon, 18 Feb 2019, DeBacker, Bart wrote:
>
>
> On 2/17/19, 5:57 PM, "ffmpeg-user on behalf of Carl Eugen Hoyos" <ffmpeg-user-bounces at ffmpeg.org on behalf of ceffmpeg at gmail.com> wrote:
>
> 2019-02-17 23:26 GMT+01:00, DeBacker, Bart <Bart.Debacker at turner.com>:
>
> > ffmpeg -i hires.mxf -s 960x540 lores.mp4
> >
> > ffmpeg version 4.0.1
>
> This is soon one year old.
>
> Carl Eugen
>
>
> I grabbed the latest snapshot and see the same behavior. I don't think
> this is really a bug, since the frames exist and are valid, but the MXF
> metadata is specifying a start time that is a few frames in and I would
> like the MP4 to match that. Hoping there is a flag I am missing.
I am afraid there is no magic option in ffmpeg to fix this at the moment.
Regards,
Marton
>
> ffmpeg -i hires.mxf -s 960x540 lores.mp4
> ffmpeg version N-93137-gfe7d8c993f-tessus https://evermeet.cx/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers
> built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
> configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --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-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
> libavutil 56. 26.100 / 56. 26.100
> libavcodec 58. 47.102 / 58. 47.102
> libavformat 58. 26.101 / 58. 26.101
> libavdevice 58. 6.101 / 58. 6.101
> libavfilter 7. 48.100 / 7. 48.100
> libswscale 5. 4.100 / 5. 4.100
> libswresample 3. 4.100 / 3. 4.100
> libpostproc 55. 4.100 / 55. 4.100
> [mxf @ 0x7fc553000000] invalid KAGSize 0 - guessing 1
> [mxf @ 0x7fc553000000] invalid KAGSize 0 - guessing 1
> [mxf @ 0x7fc553000000] invalid KAGSize 0 - guessing 1
> [mxf @ 0x7fc553000000] Estimating duration from bitrate, this may be inaccurate
> 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 'hires.mxf':
> Metadata:
> application_platform: Omneon Media Api (mqx)
> uid : e4367ad7-e332-e911-aa0c-00d0280b03c6
> generation_uid : 98377ad7-e332-e911-8165-00d0280b03c6
> company_name : Omneon Inc.
> product_name : Omneon Media Subsystem
> modification_date: 2019-02-17T18:42:56.556000Z
> product_version : 6.4.1.0.release
> product_uid : 00000000-0000-0010-8000-050e0b010602
> material_package_umid: 0x060A2B340101010501010D2313009497526E7AD7E332E911BFE500D0280B03C6
> timecode : 13:42:58;09
> Duration: 00:01:55.68, start: 0.000000, bitrate: 38069 kb/s
> Stream #0:0: Video: mpeg2video (Main), yuv420p(tv, top first), 1440x1080 [SAR 4:3 DAR 16:9], Closed Captions, 35000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 59.94 tbc
> Metadata:
> file_package_umid: 0x060A2B340101010501010D231300AF26507A7AD7E332E911AF0900D0280B03C6
> Stream #0:1: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
> Metadata:
> file_package_umid: 0x060A2B340101010501010D231300AF26507A7AD7E332E911AF0900D0280B03C6
> Stream #0:2: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
> Metadata:
> file_package_umid: 0x060A2B340101010501010D231300AF26507A7AD7E332E911AF0900D0280B03C6
> Stream #0:3: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
> Metadata:
> file_package_umid: 0x060A2B340101010501010D231300AF26507A7AD7E332E911AF0900D0280B03C6
> Stream #0:4: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
> Metadata:
> file_package_umid: 0x060A2B340101010501010D231300AF26507A7AD7E332E911AF0900D0280B03C6
> Stream #0:5: Data: none
> Metadata:
> file_package_umid: 0x060A2B340101010501010D231300AF26507A7AD7E332E911AF0900D0280B03C6
> data_type : vbi_vanc_smpte_436M
> Stream mapping:
> Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
> Stream #0:1 -> #0:1 (pcm_s16le (native) -> aac (native))
> Press [q] to stop, [?] for help
> [libx264 @ 0x7fc554001200] using SAR=1/1
> [libx264 @ 0x7fc554001200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
> [libx264 @ 0x7fc554001200] profile High, level 3.1, 4:2:0, 8-bit
> [libx264 @ 0x7fc554001200] 264 - core 157 r2935 545de2f - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: 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=12 lookahead_threads=2 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
> Output #0, mp4, to 'lores.mp4':
> Metadata:
> application_platform: Omneon Media Api (mqx)
> uid : e4367ad7-e332-e911-aa0c-00d0280b03c6
> generation_uid : 98377ad7-e332-e911-8165-00d0280b03c6
> company_name : Omneon Inc.
> product_name : Omneon Media Subsystem
> modification_date: 2019-02-17T18:42:56.556000Z
> product_version : 6.4.1.0.release
> product_uid : 00000000-0000-0010-8000-050e0b010602
> material_package_umid: 0x060A2B340101010501010D2313009497526E7AD7E332E911BFE500D0280B03C6
> timecode : 13:42:58;09
> encoder : Lavf58.26.101
> Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 960x540 [SAR 1:1 DAR 16:9], q=-1--1, 0.03 fps, 30k tbn, 29.97 tbc
> Metadata:
> file_package_umid: 0x060A2B340101010501010D231300AF26507A7AD7E332E911AF0900D0280B03C6
> encoder : Lavc58.47.102 libx264
> Side data:
> cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
> Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 69 kb/s
> Metadata:
> file_package_umid: 0x060A2B340101010501010D231300AF26507A7AD7E332E911AF0900D0280B03C6
> encoder : Lavc58.47.102 aac
> frame= 3345 fps=145 q=-1.0 Lsize= 9849kB time=00:01:51.61 bitrate= 722.9kbits/s speed=4.84x
> video:8781kB audio:946kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.258519%
> [libx264 @ 0x7fc554001200] frame I:14 Avg QP:20.98 size: 42749
> [libx264 @ 0x7fc554001200] frame P:1003 Avg QP:23.27 size: 5854
> [libx264 @ 0x7fc554001200] frame B:2328 Avg QP:27.07 size: 1083
> [libx264 @ 0x7fc554001200] consecutive B-frames: 0.8% 9.3% 29.8% 60.1%
> [libx264 @ 0x7fc554001200] mb I I16..4: 16.8% 54.3% 28.9%
> [libx264 @ 0x7fc554001200] mb P I16..4: 0.6% 2.0% 0.5% P16..4: 26.8% 10.5% 5.5% 0.0% 0.0% skip:54.1%
> [libx264 @ 0x7fc554001200] mb B I16..4: 0.0% 0.1% 0.0% B16..8: 21.6% 2.9% 0.2% direct: 0.4% skip:74.7% L0:37.4% L1:58.0% BI: 4.6%
> [libx264 @ 0x7fc554001200] 8x8 transform intra:61.5% inter:73.2%
> [libx264 @ 0x7fc554001200] coded y,uvDC,uvAC intra: 61.0% 71.4% 29.6% inter: 5.2% 7.8% 0.1%
> [libx264 @ 0x7fc554001200] i16 v,h,dc,p: 30% 31% 3% 36%
> [libx264 @ 0x7fc554001200] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 17% 15% 6% 8% 8% 8% 8% 8%
> [libx264 @ 0x7fc554001200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 28% 9% 4% 8% 8% 7% 5% 5%
> [libx264 @ 0x7fc554001200] i8c dc,h,v,p: 46% 26% 21% 7%
> [libx264 @ 0x7fc554001200] Weighted P-Frames: Y:0.0% UV:0.0%
> [libx264 @ 0x7fc554001200] ref P L0: 64.1% 13.6% 14.9% 7.4%
> [libx264 @ 0x7fc554001200] ref B L0: 86.8% 11.1% 2.1%
> [libx264 @ 0x7fc554001200] ref B L1: 96.3% 3.7%
> [libx264 @ 0x7fc554001200] kb/s:644.43
> [aac @ 0x7fc554002a00] Qavg: 118.104
>
> _______________________________________________
> 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".
More information about the ffmpeg-user
mailing list