Jump to content

XBMC for windows as upnp client


feucar

Recommended Posts

Hi all, I'm trying to use DVBViewer recording service as upnp server and xbmc for windows as client.

 

I've tested xbmbc last stable versione, alpha1, alpha2 and beta1 but all versions share same strange behavior:

- they correctly discover the dvbservice in lan and correctly configure it

- they can access stored recording list and play them correctly

- they can access channel list and play the first channel you select

- that always stop responding when you change channel

 

Have anyone successful experience using xbmc for windows as upnp client ?

Is there some specific settings on xbmc or dvbservice ?

 

I searched forum but I was not able to find information (sorry I can't read german).

 

Thanks.

Link to comment

Hi

 

I'm doing the same thing. Video works for me (free-to-air channels only, I don't have a decoder card, or any way to connect it anyway), but audio doesn't work for me at all. See my post at http://www.DVBViewer.info/forum/index.php?showtopic=37584 .

 

Do radio stations work for you at all?

 

I don't recall changing any specific settings in order to get video to work, but who knows, I did flip more than a few settings in the Recording Service options panel to try to figure out if they had any effect or not.

 

Tusse.

Link to comment
  • 3 weeks later...
  • 3 weeks later...

I tried today with the latest version of XBMC and all FTA channels work.

 

Not the encrypted ones as [removed]

 

§ 13

 

Do not ask for or discuss plugins for descrambling/decrypting pay-tv or key-codes.

Although the DVBViewer Pro provides full pay-tv functionality it must only be used in combination with a valid subscription of a pay-tv provider, a tv-card/box featuring a "conditional access module" (CAM)and/or the corresponding "common interface" (CI) with a smart-card. This applies regardless whether software-descrambling is allowed in your country or not.

http://www.DVBViewer.info/forum/index.php?act=boardrules

Link to comment

I am using the latest version of XBMC and the encrypted channels stream as well. The only problem is swapping channels takes almost 5 seconds and the subtitles (teletext) do not show up (which makes it as a client useless). PS: Therefore I prefer using the DVBViewer as a client and use AutoIt-script which runs the DVBViewer automatically when xbmc is shut down.

Link to comment

I found out that both teletext and dvb-sub subtitles do function. While streaming from recording service to xbmc client, type "V" (on the client side) and the teletext number (e.g. for Finnish, 694) then you will have the subtitles. In addition "M" for the DVB-subs.

Link to comment

I'm wonder about your positive experience using xbmc as upnp client. In my tests (and in tests of other users that i know) xbmc 9.11 (all flavors alpha, beta and stable) runs well on first activation (first channnel) and then stops on channel change (all tests are done on FTA channels - RAI1 and RAI2 italian broadcasting).

 

On debug log it seems a problem that occur starting render of the second channel - that is:

Select first channel RAI1 -> get stream for RAI1 ->start render RAI1 -> ok

Select secondo channel RAI2 -> stop render RAI1 -> get stream for RAI2 -> start render RAI2 -> ko (either video and audio)

 

A "strange" thing is that, when you select the second channel (RAI2) xbmc show a popup "changing channel to RAI1" but this seems e minor bug about channel name (current one instead that the new one).

 

For further reference follow the link to my posts on xbmc forum and you'll find a link to debug log too.

 

Regards and Happy New Year.

Link to comment
I'm wonder about your positive experience using xbmc as upnp client. In my tests (and in tests of other users that i know) xbmc 9.11 (all flavors alpha, beta and stable)

Regards and Happy New Year.

 

