DSPlayer (DirectShow Player for XBMC) Frodo build available
(2014-03-20, 09:27)Ed76 Wrote: @deh2k7

as far as i know npvr used http streaming. so livetv via dsplayer should be possible. maybe you have a formatting failure in your filterconfig and/or mediasconfig? try to play a simple mkv video via dspalyer+lav and look if this work. if you have no success with livetv post your log-files or the relevant part of the log file (after starting a livetv channel).

Hi Ed -

I have DS working just fine for regular files like mkv. I am only having problems with getting DS to work with NPVR. You were right - i must have had a problem somewhere previously, a reverted changes and and reapplied. Here is what I have:

mediasconfig
Code:
<mediasconfig>
  <rules>    
    <rule filetypes="ts|m2ts|bdmv|mp4|m4v|avi|mpg|mpeg|mkv">
        <source filter="lavfsplitter" />
        <splitter filter="lavf_splitter" />
        <video filter="lavvideodec" />
        <audio filter="lavaudiodec" />
        <extra filter="ffdraw" />
    </rule>
    <rule protocols="http|https">
        <source filter="urlsource" />
        <splitter filter="lavf_splitter" />
        <video filter="lavvideodec" />
        <audio filter="lavaudiodec" />
    </rule>
    <!-- New rule for preferred streaming source filter -->  
    <rule url="true" filetypes=".*">
        <source filter="lavfsplitter" />
    </rule>
  </rules>
</mediasconfig>

playercorefactory
Code:
<playercorefactory>
  <rules action="prepend">
    <rule protocols="daap|rtv|rtsp|rtmp|rtmpe|rtsp|mms|pvr" player="DVDPlayer"/>
    <rule filetypes="IFO|DVD" player="DVDPlayer"/>
  </rules>
</playercorefactory>

the problem is that it seems like NPVR may not be using HTTP or HTTPS. Even with changes, it's still playing with XBMC DVD player, not DS. I tested the new HTTP rule by trying to play a youtube trailer. It tried to use DS, but failed to playback with an error about the file stream. At least we know the config works properly by trying to DS, but not sure if DS is having issues with YouTube, or something else... Here is a log excerpt:
Code:
23:02:23 T:6576  NOTICE: CDSPlayer::OpenFile - DSPlayer: Opening: http://r6---sn-8xgp1vo-p5qs.googlevideo.com/videoplayback?itag=22&expire=1395483228&sver=3&ip=173.73.89.152&key=yt5&ms=au&mv=m&mt=1395457270&source=youtube&id=o-APeoQrkS40iTxCxjaA6_WmZrAk6ivN5h674KNj1gWkWE&ratebypass=yes&upn=9uIx5DrUY1k&ipbits=0&fexp=935639,919110,943900,913564,944305,941342,937417,913434,936910,936913,934022&sparams=id,ip,ipbits,itag,ratebypass,source,upn,expire&signature=BB7D4D65388DE49F39E6F0203DC9431FB34F46.C3174FF315A591FF572EA63C99304C7EF7B9A4AF|User-Agent=Mozilla%2F5.0+%28Windows+NT+6.2%3B+Win64%3B+x64%3B+rv%3A16.0.1%29+Gecko%2F20121011+Firefox%2F16.0.1
23:02:23 T:6576  NOTICE: CDSPlayer::OpenFileInternal - DSPlayer: Opening: http://r6---sn-8xgp1vo-p5qs.googlevideo.com/videoplayback?itag=22&expire=1395483228&sver=3&ip=173.73.89.152&key=yt5&ms=au&mv=m&mt=1395457270&source=youtube&id=o-APeoQrkS40iTxCxjaA6_WmZrAk6ivN5h674KNj1gWkWE&ratebypass=yes&upn=9uIx5DrUY1k&ipbits=0&fexp=935639,919110,943900,913564,944305,941342,937417,913434,936910,936913,934022&sparams=id,ip,ipbits,itag,ratebypass,source,upn,expire&signature=BB7D4D65388DE49F39E6F0203DC9431FB34F46.C3174FF315A591FF572EA63C99304C7EF7B9A4AF
23:02:23 T:1972  NOTICE: Thread CDSPlayer thread start, auto delete: false
23:02:23 T:1972  NOTICE: CDSPlayer::Process - Creating DS Graph
23:02:23 T:1972  NOTICE: Loading filter core factory settings from special://profile/dsplayer/filtersconfig.xml (filters configuration).
23:02:23 T:1972  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/filtersconfig.xml (filters configuration).
23:02:23 T:1972  NOTICE: Loading filter core factory settings from special://profile/dsplayer/mediasconfig.xml (medias configuration).
23:02:23 T:1972  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/mediasconfig.xml (medias configuration).
23:02:23 T:1972  NOTICE: Successfully loaded rules
23:02:23 T:1972  NOTICE: CFGLoader::InsertAudioRenderer Successfully added "" to the graph
23:02:23 T:1972 WARNING: XFILE::CCurlFile::CReadState::FillBuffer: curl failed with code 22
23:02:23 T:1972 WARNING: XFILE::CCurlFile::CReadState::FillBuffer: Reconnect, (re)try 1
23:02:23 T:1972 WARNING: XFILE::CCurlFile::CReadState::FillBuffer: curl failed with code 22
23:02:23 T:1972   ERROR: CCurlFile::CReadState::Open, didn't get any data from stream.
23:02:23 T:1972   ERROR: XFILE::CFileCache::Open - failed to open source <http://r6---sn-8xgp1vo-p5qs.googlevideo.com/videoplayback?itag=22&expire=1395483228&sver=3&ip=173.73.89.152&key=yt5&ms=au&mv=m&mt=1395457270&source=youtube&id=o-APeoQrkS40iTxCxjaA6_WmZrAk6ivN5h674KNj1gWkWE&ratebypass=yes&upn=9uIx5DrUY1k&ipbits=0&fexp=935639,919110,943900,913564,944305,941342,937417,913434,936910,936913,934022&sparams=id,ip,ipbits,itag,ratebypass,source,upn,expire&signature=BB7D4D65388DE49F39E6F0203DC9431FB34F46.C3174FF315A591FF572EA63C99304C7EF7B9A4AF>
23:02:23 T:1972  NOTICE: CFGLoader::InsertFilter Successfully added "LAV Splitter Source" to the graph
23:02:23 T:1972   ERROR: CFGLoader::InsertSourceFilter Failed to load file in the splitter/source
23:02:23 T:1972   ERROR: CFGLoader::LoadFilterRules Failed to insert the source filter
23:02:23 T:1972   ERROR: CFGManager::RenderFileXbmc Failed to load filters rules
23:02:23 T:1972   ERROR: CDSPlayer::Process - Failed creating DS Graph
23:02:23 T:6576  NOTICE: CDSPlayer::~CDSPlayer DSPlayer is now closed

Is anyone able to play trailers on youtube using DS? Ed does your personal config work for Yourtube with DS?

The second question now is what type of streaming does NPVR use?
Reply


Messages In This Thread
RE: DSPlayer (DirectShow Player for XBMC) Frodo build available - by deh2k7 - 2014-03-22, 05:19
HELP!!! - by takiyon - 2014-12-28, 16:12
Logout Mark Read Team Forum Stats Members Help
DSPlayer (DirectShow Player for XBMC) Frodo build available8