Jump to content


Photo

streaming blue screen on bad signal


  • Please log in to reply
No replies to this topic

#1 rabihm

  • Member
  • 41 posts

0
Neutral

Posted 10 January 2013 - 11:42

Hi all...
Is there an option to force the set top box to stream of a blue screen(over network) in case there is a signal interruption?

In fact, I have a system that record 24/24 (1 file per hour) and when facing a signal interruption, then the stream is cut, and my recording is blocked.
I'm using python in this way:

il_mpegts_fd = urlopen("http://10.170.11.50:8001/1:0:1:AF2:1C:800:DCA0000:0:0:0:", timeout=2)
ibin_block = il_mpegts_fd.read(il_block_sz)
il_dest_fd = open(ls_dest_dirname_and_filename, "a+wb")
il_dest_fd.write(ibin_block)

Now I can handle this interruption, but at the end, my "1 hour" recording file, have a duration less than 1 hour, and what I need is to always have a 1 hour recording files.

Thanks in advance for any hint or help

Rabih


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users