VLC Crahes When Playing DVD (only certain titles) libdvdread

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
davidmorehouse16
Blank Cone
Blank Cone
Posts: 22
Joined: 28 Feb 2008 04:08

VLC Crahes When Playing DVD (only certain titles) libdvdread

Postby davidmorehouse16 » 30 Apr 2008 23:53

I have wrote a bat script that rips and converts DVD's at once. It allows multiple titles (such as a season of a TV show) to be ripped and converted with VLC and I have had a problem with title that aren't the first one (title 1). This has worked on the season after it (so I am thinking it isn't encryption) and with other disks of that season but not this one. Thank You for help!

This is the Debugging message before it crashed.
*********************************************************************************************************************************************************
dvdread debug: VMG opened
dvdread debug: number of titles: 7
dvdread debug: title 0 has 8 chapters
dvdread debug: title 1 has 8 chapters
dvdread debug: title 2 has 8 chapters
dvdread debug: title 3 has 22 chapters
dvdread debug: title 4 has 7 chapters
dvdread debug: title 5 has 7 chapters
dvdread debug: title 6 has 1 chapters
dvdread debug: open VTS 1, for title 1
dvdread debug: title 1 vts_title 1 pgc 1 pgn 1 start 0 end 2512992 blocks: 819332
main debug: selecting program id=0
dvdread debug: audio position 0
main debug: using access_demux module "dvdread"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "packetizer_mpegvideo"
main debug: stream out mode -> no decoder thread
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "a52"
main debug: stream out mode -> no decoder thread
main debug: starting in sync mode
main debug: `dvdsimple://@2' successfully opened
packetizer_mpegvideo debug: size 720x480 fps=29.970
main debug: adding a new input
stream_out_transcode debug: creating video transcoding from fcc=`mpgv' to fcc=`mp4v'
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "libmpeg2"
main debug: looking for encoder module: 10 candidates
ffmpeg debug: libavcodec initialized (interface 3349504 )
ffmpeg debug: found encoder MPEG-4 Video
main debug: using encoder module "ffmpeg"
main debug: removing module "ffmpeg"
libmpeg2 debug: 720x480 (display 720,480), aspect 768000, sar 32:27, 29.971 fps
main warning: dts != current_pts (-200266)
main debug: control type=10
dvdread debug: open VTS 1, for title 2
dvdread debug: title 2 vts_title 2 pgc 2 pgn 1 start 819327 end 2512992 blocks: 820974
main debug: removing module "packetizer_mpegvideo"
main debug: killing decoder fourcc `mpgv', 0 PES in FIFO
main debug: removing an input
main debug: removing module "libmpeg2"
main debug: removing module "a52"
main debug: killing decoder fourcc `a52 ', 0 PES in FIFO
main debug: Program doesn't contain anymore ES
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "packetizer_mpegvideo"
main debug: stream out mode -> no decoder thread

davidmorehouse16
Blank Cone
Blank Cone
Posts: 22
Joined: 28 Feb 2008 04:08

Re: VLC Crahes When Playing DVD (only certain titles) libdvdread

Postby davidmorehouse16 » 30 Apr 2008 23:57

Edit: Plays fine when played through DVD menu using VLC. Without Saving

davidmorehouse16
Blank Cone
Blank Cone
Posts: 22
Joined: 28 Feb 2008 04:08

Re: VLC Crahes When Playing DVD (only certain titles) libdvdread

Postby davidmorehouse16 » 01 May 2008 00:06

Edit: Works Fine with settings mad through GUI
Here is bat file code if it will help
@echo on
:start
echo Welcome to Video to iPod Converter!!
echo This will convert your Videos that you select to iPod compatible format
echo When your done just import to iTunes and sync your iPod
echo This will put the conveted video on your desktop
cd %userprofile%\desktop
set /p multiple files=Do you want to convert multiple videos. This is if you want to convert several episodes of a show into diffrent files !Warning! for a movie don't worry it will convert the whole movie. Yes or No
if %multiple files%==Yes goto malt
:a1
if %multiple files%==yes goto malt
:a2
if %multiple files%==YES goto malt
set /p watch=Do you want to watch the video as you convert it? Yes or No
if not %watch%==no goto watchvideo1
:watchvideo1
if not %watch%==No goto watchvideo2
watchvideo2
if not %watch%==NO goto watch video
set /p title=What title do you want to save?
set /p covname=What name do you want to save the video as?
cd C:\Program Files\VideoLan\VLC
vlc.exe dvdsimple://@%Title% :sout=#transcode{vcodec=mp4v,vb=1024,width=640,height=360,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mp4,dst="C:\Documents and Settings\%username%\Desktop\%CovName%.mp4"}} vlc:quit
goto end
:watch video
set /p title=What title do you want to save?
set /p covname=What name do you want to save the video as?
cd C:\Program Files\VideoLan\VLC
echo VLC will quit on its own after the video is done
echo Even if after the video is done playing VLC is still there
echo do not quit VLC must finish the conversion
echo It will take about a minute to two to finish
echo You can go do something else on your computer just don't
echo worry about VLC it is working!
vlc.exe dvdsimple://@%Title% :sout=#transcode{vcodec=mp4v,vb=1024,width=640,height=360,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=display,dst=std{access=file,mux=mp4,dst="C:\Documents and Settings\%username%\Desktop\%CovName%.mp4"}} vlc:quit
goto end
:malt
set /p first1=First Title?
set /p second2=Second Title?
set /p third3=Third Title?
set /p forth4=Fourth Title?
set /p test=Do you want to test the selected titles? Yes or No
if %test%==Yes goto test
:no on edit
echo Type None for the name if the title was none.
set /p name1=First Title Name?
set /p name2=Second Title Name?
set /p name3=Third Title Name?
set /p name4=Fourth Title Name?
if %first1%==none goto conversions
if %second2%==none goto conversions
if %third3%==none goto conversions
if %forth4%==none goto conversions
:conversions
set /p watch multiple convert=Do you want to watch the videos while they get converted? Yes or No
cd C:\Program Files\VideoLan\VLC
pause
if %watch multiple convert%==Yes goto watch
if %watch multiple convert%==No goto no watch
:watch
if %first1%==none goto end
vlc.exe dvdsimple://@%first1% :sout=#transcode{vcodec=mp4v,vb=1024,width=640,height=360,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=display,dst=std{access=file,mux=mp4,dst="C:\Documents and Settings\%username%\Desktop\%name1%.mp4"}} vlc:quit
if %second2%==none goto end
vlc.exe dvdsimple://@%second2% :sout=#transcode{vcodec=mp4v,vb=1024,width=640,height=360,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=display,dst=std{access=file,mux=mp4,dst="C:\Documents and Settings\%username%\Desktop\%name2%.mp4"}} vlc:quit
if %third3%==none goto end
vlc.exe dvdsimple://@%third3% :sout=#transcode{vcodec=mp4v,vb=1024,width=640,height=360,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=display,dst=std{access=file,mux=mp4,dst="C:\Documents and Settings\%username%\Desktop\%name3%.mp4"}} vlc:quit
if %forth4%==none goto end
vlc.exe dvdsimple://@%forth4% :sout=#transcode{vcodec=mp4v,vb=1024,width=640,height=360,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=display,dst=std{access=file,mux=mp4,dst="C:\Documents and Settings\%username%\Desktop\%name4%.mp4"}} vlc:quit
goto end
:no watch
if %first1%==none goto end
vlc.exe dvdsimple://@%first1% :sout=#transcode{vcodec=mp4v,vb=1024,width=640,height=360,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mp4,dst="C:\Documents and Settings\%username%\Desktop\%name1%.mp4"}} vlc:quit
if %second2%==none goto end
vlc.exe dvdsimple://@%second2% :sout=#transcode{vcodec=mp4v,vb=1024,width=640,height=360,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mp4,dst="C:\Documents and Settings\%username%\Desktop\%name2%.mp4"}} vlc:quit
if %third3%==none goto end
vlc.exe dvdsimple://@%third3% :sout=#transcode{vcodec=mp4v,vb=1024,width=640,height=360,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mp4,dst="C:\Documents and Settings\%username%\Desktop\%name3%.mp4"}} vlc:quit
if %forth4%==none goto end
vlc.exe dvdsimple://@%forth4% :sout=#transcode{vcodec=mp4v,vb=1024,width=640,height=360,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mp4,dst="C:\Documents and Settings\%username%\Desktop\%name4%.mp4"}} vlc:quit
:End
set /p use again=Do you want to convert another video? Yes or No
If not %use again%==No goto start
:test
cd C:\Program Files\VideoLan\VLC
vlc.exe dvdsimple://@%first1% vlc:quit
vlc.exe dvdsimple://@%second2% vlc:quit
vlc.exe dvdsimple://@%third3% vlc:quit
vlc.exe dvdsimple://@%forth4% vlc:quit
set /p edit title=Do you want to edit the titles? Yes or No
if %edit title%==Yes goto malt
goto no on edit

davidmorehouse16
Blank Cone
Blank Cone
Posts: 22
Joined: 28 Feb 2008 04:08

Re: VLC Crahes When Playing DVD (only certain titles) libdvdread

Postby davidmorehouse16 » 01 May 2008 03:11

This appears only when playing from command line using sout stream. Only used this for DVD

davidmorehouse16
Blank Cone
Blank Cone
Posts: 22
Joined: 28 Feb 2008 04:08

Re: VLC Crahes When Playing DVD (only certain titles) libdvdread

Postby davidmorehouse16 » 03 May 2008 05:54

Problem Solved:
After looking at several other post involving the command line and DVD one poster suggested to the person with the problem to create a log by adding the lines --file-logging -vvv
So I thought it might work for my problem and so I did them one with the first title on the DVD and one with the second one of them that wasn't working.
After searching through the log I found a discrepancy. The first one had dvd:// and the second had sout: so I thought that (this may not be the actual problem but is my hypothesis), that sense being the first VLC defaulted to dvd:// and not sout: so instead of dvdsimple:// just use dvd:// and the rest of the command should work. If it doesn't create a log and try to find discrepancies were there shouldn't be any (such as the name would be a discrepancy that should exist if you named the file two different names).


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 42 guests