Jump to content


Photo

reached EOF, but we are in stream mode. delaying 1 second.


  • Please log in to reply
5 replies to this topic

#1 Xerius

  • Member
  • 5 posts

0
Neutral

Posted 9 August 2012 - 12:18

Dear,

i'm looking few day for a solution to delay the stream to a higher value (such as 3 seconds)
But no luck.
If i look to the enigma2 source i see a file named filepush.cpp in /lib/base.

I found the code that delays the stream.
   if (m_stream_mode)
   {
    eDebug("reached EOF, but we are in stream mode. delaying 1 second.");
    sleep(1);
    continue;
   }
   break;

I need to change it like this.
   if (m_stream_mode)
   {
    eDebug("reached EOF, but we are in stream mode. delaying 3 second.");
    sleep(3);
    continue;
   }
   break;

Is it possible to change it inside the Dreambox or must i compile a new Enigma2


Kind regards,
Xerius

Re: reached EOF, but we are in stream mode. delaying 1 second. #2 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 9 August 2012 - 12:25

I'm not sure what you want to achieve, but this situation only occurs when a stream stops (socket returns EOF).

to start with, do you see this situation occur?
you should see lots of
"reached EOF, but we are in stream mode. delaying 1 second."
messages in the e2 log, while streaming.
(init 4; enigma2)

If you do not see this message, increasing the sleep time to 3s will not make any difference.

Re: reached EOF, but we are in stream mode. delaying 1 second. #3 Xerius

  • Member
  • 5 posts

0
Neutral

Posted 9 August 2012 - 13:02

Pieter bedankt voor je snelle reactie,

Here i got some logs from enigma2.
[IDLE] 120.000006914 600 False
wait for driver eof timeout
wait for driver eof timeout
wait for driver eof timeout
wait for driver eof timeout
no cue sheet. forcing normal play
It's now  Thu Aug  9 11:01:29 2012
[timer.py] next activation: 1344502989 (in 99999 ms)
It's now  Thu Aug  9 11:01:29 2012
[timer.py] next activation: 1344502989 (in 99997 ms)
wait for driver eof timeout
[EPGC] start cleanloop
[EPGC] stop cleanloop
[EPGC] 1022159 bytes for cache used
wait for driver eof timeout
wait for driver eof timeout
wait for driver eof timeout
wait for driver eof timeout
wait for driver eof timeout
wait for driver eof timeout
nr_read 196 nr_write 20
sum 216 prev_sum 216
hdd IDLE!
[IDLE] 180.00001502 600 False
wait for driver eof ok
reached EOF, but we are in stream mode. delaying 1 second.
eDVBChannel: End of file!
not pauseable.
no cue sheet. forcing normal play
wait for driver eof timeout
wait for driver eof timeout
wait for driver eof timeout
[EPGC] start cleanloop
[EPGC] stop cleanloop
[EPGC] 1020662 bytes for cache used
wait for driver eof timeout
reached EOF, but we are in stream mode. delaying 1 second.wait for driver eof timeout
no cue sheet. forcing normal play
wait for driver eof timeout
screen cleanup!
screen cleanup!
wait for driver eof timeout
wait for driver eof timeout
stopService

I will incease the time to 3 sec. to ger rid of EOF.
Beacause the streaming will stop for a sec. en than plays again.

Re: reached EOF, but we are in stream mode. delaying 1 second. #4 Xerius

  • Member
  • 5 posts

0
Neutral

Posted 9 August 2012 - 23:36

No anyone?

Re: reached EOF, but we are in stream mode. delaying 1 second. #5 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 9 August 2012 - 23:52

You will need to compile e2 with the modification, as this is in the c++ code (which builds the e2 binary)

Re: reached EOF, but we are in stream mode. delaying 1 second. #6 Xerius

  • Member
  • 5 posts

0
Neutral

Posted 10 August 2012 - 07:13

Thank you i will give a try.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users