This shows you the differences between two versions of the page.
— |
stream_dvd [2012/01/16 23:43] (current) jhb50 created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | __**How to Play and Stream a DVD**__ | ||
+ | |||
+ | The following .bat file will initiate the playback of a DVD from the PC E:/ drive, | ||
+ | display it in the VLC window on the PC, which may be any size, while streaming | ||
+ | the full screen picture via http. | ||
+ | |||
+ | It is based on the bat that works successfully with desktop streaming. | ||
+ | |||
+ | Change the VLC location, DVD Drive letter and http :port as required. | ||
+ | |||
+ | <code> | ||
+ | @echo off | ||
+ | |||
+ | :This bat is used to play and display a DVD on the PC and stream it with VLC using HTTP | ||
+ | :A corresponding player must be started using HTTP | ||
+ | :While subtitles may be displayed on the PC they will not be streamed | ||
+ | |||
+ | |||
+ | "C:\Programs\VLC TEST 1.1.10\vlc.exe" dvdsimple://E:\ :dvdread-caching=300 --sout=#transcode{venc=ffmpeg,vcodec=mp2v,vb=10000,fps=24,scale=0.5,width=1280,acodec=mp3,ab=192,channels=2,samplerate=44100}:duplicate{dst=http{mux=ts,dst=:8081/},dst=display} --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep | ||
+ | |||
+ | </code> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||