Page 1 of 1

To codify many formats of video to Theora

Posted: Sun Feb 06, 2005 4:41 pm
by sargar
Hello,

Proving the videoplugin of pjcast, I have had to look for a form to turn archives of video type avi or mpeg to format theora. I use Linux.

My solution: VLC (www.videolan.org).

It is a visualizer freeware, multiplatform and understands many formats of audio and video.

It has many additional characteristics. For example, to turn archives of video to theora, it is possible to be made:

vlc <file_in.extension> --sout
'#transcode{vcodec=theora,vb=300,acodec=vorb,ab=96}:std{access=file,
mux=ogg,url="file_out.ogg"}'

Most of the cases, ogg would have to create a file (file_out.ogg) that understands theora.

If there is some problem, in linux ' ogginfo' gives information of the file, and a idea that what is bad.

A greeting,

Posted: Sun Feb 06, 2005 7:59 pm
by pjcast
Just for some other info on this...

ffmeg2theora works pretty well on Windows at least. I usually run it with these settings ffmeg2theora -v 7 -a 3 some.mpeg
There are problems if you encode with a quality too high.. My plugin will not be able to keep up with bitrate - and theora also has issues.

There is also an example encoder with theora - only problem, it takes raw YUV video frames. So you have to use something like mplayer, and pipe the output to 2 FIFO files (one audio and one video). Because of some sync issues (which might be resolved now), you'll need two mplayer instances running. So, this requires a few terminals, or use of &. Anyway's, I forget the exact commands for this, and don't reccommend doing that.

Some other (untested from me) - some of these are dvd rippers - most are for linux
http://kde-apps.org/content/show.php?content=17831
http://thoggen.net/download/

There are more listed over at www.theora.org too.

Posted: Mon Feb 07, 2005 4:09 am
by IoN_PuLse
Yeah I'd suggest FFMpeg, because it's a library used for decoding many formats and is used in very nice video applications such as mplayer...