[Ffmpeg-devel] [patch] ffmpeg fails to create a mov, example file

Marcus Engene ffmpeg
Fri May 20 15:20:14 CEST 2005


If you'd like an example file that doesn't work well before the patch, 
please use ehsmeng.se/bug.mov (26MB). It's the one I used to get the 
behaviour below.

ffmpeg -v 9 -i bug.mov -acodec mp3 apa.mov

/Marcus


Hi list,

I have a problem with ffmpeg, I try to convert a dv->mov/mpeg4 but it 
only results in one frame in the beginning. It used to work fine.
I traced the problem to have been created on the 20050329->20050330. I 
attach a patch that makes it work for me. The patch is how it looked in 
the 20050329 version. I haven't done any deeper investigations.

My machine is a AMD64, Linux Fedora Core 3 if that would be relevant.

Best regards,
Marcus

Here is the ffmpeg output

after correction:

[ehsmeng at mengamd64 apa]$ ./ffmpeg -v 9 -i ~/slask/pagan_liquors.mov 
-acodec mp3 apa.mov
ffmpeg version 0.4.9-pre1, build 4751, Copyright (c) 2000-2004 Fabrice 
Bellard
 configuration:  --enable-gpl --disable-vhook --enable-mp3lame 
--enable-xvid --enable-shared --disable-mmx
 built on May 19 2005 20:11:28, gcc: 3.4.3 20050227 (Red Hat 3.4.3-22.fc3)
Input #0, mov,mp4,m4a,3gp,3g2, from 
'/home/ehsmeng/slask/pagan_liquors.mov':
 Duration: 00:00:07.3, start: 0.000000, bitrate: 30432 kb/s
 Stream #0.0: Video: dvvideo, 720x480, 29.97 fps
 Stream #0.1: Audio: pcm_s16be, 48000 Hz, stereo, 1536 kb/s
Output #0, mov, to 'apa.mov':
 Stream #0.0: Video: mpeg4, 720x480, 29.97 fps, q=2-31, 200 kb/s
 Stream #0.1: Audio: mp3, 48000 Hz, stereo, 64 kb/s
Stream mapping:
 Stream #0.0 -> #0.0
 Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=    8 q=0.0 size=     226kB time=0.3 bitrate=6925.4kbits/s dup=0 
drop=0
frame=   18 q=0.0 size=     251kB time=0.6 bitrate=3426.3kbits/s dup=0 
drop=0
frame=   30 q=0.0 size=     275kB time=1.0 bitrate=2250.4kbits/s dup=0 
drop=0

before, ie w/o the patch:

[ehsmeng at mengamd64 apa]$ ./ffmpeg -v 9 -i ~/slask/pagan_liquors.mov 
-acodec mp3 apa.mov
ffmpeg version 0.4.9-pre1, build 4751, Copyright (c) 2000-2004 Fabrice 
Bellard
 configuration:  --enable-gpl --disable-vhook --enable-mp3lame 
--enable-xvid --enable-shared --disable-mmx
 built on May 19 2005 19:40:43, gcc: 3.4.3 20050227 (Red Hat 3.4.3-22.fc3)
Input #0, mov,mp4,m4a,3gp,3g2, from 
'/home/ehsmeng/slask/pagan_liquors.mov':
 Duration: 00:00:07.3, start: 0.000000, bitrate: 30432 kb/s
 Stream #0.0: Video: dvvideo, 720x480, 29.97 fps
 Stream #0.1: Audio: pcm_s16be, 48000 Hz, stereo, 1536 kb/s
File 'apa.mov' already exists. Overwrite ? [y/N] y
Output #0, mov, to 'apa.mov':
 Stream #0.0: Video: mpeg4, 720x480, 29.97 fps, q=2-31, 200 kb/s
 Stream #0.1: Audio: mp3, 48000 Hz, stereo, 64 kb/s
Stream mapping:
 Stream #0.0 -> #0.0
 Stream #0.1 -> #0.1
Press [q] to stop encoding
*** drop!
*** drop!
*** drop!
*** drop!
*** drop!
*** drop!
frame=    2 q=0.0 size=      91kB time=0.1 bitrate=11122.7kbits/s dup=0 
drop=6
*** drop!
*** drop!

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mov.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050520/5a0e9e7b/attachment.txt>



More information about the ffmpeg-devel mailing list