[mythtv-users] IPTV recorder seems broken -- large jumpy files

Rajil Saraswat rajil.s at gmail.com
Fri Apr 6 03:00:17 UTC 2018


On 03/19/2018 06:47 AM, Brian J. Murrell wrote:
>
> Clearly, this hack doesn't handle flow control but it seems to get the
> job done.
>
> I did come across a python External recorder in my research that did
> handle flow control.
>
> Cheers,
> b.
I tried to use your script with slight modifications
(https://pastebin.com/k8QqLeE1) disabling the 'Tunechannel'
functionality as I use the External Channel script field in the Input
Connection. Unfortunately, I am getting random failures when using
LiveTV, sometimes the video works fine but on other occasions it works
for some time and then fails like so,

+ read -r cmd
frame=   98 fps=0.0 q=-1.0 size=    5574kB time=00:00:03.81
bitrate=11965.0kbits/s speed=7.17x   
frame=  113 fps=109 q=-1.0 size=    6214kB time=00:00:04.32
bitrate=11784.1kbits/s speed=4.17x   
frame=  130 fps= 83 q=-1.0 size=    7236kB time=00:00:04.84
bitrate=12227.8kbits/s speed=3.09x   
frame=  146 fps= 69 q=-1.0 size=    8026kB time=00:00:05.37
bitrate=12229.5kbits/s speed=2.56x   
frame=  162 fps= 61 q=-1.0 size=    8902kB time=00:00:05.90
bitrate=12352.0kbits/s speed=2.24x   
frame=  177 fps= 56 q=-1.0 size=    9728kB time=00:00:06.40
bitrate=12436.9kbits/s speed=2.04x   
frame=  192 fps= 52 q=-1.0 size=   10551kB time=00:00:06.96
bitrate=12418.6kbits/s speed=1.89x   
[udp @ 0x55f38aae5740] Circular buffer overrun. To avoid, increase
fifo_size URL option. To survive in such case, use overrun_nonfatal option

Full log is at https://pastebin.com/PkQRhdkj. On pressing 'Esc' in
LiveTV the frontend returns to the main menu, however ffmpeg is not
killed as 'StopStreaming' is never sent to the externalrecorder script.

Any idea what could be the issue?



More information about the mythtv-users mailing list