Hi all,
I'm using VLC to 'transcode' a DVD to a mpeg stream so that I can see them using my MVP's. To do this I'm using this small batch file I made, inspired by the XDVD plugin:
---
@echo off
:: usage: dodvd name dvddrive: subtrack title
:: name = name of the video, one_word.
:: dvddrive: usually drive D:
:: subtrack: nr. of the subtitle track, usually one less than what the player tells you (so track 1 become track 0)
:: title: at what title do you want to start the segment, for example: 4 if you want to skip the first two segments with commercial crap.
:: example: dodvd Farscape_the_piecekeeper_wars_part2 e: 3 4
set dirname=\\voo-server4\video\
set dump=%dirname%%1\%1.mpg
mkdir %dirname%%1
echo ------------------------------------------------------------------------------------
echo Saving video in: %dump%
echo Options: name: %1 drive: %2 subtrack: %3 title: %4
echo Transcoding %1...
%systemdrive%\Progra~1\VideoLAN\VLC\vlc.exe dvdsimple://%2@%4 ub-track=%3 out=#transcode{vcodec=mp2v,vb=3072,scale=1,acodec=mp2a,ab=128,channels=2,soverlay}:duplicate{dst=std{access=file,mux=ps,url=%dump%"}} out-all
echo done.
---
This seems to give me very nice mpeg2 files that appear to work quite nicely, there's just one problem that keeps bugging me: when playing the mpeg files back over the MVP's and 'fastforwarding' or 'skipping', the output just skips miles ahead. Even skipping 'back' is going forward! Itls like the time code in the mpeg files generated by VLC is not correct or something like that. I don't know enough about VLC to understand what could be changed to improve this.
Does anyone have any suggestions on what might be going on and what to try to get this skipping back on track?
I'm using VLC to 'transcode' a DVD to a mpeg stream so that I can see them using my MVP's. To do this I'm using this small batch file I made, inspired by the XDVD plugin:
---
@echo off
:: usage: dodvd name dvddrive: subtrack title
:: name = name of the video, one_word.
:: dvddrive: usually drive D:
:: subtrack: nr. of the subtitle track, usually one less than what the player tells you (so track 1 become track 0)
:: title: at what title do you want to start the segment, for example: 4 if you want to skip the first two segments with commercial crap.
:: example: dodvd Farscape_the_piecekeeper_wars_part2 e: 3 4
set dirname=\\voo-server4\video\
set dump=%dirname%%1\%1.mpg
mkdir %dirname%%1
echo ------------------------------------------------------------------------------------
echo Saving video in: %dump%
echo Options: name: %1 drive: %2 subtrack: %3 title: %4
echo Transcoding %1...
%systemdrive%\Progra~1\VideoLAN\VLC\vlc.exe dvdsimple://%2@%4 ub-track=%3 out=#transcode{vcodec=mp2v,vb=3072,scale=1,acodec=mp2a,ab=128,channels=2,soverlay}:duplicate{dst=std{access=file,mux=ps,url=%dump%"}} out-all
echo done.
---
This seems to give me very nice mpeg2 files that appear to work quite nicely, there's just one problem that keeps bugging me: when playing the mpeg files back over the MVP's and 'fastforwarding' or 'skipping', the output just skips miles ahead. Even skipping 'back' is going forward! Itls like the time code in the mpeg files generated by VLC is not correct or something like that. I don't know enough about VLC to understand what could be changed to improve this.
Does anyone have any suggestions on what might be going on and what to try to get this skipping back on track?