From Fedora Project Wiki

Revision as of 16:29, 24 May 2008 by Ravidiip (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

VideoContest > OggHowto

How to convert QuickTime movie to Ogg Theora

This wiki page describes how you can convert a QuickTime movie to Ogg Theora using ffmpeg2theora which is a GPL software.

At the end, you should be able to watch Ogg Theora video using Totem Movie Player or Helix Player without any proprietary codecs.

In this following example, we'll convert a recent Mars QuickTime movie titled Flight Into Mariner Valley posted at JPL's multimedia library into Ogg Theora.

Step 1

Download Quicktime (Download without caption: small size 15Mb) movie from JPL's multimedia library:

File:VideoContest OggHowto step1.png

Step 2

Download ffmpeg2theora binary for Linux and decompress the file and make it executable:

File:VideoContest OggHowto step2.png

[tchung@localhost download] $ ls
ffmpeg2theora-0.16.linux.bin.bz2
[tchung@localhost download] $ bunzip2 ffmpeg2theora-0.16.linux.bin.bz2
[tchung@localhost download] $ ls
ffmpeg2theora-0.16.linux.bin
[tchung@localhost download] $ mv ffmpeg2theora-0.16.linux.bin ffmpeg2theora
[tchung@localhost download] $ ls
ffmpeg2theora
[tchung@localhost download] $ chmod 755 ffmpeg2theora
[tchung@localhost download] $ ls -l ffmpeg2theora
-rwxr-xr-x  1 tchung tchung 5984204 Mar 19 00:26 ffmpeg2theora
[tchung@localhost download] $ cp ffmpeg2theora ~/bin

Step 3

Convert the QuickTime movie to Ogg Theora using ffmpeg2theora:

[tchung@localhost mars] $ ls
odyssey-20060313-320.mov
[tchung@localhost mars] $ ffmpeg2theora odyssey-20060313-320.mov -o odyssey-20060313-320.ogg
Input #0, mov,mp4,m4a,3gp,3g2, from 'odyssey-20060313-320.mov':
Duration: 00:03:44.7, start: 0.000000, bitrate: 540 kb/s
Stream #0.0(eng): Audio: qdm2, 22050 Hz, mono
Stream #0.1(eng), 29.97 fps(r): Video: svq3, yuv420p, 320x180
Resize: 320x180
0:03:44.72 audio: 32kbps video: 277kbps
[tchung@localhost mars] $ ls
odyssey-20060313-320.mov  odyssey-20060313-320.ogg

Step 4

Now, you can watch the File:VideoContest OggHowto odyssey-20060313-320.ogg Ogg Theora video] with Totem Movie Player or Helix Player without any proprietary codecs:

[tchung@localhost mars] $ totem odyssey-20060313-320.ogg

File:VideoContest OggHowto totem.png

[tchung@localhost mars] $ hxplay odyssey-20060313-320.ogg

File:VideoContest OggHowto hxplay.png