Author Topic: Xine not playing wmv stream  (Read 6129 times)

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
Xine not playing wmv stream
« on: July 02, 2008, 07:41:20 am »
Hello,

I am trying to create a button on an orbiter to play the following wmv stream:
http://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/13h/HD_13h_20080701.wmv
I create the button from the media scenarios screen in the web admin using Mediatype 5 and writing the above URL in the field #13 Filename.

When I click on the button, the screen turns black briefly, then reverts to the Orbiter menu. Xine seems to be exiting.

Any ideas why? The stream plays fine from KDE Desktop with both Xine and Mplayer.

Second question: how can I create a button/media scenario to play a file using Mplayer? I found how to add the Mplayer device to a scenario but I am a little bit confused by the parameters of the Play functions of Mplayer.

Thanks.

Jean

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Xine not playing wmv stream
« Reply #1 on: July 02, 2008, 03:21:33 pm »
DO NOT use the Player devices directly. They will not create the appropriate streams for the playback, and if you move off the screen for any reason, you'll lose the window, because SetNowPlaying isn't being called, among other things... it won't show up on floorplan, and since the system doesn't KNOW about it, you won't be able to stop it unless you happen to have the window focused (which again, no messing with the orbiter menus while it is playing, etc...) Only use the Media Handler (MH) commands.

So no, there is no way currently to do what you are asking, unless you fudge the name of the file to be .EVO, or .M2TS ....

-Thom

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
Re: Xine not playing wmv stream
« Reply #2 on: July 02, 2008, 04:59:33 pm »
Thom,

thanks. I figured that I might have these problems of not being able to stop or close the window if using Mplayer, so I'll not go down that road.
But how about Xine, why isn't it playing my stream using exactly the MH commands that you mention?
Is there some option or codec that I am missing?

Can someone who has done this before perhaps try this scenario on their system and see if it works? I use 710RC1.

Jean

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
Re: Xine not playing wmv stream
« Reply #3 on: July 03, 2008, 05:33:30 pm »
This is the Xine_Pleayer.log when I try to play this stream using the scenario I created. Does anyone see something wrong in there perhaps, that would put me on the right track?

05      07/03/08 8:01:13.344            Xine_Player::CMD_Play_Media() called for id 1003 filename: http://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/13h/HD_13h_20080701.wmv () <0xb6cbbb90>
05      07/03/08 8:01:13.347            Xine_Player::CMD_Play_Media() stopping PSS <0xb6cbbb90>
05      07/03/08 8:01:13.458            Xine_Player::EVENT_Playback_Completed(streamID=1002) <0xb6cbbb90>
05      07/03/08 8:01:13.458            XineStreamEventListener called on non-initialized stream - aborting command <0xb07f7b90>
05      07/03/08 8:01:13.788            Destroyed stream with ID=1002 <0xb6cbbb90>
05      07/03/08 8:01:14.144            Created new stream with ID=1003 deint 0  100 0 <0xb6cbbb90>
05      07/03/08 8:01:14.144            Xine_Player::CMD_Play_Media() set stream 1003 as last rendering to screen. <0xb6cbbb90>
05      07/03/08 8:01:14.144            Xine_Player::CMD_Play_Media() called for id 1003 filename: http://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/13h/HD_13h_20080701.wmv () with corresponding stream 0x8192200. <0xb6cbbb90>
05      07/03/08 8:01:14.144            Opening media without chapters/title position: http://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/13h/HD_13h_20080701.wmv  <0xb6cbbb90>
05      07/03/08 8:01:14.888            Playback (Connecting HTTP server...) is at 0 <0xafff6b90>
05      07/03/08 8:01:14.916            Playback (Buffering...) is at 0 <0xafff6b90>
05      07/03/08 8:01:14.917            Visualizing plugin not enabled <0xb6cbbb90>
05      07/03/08 8:01:14.918            Xine_Stream::changePlaybackSpeed no running seekers found <0xb6cbbb90>
05      07/03/08 8:01:14.919            Xine engine set new zoom level to X:100, Y:100 <0xb6cbbb90>
05      07/03/08 8:01:14.920            Socket::SendData sendbytes==0 <0xb6cbbb90>
05      07/03/08 8:01:14.920            Read media A/V information: []/[] => []/[] <0xb6cbbb90>
05      07/03/08 8:01:14.920            Xine_Player::EVENT_Playback_Started(streamID=1003) <0xb6cbbb90>
05      07/03/08 8:01:14.923            Playback (Buffering...) is at 100 <0xafff6b90>
05      07/03/08 8:01:14.952            TCPIP: Closing connection to -1 (m_pNotificationSocket) 0x8192478 m_Socket: -1 <0xb4f8fb90>
05      07/03/08 8:01:15.024            Xine_Stream::changePlaybackSpeed no running seekers found <0xafff6b90>
05      07/03/08 8:01:15.024            Xine_Player::EVENT_Playback_Completed(streamID=1003) <0xafff6b90>
05      07/03/08 8:01:15.323            DisplayOSDText() : Attempting to display 0x     0:00 <0xaf7f5b90>
05      07/03/08 8:01:15.824            [ID: 1003]  CHAPTER:0 POS:0 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:0 (seek 0) t.c. ctr 0 freq 1, <0xaf7f5b90>
05      07/03/08 8:01:15.824            DisplayOSDText() : Attempting to display 0x     0:00 <0xaf7f5b90>
05      07/03/08 8:01:15.920            Xine_Player::CMD_Play_Media() ended for filename: http://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/13h/HD_13h_20080701.wmv with stream 0x8192200. <0xb6cbbb90>
05      07/03/08 8:01:15.921            Xine_Player::CMD_Stop_Media() with corresponding stream id 1003 0x8192200. <0xb6cbbb90>
05      07/03/08 8:01:15.921            Xine_Stream::changePlaybackSpeed no running seekers found <0xb6cbbb90>
05      07/03/08 8:01:15.923            Xine_Player::EVENT_Playback_Completed(streamID=1003) <0xb6cbbb90>
05      07/03/08 8:01:15.925            XineStreamEventListener called on non-initialized stream - aborting command <0xafff6b90>
05      07/03/08 8:01:16.156            Closed stream AV with ID=1003 <0xb6cbbb90>

