convert a video file to mxf mxf container format
Hi All
I am trying to convert a mpg video file to mxf container format using ffmpeg by follwing command. ffmpeg -y -i INPUT.mpg -s 640x480 -vcodec mjpeg -b 5Mb -minrate 4Mb -maxrate 6Mb -bufsize 3Mb -an -f mxf OUTPUT.mxf I get this error:: FFmpeg version 0.5.2, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-shared --enable-libmp3lame libavutil 49.15. 0 / 49.15. 0 libavcodec 52.20. 1 / 52.20. 1 libavformat 52.31. 0 / 52.31. 0 libavdevice 52. 1. 0 / 52. 1. 0 built on May 25 2010 23:17:29, gcc: 4.1.2 20070626 (Red Hat 4.1.2-14) Input #0, mpeg, from 'INPUT.mpg': Duration: 00:00:45.92, start: 0.614889, bitrate: 660 kb/s Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 550 kb/s, 25 tbr, 90k tbn, 25 tbc Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, mono, s16, 96 kb/s [imgconvert @ 0x1bca290]PIX_FMT_YUV420P will be used as an intermediate format for rescaling Output #0, mxf, to 'OUTPUT.mxf': Stream #0.0: Video: mjpeg, yuvj420p, 640x480 [PAR 1:1 DAR 4:3], q=2-31, 5000 kb/s, 90k tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 [mjpeg @ 0x1bc1aa0]Warning min_rate > 0 but min_rate != max_rate isn't recommended! [mxf @ 0x1bc0870]track 0: could not find essence container ul, codec not currently supported in container Could not write header for output file #0 (incorrect codec parameters ?) Is there any other way to achieve this |
[mxf @ 0x1bc0870]track 0: could not find essence container ul, codec not currently supported in container
the mjpeg codec seems to not be supported by the container ... at least within ffmpeg, try another codec ? Or try mencoder ? |
Quote:
Code:
ffmpeg -formats | grep mxf" |
All times are GMT -5. The time now is 02:15 PM. |