I am using 9.11 with confluence skin both in Os X and Win 7 environments. RS functions in a remote server and all streaming and recording are centralized. Then I have different clients in the LAN (both Os X and Win 7) running either DVBViewer as a client or xbmc via upnp interface or VLC via webserver (direct streaming). As Lars has mentioned the upNp function is enabled with IP slot left blank at the port 8889. Then in xbmc I chose a new location under VIDEO section and choose from the available upnp servers (where you will see an item called "DVBViewer media server ()" (in the brackets the networkshare name of the computer where the RC is installed). When this is chosen you will see other options like 'cable','fta','all' etc...from which you will add the proper one to your players list.

 

I have tested it for two days and it works both in iMac, Macbook Pro, Mac Mini and Win 7 clients. The only problem is when the channel is swapped it takes 5-6 secs to tune (during which you will see a notice saying "changing to"). Yesterday I managed to have the subtitles as well using the trick (typing V) which I learned from somebody at the xbmc forums.

 

Happy new year to all and thanks for the valuable work done in improving the RC all the time.

Link to comment

aht961 thanks for share your experience. I can't understand where's the problem! I and a friend tested xbmc 9.11 with confluence in fresh install and followed exactly the actions you describe but on channel change (after 5 to 6 second just to change channel) xbmc stop render (you can view the exact sequence in my previous post).

 

In the debug log (you can find the entire log here: http://pastebin.com/m4f42bfa2) on channel change you can find:

23:49:35 T:3400 M:1327149056  NOTICE: Creating InputStream
23:49:35 T:3400 M:1312468992   DEBUG: CFileCache::Open - opening <upnp/channelstream/00947.mpgts> using cache
23:49:35 T:3400 M:1312468992   DEBUG: FileCurl::Open(053112E0) [url="http://192.168.10.50:7522/upnp/channelstream/00947.mpgts"]http://192.168.10.50:7522/upnp/channelstream/00947.mpgts[/url]
23:49:36 T:3400 M:1312604160    INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles
23:49:36 T:3400 M:1312604160   DEBUG: CUtil::CacheSubtitles: START
23:49:36 T:3384 M:1312604160   DEBUG: thread start, auto delete: 0
23:49:36 T:3400 M:1312604160    INFO: CDVDFactorySubtitle::GetSubtitles, searching subtitles done
23:49:36 T:3400 M:1312604160  NOTICE: Creating Demuxer
23:49:36 T:3400 M:1312604160   DEBUG: CDVDDemuxFFmpeg::Open - probing failed, re-probing with probe size [1316]
23:49:36 T:3400 M:1312604160   ERROR: CDVDDemuxFFmpeg::Open - error probing input format, [url="http://192.168.10.50:7522/upnp/channelstream/00947.mpgts"]http://192.168.10.50:7522/upnp/channelstream/00947.mpgts[/url]
23:49:36 T:3400 M:1312604160   ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
23:49:36 T:3400 M:1312604160  NOTICE: CDVDPlayer::OnExit()
23:49:36 T:3400 M:1312604160  NOTICE: CDVDPlayer::OnExit() deleting input stream
23:49:36 T:3384 M:1312604160   DEBUG: Thread 3384 terminating
23:49:36 T:3400 M:1312612352   DEBUG: FileCurl::Close(053112E0) [url="http://192.168.10.50:7522/upnp/channelstream/00947.mpgts"]http://192.168.10.50:7522/upnp/channelstream/00947.mpgts[/url]
23:49:36 T:3400 M:1326596096   DEBUG: Thread 3400 terminating
23:49:36 T:3812 M:1326596096   DEBUG: CApplication::OnPlayBackStopped - Playback was stopped
23:49:36 T:3812 M:1326596096   ERROR: Playlist Player: skipping unplayable item: 0, path [http://192.168.10.50:7522/upnp/channelstream/00947.mpgts]

 

that seems to show a problem in stream format recognition.

 

While on first open of a channel the log fragment is:

23:49:19 T:912 M:1305169920    INFO: ffmpeg[390]: Input #0, mpegts, from 'http://192.168.10.50:7522/upnp/channelstream/00938.mpgts':
23:49:19 T:912 M:1305169920    INFO: ffmpeg[390]:   Duration: N/A, start: 59193.937556, bitrate: 192 kb/s
23:49:19 T:912 M:1305169920    INFO: ffmpeg[390]:   Program 3401
23:49:19 T:912 M:1305137152    INFO: ffmpeg[390]:     Stream #0.0[0x200]: Video: mpeg2video, 25 tbr, 90k tbn, 90k tbc
23:49:19 T:912 M:1305137152    INFO: ffmpeg[390]:     Stream #0.1[0x28a](ita): Audio: mp2, 48000 Hz, 2 channels, s16, 192 kb/s
23:49:19 T:912 M:1305104384  NOTICE: Opening video stream: 0 source: 256

 

that shows a correct stream format detection.

 

I kindly ask you to post your DVBViewer recording service and xbmc configuration to compare with mine.

thanks a lot

 

Again: what do you means with "As Lars has mentioned the upNp function is enabled with IP slot left blank at the port 8889": in recording service 1.5.0.31 IP slot can't be blank because it's a predefined list. I selected the IP address of my network card (not the skystar ip address to be clear ;-) )

 

(I'll post this either on xbmc forum hoping in a feedbak from developers :-) )

Edited by feucar
Link to comment
in recording service 1.5.0.31 IP slot can't be blank because it's a predefined list.

I changed it, in the Version 1.5.0.60 you do it the other way round: you define a "blacklist" of Networkinterfaces. This was necessary because if several internal changes (each Networkinterface now gets it's own listener instead of one listener for all etc.).

Link to comment

How did you make recording service upnp work. I turned on upnp with default port 8889, but it still cannot be seen on the network. I try to turn off firewall but without luck. Other upnp servers work without problem. What setting should I change?

Link to comment

I cannot play any channel. XBMC finds upnp server, shows list of channels but when i click some channel, i get: "playback failed. one or more items failed to play. check the log file for details." Read somewhere that XBMC plays tv streams from DVBViewer recording service. How can i make it?

Link to comment

Don't know. Looks like it is some kind of bug.

upnp server: Windows Server 2008 + Recording Service 1.5.0.60

upnp Client: Ubuntu 9.10, Xbmc

 

XBMC log gives this:

00:06:46 T:3079223184 M:2478100480 NOTICE: DVDPlayer: Opening: http://192.168.2.100:7522/upnp/channelstream/00025.ts

00:06:46 T:3079223184 M:2478100480 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED

00:06:46 T:3018910576 M:2478100480 NOTICE: Creating InputStream

00:06:47 T:3018910576 M:2461945856 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.

00:06:47 T:3018910576 M:2461945856 ERROR: Open - failed to open source <http://192.168.2.100:7522/upnp/channelstream/00025.ts>

00:06:47 T:3018910576 M:2477309952 ERROR: CDVDPlayer::OpenInputStream - error opening [http://192.168.2.100:7522/upnp/channelstream/00025.ts]

00:06:47 T:3018910576 M:2477309952 NOTICE: CDVDPlayer::OnExit()

00:06:47 T:3018910576 M:2477309952 NOTICE: CDVDPlayer::OnExit() deleting input stream

00:06:47 T:3079223184 M:2477309952 ERROR: Playlist Player: skipping unplayable item: 0, path [http://192.168.2.100:7522/upnp/channelstream/00025.ts]

00:06:47 T:3079223184 M:2477309952 NOTICE: CDVDPlayer::CloseFile()

00:06:47 T:3079223184 M:2477309952 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED

00:06:47 T:3079223184 M:2477309952 NOTICE: DVDPlayer: waiting for threads to exit

00:06:47 T:3079223184 M:2477309952 NOTICE: DVDPlayer: finished waiting

Link to comment
XBMC log gives this:

00:06:46 T:3079223184 M:2478100480 NOTICE: DVDPlayer: Opening: http://192.168.2.100:7522/upnp/channelstream/00025.ts

00:06:46 T:3079223184 M:2478100480 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED

00:06:46 T:3018910576 M:2478100480 NOTICE: Creating InputStream

00:06:47 T:3018910576 M:2461945856 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.

00:06:47 T:3018910576 M:2461945856 ERROR: Open - failed to open source <http://192.168.2.100:7522/upnp/channelstream/00025.ts>

 

Hi, the highlighted message should show a missing communication from server to client.

 

Have you disabled firewall on both pc? Try to get the stream with vlc opening the url http://192.168.2.100:7522/upnp/channelstream/00025.ts

Link to comment

Same problem for me with XBMCLive 9.11 Beta1 !

XBMC 9.10 r24059 for windows works fine!

 

The revision that broke it was r19830

 

XBMC

 

Moore @XBMC

 

What i wish for is a unicastclient plugin for XBMC with full support for DVBViewer , the best of 2 worlds!! ;)

 

Just bought me a Xtreamer but it dont work with DVBViewer recordingservice upnp ;)

Link to comment
Just bought me a Xtreamer but it dont work with DVBViewer recordingservice upnp angry.gif

You have to be a little more specific, if you want my help ;)

Link to comment

Wow that sounds great! Didnt think there was something u could do about it , that it was a Xtreamer firmware isue.

 

Latest recordingservice beta (from today) tried the one before yesterday + Xtreamer 2.1.3 , can browse dvbviewers upnp , but then a try to play a channel the Xtreamer turns black and look like its rebooting

Link to comment

please activate the UPnP Debuglog (webinterface -> configuration -> UPnP debug logging) don't forget to press save (or was it apply? well there is only one button).

 

Browse the data and try play back a recording. After that create a suppot.zip with the supporttool and post it here, so I can have a look at the log and your settings.

Link to comment

OK, that's what I need to know. So it can't handle either the encoding (UTF-8) or it is allergic to one of the fields. Quite unusual and does point to a bug in the device UPnP implementation... I have to think about it.

Link to comment
The Xtreamer crash when entering the last folder in dvbviewers upnp, no time to press play or select channel

This only happens for the last folder (videos, I think)? I studied the logs and it seems the device does show the recording file listing and it even tries to open them, but seems to have problems...

Link to comment

Yes thats right ! i Can browse all folders but then i come to the last the Xtreamer crash , no diffrence for TV or recordings when entering "all" it crash, but i do se the recordings/channels first. No time to select one.

Link to comment

Ok, just to be sure. If you navigate to: Recordings -> By Channel -> "Some channel", the crash happens if you enter the folder "Some Channel"? Because what I see in the log is: You selected a entry and die service starts to stream it.

Link to comment
Wow that sounds great! Didnt think there was something u could do about it , that it was a Xtreamer firmware isue.

 

Latest recordingservice beta (from today) tried the one before yesterday + Xtreamer 2.1.3 , can browse dvbviewers upnp , but then a try to play a channel the Xtreamer turns black and look like its rebooting

 

Yes :stupid:

 

But i read about some one having succes with 2.0 , but i tried that also with no luck! Look`s that it is a problem with tvversity also.

 

Hope UpNp will be fixed in the next firmware,

 

Thanks anyway!

 

Have you thought about making a Apple iphone app for recordingservice?

Would love to ha a app like : TV.nu with recordings options :(

Link to comment
  • 3 weeks later...
Radio only works if you use ffmpeg and let the recording service transcode the stream from mp2 to mp3. See changelog.

 

I've tried with and without ffmpeg + the entry in the upnp section of service.xml, but it won't work. Incidently, the radio streams are exposed as .aac files and not mp2 or mp3, this happens wether or not I've added usemp3=1.

 

The channel editor in DVBViewer says audio format AAC, too, not MP2.

 

Ideas?

 

BTW should the svcdebug.log say anything about ffmpeg being in use? I can't fint any references to it there. I dropped ffmpeg.exe in ...\program files\DVBViewer\ where all the executables are locagted.

 

Supertusse.

Link to comment
I've tried with and without ffmpeg + the entry in the upnp section of service.xml, but it won't work. Incidently, the radio streams are exposed as .aac files and not mp2 or mp3, this happens wether or not I've added usemp3=1.

 

The channel editor in DVBViewer says audio format AAC, too, not MP2.

 

Ideas?

 

BTW should the svcdebug.log say anything about ffmpeg being in use? I can't fint any references to it there. I dropped ffmpeg.exe in ...\program files\DVBViewer\ where all the executables are locagted.

 

Supertusse.

 

Lars?

Link to comment
never tested aac... :angry:

 

What about ffmpeg? It should be able to transcode to mp3, right? And should ffmpeg show up in the debug log if I've done everything correct with the settings in service.xml ?

Link to comment
Don't know. Looks like it is some kind of bug.

upnp server: Windows Server 2008 + Recording Service 1.5.0.60

upnp Client: Ubuntu 9.10, Xbmc

 

XBMC log gives this:

00:06:46 T:3079223184 M:2478100480 NOTICE: DVDPlayer: Opening: http://192.168.2.100:7522/upnp/channelstream/00025.ts

00:06:46 T:3079223184 M:2478100480 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED

00:06:46 T:3018910576 M:2478100480 NOTICE: Creating InputStream

00:06:47 T:3018910576 M:2461945856 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.

00:06:47 T:3018910576 M:2461945856 ERROR: Open - failed to open source <http://192.168.2.100:7522/upnp/channelstream/00025.ts>

00:06:47 T:3018910576 M:2477309952 ERROR: CDVDPlayer::OpenInputStream - error opening [http://192.168.2.100:7522/upnp/channelstream/00025.ts]

00:06:47 T:3018910576 M:2477309952 NOTICE: CDVDPlayer::OnExit()

00:06:47 T:3018910576 M:2477309952 NOTICE: CDVDPlayer::OnExit() deleting input stream

00:06:47 T:3079223184 M:2477309952 ERROR: Playlist Player: skipping unplayable item: 0, path [http://192.168.2.100:7522/upnp/channelstream/00025.ts]

00:06:47 T:3079223184 M:2477309952 NOTICE: CDVDPlayer::CloseFile()

00:06:47 T:3079223184 M:2477309952 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED

00:06:47 T:3079223184 M:2477309952 NOTICE: DVDPlayer: waiting for threads to exit

00:06:47 T:3079223184 M:2477309952 NOTICE: DVDPlayer: finished waiting

 

 

Hey, did you ever get this working? I got the same error, tried to turn off the firewall and play it in vlc. No luck

Link to comment
  • 1 month later...

 

Yes :)

 

But i read about some one having succes with 2.0 , but i tried that also with no luck! Look`s that it is a problem with tvversity also.

 

Hope UpNp will be fixed in the next firmware,

It seems with Version 2.3.1 of the Firmware the UPnP problem for the xtreamer is fixed.

Link to comment
×
×
  • Create New...