[mythtv-users] [OT] Recover from interrupted streams
    Marc Rawji 
    mrawji at gmail.com
       
    Sat Sep 24 16:09:58 UTC 2016
    
    
  
Hello All,
I've written a tool to interface with the "ExternalRecorder" feature in
0.28. I've got everything working, including an EPG.
I am trying to harden the tool now. In my tool, I use FFMPEG to pull the
source and convert it to an MPEG-TS for the External Recorder. Every now
and again, the stream dies and needs to be restarted. If I don't do
anything, MythTV records until the stream dies. The tool seems to properly
detect the failure and restart the stream, but in the frontend the video
becomes corrupted. I am assuming that this is because FFMPEG died before
setting a complete frame... The underlying video is in H.264.
I am not even sure how to phrase the question... Anyone know how to have
the "new" stream append cleanly? Or, can I force MythTv to just restart the
ExternalRecorder when it dies?
I'd rather have a continuity error, than only 30 mins of 3 hour sports
event. :)
Thanks in advance for help and guidance.
Marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160924/adc3ecba/attachment.html>
    
    
More information about the mythtv-users
mailing list