jondecker76

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 763
    • View Profile
Re: Xine not playing wmv stream
« Reply #4 on: July 03, 2008, 06:37:06 pm »
are you sure you have your w32codecs installed? (same place you install libdvdcss)

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
Re: Xine not playing wmv stream
« Reply #5 on: July 03, 2008, 08:08:17 pm »
Well initially I did not, but I added them last night before making my lastest test. Do they need to be installed on the core as well? Right now I only have them on the MD in question.
Any way for me to check that the codec files are actually where they are supposed to be, and any way to get more debug info to see what Xine doesn't find?

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
Re: Xine not playing wmv stream
« Reply #6 on: July 08, 2008, 05:55:07 pm »
So now I have w64codecs installed on the the core, and it won't play there either (or on the MD which has w32codecs).
Is there any way to get more debug output out of Xine_Player to see what's wrong, or perhaps gets the exact command line that it launchesto see if I can replicate the problem on LDE Desktop? (where it works fine when I just launch xine without any special parameters).

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
Re: Xine not playing wmv stream
« Reply #7 on: July 10, 2008, 06:56:13 am »
:-( Still trying to get this stream to play, which plays fine in xine from KDE.
Could someone at least point me to the source file where linuxmce launches the xine binary, so that I can try launching it with the same parameters and see what happens? (Or any way to add some more debug information would be appreciated).

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
Re: Xine not playing wmv stream
« Reply #8 on: July 11, 2008, 07:11:51 am »
Dave,

thanks much for the tip. I tried it, and even rebooted just to make sure, but no luck. If you have a minute, could you try it on your system? (by creating a media scenario to play this file: http://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/13h/HD_13h_20080710.wmv )
Please note, the file is different than before, as the recording from 07/01 has been deleted from the server already.

Thanks for the tip about mplayer on KDE, I'm sure that's exactly what I needed, to select the proper audio output. I will try it tomorrow and report.

Jean

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
Re: Xine not playing wmv stream
« Reply #9 on: July 11, 2008, 07:51:35 am »
I got it to work! The solution is to enter the URL like this:
mms://sdmc.contents.edgestreams.net/horsgv/regions/siege/infos/f2/13h/HD_13h_20080710.wmv
with mms in front instead of http.
Kind of stupid of me to not have thought of this before. I guess it somehow tells LMCE that this is a stream, since it works in KDE with xine and http in front.

I hope this helps someone else, and thank you to all of you who tried to help me solve this!

Jean