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 bitrate542.5kbits/s
Error while decoding stream #0.0B time=163.0 bitrate504.8kbits/s
Error while decoding stream #0.0B time=244.4 bitrate461.9kbits/s
Error while decoding stream #0.0B time=281.8 bitrate459.7kbits/s
Error while decoding stream #0.0B time=363.2 bitrate482.0kbits/s
Error while decoding stream #0.0B time=445.3 bitrate507.4kbits/s
Error while decoding stream #0.0B time=484.6 bitrate523.3kbits/s
frame=12125 q=0.0 Lsize= 31477kB time=485.0 bitrate531.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