CptDarling / xot-uzg

Automatically exported from code.google.com/p/xot-uzg
0 stars 0 forks source link

possibility to use external player feature in XBMC for .wmv streams that don't work in XBMC #147

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hoi,

Ik gebruik XBMC in combinatie met XOT naar volle tevredenheid.

Het enige issue wat leeft is dat de meeste streams van de commerciele
omroep zoals SBS, RTL etc. niet werken.
Ik heb reeds issues ingediend bij het XBMC team, maar het heeft geen prio
voor ze.

Nu heb ik een vraag. XBMC heeft sinds kort een feature om gebruik te maken
van een externe player die je zelf configureerd. Zie:
http://www.xbmc.org/wiki/?title=HOW-TO_use_an_External_Player_for_media_playback

Echter, als ik de xbmc.log file bekijk blijft XBMC de default dvdplayer
gebruiken. 

Nu is mijn vraag aan jou:
Is het zo dat jij mbv XOT plugin direct tegen de DVDplayer API aanpraat van
XBMC, of spreek jij tegen de XBMC api aan, en laat je XMBC zelf bepalen
welke player hij moet gebruiken.

Als namelijk het eerste het geval is, dan is het dus momenteel niet
mogelijk om de external player feature voor XBMC te gebruiken in combinatie
met XOT, en dan weet ik dat.

Alvast bedankt.

Ik heb de log geattached dat aangeeft dat de default player wordt gebruikt,
ondanks dat ik de onderstaande configuratie gebruik en goed wordt ingelezen
(zie log).

EXTERNAL PLAYER CONFIGURATIE XBMC
<playercorefactory>
  <players>
    <player name="MPC" type="ExternalPlayer" audio="false" video="true">
      <filename>C:\Program Files\K-Lite Codec Pack\Media Player
Classic\mplayerc.exe</filename>
      <args>/fullscreen /close "{1}"</args>
      <hidexbmc>false</hidexbmc>
      <hideconsole>false</hideconsole>
      <warpcursor>none</warpcursor>
    </player>
  </players>
    <rules>
      <rule video="true" player="MPC">
        <rule protocols="mms" player="MPC">
          <rule filename="mms" player="MPC"/>
        </rule>
      </rule>
</rules>
</playercorefactory>

tevens heb ik ook de rule met filetype=wmv geprobeerd, maar werkt ook niet.

Original issue reported on code.google.com by michel.c...@gmail.com on 21 Oct 2009 at 9:19

Attachments:

GoogleCodeExporter commented 9 years ago
Please stick to English with the issues.

In your logfile I see this section:
11:08:03 T:3932 M:174321664  NOTICE: Default DVD Player: dvdplayer
11:08:03 T:3932 M:174321664  NOTICE: Default Video Player: dvdplayer
11:08:03 T:3932 M:174321664  NOTICE: Default Audio Player: paplayer

So I don't know if your configuration is working? 

Original comment by basrie...@gmail.com on 21 Oct 2009 at 9:34

GoogleCodeExporter commented 9 years ago
Hi Bas,

I dont' know exactly what you mean with 'I don't know if your configuration is 
working?'.

It is correct that those are displayed as default players, because eventhough 
I've
configured the playercorefactory.xml, those settings are read later when 
starting up
the system. Details about the external player can be found
here:http://www.xbmc.org/wiki/?title=HOW-TO_use_an_External_Player_for_media_pla
yback

I've attached a log file in which I've executed the following scenario:
precondition: the same playercorefactory.xml configuration used as described 
above
1. Play a normal video .avi stream; see in the log file that in this case the
Mediaplayer classic pops up to play the stream succesfully
2. Next, I've started up the xot-uzg script and started a stream of rtl5; now 
you see
in the log file (line 601) DVDPlayer: Opening:
mms://81.173.31.175/sbs6/net5/alleennogeenman_S01/alleennogeenman_S01E11.wmv
that the default DVDPlayer is starting the stream instead of the configured
mediaplayer classic, so NO popup happens now.

Therefore I asked you if you program maybe directly to the DVDPlayer API or to 
the
XBMC API? I don't know if it goes like this, but since I'm a Java developer for 
10
years by myself, I know some things about software development ;-))
http://pastebin.com/f660ba54f 

Original comment by michel.c...@gmail.com on 21 Oct 2009 at 11:01

