DM800 & Perhaps Other Lost Video
hemispherical1 5 Dec 2011
The problem is that after playing a h.264 mkv file, quite often (most of the time) the dreambox loses video, requiring a restart of enigma2 to get it back. I don't have access to h.264 ts, so my sats are all mpeg2.
Some of the other images I've tried (Nemesis, DSM, Sifteam, etc.) have no such problem & work as expected, but I love PLi...
The problem seems more pronounced to me using mkv containers than mp4 containers, exiting a .mp4 file usually results in video being restored fine. Also, once the video stops working, even going back to the file that just played fine results in the error:
Gstreamer error: There is no codec present that can handle the stream's type. (6) from dvbvideosink1
[__evVideoDecodeError] video-codec H264 can't be decoded by hardware
Of course H264 should be able to be decoded by hardware...
I'm attaching a debug snippet that covers mkv playing fine, switching back to satellite & losing video, & retrying the orig. mkv causing the gst error noted above... I tried to annotate the degug a little bit ( ===== COMMENTS==== ), but their location may not be very accurate as 10 lines of debug may scroll by the time I can hit the enter key...
--
hemi
Edited by hemispherical1, 7 December 2011 - 17:39.
Some of the other images I've tried (Nemesis, DSM, Sifteam, etc.) have no such problem & work as expected, but I love PLi...
The problem seems more pronounced to me using mkv containers than mp4 containers, exiting a .mp4 file usually results in video being restored fine. Also, once the video stops working, even going back to the file that just played fine results in the error:
Gstreamer error: There is no codec present that can handle the stream's type. (6) from dvbvideosink1
[__evVideoDecodeError] video-codec H264 can't be decoded by hardware
Of course H264 should be able to be decoded by hardware...
I'm attaching a debug snippet that covers mkv playing fine, switching back to satellite & losing video, & retrying the orig. mkv causing the gst error noted above... I tried to annotate the degug a little bit ( ===== COMMENTS==== ), but their location may not be very accurate as 10 lines of debug may scroll by the time I can hit the enter key...
action -> DirectionActions down action -> DirectionActions downUp action -> MediaPlayerActions prevBouquet action -> OkCancelActions ok playing 4097:0:0:0:0:0:0:0:0:0:/media/hdd/hemi/Movies/1.mkv eServiceMP3::construct! eServiceMP3::playbin2 uri=file:///media/hdd/hemi/Movies/1.mkv eServiceMP3::starting pipeline accel memstat: alloc=8704 B used=24 kB, free 9160 kB, s 24 kB accel memstat: alloc=8704 B used=24 kB, free 9160 kB, s 24 kB new service started! trying to download cuts! download failed, no cuesheet interface resolved to PLAY eServiceMP3::state transition NULL -> READY [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () VIDEO0: set blank to 0 sync is off so we enable it playback! total video delay: 0 (0 ms) audio xpt start audio: decoder start 0 video delay 0 (0 ms) total video delay: 0 (0 ms) [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () AC3 audio: streamtype set 1 audio: streamtype_set: stop decoder bcm_audio: use saved pts 0x1901c47da (0x0) (ret 0) audio: decoder stop audio: streamtype_set: stop rave decode audio: streamtype_set: restart rave set mute 0 (111) 0 audio: streamtype_set: restart decoder audio: decoder start 0 VIDEO0: set fallback framerate to 23976 VIDEO0: set streamtype! stop rave set H264 sw rave disabled! video delay 0 (0 ms) total video delay: 0 (0 ms) restart rave video delay 0 (0 ms) total video delay: 0 (0 ms) VIDEO0: start decode eServiceMP3::state transition READY -> PAUSED eServiceMP3::async-done - 6 video, 4 audio, 0 subtitle AUDIO STRUCT=audio/x-ac3 eServiceMP3::audio stream=0 codec=AC-3 audio language=en AUDIO STRUCT=audio/mpeg eServiceMP3::audio stream=1 codec=MPEG-4 AAC audio language=en AUDIO STRUCT=audio/mpeg eServiceMP3::audio stream=2 codec=MPEG-4 AAC audio language=es AUDIO STRUCT=audio/mpeg eServiceMP3::audio stream=3 codec=MPEG-4 AAC audio language=fr [__evUpdatedInfo] title 0 of 0 () eServiceMP3::state transition PAUSED -> PLAYING ch0: lock RAP first pts 0x0, stc 0x48d66a0, pcr invalid video_stc is not valid yet.. so ignore audio first pts VIDEO0: first pts 0x1d2e VIDEO0: framerate changed 1 VIDEO0: resolution changed (720 356) VIDEO0: aspect changed 4 set current avs auto aspect to 16:9 disable wss on display 0 set wss 7 on display 1 set current avs auto aspect to 16:9 disable wss on display 0 set wss 7 on display 1 set sb to 3(1) printk: 1 messages suppressed. RAP sampling rate info isr eBitRateChange Isr.. set source_changed_event! eModeChange Isr.. set source_changed_event! enable tsm0 VIDEO0: progressive changed (1) It's now Mon Dec 5 14:54:23 2011 next real activation is Tue Dec 6 21:59:40 2011 [timer.py] next activation: 1323114963 (in 99989 ms) It's now Mon Dec 5 14:54:23 2011 [timer.py] next activation: 1323114963 (in 99983 ms) ======================MKV PLAYS FINE ABOVE======================= action -> OkCancelActions cancel Writing playlist into file /etc/enigma2/playlist.e2pls playing 1:0:1:CD:6:1004:FB5A0000:0:0:0: eServiceMP3::stop /media/hdd/hemi/Movies/1.mkv VIDEO0: set blank to 1 ignore pts error when no video is running VIDEO0: stop decode VIDEO0: set blank to 0 VIDEO0: set fallback framerate to 60000 audio: decoder stop audio: xpt stop(1) unpause no decoder left in sync handling so disable xpt_sync bcm_audio_channel_stop(1) done eServiceMP3::destruct! accel memstat: alloc=8704 B used=24 kB, free 9160 kB, s 24 kB accel memstat: alloc=8704 B used=24 kB, free 9160 kB, s 24 kB not pauseable. RemovePopup, id = ZapError allocate channel.. 0006:1004 opening frontend 0 alps_bsbe2 is in normal mode now (0)tune RotorCmd ffffffff, lastRotorCmd ffffffff prepare_sat System 0 Freq 13303000 Pol 3 SR 20000000 INV 2 FEC 0 orbpos 2410 system 0 modulation 1 pilot 2, rolloff 0 tuning to 2053 mhz OURSTATE: tuning allocate Channel: res 0 [eDVBCIInterfaces] addPMTHandler 1:0:1:CD:6:1004:FB5A0000:0:0:0: allocate demux [SEC] set static current limiting set sequence pos 3 set sequence pos 4 [SEC] setVoltage 4 [SEC] sleep 200ms [SEC] invalidate current switch params [SEC] sendDiseqc: e00000(DiSEqC reset) [SEC] sleep 50ms [SEC] sendDiseqc: e00003(DiSEqC peripherial power on) [SEC] sleep 150ms [SEC] sendDiseqc: e01038f1 [SEC] sleep 120ms [SEC] sendDiseqc: e11038f1 [SEC] sleep 120ms [SEC] sendDiseqc: e11038f1 [SEC] sleep 120ms [SEC] sendDiseqc: e11038f1 [SEC] sleep 120ms [SEC] sendDiseqc: e11038f1 [SEC] sleep 120ms [SEC] sendDiseqc: e11038f1 [SEC] sleep 120ms [SEC] sendDiseqc: e11038f1 [SEC] sleep 120ms [SEC] sendDiseqc: e11038f1 [SEC] sleep 50ms set sequence pos 3 [SEC] setTone 1 [SEC] sleep 10ms [SEC] update current switch params [SEC] startTuneTimeout 10000 [SEC] setFrontend 1 setting frontend 0 [SEC] sleep 500ms (0)fe event: status 0, inversion off, m_tuning 1 (0)fe event: status 1, inversion off, m_tuning 2 (0)fe event: status 3, inversion off, m_tuning 3 (0)fe event: status 1f, inversion on, m_tuning 4 OURSTATE: ok [eDVBLocalTimerHandler] channel 0x18e8000 running no version filtering 0014: 70 00 00 00 00 00 mask: fc 00 00 00 00 00 mode: 00 00 00 00 00 00 [eEPGCache] channel 0x18e8000 running stop release channel timer ok ... now we start!! no version filtering 0000: 00 00 00 00 00 00 mask: ff 00 00 00 00 00 mode: 00 00 00 00 00 00 eventNewProgramInfo 0 0 have 1 video stream(s) (1422), and 1 audio stream(s) (1423), and the pcr pid is 1422, and the text pid is ffffffff allocate demux disable teletext subtitles dvb_demux_feed_del: feed not in list (type=0 state=0 pid=ffff) PES filter: DMX_SET_start pcr0 on dmx 0 pid:1422 index 2 PES_FILTER - Invalid argument decoder statstart audio on dmx 0 pid:1423 e:audio xpt start psync is off so we enable it lademux-index 0 pcr0pid 1422 yusing 2 as pcr0 pidchannel , vpid=5154, apid=5155 DMX_SET_PES_FILTER(0xMPEG 1audio: streamtype set 0 4audio: streamtype_set: stop rave 22)audio: streamtype_set: restart rave -set mute 0 (111) 0 pcr - ok DEMUX_START - pcr - ok DMX_SET_PES_Faudio: decoder start 0 ILTER(0x1423) - audio - ok DEMUX_START - audio - ok AUDIO_SET_BYPASS(1) - ok AUDIO_PAUSE - ok AUDIO_PLAY - [EPGC] next update in 2 sec video delay 0 (0 ms) total video delay: 0 (0 ms) ok /dev/dvb/adapter0/video0: Device or resource busy Video Device: /dev/dvb/adapter0/video0 demux device: /dev/dvb/adapter0/demux0 VIDEO_SLOWMOTION(0) - failed(Bad file descriptor) VIDEO_FAST_FORWARD(0) - failed(Bad file descriptor) VIDEO_CONTINUE - failed (Bad file descriptor) AUDIO_CONTINUE - ok not pauseable. + 1/1 TID 00 done! PATready use pmtpid 0021 for service_id 00cd no version filtering 0021: 02 00 cd 00 00 00 mask: ff ff ff 00 00 00 mode: 00 00 00 00 00 00 doing version filtering 0000: 00 00 00 2b 00 00 mask: ff 00 00 3f 00 00 mode: 00 00 00 3e 00 00 [SEC] set dynamic current limiting + 1/1 TID 02 done! eventNewProgramInfo 0 0 have 1 video stream(s) (1422), and 1 audio stream(s) (1423), and the pcr pid is 1422, and the text pid is ffffffff dvb_demux_feed_del: feed not in list (type=0 state=0 pid=ffff) PES filter: DMX_SET_PES_FILTER - Invalid argument decoder state: play, vpid=5154, apid=5155 VIDEO_SLOWMOTION(0) - failed(Bad file descriptor) VIDEO_FAST_FORWARD(0) - failed(Bad file descriptor) VIDEO_CONTINUE - failed (Bad file descriptor) AUDIO_CONTINUE - ok [eDVBCAService] new service 1:0:1:CD:6:1004:FB5A0000:0:0:0: [eDVBCAService] add demux 0 to slot 0 service 1:0:1:CD:6:1004:FB5A0000:0:0:0: [eDVBCIInterfaces] gotPMT demux 0 mask 01 prevhash 00000000 doing version filtering 0021: 02 00 cd 11 00 00 mask: ff ff ff 3f 00 00 mode: 00 00 00 3e 00 00 [eDVBLocalTimerHandler] diff is 0 [eDVBLocalTimerHandler] diff < 120 .. use Transponder Time [eDVBLocalTimerHandler] not changed [EPGC] start caching events(1323114914) ch0: lock RAP first pts 0x19100fbaa, stc 0x19100dede, pcr valid RAP sampling rate info isr eBitRateChange Isr.. set source_changed_event! eModeChange Isr.. set source_changed_event! ================BLACK SCREEN AUDIO ONLY ABOVE & BELOW=================== action -> OkCancelActions ok okbuttonClick [eDVBCAService] free slot 0 demux 0 for service 1:0:1:CD:6:1004:FB5A0000:0:0:0: [eDVBCAService] free service 1:0:1:CD:6:1004:FB5A0000:0:0:0: start release channel timer !!!!!!!!!!!!!! PTS-Plugin: __evEnd cleaning up TuxTxt castop pcr0 on dmx 0 pid:1422 che cleared decoder state: play, vpidaudio: decoder stop =-1, apid=-1 DEMUX_STOP - pcr - ok DEMUX_STOP - video - ok VIDEO_STOP - failed (Bad file descriptor) AUDIO_STOP - ok stop audio on dmx 0 pid:1423 DEMUX_STOP audio: xpt stop(3) -no decoder left in sync handling so disable xpt_sync abcm_audio_channel_stop(3) done udio - ok AUDIO_CONTINUE - ok set seek position: 0 set instance. warning, skin is missing element genretext in <class 'Plugins.Extensions.MediaPlayer.plugin.MediaPlayer'> warning, skin is missing element genre in <class 'Plugins.Extensions.MediaPlayer.plugin.MediaPlayer'> warning, skin is missing element currenttext in <class 'Plugins.Extensions.MediaPlayer.plugin.MediaPlayer'> warning, skin is missing element titletext in <class 'Plugins.Extensions.MediaPlayer.plugin.MediaPlayer'> [SKIN] Parsing embedded skin [Skin] Attribute not implemented: id value: 1 [Picload] setPara max-X=150 max-Y=150 aspect_ratio=1.000000 cache=0 resize=1 bg=#00000000 VIDEO0: dst_left, dst_top, dst_width and dst_height is 0.. reset to defaults! set current avs auto aspect to 16:9 disable wss on display 0 set wss 7 on display 1 set sb to 3(1) [DVBCAHandler] no more services action -> MediaPlayerActions prevBouquet release cached channel (timer timeout) [eDVBLocalTimerHandler] remove channel 0x18e8000 [eEPGCache] remove channel 0x18e8000 stop release channel timer action -> OkCancelActions ok playing 4097:0:0:0:0:0:0:0:0:0:/media/hdd/hemi/Movies/1.mkv eServiceMP3::construct! eServiceMP3::playbin2 uri=file:///media/hdd/hemi/Movies/1.mkv eServiceMP3::starting pipeline accel memstat: alloc=8704 B used=24 kB, free 9160 kB, s 24 kB accel memstat: alloc=8704 B used=24 kB, free 9160 kB, s 24 kB new service started! trying to download cuts! download failed, no cuesheet interface resolved to PLAY eServiceMP3::state transition NULL -> READY [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () [__evUpdatedInfo] title 0 of 0 () audio xpt start sync is off so we enable it playback! audio: decoder start 0 video delay 0 (0 ms) total video delay: 0 (0 ms) VIDEO0: set fallback framerate to 23976 Gstreamer error: There is no codec present that can handle the stream's type. (6) from dvbvideosink1 [__evVideoDecodeError] video-codec H264 can't be decoded by hardware ===========NO LONGER ABLE TO DECODE MKV PREVIOUSLY PLAYED============ AC3 audio: streamtype set 1 audio: streamtype_set: stop decoder bcm_audio: use saved pts 0x1910e877a (0x0) (ret 0) audio: decoder stop audio: streamtype_set: stop rave decode audio: streamtype_set: restart rave set mute 0 (111) 0 audio: streamtype_set: restart decoder audio: decoder start 0 video delay 0 (0 ms) total video delay: 0 (0 ms) close frontend 0 alps_bsbe2 is in powersave mode now Timeout! It's now Mon Dec 5 14:56:03 2011 [timer.py] next activation: 1323115063 (in 99994 ms) It's now Mon Dec 5 14:56:03 2011 next real activation is Tue Dec 6 21:59:40 2011 [timer.py] next activation: 1323115063 (in 99984 ms)
--
hemi
Attached Files
Edited by hemispherical1, 7 December 2011 - 17:39.
Erik Slagter 7 Dec 2011
I think it has something to do with this line
I must say, I've never seen this in real life, but then again, I almost never watch mkv files.
I've seen one report about this earlier, some time ago.
Edited by Erik Slagter, 7 December 2011 - 08:34.
/dev/dvb/adapter0/video0: Device or resource busyLooks like enigma doesn't close the playback properly, at some point.
I must say, I've never seen this in real life, but then again, I almost never watch mkv files.
I've seen one report about this earlier, some time ago.
Edited by Erik Slagter, 7 December 2011 - 08:34.
pieterg 7 Dec 2011
looks like a driver issue.
Do those other images you mentioned use the same driver version as we do?
Do those other images you mentioned use the same driver version as we do?
hemispherical1 7 Dec 2011
Nemesis is using the same drivers, the other 2 images used earlier drivers. I just updated drivers (Aug. 2 I believe, taken directly from PLi) & bootloader on one of the other working images & the mediaplayer works fine. It's a sifteam image that somebody added NA epg support to. Although the image was posted w/ SSL76 & older drivers, info / about shows Enigma of Oct. 9 2011.
--
hemi
--
hemi
hemispherical1 9 Dec 2011
Does this issue effect anyone else? Receiver model, clone, any pertinent info?
--
hemi
--
hemi
Happysat 10 Dec 2011
This issue was indeed mentioned before some time ago.
I have the same problem, happens on both my 800hd and 800se with 0821/0902 drivers..
I have the same problem, happens on both my 800hd and 800se with 0821/0902 drivers..
awx 11 Dec 2011
I believe I am seeing a similar or possibly the same issue on the 800se.
If other information or logs are required, Id be happy to help.
If other information or logs are required, Id be happy to help.
awx 11 Dec 2011
I believe I am seeing a similar or possibly the same issue on the 800se.
If other information or logs are required, Id be happy to help.
Small addition, I have also noticed similar behaviour on the some of the original dream experimental images. Last one I have tried was from the 15th of November.
hemispherical1 8 Mar 2012
Well, every month or 2 I test to see if the problem is still there... It appears to have disappeared lately though, but I'm not sure exactly when. Lately I've been able to watch mp4, mkv, flv, etc (containing h.264) and no longer lose video on exit. Although it occasionally worked fine before, I can't see it just me being lucky as I've been through 100 or so files "testing" and haven't lost video once.
Anyone else that had experienced the problem in the past may want to check and see if it is solved for them also...
--
hemi
Anyone else that had experienced the problem in the past may want to check and see if it is solved for them also...
--
hemi
pieterg 8 Mar 2012
The problem was introduced by a driver update.
The dreamboxes recently had another driver update, so most likely that's what fixed it again.
The dreamboxes recently had another driver update, so most likely that's what fixed it again.
Happysat 10 Mar 2012
Hemi, i did play a few divx/mkv's ect and i can confirm the problem seems to be gone
I tried on a dm800se with orginal non patched 20110902 dmm drivers..
I tried on a dm800se with orginal non patched 20110902 dmm drivers..