Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Changing video container format (ogm -> avi)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
ShadowNode
n00b
n00b


Joined: 20 Dec 2003
Posts: 34
Location: Vancouver, Canada

PostPosted: Wed Dec 27, 2006 2:21 am    Post subject: [SOLVED] Changing video container format (ogm -> avi) Reply with quote

I've got some ogm videos that I would like to be avi (so that I can play them on my shiny new Zen Vision:M). The video is encoded in Xvid, and the audio in vorbis. I would like to tranfer them to avi containers without re-encoding the video, and encoding the audio to mp3.

Is there a simple way to do this? Perhaps with transcode?


Last edited by ShadowNode on Wed Dec 27, 2006 7:34 am; edited 1 time in total
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Wed Dec 27, 2006 2:34 am    Post subject: Reply with quote

ShadowNode wrote:
I've got some ogm videos that I would like to be avi (so that I can play them on my shiny new Zen Vision:M). The video is encoded in Xvid, and the audio in vorbis. I would like to tranfer them to avi containers without re-encoding the video, and encoding the audio to mp3.

Is there a simple way to do this? Perhaps with transcode?
Code:
emerge mplayer
if you haven't already (version 1.0 RC1 recommended, and make sure you've enabled mp3 support via lame - see mplayer's USE flags), then
Code:
mencoder -oac mp3lame -lameopts cbr:br=128:aq=3:highpassfreq=-1:lowpassfreq=-1 -ovc copy -o outputfilename.avi inputfilename.ogm
Normally you'd have to add the output format via the -of flag (-of avi) but since AVI is the default, there's no need to. -of was added in mplayer 1.0 RC1, if I remember correctly.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
ShadowNode
n00b
n00b


Joined: 20 Dec 2003
Posts: 34
Location: Vancouver, Canada

PostPosted: Wed Dec 27, 2006 7:34 am    Post subject: Reply with quote

Thank you very much :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum