[FFmpeg-user] Issue with reading out correct Color Ranges (tv, pc) and color primaries (bt709, bt601) Info at AVCIntra- and MPEG2-MXFs
Christoph Gerstbauer
christophgerstbauer at gmx.at
Wed May 7 13:44:44 CEST 2014
Hello Carl,
you can download here 2 samples (including text-dumpfile), each 150MB.
I am not able to crop the MXFs (and I am not shure if I would destroy
something when cropping).
https://dl.dropboxusercontent.com/u/26129407/ffmpeg_user_mailing_sample_AVCI_MXF.zip
Command line syntax/output:
A) AVC-Intra file WITH_KLV_ColorLevelInfo
C:\Users\gersti>ffmpeg -i "I:\New
folder\AVC-INTRA100_(pc_bt709)_WITH_KLV_ColorLevelInfo.mxf"
ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
built on Apr 11 2014 00:32:01 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-li
bass --enable-libbluray --enable-libcaca --enable-libfreetype
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopenco
re-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvidst
ab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs
--enable-libxvid --enable-zlib
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
[h264 @ 00000000003b1b00] Overread VUI by 5 bits
Last message repeated 1 times
[mxf @ 0000000002a97de0] Stream #0: not enough frames to estimate rate;
consider increasing probesize
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
Guessed Channel Layout for Input Stream #0.5 : mono
Guessed Channel Layout for Input Stream #0.6 : mono
Guessed Channel Layout for Input Stream #0.7 : mono
Guessed Channel Layout for Input Stream #0.8 : mono
Input #0, mxf, from 'I:\New
folder\AVC-INTRA100_(pc_bt709)_WITH_KLV_ColorLevelInfo.mxf':
Metadata:
uid : f6509fb0-93ad-466c-9a27-80346b0016ae
generation_uid : dbaa571c-beae-4eff-913a-40cc3e8fb409
company_name : QUANTEL
product_name : GenerationQ
product_version : V5.3 rev 3_P6
product_uid : b4d908cf-53d5-4b41-91a4-82e018e69daa
modification_date: 2013-11-04 11:55:46
timecode : 00:00:10:00
Duration: 00:00:10.00, start: 0.000000, bitrate: 123812 kb/s
Stream #0:0: Video: h264 (High 4:2:2 Intra), yuv422p10le(pc,
bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc
Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:2: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:3: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:4: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:5: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:6: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:7: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:8: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
At least one output file must be specified
B) AVC-Intra file without_KLV_ColorLevelInfo
C:\Users\gersti>ffmpeg -i "I:\New
folder\AVC-INTRA100_(pc_bt709)_without_KLV_ColorLevelInfo.mxf"
ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
built on Apr 11 2014 00:32:01 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-li
bass --enable-libbluray --enable-libcaca --enable-libfreetype
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopenco
re-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvidst
ab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs
--enable-libxvid --enable-zlib
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
[mxf @ 0000000000347de0] invalid KAGSize 0 - guessing 1
[mxf @ 0000000000347de0] invalid KAGSize 0 - guessing 1
[mxf @ 0000000000347de0] Field dominance 0 support is not implemented.
Update your FFmpeg version to the newest one from Git. If the problem
still occurs, it means that your file h
as a feature which has not been implemented.
[mxf @ 0000000000347de0] If you want to help, upload a sample of this
file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the
ffmpeg-devel mailing list.
[h264 @ 000000000034a420] Overread VUI by 5 bits
Last message repeated 1 times
[mxf @ 0000000000347de0] Stream #0: not enough frames to estimate rate;
consider increasing probesize
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
Guessed Channel Layout for Input Stream #0.5 : mono
Guessed Channel Layout for Input Stream #0.6 : mono
Guessed Channel Layout for Input Stream #0.7 : mono
Guessed Channel Layout for Input Stream #0.8 : mono
Input #0, mxf, from 'I:\New
folder\AVC-INTRA100_(pc_bt709)_without_KLV_ColorLevelInfo.mxf':
Metadata:
uid : b851fd97-6241-e311-b144-98fe944f6c6c
generation_uid : e452fd97-6241-e311-b4e9-98fe944f6c6c
company_name : Omneon Inc.
product_name : Omneon Media Subsystem
modification_date: 2013-10-30 12:55:46
product_version : Omneon libommedia 7,3,0,2 10-01-2013
16:01:28,ex={0,-1},rng={0,-1,0},trimAu,exPre
application_platform: Omneon Media Api (mach)
product_uid : 00000000-0000-0010-8000-050e0b010606
timecode : 00:00:00:00
Duration: 00:00:10.04, start: 0.000000, bitrate: 122939 kb/s
Stream #0:0: Video: h264 (High 4:2:2 Intra), yuv422p10le(pc,
bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 174762.67 tbc
Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:2: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:3: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:4: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:5: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:6: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:7: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
Stream #0:8: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
At least one output file must be specified
More information about the ffmpeg-user
mailing list