Jump to content

Need help converting video


penguin12
 Share

Recommended Posts

Hello

 

I'm using Mandriva 2009 Spring with KDE 4.

 

I've just downloaded Firefox 3.5 from the Mozilla website.

 

I want to test the new html 5 audio and video tags.

 

I wan to test the video tags.

 

To do this I need a video with video encoded in Ogg Theora and audio encoded in Ogg Vorbis.

 

Since I don't have such a video, I decided to convert a .mov video to Ogg Theora.

 

I I decided to try converting the video with ffmpeg.

 

 

 

From the terminal I typed:

 

cd name of directory which contains my videos

ffmpeg -i video.mov video.ogg

 

After ffmpeg converted the video, I checked the converted video.

 

The video format was theora but the audio format was flac.

 

 

I want to know how to convert a video so that the converted video's video format is Ogg Theora and the audio format is Ogg Vorbis.

 

Please tell me how to do this.

Link to comment
Share on other sites

ffmpeg -i video.mov video.ogg

 

After ffmpeg converted the video, I checked the converted video.

 

The video format was theora but the audio format was flac.

You can force the audio codec to vorbis with

ffmpeg -i video.mov -acodec vorbis -aq 60 video.ogg

the -aq option is to set the audio quality of a VBR codec, with 0 being the lowest. So you may have to adjust that option to your needs.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...