My small contribution I call - StreamTV (3 Viewers)

Valk

Portal Pro
February 25, 2006
302
108
Home Country
Australia Australia
BeLLe that client really has nothing to do with the kind of work i'm doing. Though anyone interested in helping is more then welcome to contribute.

Nicx, in the current build of the timeshifting module ffmpeg is disabled. I've changed that for the next patch i'll give out. I haven't tested it yet so I have no idea if ffmpeg supports named pipes. If it doesn't you will have to wait until I catch up on a few of the bugs before I implement an input/output method ffmpeg can use.

The idea of non-english versions of windows crossed my mind when you first mentioned your problem vel_tins but I haven't confirmed either way yet. Could possibly be an issue though I can't think of any reason why it should matter.

pierreye if your getting a 404 error then the webserver couldn't find the page (since you have the patch installed). I'm trying to fix up a few things i've overlooked when I remade the webserver. Like most people for now wait for the next build, hopefully i'll fix a few of these annoying issues up.

I'll release another patch soon, just a few more things I want to fix up before I give it out and i'll get the latest SVN build of MP to compile against.

-------------------------------------------------------------------------------------------------------------------------

Due to automerge I added the above line :p

Anyway.

Released version 1.0.4.0

Big new features:

We have an Installer!!!!
More tweaks to remove / stablise the plugin.

Timeshifting now supports ffmpeg though not supplied with the installer, read the main post to figure out where to copy ffmpeg to.

Anyway like always tell me if you have any more luck with this version.
 

Valk

Portal Pro
February 25, 2006
302
108
Home Country
Australia Australia
I guess I'll need to setup a test environment to figure out the reason :/

Time to dig up the old laptop.
 

nicx

Portal Pro
February 1, 2006
387
12
Stuttgart
Home Country
Germany Germany
hi valk,

thanks for your new version. now i can see the ffmpeg.exe process starting but after a second or so its crashing. even with options set to "-i {0} {1}" its not working. could you explain us the pipe you are using? what does the variable {0} looks like?

nicx...

hm... i just found a interesting article about ffmpeg and live streaming input, it should work: VDR Portal | VDR News | VDR TV Live Stream läuft auf dem iPhone

nicx...
 

pierreye

Portal Member
November 26, 2006
18
0
Same problem here using 1.0.4. I had manually deleted the previous folder before running setup. What OS version you are using for testing? Could it be UAC problem?

Further testing using the below link show the listing. But when I click on the link, it give an error "Unable to connect to local server"
http://localhost:8080/TvServer/ChannelList.rss?RTSP=True

I think I manage to solved the problem. First use this link:

http://localhost:8080/TvServer/ChannelList.rss?RTSP=True

2. Some small bugs in the plugin. Some of the channel I didn't map to the analog tv tuner card and still show in the rss list. If you click on those unmapped channel, it will crash mentioning that the channel is not map.

Another bug is if that channel doesn't have any signal, it will crash.

3. Which client can be use for streaming? MPC and Windows Media doesn't work.


Further testing now confirm both IE and Firefox work. Even stranger is
the URL without RTSP=True is working now. Only need to figure out which client will accept the direct streaming.

One more finding is don't use 127.0.0.1. Instead use localhost. If I use 127.0.0.1 then the page become blank.
 

Valk

Portal Pro
February 25, 2006
302
108
Home Country
Australia Australia
You really shouldn't use RTSP. Even though it’s there it really isn't supported (actually since the http server update I don't think I re-implemented it).

There is an update to 1.4.1

In this version I did some changes to the xml file. Now it’s generated in Unicode (utf-16) and I put the byte-order mask back in (was removed because java xml readers didn't like it though been utf-16 I get no issues now) which makes IE much happier reading the rss output.

VLC works with all the output methods of StreamTv. You should be able to make it work with VLC.

I'll look into adding code to check if the channel has been mapped before listing / timeshifting, thanks pierreye.

Using 127.0.0.1 should work (does for me). Try again with the new version, you might have the old page cached by IE try forcing it to refresh the page.
Now I think about it that could of been the problem for most of these issues.

On a side note I found that PS3MediaServer works with StreamTv. If you use Mencoder [Web] it will connect though the first attempt will take a bit longer to start. Need to figure out why mencoder has to connect twice.

Also if anyone has time to tinker with PS3MediaServer and add a option for direct stream to the UPNP device instead of transcoding I’d really appreciate it.

----

Anyway I have to go i'll update the main post tomorrow but there is an update on google code.

Also if you already have the transcoders i've made a patch build also which cuts down 99% of the filesize :D.
 

vel_tins

Portal Member
August 30, 2009
30
1
Home Country
Germany Germany
"direct streaming" doesnt work
E.G.
I click on TV channel, then have the Options "save" and "open"
If I choose "open" with Vlc, a "download" starts, but VLC doesnt open or stream.
If I choose "save", Firefox starts downloading the TimeShift.m2ts.
Then, with VLC I can open the partially downloaded "TimeShift.m2ts.part" file and VLC starts playing.
But why doesnt "direct stream" work
 

Valk

Portal Pro
February 25, 2006
302
108
Home Country
Australia Australia
If you think about it's a live stream so it will never end. You will always have something to download. If you use IE or firefox as you did they will want to download the whole file first before they send it to the player.

What you have to do is load VLC first then goto File > Open and put the http link into the prompt. VLC will build up its cache and start playing instantly.

Glad to hear you got that far along though, that means it worked :).
 

vel_tins

Portal Member
August 30, 2009
30
1
Home Country
Germany Germany
If I open any link, like
Code:
http://localhost:8080/TvServer/TimeShift.m2ts?ChannelId=6
in VLC, the TV Server crashes.
 

Users who are viewing this thread

Top Bottom