is there any way to delay gbpvr from trying to play the output file before it's begun transcoding? i'm trying to use it to stream web tv to the mvp and it works great but gbpvr is giving up on the file mear seconds before it starts producing one..i tried even batch files to sleep a while after starting but didn't help..
maybe something to put in next reslease? sure would be helpfull on some other ideas i had too..
Sometimes hitting pause as soon as it starts playing helps (but I guess only if the file actually exists, but hasn't filled up enough to play smoothly yet)
There's a built-in check, to delay for up to five seconds after launching the process, for the creation of the output file (checks every 0.1 seconds). I assume 5 seconds isn't long enough?
Sounds like a config option to be able to set 'wait for up to x seconds for creation of a file' and then 'wait an additional y seconds thereafter'. Or perhaps 'wait until file is at least z bytes big'.
2006-02-09, 10:03 PM (This post was last modified: 2006-02-09, 10:11 PM by pBS.)
ahhh, that would be great!..in XDVD, he made options for both, time and size [might be worth looking at his source]
actually the file size option is best as it will wait until just enough has buffered to play reliably...even if it takes forever...
i'm trying to get the web station viewing going for the mvp,and it works great from command line,and with the plugin too 'cept for gbpvr timing out before it's finished connecting to remote source..[which sometimes can be lengthy,but usually around 10-20 secs]
probably the last feature you'll need to add to this fine peice of work..
i'll have to troll for more web stations cuz not all of them play with VLC but a few do and i'm sure there's more out there..
hoping to see that new streaming add-on for the web-admin soon too..
[should be fun to play with]
thanx for the help..this'll enable gbpvr video without a capture card!
[i'm gonna work on making a generic guide-xml so we can integrate better with the guide later..would be a nice addon to this plugin too]
actually, i'd say a 30-sec wait before giving up on file creation, and then configurable size after that..i think the way he did it was just wait till the file is a certain size, which of course it won't be until it at least exists..
another thought, maybe a way to kill vlc when you hit stop in gbpvr?
[wondering if that's even possible?]
2006-02-12, 01:41 PM (This post was last modified: 2006-02-12, 01:56 PM by pBS.)
lol,forgot you posted the source code..but having a problem..
Looking everywhere and can't find the delay in there anywhere..[but i'm new at this..]
is it in your code? or is it a gbpvr default? [the 5 sec delay time]
a straight up 10 sec delay would be fine...i'd do it myself but can't find it..
it will make some interesting things possible on MVP as well..i've got vlc working on a majority of the video streams and will be able to even record with this, which is cute...but should also enable more nasty hardware types with command line interfaces..
[one of these days i'm gonna find those titantv parameters to use atiMMC by command line..lol]
with this and the upcoming webtstreamer interface, you'll be able to watch web streams at home,and home streams over the web
talk about convergence! lol
In ExternalRecorder.cs at the end of the startProgram method there's a optional for loop, either make the loop longer, or add another sleep after the loop.
First, thanks for this plugin. I've managed to get the preview side working- when I click on one of the channels related to the external source, VLC opens and displays the video- but when I try recording, I get only empty mpeg files in the GBPVR recording directory; this despite the fact that, according to task manager, VLC is clearly doing something (in fact, it is causing more CPU load than when it is actually playing the file).
My settings are as below; basically I copied them from the threads here, but I don't really understand what some of the strings in the recording settings mean! Is there anything obvious that might be wrong?
hmm, the plugin is trying to be intelligent and add you channel number to the end of the command line for you. i.e. you're getting "udp://@235.1.1.1:1234 out=#duplicate{dst=std{access=file,mux=ps,url="{ filename}"}} {channel}", because it doesn't find {channel} anywhere else.
Try replacing the 1234 port number with {channel} and set the channel number to 1234. (or you could do part of the ip address, whatever suites, as long as {channel} is present and gbpvr passes in the right value).
eg: You could set up an entire media server with channels starting at port 1000, the you set the enternal recorder to conect to ip:1{channel} and make channel three digit, zero padded.