Author |
Message |
khrusher
|
Posted: Wed Jun 29, 2005 7:41 am |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
seattle wrote: 'Oops! No Support for this version of Mythweb'. What gives?
This error seems to be coming out of the install.sh script. The script adds a 'Stream Records' link to the header page of MythWeb.
The script is searching for a string "Recorded Programs" in $HTTP_DIR/themes/Default/theme.php. when that string is not found, it throws the error above. most likely because the new 'Stream' link goes next to the presumed existing 'Recorded Programs' link.
Here are a couple things to check:
1) Are you using a non-default MythWeb theme (are there any)?
2) Did you provide an accurate HTTP_DIR parm to the script at the "MythWeb HTTP Directory" prompt. the value you provided should make $HTTP_DIR/themes/Default/theme.php an accurate path.
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
seattle
|
Posted: Wed Jun 29, 2005 8:33 am |
|
Joined: Sun Jun 26, 2005 6:09 pm
Posts: 12
Location:
Metro Detroit, MI
|
My first question is that do I have to have recorded program to be able to stream? Can I not stream Live TV?
Secondly, I did get an error saying that my theme.php could not be found.
To answer your two questions:
1. I am not sure what theme I am using, I did not make any changes to what has been installed as default using KnoppMyth version.
2. Can you clarify a bit more here? I took all the default, meaning I either pressed enter or typed y for 'yes' for all the prompts.
Regards,
S
Dying to get PVR-350 TV-Out and MythStreamTV Working 
|
|
Top |
|
 |
khrusher
|
Posted: Wed Jun 29, 2005 12:02 pm |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
No, you dont need recorded programs in order to stream live tv. however, the install script needs to be able to locate the string 'Recorded Programs' in the php file so it knows where to insert the 'Stream Recording' link.
That being said, i did not write an install script for the Live TV Stream, rather directions for you to add the link to the php file yourself after the install script is completed.
Lets try this...
First lets find your theme.php file, I would guess it is either
/var/www/mythweb/themes/Default/theme.php or /var/www/themes/Default/theme.php
find it
Code: find /var/www -name theme.php Check it out see if it has a string "Recorded Programs" in it? grep and be sure some output is generated... Code: # grep "Recorded Programs" /var/www/mythweb/themes/Default/theme.php should returne something link Code: <a href="recorded_programs.php"><?php echo t('Recorded Programs') ?></a>
Once you find it, all of the path before the '/themes/' is what should be use as the HTTP_DIR value when prompted. You may want to backup up manually before running the script, Its not my script, it worked for me but, saftey first!
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
seattle
|
Posted: Wed Jun 29, 2005 7:31 pm |
|
Joined: Sun Jun 26, 2005 6:09 pm
Posts: 12
Location:
Metro Detroit, MI
|
Fantastic directions K. Somehow my grep and cat did not produce the strings you mentioned. But I opened the theme file via vi and found the 'a href' statements. Finally, I put the correct path as you mentioned and boo yeah, I got a link on my MythWeb 'Stream Recordings'.
Euphoria was short lived though. I could not open any stream using my Windows Media Player. I verified that I could ping the MythTV machine. I can see the pictures on my computer (attached to MythTV). I kept everything default on Stream Recordings page. Chosing DIV3 or WMV2 did not make any difference.
I feel like I am close to get this working but I am missing something here. Again, many advance thanks to Khrusher!
Regards,
S
|
|
Top |
|
 |
khrusher
|
Posted: Thu Jun 30, 2005 6:31 am |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
what are your symptoms? there should be a log file, something like /myth/stream/log.txt. anything good in there?
you can try running the command right in an xterm window....when you go through the mythweb interface, one of the forms toward the end of the process will display the command that is being executed on the backend.
type the command into a window and watch for messages
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
seattle
|
Posted: Thu Jun 30, 2005 7:13 am |
|
Joined: Sun Jun 26, 2005 6:09 pm
Posts: 12
Location:
Metro Detroit, MI
|
khrusher wrote: what are your symptoms? there should be a log file, something like /myth/stream/log.txt. anything good in there? There is only one line there (log.txt file): "Please select a show to stream". khrusher wrote: you can try running the command right in an xterm window....when you go through the mythweb interface, one of the forms toward the end of the process will display the command that is being executed on the backend.
type the command into a window and watch for messages
I have seen the command syntax once I click 'Start Streaming'. I will try it out once I am home later this afternoon.
_________________ Best Regards,
S
===============================
IBM ThinkCentre / P4 Dual 3 GHz / 512 RAM / Huppauge PVR 350 / 250 GB WD HD / Onboard Sound+NIC / DVD-RW / KnoppMyth R5A16
|
|
Top |
|
 |
khrusher
|
Posted: Thu Jun 30, 2005 8:29 am |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
hmmm, did you select a recording to stream? that message comes from the script when it is testing the command line parms.
After you press the 'Start Live Stream' button, the next screen should have a line like:
Code: Command line:/myth/stream/mythstreamtv.sh 'DIV3' 'mp3' '500' '128' '1' '25' 'mms' '' '' '/myth/tv/1062_20050620030000_20050620050000.nuv' > /myth/stream/log.txt 2>&1 &
what does your command line look like?
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
seattle
|
Posted: Thu Jun 30, 2005 12:26 pm |
|
Joined: Sun Jun 26, 2005 6:09 pm
Posts: 12
Location:
Metro Detroit, MI
|
Here is what I got:
Code: Command line:/myth/stream/mythstreamtv.sh 'DIV3' 'mp3' '500' '128' '1' '25' 'mms' '' '' > /myth/stream/log.txt 2>&1 &
_________________ Best Regards,
S
===============================
IBM ThinkCentre / P4 Dual 3 GHz / 512 RAM / Huppauge PVR 350 / 250 GB WD HD / Onboard Sound+NIC / DVD-RW / KnoppMyth R5A16
|
|
Top |
|
 |
seattle
|
Posted: Thu Jul 14, 2005 9:22 pm |
|
Joined: Sun Jun 26, 2005 6:09 pm
Posts: 12
Location:
Metro Detroit, MI
|
I must give a lot of credit to K to get my recorded streaming working. Thanks a lot. I am now onto streaming live tv. The problem I am having is that as soon as I add the function to the channels.php I get a blank page! If I remove it, I see the channel line ups.
_________________ Best Regards,
S
===============================
IBM ThinkCentre / P4 Dual 3 GHz / 512 RAM / Huppauge PVR 350 / 250 GB WD HD / Onboard Sound+NIC / DVD-RW / KnoppMyth R5A16
|
|
Top |
|
 |
elgordo123
|
Posted: Tue Aug 16, 2005 4:40 pm |
|
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location:
Beaumont, CA
|
I am able to get livetv to stream. However it is extremely choppy, (only flashes like 2 or 3 frames over and over in a loop and it is the same 3 frames from the first time I ran it no matter what channel I select to stream).
I figured out my vlc command:
vlc -I http --http-host=:8002 pvr:/dev/video0:norm=ntsc:size=720x576:bitrate=3000000:maxbitrate=4000000:frequency=55250 --sout-transcode-fps=10 --sout-transcode-deinterlace ":sout=#transcode{vcodec=DIV3,acodec=mp3,vb=128,ab=32,scale=.25}:std{access=http{user=,pwd=,mime=video/x-ms-asf},mux=asf,url=:8001}"
Also getting ALOT of this stuff.. maybe has something to do with it?
[00000243] main interface: creating httpd
[msmpeg4 @ 0x83900fc]removing common factors from framerate
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
I am connecting to it via compiled version of mplayer from my ubuntu box on local wired lan. mplayer builds the cash and the just does as described above. mms just comes back with "connected." and stops. Same problem with WMV2 video codec.
Streaming recordings is perfect.
This is looking to be awesome khrusher!
_________________ ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital
|
|
Top |
|
 |
khrusher
|
Posted: Tue Aug 16, 2005 5:59 pm |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
I have received those clipping messages when I scale down the framerate and the other streaming parms. I haven't been able to blame them for any issues.
Just started a live feed on my lan (Wired client / wirelessG backend). Here is the top of my log.txt...feed looks fine:
Code: % more /myth/stream/log.txt tuning to NTSC_CABLE Channel 37 [Frequency = 301250] VLC media player 0.8.1 Janus [00000215] main interface: creating httpd [00000000] main root error: option pvr-caching does not exist peek=GET received new request=GET /?control= HTTP/1.0 User-Agent: Wget/1.9.1 Host: 192.168.1.50:8002 Accept: */* Connection: Keep-Alive
received new request - proto=HTTP - version=0 - msg=3 - url=/ - option name='User-Agent' value='Wget/1.9.1' - option name='Host' value='192.168.1.50:8002' - option name='Accept' value='*/*' - option name='Connection' value='Keep-Alive' mvar_PlaylistSetNew: name=`pl' sending answer HTTP/1.0 200 OK Content-type: text/html Cache-Control: no-cache Connection: Keep-Alive Content-Length: 6506
[00000283] mpeg_audio packetizer: MPGA channels:2 samplerate:48000 bitrate:384 [msmpeg4 @ 0x835a43c]removing common factors from framerate [msmpeg4 @ 0x835a43c]warning, cliping 1 dct coefficents to -127..127 [msmpeg4 @ 0x835a43c]warning, cliping 1 dct coefficents to -127..127 [msmpeg4 @ 0x835a43c]warning, cliping 1 dct coefficents to -127..127 [msmpeg4 @ 0x835a43c]warning, cliping 1 dct coefficents to -127..127 [msmpeg4 @ 0x835a43c]warning, cliping 1 dct coefficents to -127..127 [msmpeg4 @ 0x835a43c]warning, cliping 1 dct coefficents to -127..127 [msmpeg4 @ 0x835a43c]warning, cliping 1 dct coefficents to -127..127 [msmpeg4 @ 0x835a43c]warning, cliping 1 dct coefficents to -127..127 [msmpeg4 @ 0x835a43c]warning, cliping 1 dct coefficents to -127..127 [00000289] mpeg_audio decoder: MPGA channels:2 samplerate:48000 bitrate:384 [msmpeg4 @ 0x835a43c]warning, cliping 1 dct coefficents to -127..127 peek=GET received new request=GET / HTTP/1.0 Accept: */* User-Agent: NSPlayer/10.0.0.3646 Host: 192.168.1.50 X-Accept-Authentication: Negotiate, NTLM, Digest, Basic Pragma: no-cache,rate=1.000,stream-time=0,stream-offset=0:0,packet-num=4294967295,max-duration=0 Pragma: xPlayStrm=1 Pragma: playlist-gen-id=0 Pragma: xClientGUID={3300AD50-2C39-46c0-AE0A-0A0F71AC14FA} Pragma: stream-switch-count=2 Pragma: stream-switch-entry=ffff:1:0 ffff:2:0 Accept-Language: en-us, *;q=0.1
received new request - proto=HTTP - version=0 - msg=3 - url=/ - option name='Accept' value='*/*' - option name='User-Agent' value='NSPlayer/10.0.0.3646' - option name='Host' value='192.168.1.50' - option name='X-Accept-Authentication' value='Negotiate, NTLM, Digest, Basic' - option name='Pragma' value='no-cache,rate=1.000,stream-time=0,stream-offset=0:0,packet-num=4294967295,ma x-duration=0' - option name='Pragma' value='xPlayStrm=1' - option name='Pragma' value='playlist-gen-id=0' - option name='Pragma' value='xClientGUID={3300AD50-2C39-46c0-AE0A-0A0F71AC14FA}' - option name='Pragma' value='stream-switch-count=2' - option name='Pragma' value='stream-switch-entry=ffff:1:0 ffff:2:0 ' - option name='Accept-Language' value='en-us, *;q=0.1' sending answer HTTP/1.0 200 OK
What is your CPU status when streaming? vlc can be a pig
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
elgordo123
|
Posted: Wed Aug 17, 2005 9:52 am |
|
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location:
Beaumont, CA
|
When I run top I get this. Maybe I need to pump up the memory?
cpu(s): 14.0% us, 1.3% sy, 0.0%ni, 83.8% id, 0.0% wa, 0,0%hi, 0.0%si
Mem 254172k total 250124; used 4048k free 1660 buffers
swap 936892k total, 0k used 963892kfree 55200k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ CMD
4132 www-data 15 0 128m 27m 6252 S 14.6 11.0 1:04.81 vlc
My log doesn't look much like yours though. I just have the top part and then the cliping information: (Now waiting, connection, etc that yours has...)
tuning to NTSC_CABLE Channel 2 [Frequency = 55250]
VLC media player 0.8.2 Janus
[00000240] main interface: creating httpd
[00000240] main interface error: option test2 does not exist
[msmpeg4 @ 0x83900fc]removing common factors from framerate
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
[msmpeg4 @ 0x83900fc]warning, cliping 1 dct coefficents to -127..127
_________________ ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital
|
|
Top |
|
 |
khrusher
|
Posted: Wed Aug 17, 2005 11:11 am |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
I see this difference:
me: VLC media player 0.8.1 Janus
you: VLC media player 0.8.2 Janus
I used 0.8.1 cuz that is what the original mythstreamtv sourceforge site suggested....might be worth a try
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
elgordo123
|
Posted: Wed Aug 17, 2005 3:22 pm |
|
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location:
Beaumont, CA
|
I put it back to 0.8.1 and it is still the exact same problem. I checked on the videolan irc, they said to go to 0.8.2 because it had some improvements and had a flag called --pvr-caching however, I did that and it just ignores that switch no matter what I put there. So I put it back to 0.8.1 to be the same as yours.
Any other ideas?
ffmpeg version 0.4.9-pre1, build 4718 (compiled but not installed cuz I already have same version installed)
mpeg2dec-0.4.0 (compiled and installed from source)
ivtv: version 0.2.0 (rc3j) (from knoppmyth default install)
It has to have something to do with the raw stream from the card, my streamrecordings is perfect. Could it be becuase I use DIV3 or http? Rather than WMV2 or mms?
_________________ ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital
|
|
Top |
|
 |
khrusher
|
Posted: Wed Aug 17, 2005 4:42 pm |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
Quote: ffmpeg version 0.4.9-pre1, build 4718 (compiled but not installed cuz I already have same version installed)
is your pre-installed ffmpeg come compiled cinfigured as defined on the mythstreamtv site? I dont know much about ffmpeg, but the guy that put together teh original scripts made a big point for configuring it correctly.
if you built but didnt install ffmpeg, did you build vlc with the ffmpeg config parm pointing to the 'built but unistalled' tree?
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |