Here's another script I use to automatically join 2 cd avi movies into a single avi
You will need Mencoder (a component of Mplayer) installed for this to work. Go here to download Mplayer http://www.mplayerhq.hu/design7/dload.html
cd /d %1
:joincd
if exist *cd1*.avi ren *cd1*.avi file1.avi
if exist *cd2*.avi ren *cd2*.avi file2.avi
if exist *a.avi ren *a.avi file1.avi
if exist *b.avi ren *b.avi file2.avi
if exist *1-*.avi ren *1-*.avi file1.avi
if exist *2-*.avi ren *2-*.avi file2.avi
move file1.avi d:\
move file2.avi d:\
cd /d c:\Program Files\MPlayer-1.0rc2\
mencoder -forceidx -ovc copy -oac copy -o D:\joined-movie.avi d:\file1.avi d:\file2.avi
cd /d d:\
ren joined-movie.avi %3.avi
move %3.avi d:\!completed
del d:\file1.avi
del d:\file2.avi
cd /d d:\!completed
rd /s /q %1
exit
Just tweak the folders etc to suit your needs.
Hope you find this useful.
Join a 2CD avi movie
Re: Join a 2CD avi movie
To be honest I've never tried joining subs from 2CD rips as I stream all my movies from the pc to the xbox 360 and the 360 mdeia player/codes don't support subs anyway. (Not like good old XBMC does)
I'm sure there must be a command line tool out there that could be used in a script to achieve joining of subs. I just don't know of one within specifically searching.
I'm sure there must be a command line tool out there that could be used in a script to achieve joining of subs. I just don't know of one within specifically searching.
Re: Join a 2CD avi movie
Apologies for the keyboard dyslexia encountered in my last reply...
This looks like the tool to use for joining subtitles http://www.videohelp.com/tools/Subtitle_Workshop
It says it supports the command line too so I suggest messing about with the command line options first to get the correct syntax figured out and to see how well it handles environment variables then enter that into your post processing script.
If I get some spare time I'll have a go myself and post some results if I get it working well from the command line.
This looks like the tool to use for joining subtitles http://www.videohelp.com/tools/Subtitle_Workshop
It says it supports the command line too so I suggest messing about with the command line options first to get the correct syntax figured out and to see how well it handles environment variables then enter that into your post processing script.
If I get some spare time I'll have a go myself and post some results if I get it working well from the command line.
Re: Join a 2CD avi movie
It says in the description that sub/idx is not supported. The software wouldn't do me good anyway because I use a Mac.
Sidenote: Perian finally fixed #190. Yay!
Sidenote: Perian finally fixed #190. Yay!
Re: Join a 2CD avi movie
This is exactly what I been lookin for!
Does this consistently work or are there times when the audio/video can get out of sync when combining? That's the one thing I'm worried about..
Does this consistently work or are there times when the audio/video can get out of sync when combining? That's the one thing I'm worried about..
Re: Join a 2CD avi movie
how do I add this script to sabnzbd? I am a newb sorry.
Re: Join a 2CD avi movie
ok got it working, but it seems every movie that I try to join becomes out of sync.