DSPlayer (DirectShow Player for XBMC) Frodo build available
(2014-03-26, 19:25)Ed76 Wrote: hi,
here are the lines which have to add to mediasconfig to get rtsp and http streaming (internet + pvr) to work:

<rule protocols="rtsp">
<splitter filter="lavf_splitter" />
<video filter="lavvideodec" />
<audio filter="lavaudiodec" />
</rule>
<rule protocols="http">
<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>


@slurm: i tested the dsplayer 12.2 build (link from first page). i noticed channel changing is much faster with that build (compared to 12.3/13). with mediaportal backend i have 1 - 2 seconds switching time (and lav source/splitter). is that the "optimized" build from margo with the switching time improvements? if yes these changes seem to effect also the dsplayer builds. but jumping back/forward also doesnt work. i dont know if that is a problem of dsplayer (false assigned commands) or a limitation of used source/splitter. but for normal http/rtsp internet streams jump back/forward (timeshift) works good. if i pess "jump 30 seconds back" the streeam jumps to the complet beginning, so there seems to be a kind of timshift but the seeking time (30 seconds) isnt right.

Ed -

Your rules work well for http streaming but not for pvr. I have my mediasconfig set as you recommended, but NPVR does not work. i did research and NPVR is supposed to use HTTP when timeshift is disabled. I have it disabled and tested with your recommended config, but no love for me. any thoughts or recommendations are welcome...

here is a sample error for trying to play Live TV:
Code:
20:30:12 T:3392  NOTICE: CDSPlayer::OpenFile - DSPlayer: Opening: pvr://channels/tv/All TV channels/5.pvr
20:30:23 T:7764  NOTICE: script.advanced.wol: WakeOnLan signal sent to MAC-Address 90:e6:ba:12:24:43
20:30:24 T:3392  NOTICE: CDSPlayer::OpenFileInternal - DSPlayer: Opening: pvr://channels/tv/All TV channels/5.pvr
20:30:24 T:2528  NOTICE: Thread CDSPlayer thread start, auto delete: false
20:30:24 T:2528  NOTICE: CDSPlayer::Process - Creating DS Graph
20:30:24 T:2528  NOTICE: Loading filter core factory settings from special://profile/dsplayer/filtersconfig.xml (filters configuration).
20:30:24 T:2528  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/filtersconfig.xml (filters configuration).
20:30:24 T:2528  NOTICE: Loading filter core factory settings from special://profile/dsplayer/mediasconfig.xml (medias configuration).
20:30:24 T:2528  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/mediasconfig.xml (medias configuration).
20:30:24 T:2528  NOTICE: Successfully loaded rules
20:30:24 T:2528  NOTICE: CFGLoader::InsertAudioRenderer Successfully added "" to the graph
20:30:24 T:2528   ERROR: CFilterCoreFactory::GetFilterFromName Filter "urlsource" isn't loaded. Please check dsfilterconfig.xml
20:30:24 T:2528   ERROR: CFGLoader::LoadFilterRules Failed to insert the source filter
20:30:24 T:2528   ERROR: CFGManager::RenderFileXbmc Failed to load filters rules
20:30:24 T:2528   ERROR: CDSPlayer::Process - Failed creating DS Graph
20:30:24 T:3392  NOTICE: CDSPlayer::~CDSPlayer DSPlayer is now closed

here is a sample log output for trying to play back an HTTP stream via youtube:

Code:
20:49:22 T:8696  NOTICE: Loading cookies from :'C:\\Users\\XBMC\\AppData\\Roaming\\XBMC\\userdata\\addon_data\\plugin.video.youtube\\yt-cookiejar.txt'
20:49:22 T:8696  NOTICE: YouTube-4.4.6
20:49:22 T:8696  NOTICE: CommonFunctions-2.5.1
20:49:23 T:8696  NOTICE: links: 'dict'
20:49:23 T:8892  NOTICE: Thread CGUIDialogCache start, auto delete: true
20:49:23 T:1380  NOTICE: CDSPlayer::OpenFile - DSPlayer: Opening: http://r8---sn-8xgp1vo-p5qs.googlevideo.com/videoplayback?ip=173.73.89.152&mv=m&fexp=907720,932255,934804,916625,936118,942438,937417,913434,936910,936913,934022&mws=yes&upn=7OhC6F5Jmoc&source=youtube&sparams=gcr,id,ip,ipbits,itag,ratebypass,source,upn,expire&gcr=us&key=yt5&signature=B0F365EFC1CC85ABCCB7AD72B48035E538AC2711.9FC36001FCACE3E4912A5BBAE9640F44A1A3EB02&ipbits=0&id=o-AAiiy8iMBCyIiJZ4ohXHPddhI22Zuuqqk_uQu7TjbbeO&sver=3&mt=1396054078&ratebypass=yes&ms=au&expire=1396075639&itag=22|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
20:49:23 T:1380  NOTICE: CDSPlayer::OpenFileInternal - DSPlayer: Opening: http://r8---sn-8xgp1vo-p5qs.googlevideo.com/videoplayback?ip=173.73.89.152&mv=m&fexp=907720,932255,934804,916625,936118,942438,937417,913434,936910,936913,934022&mws=yes&upn=7OhC6F5Jmoc&source=youtube&sparams=gcr,id,ip,ipbits,itag,ratebypass,source,upn,expire&gcr=us&key=yt5&signature=B0F365EFC1CC85ABCCB7AD72B48035E538AC2711.9FC36001FCACE3E4912A5BBAE9640F44A1A3EB02&ipbits=0&id=o-AAiiy8iMBCyIiJZ4ohXHPddhI22Zuuqqk_uQu7TjbbeO&sver=3&mt=1396054078&ratebypass=yes&ms=au&expire=1396075639&itag=22
20:49:23 T:8896  NOTICE: Thread CDSPlayer thread start, auto delete: false
20:49:23 T:8896  NOTICE: CDSPlayer::Process - Creating DS Graph
20:49:23 T:8896  NOTICE: Loading filter core factory settings from special://profile/dsplayer/filtersconfig.xml (filters configuration).
20:49:23 T:8896  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/filtersconfig.xml (filters configuration).
20:49:23 T:8896  NOTICE: Loading filter core factory settings from special://profile/dsplayer/mediasconfig.xml (medias configuration).
20:49:23 T:8896  NOTICE: Loading filter core factory settings from special://xbmc/system/players/dsplayer/mediasconfig.xml (medias configuration).
20:49:23 T:8896  NOTICE: Successfully loaded rules
20:49:23 T:8896  NOTICE: CFGLoader::InsertAudioRenderer Successfully added "" to the graph
20:49:24 T:9112  NOTICE: Thread CFileCache start, auto delete: false
20:49:24 T:8896  NOTICE: CFGLoader::InsertFilter Successfully added "LAV Splitter Source" to the graph
20:49:24 T:8896  NOTICE: CFGLoader::InsertSourceFilter Successfully loaded file in the splitter/source
20:49:24 T:8896  NOTICE: CStreamsManager::LoadIAMStreamSelectStreamsInternal Audio stream found : IsoMedia File Produced by Google, 5-11-2011 (aac, 44100 Hz, stereo, 192 kb/s)
20:49:24 T:8896  NOTICE: CFGLoader::InsertFilter Successfully added "LAV Video Decoder" to the graph
20:49:24 T:8896  NOTICE: CFGLoader::InsertFilter Successfully added "LAV Audio Decoder" to the graph
20:49:25 T:8896  NOTICE: CDSPlayer::Process - Successfully creating DS Graph
20:49:25 T:3032  NOTICE: Thread CGraphManagementThread thread start, auto delete: false
20:49:25 T:4364  NOTICE: Display resolution ADJUST : 1824x1026 @ 60.00 - Full Screen (16) (weight: 0.001)
Reply


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