Jump to content
Sign in to follow this  
penguin12

Need help converting video

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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...