[theora] ffmpeg2theora 0.24 regression: accelerated video output (converted from h264)

Michael Opdenacker michael at free-electrons.com
Thu Jul 16 00:10:08 PDT 2009


Here's another problem I have with the 0.24 version of ffmpeg2theora.

When I try to convert a h264 file to theora...
(Note that for size and runtime reasons, foo.mts is a truncated file,
I just took the first 32MB of the original file)
ffmpeg2theora-0.24.linux32.bin foo.mts -x 1280 -y 720 -o
foo-ffmpeg2theora-0.24.ogv

Input #0, mpegts, from 'foo.mts':
  Duration: 00:00:15.83, start: 1.000067, bitrate: 16946 kb/s
  Program 1
    Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR
16:9], 50 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s
  Pixel Aspect Ratio: 1.00/1   Frame Aspect Ratio: 1.78/1
  Resize: 1920x1080 => 1280x720
      0:00:07.79 audio: 82kbps video: 4254kbps, time remaining: 00:01:34

When I try to play the ogv file, the video stream is playing at accelerated
speed, while the audio speed is the same as in the original.
Same issue with version 0.24-svn20090716.

This didn't happen with version 0.23:
ffmpeg2theora-0.23.linux32.bin foo.mts -x 1280 -y 720 -o
foo-ffmpeg2theora-0.23.ogv

Input #0, mpegts, from 'foo.mts':
  Duration: 00:00:15.80, start: 1.040000, bitrate: 16989 kb/s
  Program 1
    Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR
16:9], 25.00 tb(r)
    Stream #0.1[0x1100]: Audio: liba52, 48000 Hz, stereo, s16, 256 kb/s
  Pixel Aspect Ratio: 1.00/1   Frame Aspect Ratio: 1.78/1
  Resize: 1920x1080 => 1280x720
[h264 @ 0xa804050]B picture before any references, skipping
[h264 @ 0xa804050]decode_slice_header error
[h264 @ 0xa804050]no frame!
[h264 @ 0xa804050]B picture before any references, skipping
[h264 @ 0xa804050]decode_slice_header error
[h264 @ 0xa804050]no frame!
[h264 @ 0xa804050]B picture before any references, skipping
[h264 @ 0xa804050]decode_slice_header error
[h264 @ 0xa804050]no frame!
[h264 @ 0xa804050]B picture before any references, skipping
[h264 @ 0xa804050]decode_slice_header error
[h264 @ 0xa804050]no frame!
      0:00:15.09 audio: 83kbps video: 2149kbps, time elapsed: 00:01:46

All the input and output files are available
on http://free-electrons.com/issues/ffmpeg2theora-jul13-2009/

I hope this will be useful. Don't hesitate to ask me to make more
experiments.

Kind regards,

Michael.

-- 
Michael Opdenacker, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
+ 33 621 604 642



More information about the theora mailing list