Menu

#20 Please support playing DVD images and devices using VLC

open
nobody
None
5
2008-01-26
2008-01-26
No

It would be great if .iso files and remote DVD
devices on the VLC server could be played directly
from the MVP using the remote. At the moment I have to
set it up manually, using a script like the following.
I then play the generated m3u file on the MVP to
start streaming.

One issue is picking the correct track number.
Number 2 is not the correct one for all DVDs.

#! /bin/sh
ipaddr=192.168.1.75
port=5212
if [ $# -eq 0 ] ; then
source="dvd:@2-"
else
source="$1"
shift
fi

echo http://$ipaddr:$port > /media/dvd.m3u

/usr/bin/vlc "$@" --audio-language eng -v -I telnet --vlm-conf /dev/fd/0 <<EOF
new S broadcast enabled
setup S input "$source"
setup S output #transcode{vcodec=mp2v,venc=ffmpeg{keyint=3},vb=4096,scale=1,acodec=mpga,ab=160,channels=2}:standard{access=http,mux=ts,dst=:$port}
setup S option sout-http-mime=video/mpeg
control S play
EOF

Discussion


Log in to post a comment.

MongoDB Logo MongoDB