[Theora-dev] ffmpeg2theora bugs ?

java dev javadev9797 at yahoo.com
Fri Sep 2 10:42:52 PDT 2005


Hi,
we are using ffmpeg2theora as encoder for a new
project.

We are finding problems during the conversion step
with different type of input compression but, for now,
in AVI container.

In many case an error generated by ffmpeg lib produce
a stop in theora lib (we suppose)

Here an example:

D:\tmp\ffmpeg>ffmpeg -i f:\vi1.avi vo1.avi
ffmpeg version 0.4.9-pre1, build 4743, Copyright (c)
2000-2004 Fabrice Bellard
  configuration:  --enable-mp3lame --enable-vorbis
--enable-faad --enable-faac -
-enable-xvid --enable-mingw32 --enable-a52
--enable-dts --enable-pp --enable-gpl
 --enable-memalign-hack
  built on Feb 22 2005 04:58:29, gcc: 3.4.2
(mingw-special)
Input #0, avi, from 'f:\vi1.avi':
  Duration: 00:08:04.8, start: 0.000000, bitrate:
30345 kb/s
  Stream #0.0: Video: dvvideo, 720x576, 25.00 fps
  Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo,
1536 kb/s
Output #0, avi, to 'zzzzzzz.avi':
  Stream #0.0: Video: mpeg4, 720x576, 25.00 fps,
q=2-31, 200 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Error while decoding stream #0.0B time=81.4 bitrate=
542.5kbits/s
Error while decoding stream #0.0B time=163.0 bitrate=
504.8kbits/s
Error while decoding stream #0.0B time=244.4 bitrate=
461.9kbits/s
Error while decoding stream #0.0B time=281.8 bitrate=
459.7kbits/s
Error while decoding stream #0.0B time=363.2 bitrate=
482.0kbits/s
Error while decoding stream #0.0B time=445.3 bitrate=
507.4kbits/s
Error while decoding stream #0.0B time=484.6 bitrate=
523.3kbits/s
frame=12125 q=0.0 Lsize=   31477kB time=485.0 bitrate=
531.7kbits/s
video:26904kB audio:3791kB global headers:0kB muxing
overhead 2.548237%

As you can see an error was probably generated by our
Pinnacle system, as each 80 sec. about an error was
found; anyway the video output is generated correctly.

Using ffmpeg2theora instead, the coding progess goes
in loop and we have to stop the process.
As you can see below the time [1.21.34] is probably
the same in seconds [81.4] where ffmpeg found the
error.

F:\th15 -x320 -y256 -V256 -A45 -o vogg.ogg vi1.avi
Input #0, avi, from 'vi1.avi':
  Duration: 00:08:04.8, start: 0.000000, bitrate:
30345 kb/s
  Stream #0.0: Video: dvvideo, yuv420p, 720x576, 25.00
fps
  Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo,
1536 kb/s
  Resize: 720x576 => 320x256
  Resample: 48000Hz => 44100Hz
      0:01:21.34 audio: 46kbps video: 230kbps         
        ^C

With other files ffmpeg2theora stop in the same way,
but we have found that ffmpeg stop at the same time
too.

In short we tested a lot of video files, but few of
them was encoded :-(

Note: we work with files up to 10-12GB.
The system is WindowsXp.

I'm waiting for your notes

Thanks

JD

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Theora-dev mailing list