Encoding theora videos
Emmanuel Seyman
seyman at wanadoo.fr
Sun Oct 24 20:49:04 UTC 2004
I'm trying to encode videos in Theora and Vorbis formats (to show people
it can be done).
I've ripped a chapter of a DVD to a video dump (1.4 Gb!!!!) and an audio
dump with mplayer and trasferred them to my FC3t3 installation.
I use the following command to encode to Ogg format:
theora_encode -o cowboy.ogg -a 2 -v 5 audiodump.wav stream.yuv
This generates the following output:
File audiodump.wav is 16 bit 2 channel 48000 Hz RIFF WAV audio.
File stream.yuv is 720x480 29.97 fps YUV12 video.
Compressing....
0:01:34.56 audio: 82kbps video: 2796kbps
done.
and gives me the following file:
[manu at lora ~]$ file cowboy.ogg
cowboy.ogg: Ogg data, Theora video
but trying to play the video gives:
[manu at lora ~]$ theora_player cowboy.ogg
Ogg logical stream 6c2124cc is Theora 720x480 29.97 fps video
Encoded by Xiph.Org libTheora I 20040317 3 2 0
Ogg logical stream 46c3f72b is Vorbis 2 channel 48000 Hz audio.
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 140 (XVideo)
Minor opcode of failed request: 19 ()
Serial number of failed request: 21
Current serial number in output stream: 22
Google and Bugzilla couldn't help me. What am I doing wrong ?
Emmanuel
More information about the test
mailing list