GoogleCodeExporter commented 9 years ago
Oke, I will have a look at it. Perhaps I can try to configure my XBMC to do the 
same
(I compile myself) and then see if the XBMC API (which I use) can make it work.

Original comment by basrie...@gmail.com on 21 Oct 2009 at 5:54

GoogleCodeExporter commented 9 years ago
Hi Bas,

I submitted this issue also on the XBMC forum and a developer applied a patch 
for it
in a static library for mms which XBMC is using. Is it unclear if this patch 
will
make it into a XBMC release.

See trac issue:http://xbmc.org/trac/ticket/7423

He validated the mms stream that I've included in the issue (rtl stream), and 
he says
it is working fine now.

Do you have the sources checked out and is it possible to test if this is a 
solution
for all the RTL streams which suffer to work within the current release of XBMC.
I don't have Visual Studio myself so I'm unable to recompile the current XBMC 
trunk.

Is it possible that you can validate this fix.

Everyone would be very thankfull, but the bad thing is that someone must create 
a new
version than of XBMC for each platform, which costs time and space/bandwidth.

Original comment by michel.c...@gmail.com on 30 Oct 2009 at 6:31

GoogleCodeExporter commented 9 years ago
Yes, I have the sources. I will do a patch and see if it works!

Original comment by basrie...@gmail.com on 30 Oct 2009 at 8:21

GoogleCodeExporter commented 9 years ago
I tried it and it seems that some streams work now under Windows (can't test 
Ubuntu),
but it's not perfect. It still takes long for them to load. Perhaps somebody can
compile Ubuntu? The patching has to be done manually by the way.

Original comment by basrie...@gmail.com on 30 Oct 2009 at 10:16

GoogleCodeExporter commented 9 years ago
Hoi Bas,

Can you upload the compiled XBMC somewhere so that I can try it myself on 
Windows.

Thanks

Original comment by michel.c...@gmail.com on 31 Oct 2009 at 12:00

GoogleCodeExporter commented 9 years ago
Oke, I uploaded a version. Please e-mail me at uitzendinggemist.vx@gmail.com so 
I can
give you the url.

Original comment by basrie...@gmail.com on 31 Oct 2009 at 4:34

GoogleCodeExporter commented 9 years ago
Hi Bas,

I tried several streams of RTL4,5, SBS6, NET5 and veronica, and all streams 
seem to
work fine for me.

So, how can we force that those changes will be integrated within the SVN trunk 
of XBMC.

Is it possible that you ask the XBMC team to incorporate this patch?

Many thanks already
Michel Christianen

Original comment by michel.c...@gmail.com on 1 Nov 2009 at 5:59

GoogleCodeExporter commented 9 years ago
I added my comment to the TRAC issue. Let's see what happens.

Original comment by basrie...@gmail.com on 1 Nov 2009 at 6:49

GoogleCodeExporter commented 9 years ago
Hi Bas,

I've asked the XBMC to incorporate the patch within the trunk, and yip, it's 
done.
See http://xbmc.org/trac/ticket/7423

It is incorporated within the trunk, and the Milestone is set to 9.11, so from 
the
next release onwards we can see all the mms streams I hope.

Thanks for the support.

Original comment by michel.c...@gmail.com on 6 Nov 2009 at 4:10

GoogleCodeExporter commented 9 years ago
Hi Bas,

Is it correct that this fix isn't incorporated into the Camelot version, but 
that it
only was incorporated into the trunk of SVN?

Thanks beforehand.

Original comment by michel.c...@gmail.com on 30 Dec 2009 at 8:14

GoogleCodeExporter commented 9 years ago
I think it's also in the Win32 Camelot.

Original comment by basrie...@gmail.com on 30 Dec 2009 at 9:21

GoogleCodeExporter commented 9 years ago
The reason why I think is that with every other XBMC version I get a white 
screen
when playing video, and with the one you created for me, I get normal video for 
all
the channels.

Original comment by michel.c...@gmail.com on 31 Dec 2009 at 7:47

GoogleCodeExporter commented 9 years ago
The TRAC issue says it is in a revision. Perhaps it was removed later on?

Original comment by basrie...@gmail.com on 31 Dec 2009 at 9:13

GoogleCodeExporter commented 9 years ago
Probably fixed in XBMC now.

Original comment by basrie...@gmail.com on 26 Feb 2010 at 7:35

GoogleCodeExporter commented 9 years ago
Changed status to Done

Original comment by basrie...@gmail.com on 24 Jun 2012 at 11:42