[FFmpeg-devel] [PATCH] doc/bitstream_filters: document imx_dump_header

Dave Rice dave at dericed.com
Tue Jun 10 17:38:56 CEST 2014


On Jun 9, 2014, at 5:46 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Mon, Jun 09, 2014 at 12:24:12PM -0800, Lou Logan wrote:
>> Signed-off-by: Lou Logan <lou at lrcd.com>
>> ---
>> Example is untested:
>> 
>> * I have no IMX in MXF sample to test.
>> * I don't have Final Cut Pro.
> 
> i would suggest this is checked to be still needed before applying this
> patch.

I tested this with this sample http://www.opencubetech.com/userdoc/mxf_samples_files/xdcamimx-30mbps-ntsc.mxf using ffmpeg 2.2.3.

If I run as suggested:
ffmpeg -i xdcamimx-30mbps-ntsc.mxf -c copy -bsf:v imx_dump_header xdcamimx-30mbps-ntsc.mov
ffmpeg version 2.2.3 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jun  9 2014 21:32:57 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-ffplay --enable-libx265 --enable-libopenjpeg --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
  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
  libavresample   1.  2.  0 /  1.  2.  0
  libswscale      2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.1 : 7.1
Input #0, mxf, from 'xdcamimx-30mbps-ntsc.mxf':
  Metadata:
    uid             : 5dac9960-28f4-11e2-8a50-00195b542ed4
    generation_uid  : 5dac9960-28f4-11e2-8a51-00195b542ed4
    company_name    : OC  
    product_name    : OCTk
    product_version : 2.5 
    product_uid     : 109c5440-d21d-b211-8029-001111ebc476
    modification_date: 2012-11-07 17:01:18
    timecode        : 00:06:58;29
  Duration: 00:00:05.27, start: 0.000000, bitrate: 42616 kb/s
    Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv), 720x512 [SAR 128:135 DAR 4:3], max. 30000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 59.94 tbc
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, 7.1, s16, 6144 kb/s
Unknown bitstream filter imx_dump_header
Conversion failed!

I didn't see imx_dump_header in git. Is there a patch I'm missing? Also I don't think the original documentation would work in Final Cut properly unless you set the vtag to mx[3,4,5][n,p] as imx.
Dave Rice


More information about the ffmpeg-devel mailing list