View previous topic :: View next topic |
Author |
Message |
ShadowNode n00b
Joined: 20 Dec 2003 Posts: 34 Location: Vancouver, Canada
|
Posted: Wed Dec 27, 2006 2:21 am Post subject: [SOLVED] Changing video container format (ogm -> avi) |
|
|
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 |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Wed Dec 27, 2006 2:34 am Post subject: |
|
|
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? | 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 |
|
|
ShadowNode n00b
Joined: 20 Dec 2003 Posts: 34 Location: Vancouver, Canada
|
Posted: Wed Dec 27, 2006 7:34 am Post subject: |
|
|
Thank you very much |
|
Back to top |
|
|
|
|
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
|
|