Joining movie parts without recompressing
Howdy. Is it possible to use mencoder to join a few parts of the same movie [same dimensions/resolution and format] into one long movie without the need to decompress and compress again? [I don't want to downgrade quality]. If yes, how to do it? -- SasQ
On Friday 21 March 2008 20:30, SasQ wrote:
Howdy.
Is it possible to use mencoder to join a few parts of the same movie [same dimensions/resolution and format] into one long movie without the need to decompress and compress again? [I don't want to downgrade quality]. If yes, how to do it?
mencoder file1.avi file2.avi -ovc copy -oac copy -o output.avi
-- SasQ _______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
-- Regards
Dnia 21-03-2008 o 20:25:06 Grozdan Nikolov (openSUSE Linux) <microchip@telenet.be> napisał:
mencoder file1.avi file2.avi -ovc copy -oac copy -o output.avi
Thank you. Does it work also for other formats than AVI? [e.g. wmv] -- SasQ
On Friday 21 March 2008 20:54, SasQ wrote:
Dnia 21-03-2008 o 20:25:06 Grozdan Nikolov (openSUSE Linux)
<microchip@telenet.be> napisał:
mencoder file1.avi file2.avi -ovc copy -oac copy -o output.avi
Thank you. Does it work also for other formats than AVI? [e.g. wmv]
yes but the output will be AVI. I'm not sure if the lavf muxer handles wmv files so you can output them but you can try with -of lavf -lavfopts format=wmv -- Regards
Dnia 21-03-2008 o 20:51:53 Grozdan Nikolov (openSUSE Linux) <microchip@telenet.be> napisał:
Does it work also for other formats than AVI? [e.g. wmv]
yes but the output will be AVI. I'm not sure if the lavf muxer handles wmv files so you can output them but you can try with -of lavf -lavfopts format=wmv
Thanks, it works! :D Last thing left is how to copy only video streams, without sound? I've tried without -oac flag, but mencoder told me that flag is necessary. So I've checked mencoder -oac help, but there are only those options: copy - frame copy, without re-encoding (useful for AC3) pcm - uncompressed PCM audio mp3lame - cbr/abr/vbr MP3 using libmp3lame lavc - FFmpeg audio encoder (MP2, AC3, ...) twolame - Twolame MP2 audio encoder faac - FAAC AAC audio encoder There isn't anything like "none" :| -- SasQ
SasQ wrote:
Last thing left is how to copy only video streams, without sound? I've tried without -oac flag, but mencoder told me that flag is necessary. So I've checked mencoder -oac help, but there are only those options:
copy - frame copy, without re-encoding (useful for AC3) pcm - uncompressed PCM audio mp3lame - cbr/abr/vbr MP3 using libmp3lame lavc - FFmpeg audio encoder (MP2, AC3, ...) twolame - Twolame MP2 audio encoder faac - FAAC AAC audio encoder
There isn't anything like "none" :|
I really don't know what I'm talking about, but I did come across this on the Internet... it won't take you long to try it: -oac pcm -nosound -- Andy
Andy Civil wrote:
SasQ wrote:
Last thing left is how to copy only video streams, without sound? I've tried without -oac flag, but mencoder told me that flag is necessary. So I've checked mencoder -oac help, but there are only those options:
copy - frame copy, without re-encoding (useful for AC3) pcm - uncompressed PCM audio mp3lame - cbr/abr/vbr MP3 using libmp3lame lavc - FFmpeg audio encoder (MP2, AC3, ...) twolame - Twolame MP2 audio encoder faac - FAAC AAC audio encoder
There isn't anything like "none" :|
I really don't know what I'm talking about, but I did come across this on the Internet... it won't take you long to try it:
-oac pcm -nosound
You're close, but in this case '-oac pcm' is irrelevant. Specifying '-oac <something>' is only mandatory when there is audio to be encoded; '-nosound' disables audio. -Corey
participants (4)
-
Andy Civil -
Corey Hickey -
Grozdan Nikolov (openSUSE Linux) -
SasQ