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

Jim Shank jim.shank at gmail.com
Thu May 3 23:44:19 UTC 2007


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.

Once again, sorry about the top post but I don't know how to fix it in
Outlook 2007.

-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Gregg 
Sent: Thursday, May 03, 2007 4:32 PM
To: mythtv-users at mythtv.org
Subject: [mythtv-users] mythstreamtv doesn't work, but vlc does help please.

I have installed Mythstreamtv, but when I try to stream I get and error....
[00000292] stream_out_transcode private error: cannot find encoder
[00000292] stream_out_transcode private error: cannot create audio chain

If I run the command in a terminal
/usr/bin/vlc  "/vidoe/recordings/filename" --sout
'#transcode{vcodec=WMV2,fps=24,vb=300,scale=.5,acodec=mp
3,ab=32,channels=2,aspect=1.33}:std{access=mmsh,mux=asf,url=:8001}'
it streams just fine.  So I am thinking there is a permission problem
somewhere.  Is there a way to log all activity on the web server to
see if there are any problems with the permissions.  Mythstreamtv is
assigned to mythtv:mythtv.

Thanks.


-Gregg
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users




More information about the mythtv-users mailing list