Solved: Automatically quit after DVD rip
Posted: 22 Sep 2009 08:43
I'm using VLC to rip some DVD's. I'm starting VLC via command line from another program with this command:
vlc -Idummy --dummy-quiet dvdsimple://D:\ :sout=#transcode{vcodec=mp4v,vb=2000,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=file,mux=mp4,dst=c:\\temp\movie.mp4}}
This works beautifully, only problem is that VLC does not quit when done, so the calling program does not detect when VLC is done ripping. I could monitor the output and terminate VLC when the file size stops growing, but I'd rather VLC simply quit when done.
I did try to append vlc:quit to the argument as well:
vlc -Idummy --dummy-quiet dvdsimple://D:\ vlc:quit :sout=#transcode{vcodec=mp4v,vb=2000,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=file,mux=mp4,dst=c:\\temp\movie.mp4}}
But that did not have any effect. Anyone know how to make VLC terminate/quit after ripping a DVD?
vlc -Idummy --dummy-quiet dvdsimple://D:\ :sout=#transcode{vcodec=mp4v,vb=2000,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=file,mux=mp4,dst=c:\\temp\movie.mp4}}
This works beautifully, only problem is that VLC does not quit when done, so the calling program does not detect when VLC is done ripping. I could monitor the output and terminate VLC when the file size stops growing, but I'd rather VLC simply quit when done.
I did try to append vlc:quit to the argument as well:
vlc -Idummy --dummy-quiet dvdsimple://D:\ vlc:quit :sout=#transcode{vcodec=mp4v,vb=2000,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=file,mux=mp4,dst=c:\\temp\movie.mp4}}
But that did not have any effect. Anyone know how to make VLC terminate/quit after ripping a DVD?