Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
As mentioned, mencoder might be an option. First, what's the output of
Code:
ffmpeg -formats | grep mxf"
Chances are, you don't have the mxf codec installed. You can get the latest codec packs from the Mplayer site.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.