[Ffmpeg-devel] Cant convert mpeg to ogg using theora video codec

Pranav Desai pranavdesai
Thu Apr 27 22:51:17 CEST 2006


Hello All,

I am trying to convert a mpeg file to ogg using theora as the vcodec
and vorbis as the acodec. It seems to only convert the audio. It just
skips the video.
If I specify the vcodec to be theora using the -vcodec option, it
complains about unsupported codec. I have also tried it with vp3, but still
the same result.

Has anyone been successful in converting to ogg. Or am doing something
completely wrong.
I would appreciate any help.

Thanks

-Pranav

Here is the output:
===============
./ffmpeg -i /video/test4.mpg -vcodec theora -y out.ogg
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
 configuration:  --enable-mp3lame --enable-libogg --enable-vorbis
--enable-theora --enable-faad --enable-faadbin --enable-faac
--enable-gpl --enable-encoder=theora
 libavutil version: 49.0.0
 libavcodec version: 51.9.0
 libavformat version: 50.4.0
 built on Apr 26 2006 23:43:39, gcc: 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
Input #0, mpeg, from '/video/test4.mpg':
 Duration: 00:29:16.2, start: 0.000000, bitrate: 368 kb/s
 Stream #0.0[0x1e0], 29.97 fps(r): Video: mpeg2video, yuv420p,
352x288, 104857 kb/s
 Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 64 kb/s
Output #0, ogg, to 'out.ogg':
 Stream #0.0, 29.97 fps(c): Video: 0x0000, yuv420p, 352x288, q=2-31, 200
kb/s
 Stream #0.1: Audio: vorbis, 48000 Hz, stereo, 64 kb/s
Stream mapping:
 Stream #0.0 -> #0.0
 Stream #0.1 -> #0.1
Unsupported codec for output stream #0.0




More information about the ffmpeg-devel mailing list