https://github.com/O...9bb9b8a9c96eff8
After this commit timeshift and recording not working anymore.Black screen and time not running(still at 0:00).
DM8000 with oscam.
I revert the commit in my build-envorinment and it's working again(tested a few times)..
Perhaps only DM8000 related. Can not test with other boxes.
Timeshift/recording not working after 4c12411
#1
Posted 8 November 2015 - 22:03
Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.
Re: Timeshift/recording not working after 4c12411 #2
Posted 8 November 2015 - 22:25
Dreamboxes have less demuxes capable of descrambling. Can you post the results of command ls /dev/dvb/adapter0/ ?
Maybe there is another bug triggered from above commit in Dreamboxes.
Tomorrow this update will land to users so we'll see if others have problem too.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: Timeshift/recording not working after 4c12411 #3
Posted 8 November 2015 - 22:35
The idea of this commit is to use a demux in asc order 0,1,2.. when there is descrambling involved.
Dreamboxes have less demuxes capable of descrambling. Can you post the results of command ls /dev/dvb/adapter0/ ?
root@dm8000:~# ls /dev/dvb/adapter0
audio0 ca3 demux3 dvr2 frontend1 net1 video0
ca0 demux0 demux4 dvr3 frontend2 net2 video1
ca1 demux1 dvr0 dvr4 frontend3 net3
ca2 demux2 dvr1 frontend0 net0 net4
root@dm8000:~#
Edited by Beeker, 8 November 2015 - 22:38.
Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.
Re: Timeshift/recording not working after 4c12411 #4
Posted 8 November 2015 - 22:44
Can you run enigma2 manually (init 4 && enigma2) and see if there is error logged when you try to perform timeshift or recording?
Edited by athoik, 8 November 2015 - 22:45.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: Timeshift/recording not working after 4c12411 #5
Posted 8 November 2015 - 22:53
<260116.904832> [eDVBSectionReader] DMX_SET_FILTER pid=3842 <260116.905988> [eDVBSectionReader] DMX_SET_FILTER pid=3003 <260116.907515> [eDVBSectionReader] DMX_SET_FILTER pid=18 <260116.908838> [eDVBSectionReader] DMX_SET_FILTER pid=18 <260116.909854> [eDVBSectionReader] DMX_SET_FILTER pid=18 <260116.910881> [eDVBSectionReader] DMX_SET_FILTER pid=5000 <260116.911983> [eDVBSectionReader] DMX_SET_FILTER pid=5000 <260116.913122> [eDVBSectionReader] DMX_SET_FILTER pid=57 <260119.492298> [eDVBServicePlay] timeshift action -> InfobarTimeshiftActions timeshiftStart enable timeshift <260119.537668> [eDVBServicePlay] timeshift <260119.538715> [eDVBServicePlay] Start timeshift! <260119.543431> [eDVBServicePlay] timeshift recording to /media/hdd/timeshift.pADvMW <260119.546535> [setIoPrio] realtime level 7 ok <260119.547510> [eFilePushThreadRecorder] THREAD START <260119.551557> [eDVBServicePlay] timeshift activateTimeshiftEnd play, ... <260119.555806> [eTSMPEGDecoder] decoder state: play, vpid=ffffffff, apid=ffffffff <260119.556154> [eDVBPCR0] DEMUX_STOP ok <260119.556929> [eDVBPCR0] destroy <260119.557529> [eDVBVideo0] DEMUX_STOP ok <260119.574511> [eDVBVideo0] VIDEO_STOP ok <260119.575658> [eDVBVideo0] destroy <260119.576214> [eDVBAudio0] AUDIO_STOP ok <260119.596122> [eDVBAudio0] DEMUX_STOP ok <260119.596615> [eDVBAudio0] AUDIO_CONTINUE ok <260119.597239> [eDVBAudio0] destroy cleaning up TuxTxt cache cleared <260119.609790> [eDVBServicePMTHandler] alloc PVR <260119.610389> [eDVBChannel] getDemux cap=01 <260119.610602> [eDVBResourceManager] allocate demux cap=01 <260119.610729> [eDVBResourceManager] no free demux found <260119.610911> [eDVBServicePMTHandler] Allocating -decoding a demux for PVR channel failed. <260119.611116> [eDVBServicePlay] switchToTimeshift, in pause mode now. <260119.611254> [eDVBServicePlay] pause <260119.611413> [eDVBServicePlay] have 1 video stream(s) (0c81), and 1 audio stream(s) (0c8b), and the pcr pid is 0c81, and the text pid is ffffffff <260119.613313> [eDVBServicePlay] timeshift <260119.614279> [eDVBServicePlay] timeshift <260119.615748> [eDVBServicePlay] timeshift <260119.617323> [eDVBServicePlay] timeshift resolved to PAUSE <260119.618536> [eDVBServicePlay] pause <260119.619891> [eDVBServicePlay] timeshift <260119.620700> [eDVBServicePlay] timeshift <260119.636969> [eDVBServicePlay] timeshift <260119.637830> [eDVBServicePlay] timeshift <260119.703553> [eDVBServicePlay] seekTo -90000 <260119.704920> [eDVBServicePlay] timeshift <260119.706267> [eDVBServicePlay] timeshift New timeshift filename: 20151108 2251 - Film1 Premiere HD - The Hundred-Foot Journey <260120.636163> [eDVBLocalTimerHandler] diff is 0 <260120.636585> [eDVBLocalTimerHandler] diff < 120 .. use Transponder Time <260120.636825> [eDVBLocalTimerHandler] not changed <260120.637624> [eDVBChannel] getDemux cap=00 <260123.914372> [eEPGCache] abort non avail netmed schedule reading <260123.915196> [eEPGCache] abort non avail netmed schedule other reading <260123.915558> [eEPGCache] abort non avail FreeSat schedule_other reading <260123.915893> [eEPGCache] abort non avail viasat reading <260123.919780> [eEPGCache] nownext finished(1447019511) <260161.932567> [eEPGCache] schedule other finished(1447019549) <260161.944341> [eEPGCache] schedule finished(1447019549) <260161.945375> [eEPGCache] stop caching events(1447019549) <260161.945636> [eEPGCache] next update in 60 min
Edited by Beeker, 8 November 2015 - 22:57.
Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.
Re: Timeshift/recording not working after 4c12411 #6
Posted 8 November 2015 - 23:16
Are you using "Descramble receiving http streams" config? (Under settings)
If yes can you disable it?
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: Timeshift/recording not working after 4c12411 #7
Posted 8 November 2015 - 23:23
-if (fe) +if (fe || (cap & iDVBChannel::capDecode)) { ++i; }
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: Timeshift/recording not working after 4c12411 #8
Re: Timeshift/recording not working after 4c12411 #9
Posted 8 November 2015 - 23:41
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: Timeshift/recording not working after 4c12411 #10
Posted 8 November 2015 - 23:47
Now i have this:
diff --git a/dvb.cpp b/dvb.cpp index 5ddc009..37b7646 100644 --- a/lib/dvb/dvb.cpp +++ b/lib/dvb/dvb.cpp @@ -943,7 +943,7 @@ RESULT eDVBResourceManager::allocateDemux(eDVBRegisteredFrontend *fe, ePtr<eDVBA iDVBAdapter *adapter = fe ? fe->m_adapter : m_adapter.begin(); /* look for a demux on the same adapter as the frontend, or the first adapter for dvr playback */ int source = fe ? fe->m_frontend->getDVBID() : -1; cap |= capHoldDecodeReference; // this is checked in eDVBChannel::getDemux - if (!fe && !(cap & iDVBChannel::capDecode)) + if (fe || (cap & iDVBChannel::capDecode)) { eDebug("[eDVBResourceManager] pvr playback, start with last demux"); /* @@ -953,7 +953,7 @@ RESULT eDVBResourceManager::allocateDemux(eDVBRegisteredFrontend *fe, ePtr<eDVBA * and start with the last for pvr playback */ i = m_demux.end(); - --i; + ++i; } while (i != m_demux.end()) {
Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.
Re: Timeshift/recording not working after 4c12411 #11
Posted 8 November 2015 - 23:56
I can't use
- if (fe)
Because it's not in the latest code of dvb.cpp.
iDVBAdapter *adapter = fe ? fe->m_adapter : m_adapter.begin(); /* look for a demux on the same adapter as the frontend, or the first adapter for dvr playback */ int source = fe ? fe->m_frontend->getDVBID() : -1; cap |= capHoldDecodeReference; // this is checked in eDVBChannel::getDemux if (!fe && !(cap & iDVBChannel::capDecode)) { eDebug("[eDVBResourceManager] pvr playback, start with last demux"); /* * For pvr playback, start with the last demux. * On some hardware, we have less ca devices than demuxes, * so we should try to leave the first demuxes for live tv, * and start with the last for pvr playback */ i = m_demux.end(); --i; } while (i != m_demux.end()) { if (i->m_adapter == adapter) { if (!i->m_inuse) { /* mark the first unused dem
Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.
Re: Timeshift/recording not working after 4c12411 #12
Posted 8 November 2015 - 23:58
Edited by athoik, 8 November 2015 - 23:58.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: Timeshift/recording not working after 4c12411 #13
Re: Timeshift/recording not working after 4c12411 #14
Re: Timeshift/recording not working after 4c12411 #15
Re: Timeshift/recording not working after 4c12411 #16
Re: Timeshift/recording not working after 4c12411 #17
Re: Timeshift/recording not working after 4c12411 #18
Re: Timeshift/recording not working after 4c12411 #19
Re: Timeshift/recording not working after 4c12411 #20
Posted 9 November 2015 - 21:02
The boxes that have less CA demuxers had issues if you where trying to descramble http streams
(and http streams are handled like pvr/recording).
PS. It was a nasty bug, but code will become simpler soon
Edited by athoik, 9 November 2015 - 21:03.
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
5 user(s) are reading this topic
0 members, 5 guests, 0 anonymous users