[mythtv-users] mythstreamtv doesn't work, but vlc does help please.

Gregg 3gemail at gmail.com
Fri May 4 17:03:21 UTC 2007


Thanks Jim worked like a charm.  Prior to that I had just hard coded
mp3 into the mythstreamtv.sh script and it worked.



> I was working on mythstreamtv for .20 and found some fixes that should be
> included in the package.
>
> The FC6 packaged ffmpeg (ffmpeg-0.4.9-19_r7407.fc6.at) and vlc
> (vlc-0.8.6a-1.lvn6.1) worked fine, it was a syntax problem in the
> mythstreamtv.sh script and a slight correction to the
> mythweb/modules/streamtv/tmpl/default/confirm.php file. Had to play with the
> command line a bit to get this working:
>
> mythstreamtv.sh
> if [ $PROTOCOL = "mms" ]; then
> /usr/bin/vlc -I http --http-host=:8002 --sout-transcode-fps=$FPS
> --sout-transcode-deinterlace $1
> :sout="#transcode{vcodec=$VCODEC,acodec=$ACODEC,vb=$VB,ab=$AB,scale=$SIZE}:s
> td{access=mmsh,mux=asfh,url=:8001}"
> elif [ $PROTOCOL = "http" ]; then
> /usr/bin/vlc -I http --http-host=:8002 --sout-transcode-fps=$FPS
> --sout-transcode-deinterlace $1
> :sout="#transcode{vcodec=$VCODEC,acodec=$ACODEC,vb=$VB,ab=$AB,scale=$SIZE}:s
> td{access=http{user=$HTTP_USER,pwd=$HTTP_PWD,mime=video/x-ms-asf},mux=asf,ur
> l=:8001}"
>
> ** The change is in the :sout=" instead of ":sout=
>
> confirm.php (there are two of them, correct both) <option <?php if
> ($audioformat_default==='mpga') echo 'SELECTED' ?>>mpga</option> <option
> <?php if ($audioformat_default==='mp3') echo 'SELECTED' ?>>mp3</option>
> <option <?php if ($audioformat_default==='a52') echo 'SELECTED'
> ?>>a52</option>
>
> ** The change here is case, MP3 to mp3. vlc doesn't care for the capitalized
> version. I have only tested the mp3 one and it works great.
>
> I contacted the author but haven't received a response yet on the
> correction.
>


More information about the mythtv-users mailing list