Encoding with ffmpeg2theora results in invalid frame duration with mplayer

Bug #515397 reported by Fabio Varesano
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ffmpeg2theora
Invalid
Undecided
Unassigned

Bug Description

I'm trying to encode to Ogg/Theora this screencast:
http://www.sensible.com/rocketsurgery/Steve%20Krug%20Demo%20Usability%20Test.mov

Result of ffmpeg -i:
Duration: 00:24:26.40, start: 0.000000, bitrate: 358 kb/s
     Stream #0.0(eng): Audio: aac, 44100 Hz, mono, s16, 63 kb/s
     Stream #0.1(eng): Video: h264, yuv420p, 1024x768, 290 kb/s, 600 fps, 15 tbr, 600 tbn, 1200 tbc

My command line is (I'm using ffmpeg2theora 0.25):
ffmpeg2theora -A 64 -c 1 --inputfps 15 -x 1024 -y 768 -F 15 --optimize -v 8 Steve\ Krug\ Demo\ Usability\ Test.mov -o prova1.ogv

Unfortunately, once I play the resulting file with mplayer
(MPlayer SVN-r30325-4.4.2) I get various errors:

Invalid frame duration value (0.067/0.000 => -0.067). Defaulting to 0.067 sec.
A: 6.2 V: 6.2 A-V: 0.001 ct: 0.089 93/ 93 0% 0% 0.2% 0 0
Invalid frame duration value (6.267/0.000 => -6.267). Defaulting to 0.067 sec.
A: 14.8 V: 8.6 A-V: 6.218 ct: 0.202 129/129 0% 0% 0.3% 1 0
Invalid frame duration value (8.667/0.000 => -8.667). Defaulting to 0.067 sec.
A: 29.8 V: 15.3 A-V: 14.488 ct: 0.676 230/230 0% 0% 0.3% 7 0
Invalid frame duration value (15.400/0.000 => -15.400). Defaulting to 0.067 sec.

Additionally vlc isn't able to play the resulting video file. It gives back:
[fabio@gamma SteveKrug-RocketSurgeryMadeEasy]$ vlc prova1.ogv
VLC media player 1.0.4 Goldeneye
[0x7f09b8000f58] main input error: ES_OUT_RESET_PCR called

I also tested the same encoding with ffmpeg2theora from svn as of today (1 Feb 2010).. but the results are just the same.

Any suggestions? Ideas?

Thanks,

Fabio Varesano

Revision history for this message
j^ (j) wrote :

the file should play back fine in firefox 3.5 and later or totem(gstreamer). most likely your content is rather static for some frames so a feature of theora to indicate duplicate frames, is used.
mplayer had an issue with this due to a bug in ffmpeg, this should have been fixed in svn.

Changed in ffmpeg2theora:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.