[mythtv-users] OT: FFMPEG conversion

James Oltman cnlibmyth at gmail.com
Mon Jul 27 13:40:08 UTC 2009


Here it is:

>
> [root at Diablo New Camera]# ffmpeg -vcodec mpeg4 -s 720x576 -b 9600k -aspect
> 16:9                                              -acodec mp3 -ab 192k -ar
> 44100 -i Playing\ Match\ Game.MOD Playing\ Match\ Game.
>                     avi
> FFmpeg version 0.5-30.fc10, Copyright (c) 2000-2009 Fabrice Bellard, et al.
>  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
> --mandi  r=/usr/share/man --enable-shared --enable-gpl --enable-postproc
> --enable-swscale --enable-avfilter --enable-avfilter-lavf --enable-pthreads
> --enable-x11grab --e nable-vdpau --disable-avisynth --disable-libamr-nb
> --disable-libamr-wb --enable-
> libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad
> --enable-libfaadbi                                           n
> --enable-libgsm --enable-libmp3lame --enable-libschroedinger
> --enable-libspeex                                    --enable-libtheora
> --enable-libvorbis --enable-libx264 --enable-libxvid --extra
>                 -cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protecto                          r
> --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC --disable-stripping
> --extr                    a-cflags=-I/usr/include/nvidia-graphics
> --extra-ldflags=-L/usr/lib64/nvidia-grap             hics
>  libavutil     49.15. 0 / 49.15. 0
>  libavcodec    52.20. 0 / 52.20. 0
>  libavformat   52.31. 0 / 52.31. 0
>  libavdevice   52. 1. 0 / 52. 1. 0
>  libavfilter    0. 4. 0 /  0. 4. 0
>  libswscale     0. 7. 1 /  0. 7. 1
>  libpostproc   51. 2. 0 / 51. 2. 0
>  built on Mar 15 2009 13:30:30, gcc: 4.3.2 20081105 (Red Hat 4.3.2-7)
> [mpeg4 @ 0x2684680]header damaged
>
> Seems stream 0 codec frame rate differs from container frame rate: inf
> (1/0) ->                                              90000.00 (90000/1)
> Input #0, mpeg, from 'Playing Match Game.MOD':
>  Duration: 00:10:11.51, start: 0.287489, bitrate: 5996 kb/s
>    Stream #0.0[0x1e0]: Video: mpeg4, yuv420p, 90k tbr, 90k tbn
>    Stream #0.1[0x80]: Audio: mp3, 0 channels, s16
> File 'Playing Match Game.avi' already exists. Overwrite ? [y/N] y
> Output #0, avi, to 'Playing Match Game.avi':
>    Stream #0.0: Video: mpeg4, yuv420p, q=2-31, 9600 kb/s, 90k tbn, 90k tbc
>    Stream #0.1: Audio: mp2, 0 channels, s16, 192 kb/s
> Stream mapping:
>  Stream #0.0 -> #0.0
>  Stream #0.1 -> #0.1
> [mpeg4 @ 0x2669180]timebase not supported by mpeg 4 standard
> Error while opening codec for output stream #0.0 - maybe incorrect
> parameters su                                             ch as bit_rate,
> rate, width or height
> [root at Diablo New Camera]#
>
> That is with the 44100 change.
>
>
Looks like the error is here:

Seems stream 0 codec frame rate differs from container frame rate: inf (1/0)
->                                              90000.00 (90000/1)

That's just a guess based upon output.  I believe "stream 0" in this case is
your video stream.  You might try to define the frames per second on the
output file.  Again, my knowledge of FFMPEG is EXTREMELY limited.  Good
luck!

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090727/cfde4113/attachment.htm>


More information about the mythtv-users mailing list