NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) UbuStream, Web Radio and Universe v
1 2 3 4 5 … 8 Next »
Using Ubustream with MediaMVPs

 
  • 0 Vote(s) - 0 Average
Using Ubustream with MediaMVPs
jbyram2
Offline

Member

Posts: 109
Threads: 13
Joined: Dec 2005
#1
2006-11-11, 05:38 AM (This post was last modified: 2008-12-12, 04:53 PM by jbyram2.)
Some one asked me how I got Ubustream working with MediaMVPs.
Here's what I said. Any other thoughts, tips & tricks?

I'm using Media MVP Versions D3A

Short How-to:
1) get Videolan client (VLC)
2) Install Ubustream, and set all your stations to use VLC
3) Setup external recorder to allow Ubustream to use channel mode.
4) Use all of tipsters MVP network tweaks

Since the MVP needs a .mpg file to play, VLC is needed to capture the network stream you want to watch and save it in .mpg format so the MVP can play it.

Long version:
1) I'm using videolan client 0.8.5
in settings->preferences
advanced, check advanced options and select "allow only one running instance" and "allow only one running instance when started from a file" keep "use a plugins cache" checked. all others on that page unchecked.

This will keep gbpvr from spawning lots of zombie instances of VLC that never close when you change channels.
2) Set Ubustream to use VLC
in gbpvr config, plugins tab, WebTV/ radio -> Settings. PLayers tab-> Videolan client->edit...this should say
player name: videoLAN Client
PLayer Application: C:\Program Files\VideoLAN\VLC\vlc.exe
Fullscreen parm: -f

Stations tab: all station should be set to use VideoLAN Client as their media player

3) gbpvr config->Capture sources-> Create a capture source for Ubustream, like Ubu says to in the wiki. Mine looks like this:
Edit recording source worksheet:
Source name: UbuStream
Recording Source: Extrernal recorder
Settings:
*****************
Start recording executable:C:\Program Files\devnz\gbpvr\UbuStreamCmd.exe
Start Recording Parameters:
Code:
{channel} :sout=#transcode{vcodec=mp2v,vb=2048,scale=1,acodec=mpga,ab=192,channels=2,audio-sync}:duplicate{dst=std{access=file,mux=ps,dst=^"{fullname}"^}}

Hide recording executable: checked
Wait up to 10,000 ms for the output file to be created
The wait 100 ms before starting "Now Recording"
Now recording executable: blank
Now recording parameters : blank
Stop recording executable: C:\Program Files\VideoLAN\VLC\vlc.exe
Stop recording parameters: --one-instance vlc:quit
Start preview executable: C:\Program Files\devnz\gbpvr\UbuStreamCmd.exe
Start preview parameters: {channel} -f
Stop preview executable: C:\Program Files\VideoLAN\VLC\vlc.exe
Stop preview parameters: --one-instance vlc:quit
zero pad : unchecked
three digits: unchecked
*******************

EEPG source: XMLTV Plugin
Settings:
XMLTV file: C:\Program Files\devnz\gbpvr\UbuStreamEPG.xml

No Channel changer required

4) MVP tab
set "Pre-play delay" to 5000, to give the stream time to start

Once it is set up, You should be able to pick stations from the TVGuide, and play them just like TV station. But beware!
Your server will be doing a bit more work, since it has to recieve the stream, transcode it to Mpeg, and save it to disk, then serve the file out to the MVP. I've got an Duron 1600 and it works OK, but the LAN connection has the video coming in and going out at the same time, and may not be able to recieve and serve smoothly.

Do not be surprised if you see some of the most psychedelic video distortion you can imagine, and audio/video synch problems, and the four second MVP video/audio loop "feature". I've found that pausing the playback to create a reasonable size buffer (10-20 seconds), and skipping backwards (lowest button on the left) sometimes will get the thing synched up and running smoothly. Sometime not though, especially if the stream is choppy to begin with.

EDIT 12/20/06:
Changed my setup to GB-PVR 98.13b, VLC 0.8.6, Ubustream 2.0+ bugfix,
Added audio-sync to improve audio synch and repeat errors..a pause and back-skip is still needed sometimes.
Changed acodec from mp2a to mpga to keep VLC from crashing sometimes.
Changed vb from 1024 to 2048 for improved appearance on high quality streams

EDIT 12/12/08

Changed my setup to PVRX2, and broke channel mode.
[SIZE="1"]AMD Duron 1600 / 640MB / 80GB+200GB
Hauppauge PVR-150MCE & 3 X MediaMVP (D3A)
Girder & USB-UIRT -> Samsung SIR-T150 Digital Receiver
Girder & USB-UIRT -> ChannelMaster 9521 antenna rotator
UbuStream + CommunitySkin
100% OTA *no cable, no satellite*[/SIZE]
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#2
2006-11-13, 12:32 AM
jbyram2 Wrote:Some one asked me how I got Ubustream working with MediaMVPs.
Here's what I said. Any other thoughts, tips & tricks?
This is really excellent. Since I don't have an MVP myself, my wiki documentation is based on "If this works for watching a stream in GB-PVR timeshift mode, it'll probably work for MVP users". You've added a lot of useful "real world" information. (Checking "allow only one running instance" in VLC, for instance, is a great piece of advice.)

While VLC is the preferred player for doing this (and all the examples in the documentation use VLC), you can, in theory, use any player that is capable of recording the stream to MPEG2 format (mplayer, for instance).
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]

Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
happyhammer
Offline

Member

Posts: 122
Threads: 25
Joined: Apr 2006
#3
2006-11-13, 02:40 PM
tried those settings, didn't work for me,selected a channel,the screen shows a timeline and then goes black. The GBPVR tray icon goes green and the status shows that an mpg file is being created but infact it isn't.

The vlc instance on the server shows the following in its message log:


main error: invalid chain
stream_out_transcode error: cannot create chain
main error: stream chain failed for `transcode{vcodec=mp2v,vb=1024,scale=1,acode'
main error: cannot start stream output instance, aborting
Intel P4 2500 mhz, 1.25G Ram, XP Home SP2, Maxtor 30Gb and WD 200gb drives, PVR-500MCE, DM500s, dboxrecorder, GBPVR 1.2.9, 2 x wired MVP,
Spartan
Offline

Senior Member

Posts: 457
Threads: 28
Joined: Mar 2005
#4
2006-11-13, 03:19 PM
I tried it at home and while the video plays fine on my gbpvr machine, when I select it from the MVP, no video appears at all.
GBPVR v1.0.16 | Comskip | SportsScores | Weather | I-XmlTV

Server: Tyan Thunder h1000E | 2 x Opteron 2210 | 2GB PC2-5300 DDR2 ECC
LSI MegaRAID 300-8X SATA RAID
1x 73GB SCSI @ 10K RPM (OS)
3x 500GB SATA @ 7.2K RPM (RAID 5) (4 Partitions: Docs, Still Pics, Home Movies, Music)
2x 160GB IDE @ 7.2K RPM (RAID 0) (Recordings)
Hauppauge HVR-1600

Client: Gigabyte GA-MA69GM-S2H | Athlon x2 5000+ BE | 2GB PC-6400 DDR2
1x 320GB SATA @ 7.2K RPM
Antec NSX2480 Case
MCE Remote
jbyram2
Offline

Member

Posts: 109
Threads: 13
Joined: Dec 2005
#5
2006-11-13, 06:04 PM
happyhammer Wrote:tried those settings, didn't work for me,selected a channel,the screen shows a timeline and then goes black. The GBPVR tray icon goes green and the status shows that an mpg file is being created but infact it isn't.

The vlc instance on the server shows the following in its message log:


main error: invalid chain
stream_out_transcode error: cannot create chain
main error: stream chain failed for `transcode{vcodec=mp2v,vb=1024,scale=1,acode'
main error: cannot start stream output instance, aborting

Looks like a cut and paste error on the Start recording parameters, with the word acodec being split up.


The full Start recording parameters line is
Code:
{channel} :sout=#transcode{vcodec=mp2v,vb=1024,scale=1,acodec=mp2a,ab=192,channels=2}:duplicate{dst=std{access=file,mux=ps,dst=^"{fullname}"^}}

Let me know if that helps
[SIZE="1"]AMD Duron 1600 / 640MB / 80GB+200GB
Hauppauge PVR-150MCE & 3 X MediaMVP (D3A)
Girder & USB-UIRT -> Samsung SIR-T150 Digital Receiver
Girder & USB-UIRT -> ChannelMaster 9521 antenna rotator
UbuStream + CommunitySkin
100% OTA *no cable, no satellite*[/SIZE]
happyhammer
Offline

Member

Posts: 122
Threads: 25
Joined: Apr 2006
#6
2006-11-13, 09:34 PM
no, the full command is there in the config, its just the vlc messages window only seems to show that amount of text, i dunno if thats because thats all it can display or is it not seeing the full command.
Intel P4 2500 mhz, 1.25G Ram, XP Home SP2, Maxtor 30Gb and WD 200gb drives, PVR-500MCE, DM500s, dboxrecorder, GBPVR 1.2.9, 2 x wired MVP,
jbyram2
Offline

Member

Posts: 109
Threads: 13
Joined: Dec 2005
#7
2006-11-14, 05:17 PM
And there are no spaces, except after "{channel}"?
[SIZE="1"]AMD Duron 1600 / 640MB / 80GB+200GB
Hauppauge PVR-150MCE & 3 X MediaMVP (D3A)
Girder & USB-UIRT -> Samsung SIR-T150 Digital Receiver
Girder & USB-UIRT -> ChannelMaster 9521 antenna rotator
UbuStream + CommunitySkin
100% OTA *no cable, no satellite*[/SIZE]
happyhammer
Offline

Member

Posts: 122
Threads: 25
Joined: Apr 2006
#8
2006-11-14, 05:44 PM
yes there were two spaces, i should have looked more closely at the vlc messages.

The spaced words were "acodec" and "access=", see example of spaces below

acode c=mp2a,ab=192,channels=2}:duplicate{dst=std{access =

obviously some cut and paste error,sorry.

i wont be able to test for a few days though until i get home.
Intel P4 2500 mhz, 1.25G Ram, XP Home SP2, Maxtor 30Gb and WD 200gb drives, PVR-500MCE, DM500s, dboxrecorder, GBPVR 1.2.9, 2 x wired MVP,
karlr30
Offline

Junior Member

Posts: 1
Threads: 0
Joined: Dec 2006
#9
2006-12-17, 06:03 AM
Hi, i am not able to make it works, the web station start on my pc with vlc saving the file "Research TV programming._2_20061217_00000100-4.mpg" , but i only get a black screen for a short time, then return to tv guide on my mvp. Could it be that the file can't be read when written.

i.e. If i try to play "Research TV programming._2_20061217_00000100-4.mpg" from my pc with windows media player while vlc is recording i get the message "file is occupied".

i have put this in the start recording parameters:
{channel} Confusedout=#transcode{vcodec=mp2v,vb=1024,scale=1,acodec=mp2a,ab=192,channels=2}:duplicate{dst=std{access=file,mux=ps,dst=^"{fullname}"^}}

The same again in the Start preview parameters :
{channel} Confusedout=#transcode{vcodec=mp2v,vb=1024,scale=1,acodec=mp2a,ab=192,channels=2}:duplicate{dst=std{access=file,mux=ps,dst=^"{fullname}"^}}

what am i doing wrong ?
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#10
2006-12-17, 07:25 AM
karlr30 Wrote:Hi, i am not able to make it works, the web station start on my pc with vlc saving the file "Research TV programming._2_20061217_00000100-4.mpg" , but i only get a black screen for a short time, then return to tv guide on my mvp. Could it be that the file can't be read when written.
If the channel plays OK in timeshift mode on your PC but gives you a black screen on your MVP, this could be a timing problem. You might have to experiment with the "wait" parameters. To avoid repeating myself, I'll refer you to this thread for more discussion of this.

Quote: i.e. If i try to play "Research TV programming._2_20061217_00000100-4.mpg" from my pc with windows media player while vlc is recording i get the message "file is occupied".
Not sure why you'd want to do this but I don't think WMP can play a file while it is still being recorded. However, VLC can definitely do this so you could try using a second instance of VLC. GB-PVR can also do this (that's how timeshift-mode works).

Quote:i have put this in the start recording parameters:
{channel} Confusedout=#transcode{vcodec=mp2v,vb=1024,scale=1,acodec=mp2a,ab=192,channels=2}:duplicate{dst=std{access=file,mux=ps,dst=^"{fullname}"^}}

The same again in the Start preview parameters :
{channel} Confusedout=#transcode{vcodec=mp2v,vb=1024,scale=1,acodec=mp2a,ab=192,channels=2}:duplicate{dst=std{access=file,mux=ps,dst=^"{fullname}"^}}

what am i doing wrong ?
The recording parms look OK but you've used the same parms again for the preview parms. That won't work. The preview parms should simply be: {channel}. This is all described in the sample setup parms doc (the link is on the config page of the wiki). The preview parms are only used for non-timeshift mode live TV so will not be relevant if you are exclusively using an MVP.
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]

Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Ubustream not working preview neither timeshitf play Toni 2 3,039 2009-05-27, 07:59 PM
Last Post: Toni
  Imposible to start ubustream Toni 3 3,085 2009-05-27, 12:02 PM
Last Post: Toni
  UbuStream plugin - support ubu 42 44,812 2009-03-26, 12:41 AM
Last Post: am2pgs
  UBUStream and version 1.3.11 seansco 10 6,487 2009-03-11, 01:07 PM
Last Post: seansco
  No mouse in web pages from Ubustream 2.2 aa7 0 2,361 2008-03-21, 04:13 AM
Last Post: aa7
  Run external app before UbuStream playback? sgilani 9 4,201 2008-03-16, 05:09 AM
Last Post: sgilani
  YouTube not working via VLC/Ubustream gazoo 4 4,882 2008-03-10, 03:16 PM
Last Post: gazoo
  uefa futsal in ubustream? sglebs 0 2,136 2008-03-02, 03:14 AM
Last Post: sglebs
  Ubustream in PVRX2 markfarey 4 3,757 2008-02-27, 02:42 AM
Last Post: markfarey
  UbuStream v2.2 Beta now available ubu 36 14,375 2008-02-19, 08:42 PM
Last Post: ubu

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode