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
« Previous 1 … 4 5 6 7 8
Problem playing Ubustream over MediaMVP

 
  • 0 Vote(s) - 0 Average
Problem playing Ubustream over MediaMVP
gnutech
Offline

Member

Posts: 87
Threads: 22
Joined: Nov 2005
#1
2006-12-13, 11:08 AM
I have followed jbyram2's guide on setting up Ubustream for use with the MediaMVP. It works great under channel mode on my computer, but when I try to stream it using channel mode over the MediaMVP it acts like it is trying to do it (black screen) then it returns to the channel listings (I'm using the TV Listings plugin).

I have also noticed that when I stop the Ubustream on my computer that a new instance of vlc is opened and then close, but the existing instance of vlc remains. I thought configuring VLC with 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. along with the "--one-instance vlc:quit" options in External Recorder were suppose to stop vlc.

Your assistance is greatly appreciated.

Respectfully,


Gary
jbyram2
Offline

Member

Posts: 109
Threads: 13
Joined: Dec 2005
#2
2006-12-13, 05:19 PM
gnutech Wrote:I have followed jbyram2's guide on setting up Ubustream for use with the MediaMVP. It works great under channel mode on my computer, but when I try to stream it using channel mode over the MediaMVP it acts like it is trying to do it (black screen) then it returns to the channel listings (I'm using the TV Listings plugin).

Some channels do this for me also, especially if they are offline/insufficient bandwidth connections. Even good connections take several seconds to get started. be sure the Wait times are adjusted as indicated in the guide.

Quote:I have also noticed that when I stop the Ubustream on my computer that a new instance of vlc is opened and then close, but the existing instance of vlc remains. I thought configuring VLC with 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. along with the "--one-instance vlc:quit" options in External Recorder were suppose to stop vlc.

Your assistance is greatly appreciated.

Respectfully,
Gary

Not sure what is happening there, but it sounds like the "one instance" setting isn't working somehow. That was the behavior I saw before I turned on one instance.

Unfortunately I broke my Ubustream setup updating to V2.0, and haven't quite fixed it yet. If I get the same... well, I'll tell how I fixed it. *crosses fingers for success*
[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
#3
2006-12-13, 08:34 PM
gnutech Wrote:I have also noticed that when I stop the Ubustream on my computer that a new instance of vlc is opened and then close, but the existing instance of vlc remains. I thought configuring VLC with 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. along with the "--one-instance vlc:quit" options in External Recorder were suppose to stop vlc.
What version of VLC are you using? Version 0.8.6 was just released so you might try that and see if the "single instance" setting works any better for you.

For UbuStream v2.0, I added code to explicitly kill the player process when you select a different station in list mode (or select the Stop button) - the intent being to supress spurious player instances even if you don't have the "single instance" option set (and also work for other players that don't have an equivalent option). I couldn't do the same thing for channel mode since, once UbuStreamCmd.exe has executed, control is passed to ExternalRecorder. I guess I could write a little app to kill VLC instances that you could use in the Stop Recording Executable field of the ExternalRecorder config, but it would be better if we can get VLC to work "as advertised" and do this for us.
[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.
gnutech
Offline

Member

Posts: 87
Threads: 22
Joined: Nov 2005
#4
2006-12-14, 12:20 PM
I was running VideoLAN 0.8.5, so I updated to VideoLAN 0.8.6 as recommended. This did not remedy either the one-instance vlc:quit or streaming over MediaMVP issues.

I played around with External Recorder's "output file" and "before starting 'Now Recording'" wait times, but nothing seemed to help. I ended up putting them back to their originial, respective times of 10,000 ms and 100 ms.

As for the vlc:quit issue, I decided to change the "Stop Recording" and "Stop Preview" Executable and Parameters to the following work-around:

Stop Recording Executable: C:\WINDOWS\system32\cmd.exe
Stop Recording Parameters: /c taskkill /IM vlc.exe
Stop Preview Executable: C:\WINDOWS\system32\cmd.exe
Stop Preview Parameters: /c taskkill /IM vlc.exe

This killed the vlc.exe processes without issue. Then External Recorder seemed to clean up the transcoded destination file very nicely.

Let me know if you get Ubustream 2.0 working with VideoLAN 0.8.6.

Respectfully,


Gary
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#5
2006-12-15, 12:11 AM
gnutech Wrote:I was running VideoLAN 0.8.5, so I updated to VideoLAN 0.8.6 as recommended. This did not remedy either the one-instance vlc:quit or streaming over MediaMVP issues.
Not sure I'm "recommending" 0.8.6 yet. Wink It just seems that 0.8.5 introduced some problems which 0.8.6 is supposed to fix (in addition to improved support for various codecs) . One thing that confuses me about your problem is that a fair number of MVP users have reported successfully using the channel mode feature with UbuStream v1.6. One possibility is that they may be using VLC 0.4.0 (or 0.4a) which was a very stable release. I haven't changed the code relating to channel mode for UbuStream v2.0 so it should work the same.

Quote:I played around with External Recorder's "output file" and "before starting 'Now Recording'" wait times, but nothing seemed to help. I ended up putting them back to their originial, respective times of 10,000 ms and 100 ms.
Are you testing with just one url or with several different ones? I'm working on MVP support for UbuStream list mode and I'm using a similar technique to wait for the file to be created before playing it. I'm testing with the Research Channel (pretty stable, reliable stream) and I find that using 5000 ms and 100 ms gives fairly consistent results. Some streams have a tendency to connect, start streaming for a second or two, then stop and refill the buffer before continuing to play. I'm wondering if this confuses the gbpvr video player since the file would show up quickly but would not have enough content for the video player to play. I don't know what values you have tried for these fields but, if you tried upping the second one from 100 ms to some really big number - a minute maybe - it would test this theory.

I'm also not sure whether there are additional timing checks in the MVP dongle code that affect this (especially since you don't experience the problem when using timeshift mode on the PC). One problem I have is that I don't have an MVP (although I've asked Santa to bring me one Smile ) so I have, up to now, had to assume that if I can get something working in GBPVR's timeshift mode it will work for MVP users.

