View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 86 posts ] 
Go to page Previous  1, 2, 3, 4, 5, 6  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Wed Aug 17, 2005 5:16 pm 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
I've got it working now! My last post I mis-typed what I was doing. I DID compile and install ffmpeg (after apt-get remove ffmpeg) but only compiled and NOT installed mpeg2dec. I figured there were no ./configure options so what I have installed should be the same. So I went ahead and did apt-get remove mpeg2dec and did make install.
Low and behold I got snow... Not jerky snow but really nice streaming snow. The reason it was snow and not a picture is that I use a irblaster for channel changing. When I selected a channel on the php page it changed the channel on the card. I pulled up the page, selected to stream channel 3 and it was all just beautiful after that!
I am PHP beginner but am going to see if I know enough to make that tweak. For now I can just ssh in and run the channel change script manually.
If I get sometime this weekend I'll stick my instr. on the wiki. One step closer to my ultimate goal: https://www.timekiller.org/carpc/
Thanks so much khrusher! I can't wait to get to work so I can watch tv!


:twisted:

_________________
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
 Profile  
 
 Post subject:
PostPosted: Wed Aug 17, 2005 7:03 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
congrats, you dont need to make any php changes.

here is all you need....very simple

edit /myth/stream/mythstreamtvLive.sh

make these changes:

1) Remove the part that maps channel to frequency

Code:
# map channel to frequency
FREQ=`egrep "^${FREQ_TABLE_KEY}:" ${FREQ_TABLE_FILE} | grep ":${CHANNEL}:" | cut
 -f3 -d:`
if [ -z "${FREQ}" ]
then
   echo "Can not translate  ${FREQ_TABLE_KEY} Channel ${CHANNEL} into frequency"
   exit
else
   echo tuning to ${FREQ_TABLE_KEY} Channel ${CHANNEL} [Frequency = ${FREQ}]
fi


Replace this line to force tuner card to channel 3

Code:
FREQ=61250



2) before the vlc lines add your command to change channels via blaster

Code:
ThisIsYourBlasterChannelChangeScript ${CHANNEL}

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 31, 2005 10:43 pm 
Offline
Joined: Sun Jul 17, 2005 3:50 pm
Posts: 11
I followed all of the directions in here and everything works fine up until when I try to stream, this shows up in the log:

Quote:
[00000215] main input error: no suitable access module for `pvr:/dev/video1:norm=ntsc:size=720x576:bitrate=3000000:maxbitrate=4000000:frequency=61250'



Any ideas?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 01, 2005 5:16 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
did you adjust the permissions on the /dev/video devices to allow the user that is running apache to have read access?

maybe you can post more of you log.txt file.

also, are you sure you ran the vlc config with --enable-pvr

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 01, 2005 7:52 am 
Offline
Joined: Sun Jul 17, 2005 3:50 pm
Posts: 11
It turns out I forgot to restart apache after adding www-data to the video group.

Now its working, albeit has troubles staying buffered when I'm watching from my local network (anything to do with the no-pvr caching?). I'll look into that tonight.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 01, 2005 9:23 am 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
For me it turns out that the pvr-caching stuff wasn't the issue. In fact whenever I tried to use it vlc would just ignore that command no matter what I put in there. The IRC group didnt' know much about it either. I might be wrong, but from what I gathered the pvr-caching stuff is in the help but really isn't implemented. (Using vlc 8.1) Either way it works for me without it now.

_________________
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
 Profile  
 
 Post subject:
PostPosted: Thu Sep 01, 2005 11:34 am 
Offline
Joined: Sun Jul 17, 2005 3:50 pm
Posts: 11
I have the issue that if I don't leave it at the absolute minimums (video 128, audio 32, 25% size, 10fps, even setting video size to 100% will fail) for quality, I can never get completely buffered it plays for a few seconds and then keeps trying to buffer, but never succeeds. The CPU on the myth machine never goes about 40% and I'm sure the client machine is good enough and the network is more than enough.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 01, 2005 12:25 pm 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
Is this just liveTV or recordings too?

_________________
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
 Profile  
 
 Post subject:
PostPosted: Thu Sep 01, 2005 1:16 pm 
Offline
Joined: Sun Jul 17, 2005 3:50 pm
Posts: 11
I haven't tried streaming recordings since I installed the live tv part, and that acts the same way. I don't know how I could have broken anything in the installation of live stream, because it seems like it would just not work as opposed to have very poor performance.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 24, 2005 6:13 pm 
Offline
Joined: Fri May 13, 2005 8:46 am
Posts: 48
Location: Grand Rapids, MI
just wanted to say thanks to "mark" for the knoppmythwiki howto on vlc streaming, it worked great for me first try with knoppmyth R5A16...

thanks!

_________________
ASUS P5N7A-VM, 2.5gHz E5200, 2GB crucial DDR2, pvr-250, hdhomerun, URC-8820 remote, Panasonic TH-42PZ80U, LinHES 6.01.00


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 05, 2005 1:37 pm 
Offline
Joined: Wed Jul 14, 2004 5:04 pm
Posts: 5
First off, thanks for this write up this is a great plugin.
My issue is (of course I have a issue :roll: ) in the parseTunerStatus.sh script it has
Code:
#  Assumptions:
#    Encoder 1 => /dev/video0
#    Encoder 2 => /dev/video1


What is the best way to reverse this as I have a bttv card on /dev/video0 but it is setup as Encoder 2 and my PVR350 is Encoder 1 on /dev/video1.

Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 05, 2005 2:16 pm 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
I would just assume since you know which is the right encoder card, you would just select that one. It's going to open the /dev/video0 or /dev/video1, so as long as you know which card is assigned to which device it shouldn't matter.

By The Way: I just compiled all the notes from this thread for the wiki. Khrusher (and others) did all the hard work. But I am glad the wiki page helped you out!

_________________
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
 Profile  
 
 Post subject:
PostPosted: Wed Oct 05, 2005 2:33 pm 
Offline
Joined: Wed Jul 14, 2004 5:04 pm
Posts: 5
Ahh Ok. I was not realizing that you can pick the card. I figured it would default to /dev/video0.

Thanks I really appreciate the info.

EDIT:
Works great! Only problem I had was I put my WAN IP in the ParseTunerStatus.sh script and the "Device" section was blank. After I realized my mistake and used the local IP everything was great.

Thanks again elgordo123, khrusher & anyone else for the wiki, this was extremely painless for me :wink:


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 05, 2005 6:22 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
while I was helping out someone get the ParseTunerStatus script to work, we figured out that if you need to enter a user / password to get into MythWeb from your LAN, you need to add user / pass to the wget command in the script....man is your friend. I will update wiki when I have more time

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 05, 2005 11:31 pm 
Offline
Joined: Wed Oct 05, 2005 11:24 pm
Posts: 5
Hi all!

After a lot of blood, sweat and tears, I have it mostly working on Fedora Core 4. One thing I can't quite figure out is, can svideo be done with this on a Hauppauge pvr-250? I have a regular tuner on a second pvr-250 working ok though. I'm hoping not to have to resort to plugging in the cable and tuning channel 3 for it to work with the cable box.

Following the setup from Videolan, I tried to inject a channel=2 into the command line, but that may only be for the software encoders. :(


Thanks in advance for any help.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 86 posts ] 
Go to page Previous  1, 2, 3, 4, 5, 6  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu