←  [EN] Enduser support

Forums

»

Timeshifting problems with OpenPLi 3.0

Gi 9995 Owner's Photo Gi 9995 Owner 28 Feb 2013

Only test...
http://openpli.org/f...post__p__336631

Спасибо, попробую.
Извините, что не по-английски пишу... не хватает знания этого языка.
А можно про ещё одну хотелку спросить?
Вот был у меня ОпенБокс 7200 и в нём была такая полезная фича: во время таймшифта я могу нажать кнопку "Запись" и появляется меню выбора с какого моменкта нужно начать запись - в том числе можно было выбрать "Начать сейчас". То есть записываемый файл начинался с того места просмотра, где в это время я находился.
А в нынешних ресиверах/имиджах, если я во время таймшифта нажму "Запись", то эта запись начнется с реального времени и та часть таймшифта, которую не успел досмотреть будет потеряна.
Нельзя ли как-то доработать меню записи, чтоб его логика была, как в старом моём ОпенБоксе?
Quote

WanWizard's Photo WanWizard 28 Feb 2013

Gentlemen,

Can we keep the discussion in English here please?
Quote

Dimitrij's Photo Dimitrij 28 Feb 2013

@Gi 9995 Owner

Only in english.
All questions in russian lang in PM.

Sorry.
Edited by Dima73, 28 February 2013 - 14:28.
Quote

nietgiftig's Photo nietgiftig 28 Feb 2013

Maybe someone is interested...

Absolutly

Short test

-add Timeshift mode(automatic (permanent)" or "manual (standart)"
-if mode manual (standart) add options "Behavior on start timeshift"(pause or live tv)

working good

-Show warning on zap(yes/no)
if yes
manual mode(Show warning on zap if not save action)
automatic mode(Show warning on zap if not Live TV or not save action)

Working good, thanks for this one

-add support timeshift for all services without EPG

The ones I tried were working good, very nice

Small remark
the correct T/S display (on my ET9000) is working good.
The reccord marker is off, just as it should be while timeshifting.
But when I start a recording or do an instant record, the record marker stays off and the T/S marker stays on.
Quote

Dimitrij's Photo Dimitrij 28 Feb 2013

Small remark
the correct T/S display (on my ET9000) is working good.
The reccord marker is off, just as it should be while timeshifting.
But when I start a recording or do an instant record, the record marker stays off and the T/S marker stays on.

Symbol record and T/S running automatically if timeshift enabled or recording enabled.
I changed nothing.
Sometimes it fails=gluck drivers.
Edited by Dima73, 28 February 2013 - 18:52.
Quote

littlesat's Photo littlesat 28 Feb 2013

I suggest sometimes PTS starts two recordings at once...
Quote

Dimitrij's Photo Dimitrij 28 Feb 2013

I suggest sometimes PTS starts two recordings at once...

Most likely.
Quote

umtauscher's Photo umtauscher 28 Feb 2013

I also habe tested the latest version: All working perfectly.
Just tell us, when it is in the current update.
Thanks
Quote

Dimitrij's Photo Dimitrij 2 Mar 2013

Three questions to the participants topics:
1)The solution to this problem
http://openpli.org/f...post__p__335405
2)problem timeshift for radio service

and
3)Zap to channel.
No signal from the satellite.
Start timeshift(standart)
And it works, how can this be???
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[EPGC] abort non avail nownext reading
[EPGC] abort non avail schedule reading
[EPGC] abort non avail schedule other reading
[EPGC] abort non avail FreeSat schedule_other reading
[EPGC] abort non avail viasat reading
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
1022
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
action ->  WizardActions ok
enable timeshift
Start timeshift!
recording to /media/hdd/timeshift/timeshift.0WzVeh
setIoPrio realtime level 7 ok
[eFilePushThreadRecorder] THREAD START
activateTimeshiftEnd
play, ...
decoder state: play, vpid=-1, apid=-1
DEMUX_STOP - pcr - ok
DEMUX_STOP - video - ok
VIDEO_STOP - ok
AUDIO_STOP - ok
DEMUX_STOP - audio - ok
AUDIO_CONTINUE - ok
cleaning up
TuxTxt cache cleared
alloc PVR
allocate demux
loading streaminfo for /media/hdd/timeshift/timeshift.0WzVeh
setIoPrio best-effort level 0 ok
FILEPUSH THREAD START
ok ... now we start!!
eventNewProgramInfo TS
have 1 video stream(s) (1c7a), and 1 audio stream(s) (1c7b), and the pcr pid is 1c7a, and the text pid is ffffffff
[eMPEGStreamInformation] index 0 is past EOF
eMPEGStreamInformation::getFirstFrame - no data (yet?)
getStructureEntryFirst failed because file size is zero
read error
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
getLength failed - can't seek relative to end!
wait for driver eof ok
reached EOF, but we are in stream mode. delaying 1 second.
TuxTxt cache cleared
decoder state: play, vpid=7290, apid=7291
DMX_SET_PES_FILTER(0x1c7b) - audio - ok
DEMUX_START - audio - ok
AUDIO_SET_BYPASS(1) - ok
AUDIO_PAUSE - ok
AUDIO_PLAY - ok
Video Device: /dev/dvb/adapter0/video0
demux device: /dev/dvb/adapter0/demux6
VIDEO_SET_STREAMTYPE 0 - ok
DMX_SET_PES_FILTER(0x1c7a) - video - ok
DEMUX_START - video - ok
VIDEO_FREEZE - ok
VIDEO_PLAY - ok
VIDEO_SLOWMOTION(0) - ok
VIDEO_FAST_FORWARD(0) - ok
VIDEO_CONTINUE - ok
AUDIO_CONTINUE - ok
disable teletext subtitles
eDVBServicePlay::switchToTimeshift, in pause mode now.
eDVBServicePlay::pause
decoder state: pause, vpid=7290, apid=7291
VIDEO_SLOWMOTION(0) - ok
VIDEO_FAST_FORWARD(0) - ok
VIDEO_FREEZE - ok
AUDIO_PAUSE - ok
have 1 video stream(s) (1c7a), and 1 audio stream(s) (1c7b), and the pcr pid is 1c7a, and the text pid is ffffffff
decoder state: pause, vpid=7290, apid=7291
VIDEO_SLOWMOTION(0) - ok
VIDEO_FAST_FORWARD(0) - ok
VIDEO_FREEZE - ok
AUDIO_PAUSE - ok
resolved to PAUSE
eDVBServicePlay::pause
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
eDVBServicePlay::seekTo: jump -90000
seek.
eFilePushThread stopping thread
FILEPUSH THREAD STOP
thread joined 0
AUDIO_CLEAR_BUFFER - ok
VIDEO_CLEAR_BUFFER - ok
setIoPrio best-effort level 0 ok
FILEPUSH THREAD START
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
getLength failed - can't seek relative to end!
wait for driver eof ok
reached EOF, but we are in stream mode. delaying 1 second.
eDVBChannel: End of file!
[SEC] rotor locked step 0 failed (not locked)
eDVBChannel: pvrEvent evtStopped
eDVBChannel: End of file!
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
wait for driver eof ok
reached EOF, but we are in stream mode. delaying 1 second.
eDVBChannel: End of file!
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
wait for driver eof ok
reached EOF, but we are in stream mode. delaying 1 second.
eDVBChannel: End of file!
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
wait for driver eof ok
reached EOF, but we are in stream mode. delaying 1 second.
eDVBChannel: End of file!
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
wait for driver eof ok
reached EOF, but we are in stream mode. delaying 1 second.
eDVBChannel: End of file!
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
wait for driver eof ok
reached EOF, but we are in stream mode. delaying 1 second.
eDVBChannel: End of file!
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
set sequence pos -3
[SEC] sleep 250ms
wait for driver eof ok
reached EOF, but we are in stream mode. delaying 1 second.
eDVBChannel: End of file!
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
wait for driver eof ok
reached EOF, but we are in stream mode. delaying 1 second.
eDVBChannel: End of file!
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
eMPEGStreamInformation::getLastFrame - no data (yet?)
[@ML] m_streaminfo.getLastFrame failed, fallback
eDVBTSTools::fixupPTS begin not valid, can't fixup
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
PATready
DVB service failed to tune - error 2
RemovePopup, id = ZapError
AddPopup, id = ZapError
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
wait for driver eof ok
reached EOF, but we are in stream mode. delaying 1 second.
eDVBChannel: End of file!
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
set sequence pos -3
[SEC] sleep 250ms
[SEC] rotor locked step 0 failed (not locked)
Quote

umtauscher's Photo umtauscher 2 Mar 2013

Hi Dima,

I just found another little glitch in the PTS warnings.
Just when zapping from GraphMultiEPG the warning comes every time, even when you are live.
Cheers
Umtauscher
Quote

Dimitrij's Photo Dimitrij 2 Mar 2013

Hi Dima,

I just found another little glitch in the PTS warnings.
Just when zapping from GraphMultiEPG the warning comes every time, even when you are live.
Cheers
Umtauscher

Zap or preview for Single,Multi and GME EPG = show warning if pts enabled and "Show warning on zap"(yes).
Sorry.
I can not do anything.
Edited by Dima73, 2 March 2013 - 19:00.
Quote

umtauscher's Photo umtauscher 2 Mar 2013

So the question is, who can?
I take it some sort of callback is needed? Is there a mechanism implemented that could do it?
Quote

littlesat's Photo littlesat 2 Mar 2013

That was intended... when zapping in multi epg and all the other locations you can still "kill" your timeshift recording... But with PTS and auto recording you do not need this warning

(p.s. there are even more places currently in E2 that still can stop/break a timeshift that are not protected yet)
Edited by littlesat, 2 March 2013 - 21:41.
Quote

umtauscher's Photo umtauscher 3 Mar 2013

Thanks Littelsat for your answer, but why is is different with PTS?
When I am not running live, its just the same as with normal timeshift, isn't it?

But anyway, the warning gets fired when its not needed in this case. I was just trying to zap away from a live service.
I can live with that, it's just not perfect.

Cheers
Umtauscher
Quote

Dimitrij's Photo Dimitrij 3 Mar 2013

The question to littelsat.
How technically add buffer timeshift to recording if start instant record?
Edited by Dima73, 3 March 2013 - 10:09.
Quote

betacentauri's Photo betacentauri 3 Mar 2013

Dima73, do you mean to create a normal recording out of timeshift buffer without loosing the current timeshift buffer?
I didn't look in the code, but I think that's quiet difficult to implement. C++ part has to be modified.
Quote

Dimitrij's Photo Dimitrij 3 Mar 2013

Dima73, do you mean to create a normal recording out of timeshift buffer without loosing the current timeshift buffer?
I didn't look in the code, but I think that's quiet difficult to implement. C++ part has to be modified.

Start recording + add timeshift buffer
Quote

Dimitrij's Photo Dimitrij 3 Mar 2013

Start recording + add timeshift buffer
and zap
Quote

betacentauri's Photo betacentauri 3 Mar 2013

With my patch you can do it, but you need 2 steps. First store timeshift then start instant recording. And afterwards you have 2 files. To do it in one step, should be easily possible. But you still have 2 files.
Saving timeshift and instant recording in one file with a little gap might be possible. Without a gap seems to me difficult.
Timeshift and recordings are handled in a different way in C++ part.
Edited by betacentauri, 3 March 2013 - 15:04.
Quote

Dimitrij's Photo Dimitrij 3 Mar 2013

With my patch you can do it, but you need 2 steps. First store timeshift then start instant recording. And afterwards you have 2 files. To do it in one step, should be easily possible. But you still have 2 files.

2 files(store timeshift and recording)
As they merge?
Quote