Quote:This killed the vlc.exe processes without issue. Then External Recorder seemed to clean up the transcoded destination file very nicely.
Well that's a good workaround. External Recorder "should" kill the vlc process once it detects that you have exited from the gbpvr video player. Also, it doesn't delete the output file itself but seems to rely on gbpvr's timeshift mode logic to do the clean up. So I'm still confused why this wasn't working properly for you. Also, I can't reproduce the problem you're having with the "allow only one running instance" preference. For me (using both 0.8.5 and 0.8.6) it seems to work as expected both when running vlc from the desktop and when invoking it from C# code. :confused:

Quote:Let me know if you get Ubustream 2.0 working with VideoLAN 0.8.6.
I've been using the 0.8.6 beta with UbuStream 2.0 for some weeks (and the "official" 0.8.6 since it was released). So far - no problems (it seems to behave a little differently when playing in a minimized window, but that's a different issue).
[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.
gnutech
Offline

Member

Posts: 87
Threads: 22
Joined: Nov 2005
#6
2006-12-15, 11:35 AM
ubu Wrote:Are you testing with just one url or with several different ones? I'm working on MVP support for UbuStream list mode and I'm using a similar technique to wait for the file to be created before playing it. I'm testing with the Research Channel (pretty stable, reliable stream) and I find that using 5000 ms and 100 ms gives fairly consistent results. Some streams have a tendency to connect, start streaming for a second or two, then stop and refill the buffer before continuing to play. I'm wondering if this confuses the gbpvr video player since the file would show up quickly but would not have enough content for the video player to play. I don't know what values you have tried for these fields but, if you tried upping the second one from 100 ms to some really big number - a minute maybe - it would test this theory.

I have tried a couple of different url's. I settled on using the Research Channel stream because you seem to use it as your measuring stick. It is the stream that I have done most of my unsuccessful MVP testing with.

ubu Wrote:I'm also not sure whether there are additional timing checks in the MVP dongle code that affect this (especially since you don't experience the problem when using timeshift mode on the PC). One problem I have is that I don't have an MVP (although I've asked Santa to bring me one Smile ) so I have, up to now, had to assume that if I can get something working in GBPVR's timeshift mode it will work for MVP users.

I hope Santa brings you one. It is the only way to go for me.

ubu Wrote:Well that's a good workaround. External Recorder "should" kill the vlc process once it detects that you have exited from the gbpvr video player. Also, it doesn't delete the output file itself but seems to rely on gbpvr's timeshift mode logic to do the clean up. So I'm still confused why this wasn't working properly for you. Also, I can't reproduce the problem you're having with the "allow only one running instance" preference. For me (using both 0.8.5 and 0.8.6) it seems to work as expected both when running vlc from the desktop and when invoking it from C# code. :confused:

Strange... Could you provide a screenshot of your working VLC settings?

Did you happen to see my post about using External Recorder with XMLTV, VLC Streaming, and RemoteTV? Do you know if Ubustream can do something like it or do you know of a setup that might?

Thank you for help and a great utility--Ubustream.

Respectfully,


Gary
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#7
2006-12-15, 10:58 PM
gnutech Wrote:It is the stream that I have done most of my unsuccessful MVP testing with.
LOL Big Grin

Quote: I hope Santa brings you one. It is the only way to go for me.
I hope so too. In the meanwhile, I was hoping some of the "MVP experts" would chime in on this thread with suggestions to resolve your problem. Reading some of the other MVP threads, it does seem that the speed of transcoding is pretty critical and that running GB-PVR on a PC with a slower CPU can sometimes produce timing problems similar to what you are experiencing. What CPU are you running? Can you experiment with running GB-PVR on a faster machine?

Quote: Strange... Could you provide a screenshot of your working VLC settings?
The setting is very simple (especially for 0.8.5) so, to avoid storing yet another jpeg on the forum server, I'll describe it. In the VLC's Preferences dialog, I select the Advanced>Other settings from the tree and then check the Advanced options box at the bottom of the screen. I then check "Allow only one running instance" and click the Save button. (The only other option I have checked on the Other screen is "Use a plugin cache".) With this option set, the first time I open VLC it shows up on my desktop and, if I open VLC again, the same window remains on my desktop. With the option unset, the second time I open VLC I get a second VLC window on my desktop.

Quote:Did you happen to see my post about using External Recorder with XMLTV, VLC Streaming, and RemoteTV? Do you know if Ubustream can do something like it or do you know of a setup that might?
I've responded in that thread.
[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.
gnutech
Offline

Member

Posts: 87
Threads: 22
Joined: Nov 2005
#8
2006-12-16, 12:53 AM
I finally got it running over the MVP! As suggested, I cranked up the External Recorder wait time settings (10,000/10,000 seem to be the max) and it worked! It would be nice if one could enter a wait time setting greater than 10,000 to increase the total buffer volume. Also, you might suggest that new users start by maxing out the wait times in External Recorder.

ubu Wrote:With this option set, the first time I open VLC it shows up on my desktop and, if I open VLC again, the same window remains on my desktop. With the option unset, the second time I open VLC I get a second VLC window on my desktop.

I have the same settings you do. If I open an instance of VLC and then try to open another instance it only allows the single instance. However, when VLC is opened through the External Recorder and UbuStream that is when I experience the double VLC issue. A second instance of VLC opens and closes with the original VLC instance continuing to transcode.

With my work-around, this is a good enough solution for me.

Thanks for your help.


Gary
groover km
Offline

Senior Member

Posts: 731
Threads: 43
Joined: Mar 2005
#9
2006-12-16, 01:27 AM
I have been playing around with this without much success I'm afraid - once it worked, twice I have got audio no video, all other times nothing...

Would someone mind posting their vlc settings for me to copy?

Thanks!
Celeron D 2.53GHz, 1024MB
120GB, 160GB int, 80GB, 250GB ext, 40GB lan HDDs
PVR-150 retail, 1 wired MVP, 1 wireless MVP, OFA URC-8910 Remote
Look for me on XBox Live!
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#10
2006-12-16, 01:31 AM
gnutech Wrote:I finally got it running over the MVP! As suggested, I cranked up the External Recorder wait time settings (10,000/10,000 seem to be the max) and it worked! It would be nice if one could enter a wait time setting greater than 10,000 to increase the total buffer volume.
Excellent news!

If you edit the config-recorders.xml file in Notepad, you'll see these lines for each capture source:

<waitForFile>10000</waitForFile>
<waitAfterFile>100</waitAfterFile>


You can change the values to whatever you want. It's only the External Recorder config screen that restricts the values to some (arbitrary) maximum.

You didn't answer my question about the CPU you are using for GB-PVR but the long wait time you appear to need for MVP playback does suggest that more horsepower for the transcoding process might help.
[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 (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Webradio 2.1.0 on Win 7 Problem mikeh49 10 6,916 2010-08-13, 11:20 PM
Last Post: mikeh49
  Ubustream not working preview neither timeshitf play Toni 2 3,219 2009-05-27, 07:59 PM
Last Post: Toni
  Imposible to start ubustream Toni 3 3,306 2009-05-27, 12:02 PM
Last Post: Toni
  UbuStream plugin - support ubu 42 46,179 2009-03-26, 12:41 AM
Last Post: am2pgs
  UBUStream and version 1.3.11 seansco 10 6,932 2009-03-11, 01:07 PM
Last Post: seansco
  Using Ubustream with MediaMVPs jbyram2 33 40,899 2008-12-12, 04:50 PM
Last Post: jbyram2
  No mouse in web pages from Ubustream 2.2 aa7 0 2,504 2008-03-21, 04:13 AM
Last Post: aa7
  Run external app before UbuStream playback? sgilani 9 4,626 2008-03-16, 05:09 AM
Last Post: sgilani
  YouTube not working via VLC/Ubustream gazoo 4 5,111 2008-03-10, 03:16 PM
Last Post: gazoo
  uefa futsal in ubustream? sglebs 0 2,283 2008-03-02, 03:14 AM
Last Post: sglebs

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

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

Linear Mode
Threaded Mode