Project

General

Profile

Problems with av library?

Added by Chris G about 2 years ago

I am having a problem with my IPTV streams sometimes taking several retires to begin playing in my client.
I am using the linuxserver.io docker container.
The streams come from a small proxy app I made... basically input streams get restreamed using ffmpeg and piped out...


ffmpeg -loglevel panic -hide_banner -http_proxy *proxy* -i *link* -vcodec copy -acodec copy -f mpegts pipe:

The streams work first time every time in VLC, Plex DVR etc

However in TVHeadend they start to take several attempts after the container has been running a while.

Here is the debug log. I stripped out repeats of the same message (...) for easy reading. The streams fails a few times, then works, then I stop it on the client.


2022-08-24 17:44:34.185 mpegts: playlist - Sky Sports F1 (UK) (STB Proxy) in STB Proxy - tuning on IPTV #1
2022-08-24 17:44:34.185 libav: AVFormatContext: Opening 'http://10.0.1.200:8084/play/411b77650e174ce4a2478608e4d6a133/47785' for reading
2022-08-24 17:44:34.185 subscription: 010C: "10.0.1.12 [  | Kodi Media Center ]" subscribing on channel "Sky Sports F1 (UK) (STB Proxy)", weight: 100, adapter: "IPTV #1", network: "STB Proxy", mux: "playlist - Sky Sports F1 (UK) (STB Proxy)", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="10.0.1.12", username="10.0.1.12", client="Kodi Media Center" 
2022-08-24 17:44:34.185 libav: URLContext: Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy,data'
2022-08-24 17:44:34.186 libav: URLContext: Original list of addresses:
2022-08-24 17:44:34.186 libav: URLContext: Address 10.0.1.200 port 8084
2022-08-24 17:44:34.186 libav: URLContext: Interleaved list of addresses:
2022-08-24 17:44:34.186 libav: URLContext: Address 10.0.1.200 port 8084
2022-08-24 17:44:34.186 libav: URLContext: Starting connection attempt to 10.0.1.200 port 8084
2022-08-24 17:44:34.186 libav: URLContext: Successfully connected to 10.0.1.200 port 8084
2022-08-24 17:44:34.186 libav: URLContext: request: GET /play/411b77650e174ce4a2478608e4d6a133/47785 HTTP/1.1
User-Agent: Lavf/58.76.100
Accept: */*
Range: bytes=0-
Connection: close
Host: 10.0.1.200:8084
Icy-MetaData: 1

2022-08-24 17:44:37.702 libav: AVFormatContext: Format mpegts probed with size=2048 and score=50
2022-08-24 17:44:37.702 libav: AVFormatContext: stream=0 stream_type=1b pid=100 prog_reg_desc=
2022-08-24 17:44:37.702 libav: AVFormatContext: stream=1 stream_type=f pid=101 prog_reg_desc=
2022-08-24 17:44:37.702 libav: AVFormatContext: Before avformat_find_stream_info() pos: 0 bytes read:2337 seeks:0 nb_streams:2
2022-08-24 17:44:37.703 libav: AVFormatContext: All programs have pmt, headers found
2022-08-24 17:44:37.714 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.714 libav: AVBSFContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:37.714 libav: AVBSFContext: nal_unit_type: 7(SPS), nal_ref_idc: 3
2022-08-24 17:44:37.714 libav: AVBSFContext: nal_unit_type: 8(PPS), nal_ref_idc: 3
2022-08-24 17:44:37.714 libav: AVBSFContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:37.715 libav: AVBSFContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:37.715 libav: AVBSFContext: nal_unit_type: 5(IDR), nal_ref_idc: 3
2022-08-24 17:44:37.715 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:37.715 libav: AVCodecContext: nal_unit_type: 7(SPS), nal_ref_idc: 3
2022-08-24 17:44:37.715 libav: AVCodecContext: nal_unit_type: 8(PPS), nal_ref_idc: 3
2022-08-24 17:44:37.715 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:37.715 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:37.715 libav: AVCodecContext: nal_unit_type: 5(IDR), nal_ref_idc: 3
2022-08-24 17:44:37.715 libav: AVCodecContext: Format yuv420p chosen by get_format().
2022-08-24 17:44:37.715 libav: AVCodecContext: Reinit context to 1280x720, pix_fmt: yuv420p
2022-08-24 17:44:37.717 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.726 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.726 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:37.726 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:37.726 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:44:37.728 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.734 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.734 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:37.734 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:37.734 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:44:37.734 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.739 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.739 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:37.739 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:37.739 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:44:37.739 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.741 libav: AVFormatContext: probing stream 1 pp:2500
2022-08-24 17:44:37.741 libav: AVFormatContext: Probe with size=2839, packets=1 detected aac with score=51
2022-08-24 17:44:37.741 libav: AVFormatContext: probed stream 1
2022-08-24 17:44:37.742 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.742 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:37.742 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:37.742 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:44:37.742 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.747 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.747 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:37.747 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:37.747 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:44:37.747 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.751 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.751 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:37.751 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:37.751 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:44:37.751 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.756 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.756 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.756 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.757 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.757 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.757 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.757 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.757 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.757 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.758 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.759 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.762 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.764 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.764 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:37.764 libav: AVFormatContext: All info found
2022-08-24 17:44:37.765 libav: AVFormatContext: After avformat_find_stream_info() pos: 268464 bytes read:268559 seeks:0 frames:53
2022-08-24 17:44:37.765 libav: AVFormatContext: service 1 using PCR in pid=256, pcr_period=0ms
2022-08-24 17:44:37.765 libav: AVFormatContext: muxrate VBR, 
2022-08-24 17:44:37.765 libav: AVFormatContext: sdt every 500 ms, pat/pmt every 100 ms
2022-08-24 17:44:37.767 libav: AVCodecContext: ct_type:0 pic_struct:0

...

2022-08-24 17:44:48.278 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:50.185 subscription: 010C: service instance is bad, reason: No input detected
2022-08-24 17:44:52.165 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:52.166 libav: AVIOContext: Statistics: 10941717 bytes read, 0 seeks
2022-08-24 17:44:52.168 tvhpoll: epoll del failed [Bad file descriptor]
2022-08-24 17:44:52.172 mpegts: playlist - Sky Sports F1 (UK) (STB Proxy) in STB Proxy - tuning on IPTV #2
2022-08-24 17:44:52.172 libav: AVFormatContext: Opening 'http://10.0.1.200:8084/play/411b77650e174ce4a2478608e4d6a133/47785' for reading
2022-08-24 17:44:52.172 libav: URLContext: Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy,data'
2022-08-24 17:44:52.172 libav: URLContext: Original list of addresses:
2022-08-24 17:44:52.172 libav: URLContext: Address 10.0.1.200 port 8084
2022-08-24 17:44:52.172 libav: URLContext: Interleaved list of addresses:
2022-08-24 17:44:52.172 libav: URLContext: Address 10.0.1.200 port 8084
2022-08-24 17:44:52.172 libav: URLContext: Starting connection attempt to 10.0.1.200 port 8084
2022-08-24 17:44:52.172 subscription: 010C: "10.0.1.12 [  | Kodi Media Center ]" subscribing on channel "Sky Sports F1 (UK) (STB Proxy)", weight: 100, adapter: "IPTV #2", network: "STB Proxy", mux: "playlist - Sky Sports F1 (UK) (STB Proxy)", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="10.0.1.12", username="10.0.1.12", client="Kodi Media Center" 
2022-08-24 17:44:52.173 libav: URLContext: Successfully connected to 10.0.1.200 port 8084
2022-08-24 17:44:52.173 libav: URLContext: request: GET /play/411b77650e174ce4a2478608e4d6a133/47785 HTTP/1.1
User-Agent: Lavf/58.76.100
Accept: */*
Range: bytes=0-
Connection: close
Host: 10.0.1.200:8084
Icy-MetaData: 1

2022-08-24 17:44:55.513 libav: AVFormatContext: Format mpegts probed with size=2048 and score=50
2022-08-24 17:44:55.513 libav: AVFormatContext: stream=0 stream_type=1b pid=100 prog_reg_desc=
2022-08-24 17:44:55.513 libav: AVFormatContext: stream=1 stream_type=f pid=101 prog_reg_desc=
2022-08-24 17:44:55.513 libav: AVFormatContext: Before avformat_find_stream_info() pos: 0 bytes read:2085 seeks:0 nb_streams:2
2022-08-24 17:44:55.514 libav: AVFormatContext: All programs have pmt, headers found
2022-08-24 17:44:55.523 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.524 libav: AVBSFContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:55.524 libav: AVBSFContext: nal_unit_type: 7(SPS), nal_ref_idc: 3
2022-08-24 17:44:55.524 libav: AVBSFContext: nal_unit_type: 8(PPS), nal_ref_idc: 3
2022-08-24 17:44:55.524 libav: AVBSFContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:55.524 libav: AVBSFContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:55.524 libav: AVBSFContext: nal_unit_type: 5(IDR), nal_ref_idc: 3
2022-08-24 17:44:55.524 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:55.524 libav: AVCodecContext: nal_unit_type: 7(SPS), nal_ref_idc: 3
2022-08-24 17:44:55.524 libav: AVCodecContext: nal_unit_type: 8(PPS), nal_ref_idc: 3
2022-08-24 17:44:55.524 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:55.524 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:55.524 libav: AVCodecContext: nal_unit_type: 5(IDR), nal_ref_idc: 3
2022-08-24 17:44:55.524 libav: AVCodecContext: Format yuv420p chosen by get_format().
2022-08-24 17:44:55.524 libav: AVCodecContext: Reinit context to 1280x720, pix_fmt: yuv420p
2022-08-24 17:44:55.526 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.537 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.537 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:55.537 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:55.537 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:44:55.539 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.544 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.544 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:55.544 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:55.544 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:44:55.544 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.549 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.549 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:55.549 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:55.549 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:44:55.549 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.554 libav: AVFormatContext: probing stream 1 pp:2500
2022-08-24 17:44:55.554 libav: AVFormatContext: Probe with size=2816, packets=1 detected aac with score=51
2022-08-24 17:44:55.554 libav: AVFormatContext: probed stream 1
2022-08-24 17:44:55.555 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.555 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:55.555 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:55.556 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:44:55.556 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.561 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.561 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:55.561 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:55.561 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:44:55.561 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.563 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.563 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:44:55.563 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:44:55.563 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:44:55.563 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.569 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.569 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.569 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.570 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.570 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.570 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.570 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.571 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.571 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.571 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.571 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.573 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.577 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.580 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:44:55.580 libav: AVFormatContext: All info found
2022-08-24 17:44:55.581 libav: AVFormatContext: After avformat_find_stream_info() pos: 300048 bytes read:300206 seeks:0 frames:53
2022-08-24 17:44:55.581 libav: AVFormatContext: service 1 using PCR in pid=256, pcr_period=0ms
2022-08-24 17:44:55.581 libav: AVFormatContext: muxrate VBR, 
2022-08-24 17:44:55.581 libav: AVFormatContext: sdt every 500 ms, pat/pmt every 100 ms
2022-08-24 17:44:55.583 libav: AVCodecContext: ct_type:0 pic_struct:0

...

2022-08-24 17:45:05.608 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:08.147 subscription: 010C: service instance is bad, reason: No input detected
2022-08-24 17:45:09.468 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:09.469 libav: AVIOContext: Statistics: 13833426 bytes read, 0 seeks
2022-08-24 17:45:09.471 tvhpoll: epoll del failed [Bad file descriptor]
2022-08-24 17:45:09.471 mpegts: playlist - Sky Sports F1 (UK) (STB Proxy) in STB Proxy - tuning on IPTV #3
2022-08-24 17:45:09.471 libav: AVFormatContext: Opening 'http://10.0.1.200:8084/play/411b77650e174ce4a2478608e4d6a133/47785' for reading
2022-08-24 17:45:09.471 subscription: 010C: "10.0.1.12 [  | Kodi Media Center ]" subscribing on channel "Sky Sports F1 (UK) (STB Proxy)", weight: 100, adapter: "IPTV #3", network: "STB Proxy", mux: "playlist - Sky Sports F1 (UK) (STB Proxy)", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="10.0.1.12", username="10.0.1.12", client="Kodi Media Center" 
2022-08-24 17:45:09.472 libav: URLContext: Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy,data'
2022-08-24 17:45:09.472 libav: URLContext: Original list of addresses:
2022-08-24 17:45:09.472 libav: URLContext: Address 10.0.1.200 port 8084
2022-08-24 17:45:09.472 libav: URLContext: Interleaved list of addresses:
2022-08-24 17:45:09.472 libav: URLContext: Address 10.0.1.200 port 8084
2022-08-24 17:45:09.472 libav: URLContext: Starting connection attempt to 10.0.1.200 port 8084
2022-08-24 17:45:09.472 libav: URLContext: Successfully connected to 10.0.1.200 port 8084
2022-08-24 17:45:09.472 libav: URLContext: request: GET /play/411b77650e174ce4a2478608e4d6a133/47785 HTTP/1.1
User-Agent: Lavf/58.76.100
Accept: */*
Range: bytes=0-
Connection: close
Host: 10.0.1.200:8084
Icy-MetaData: 1

2022-08-24 17:45:13.387 libav: AVFormatContext: Format mpegts probed with size=2048 and score=50
2022-08-24 17:45:13.388 libav: AVFormatContext: stream=0 stream_type=1b pid=100 prog_reg_desc=
2022-08-24 17:45:13.388 libav: AVFormatContext: stream=1 stream_type=f pid=101 prog_reg_desc=
2022-08-24 17:45:13.388 libav: AVFormatContext: Before avformat_find_stream_info() pos: 0 bytes read:2054 seeks:0 nb_streams:2
2022-08-24 17:45:13.389 libav: AVFormatContext: All programs have pmt, headers found
2022-08-24 17:45:13.399 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.400 libav: AVBSFContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:13.400 libav: AVBSFContext: nal_unit_type: 7(SPS), nal_ref_idc: 3
2022-08-24 17:45:13.400 libav: AVBSFContext: nal_unit_type: 8(PPS), nal_ref_idc: 3
2022-08-24 17:45:13.400 libav: AVBSFContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:13.400 libav: AVBSFContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:13.400 libav: AVBSFContext: nal_unit_type: 5(IDR), nal_ref_idc: 3
2022-08-24 17:45:13.400 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:13.400 libav: AVCodecContext: nal_unit_type: 7(SPS), nal_ref_idc: 3
2022-08-24 17:45:13.400 libav: AVCodecContext: nal_unit_type: 8(PPS), nal_ref_idc: 3
2022-08-24 17:45:13.400 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:13.400 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:13.400 libav: AVCodecContext: nal_unit_type: 5(IDR), nal_ref_idc: 3
2022-08-24 17:45:13.400 libav: AVCodecContext: Format yuv420p chosen by get_format().
2022-08-24 17:45:13.400 libav: AVCodecContext: Reinit context to 1280x720, pix_fmt: yuv420p
2022-08-24 17:45:13.402 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.413 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.413 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:13.413 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:13.413 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:13.415 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.417 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.417 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:13.417 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:13.418 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:13.418 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.420 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.420 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:13.420 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:13.420 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:13.420 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.425 libav: AVFormatContext: probing stream 1 pp:2500
2022-08-24 17:45:13.425 libav: AVFormatContext: Probe with size=2689, packets=1 detected aac with score=51
2022-08-24 17:45:13.425 libav: AVFormatContext: probed stream 1
2022-08-24 17:45:13.426 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.426 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:13.426 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:13.426 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:13.426 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.430 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.431 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:13.431 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:13.431 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:13.431 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.434 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.434 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:13.434 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:13.434 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:13.434 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.443 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.443 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.443 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.443 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.443 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.443 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.444 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.444 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.446 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.447 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.449 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.450 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.452 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.452 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:13.452 libav: AVFormatContext: All info found
2022-08-24 17:45:13.454 libav: AVFormatContext: After avformat_find_stream_info() pos: 281812 bytes read:282095 seeks:0 frames:52
2022-08-24 17:45:13.454 libav: AVFormatContext: service 1 using PCR in pid=256, pcr_period=0ms
2022-08-24 17:45:13.454 libav: AVFormatContext: muxrate VBR, 
2022-08-24 17:45:13.454 libav: AVFormatContext: sdt every 500 ms, pat/pmt every 100 ms
2022-08-24 17:45:13.456 libav: AVCodecContext: ct_type:0 pic_struct:0

...

2022-08-24 17:45:21.811 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:25.465 subscription: 010C: service instance is bad, reason: No input detected
2022-08-24 17:45:25.630 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:25.631 libav: AVIOContext: Statistics: 11016355 bytes read, 0 seeks
2022-08-24 17:45:25.632 tvhpoll: epoll del failed [Bad file descriptor]
2022-08-24 17:45:25.632 mpegts: playlist - Sky Sports F1 (UK) (STB Proxy) in STB Proxy - tuning on IPTV #4
2022-08-24 17:45:25.632 libav: AVFormatContext: Opening 'http://10.0.1.200:8084/play/411b77650e174ce4a2478608e4d6a133/47785' for reading
2022-08-24 17:45:25.632 subscription: 010C: "10.0.1.12 [  | Kodi Media Center ]" subscribing on channel "Sky Sports F1 (UK) (STB Proxy)", weight: 100, adapter: "IPTV #4", network: "STB Proxy", mux: "playlist - Sky Sports F1 (UK) (STB Proxy)", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="10.0.1.12", username="10.0.1.12", client="Kodi Media Center" 
2022-08-24 17:45:25.632 libav: URLContext: Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy,data'
2022-08-24 17:45:25.632 libav: URLContext: Original list of addresses:
2022-08-24 17:45:25.632 libav: URLContext: Address 10.0.1.200 port 8084
2022-08-24 17:45:25.632 libav: URLContext: Interleaved list of addresses:
2022-08-24 17:45:25.632 libav: URLContext: Address 10.0.1.200 port 8084
2022-08-24 17:45:25.632 libav: URLContext: Starting connection attempt to 10.0.1.200 port 8084
2022-08-24 17:45:25.633 libav: URLContext: Successfully connected to 10.0.1.200 port 8084
2022-08-24 17:45:25.633 libav: URLContext: request: GET /play/411b77650e174ce4a2478608e4d6a133/47785 HTTP/1.1
User-Agent: Lavf/58.76.100
Accept: */*
Range: bytes=0-
Connection: close
Host: 10.0.1.200:8084
Icy-MetaData: 1

2022-08-24 17:45:29.956 libav: AVFormatContext: Format mpegts probed with size=2048 and score=50
2022-08-24 17:45:29.957 libav: AVFormatContext: stream=0 stream_type=1b pid=100 prog_reg_desc=
2022-08-24 17:45:29.957 libav: AVFormatContext: stream=1 stream_type=f pid=101 prog_reg_desc=
2022-08-24 17:45:29.957 libav: AVFormatContext: Before avformat_find_stream_info() pos: 0 bytes read:2181 seeks:0 nb_streams:2
2022-08-24 17:45:29.958 libav: AVFormatContext: All programs have pmt, headers found
2022-08-24 17:45:29.980 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:29.980 libav: AVBSFContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:29.980 libav: AVBSFContext: nal_unit_type: 7(SPS), nal_ref_idc: 3
2022-08-24 17:45:29.980 libav: AVBSFContext: nal_unit_type: 8(PPS), nal_ref_idc: 3
2022-08-24 17:45:29.980 libav: AVBSFContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:29.980 libav: AVBSFContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:29.980 libav: AVBSFContext: nal_unit_type: 5(IDR), nal_ref_idc: 3
2022-08-24 17:45:29.981 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:29.981 libav: AVCodecContext: nal_unit_type: 7(SPS), nal_ref_idc: 3
2022-08-24 17:45:29.981 libav: AVCodecContext: nal_unit_type: 8(PPS), nal_ref_idc: 3
2022-08-24 17:45:29.981 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:29.981 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:29.981 libav: AVCodecContext: nal_unit_type: 5(IDR), nal_ref_idc: 3
2022-08-24 17:45:29.981 libav: AVCodecContext: Format yuv420p chosen by get_format().
2022-08-24 17:45:29.981 libav: AVCodecContext: Reinit context to 1280x720, pix_fmt: yuv420p
2022-08-24 17:45:29.983 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:29.999 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:29.999 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:29.999 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:29.999 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:30.001 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.006 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.006 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:30.006 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:30.006 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:30.006 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.011 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.011 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:30.011 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:30.011 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:30.011 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.013 libav: AVFormatContext: probing stream 1 pp:2500
2022-08-24 17:45:30.013 libav: AVFormatContext: Probe with size=2734, packets=1 detected aac with score=51
2022-08-24 17:45:30.013 libav: AVFormatContext: probed stream 1
2022-08-24 17:45:30.014 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.014 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:30.014 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:30.014 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:30.014 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.019 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.019 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:30.019 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:30.019 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:30.020 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.025 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.025 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:30.025 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:30.025 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:30.025 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.031 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.031 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.031 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.031 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.032 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.032 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.032 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.032 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.032 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.033 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.034 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.038 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.040 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.040 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:30.040 libav: AVFormatContext: All info found
2022-08-24 17:45:30.041 libav: AVFormatContext: After avformat_find_stream_info() pos: 321668 bytes read:321781 seeks:0 frames:53
2022-08-24 17:45:30.042 libav: AVFormatContext: service 1 using PCR in pid=256, pcr_period=0ms
2022-08-24 17:45:30.042 libav: AVFormatContext: muxrate VBR, 
2022-08-24 17:45:30.042 libav: AVFormatContext: sdt every 500 ms, pat/pmt every 100 ms
2022-08-24 17:45:30.043 libav: AVCodecContext: ct_type:0 pic_struct:0

...

2022-08-24 17:45:37.412 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:41.582 subscription: 010C: service instance is bad, reason: No input detected
2022-08-24 17:45:43.114 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:43.114 libav: AVIOContext: Statistics: 10936367 bytes read, 0 seeks
2022-08-24 17:45:43.116 tvhpoll: epoll del failed [Bad file descriptor]
2022-08-24 17:45:43.116 mpegts: playlist - Sky Sports F1 (UK) (STB Proxy) in STB Proxy - tuning on IPTV #5
2022-08-24 17:45:43.116 libav: AVFormatContext: Opening 'http://10.0.1.200:8084/play/411b77650e174ce4a2478608e4d6a133/47785' for reading
2022-08-24 17:45:43.117 libav: URLContext: Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy,data'
2022-08-24 17:45:43.117 subscription: 010C: "10.0.1.12 [  | Kodi Media Center ]" subscribing on channel "Sky Sports F1 (UK) (STB Proxy)", weight: 100, adapter: "IPTV #5", network: "STB Proxy", mux: "playlist - Sky Sports F1 (UK) (STB Proxy)", provider: "FFmpeg", service: "Service01", profile="htsp", hostname="10.0.1.12", username="10.0.1.12", client="Kodi Media Center" 
2022-08-24 17:45:43.117 libav: URLContext: Original list of addresses:
2022-08-24 17:45:43.117 libav: URLContext: Address 10.0.1.200 port 8084
2022-08-24 17:45:43.117 libav: URLContext: Interleaved list of addresses:
2022-08-24 17:45:43.117 libav: URLContext: Address 10.0.1.200 port 8084
2022-08-24 17:45:43.117 libav: URLContext: Starting connection attempt to 10.0.1.200 port 8084
2022-08-24 17:45:43.117 libav: URLContext: Successfully connected to 10.0.1.200 port 8084
2022-08-24 17:45:43.117 libav: URLContext: request: GET /play/411b77650e174ce4a2478608e4d6a133/47785 HTTP/1.1
User-Agent: Lavf/58.76.100
Accept: */*
Range: bytes=0-
Connection: close
Host: 10.0.1.200:8084
Icy-MetaData: 1

2022-08-24 17:45:46.850 libav: AVFormatContext: Format mpegts probed with size=2048 and score=50
2022-08-24 17:45:46.850 libav: AVFormatContext: stream=0 stream_type=1b pid=100 prog_reg_desc=
2022-08-24 17:45:46.850 libav: AVFormatContext: stream=1 stream_type=f pid=101 prog_reg_desc=
2022-08-24 17:45:46.850 libav: AVFormatContext: Before avformat_find_stream_info() pos: 0 bytes read:2111 seeks:0 nb_streams:2
2022-08-24 17:45:46.850 libav: AVFormatContext: All programs have pmt, headers found
2022-08-24 17:45:46.860 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.861 libav: AVBSFContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:46.861 libav: AVBSFContext: nal_unit_type: 7(SPS), nal_ref_idc: 3
2022-08-24 17:45:46.861 libav: AVBSFContext: nal_unit_type: 8(PPS), nal_ref_idc: 3
2022-08-24 17:45:46.861 libav: AVBSFContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:46.861 libav: AVBSFContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:46.861 libav: AVBSFContext: nal_unit_type: 5(IDR), nal_ref_idc: 3
2022-08-24 17:45:46.861 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:46.861 libav: AVCodecContext: nal_unit_type: 7(SPS), nal_ref_idc: 3
2022-08-24 17:45:46.861 libav: AVCodecContext: nal_unit_type: 8(PPS), nal_ref_idc: 3
2022-08-24 17:45:46.861 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:46.861 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:46.861 libav: AVCodecContext: nal_unit_type: 5(IDR), nal_ref_idc: 3
2022-08-24 17:45:46.861 libav: AVCodecContext: Format yuv420p chosen by get_format().
2022-08-24 17:45:46.861 libav: AVCodecContext: Reinit context to 1280x720, pix_fmt: yuv420p
2022-08-24 17:45:46.863 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.875 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.875 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:46.875 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:46.875 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:46.877 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.882 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.882 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:46.882 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:46.882 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:46.882 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.888 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.888 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:46.888 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:46.888 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:46.888 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.893 libav: AVFormatContext: probing stream 1 pp:2500
2022-08-24 17:45:46.894 libav: AVFormatContext: Probe with size=2631, packets=1 detected aac with score=51
2022-08-24 17:45:46.894 libav: AVFormatContext: probed stream 1
2022-08-24 17:45:46.895 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.895 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:46.895 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:46.895 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:46.895 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.900 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.901 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:46.901 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:46.901 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:46.901 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.902 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.902 libav: AVCodecContext: nal_unit_type: 9(AUD), nal_ref_idc: 0
2022-08-24 17:45:46.902 libav: AVCodecContext: nal_unit_type: 6(SEI), nal_ref_idc: 0
2022-08-24 17:45:46.902 libav: AVCodecContext: nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
2022-08-24 17:45:46.902 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.907 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.907 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.908 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.908 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.908 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.908 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.908 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.908 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.909 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.909 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.909 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.909 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.909 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.909 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:46.909 libav: AVFormatContext: All info found
2022-08-24 17:45:46.910 libav: AVFormatContext: After avformat_find_stream_info() pos: 274480 bytes read:274919 seeks:0 frames:51
2022-08-24 17:45:46.910 libav: AVFormatContext: service 1 using PCR in pid=256, pcr_period=0ms
2022-08-24 17:45:46.910 libav: AVFormatContext: muxrate VBR, 
2022-08-24 17:45:46.910 libav: AVFormatContext: sdt every 500 ms, pat/pmt every 100 ms
2022-08-24 17:45:46.913 libav: AVCodecContext: ct_type:0 pic_struct:0

...

2022-08-24 17:45:51.218 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:45:51.219 tsfix: transport stream H264, DTS discontinuity. DTS = 750000, last = 0
2022-08-24 17:45:51.219 libav: AVCodecContext: ct_type:0 pic_struct:0

...

2022-08-24 17:46:17.532 libav: AVCodecContext: ct_type:0 pic_struct:0
2022-08-24 17:46:18.370 subscription: 010C: "10.0.1.12 [  | Kodi Media Center ]" unsubscribing from "Sky Sports F1 (UK) (STB Proxy)", hostname="10.0.1.12", username="10.0.1.12", client="Kodi Media Center" 

Does anyone know what is causing this?
Thanks,
Chris


Replies (11)

RE: Problems with av library? - Added by saen acro about 2 years ago

What stream type you use?
HTTP-TS, HLS, RTSP, UDP or other
What version of TVH and what parameters was used on compilation.

Guess same result with FFPROBE

RE: Problems with av library? - Added by Chris G about 2 years ago

Streams could be of any type. I simply restream them using ffmpeg with the command...

ffmpeg -loglevel panic -hide_banner -http_proxy *proxy* -i *link* -vcodec copy -acodec copy -f mpegts pipe:

Here is the small app I made. https://github.com/Chris230291/STB-Proxy

Like I said I use the linuxserver.io docker image. https://github.com/linuxserver/docker-tvheadend

ffprobe seems to have no issues...

Input #0, mpegts, from 'http://10.0.1.200:8084/play/411b77650e174ce4a2478608e4d6a133/47785':
  Duration: N/A, start: 1.400000, bitrate: N/A
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
  Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn
  Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 131 kb/s

RE: Problems with av library? - Added by saen acro about 2 years ago

Is there a good reason to bother with docker?
The native app always works better.

when I see something as this

 make -j 2 && \

instead of this
make -j$(nproc) && \

is clear that someone is learning how to compile

RE: Problems with av library? - Added by Chris G about 2 years ago

Docker is just my preference. I have all my server software in docker containers. The base OS is bare.
Assuming it is a Docker problem, do you think we could try and fix it?

RE: Problems with av library? - Added by saen acro about 2 years ago

Docker is one crap pseudo virtualization/sandboxing,
search how to minimize network interference in container NAT

RE: Problems with av library? - Added by Chris G about 2 years ago

I wonder why my streams require the av library to play at all? What ffmpeg command is needed to play without it?

RE: Problems with av library? - Added by saen acro about 2 years ago

Chris G wrote:

I wonder why my streams require the av library to play at all? What ffmpeg command is needed to play without it?

You want to know is it HD or SD,
is it have or no EPG in stream,
what content type and codec use etc.

RE: Problems with av library? - Added by Chris G about 2 years ago

I do not know what the input stream into my ffmpeg command could be. It can change from stream to stream.
I want a one-size-fits-all command to ensure the output is tvheadend compatible without the need for the av library.

RE: Problems with av library? - Added by Chris G about 2 years ago

Thanks for the links.

I wonder what this means?

Could not find codec parameters for stream 0 (Video: h264, 1 reference frame ([27][0][0][0] / 0x001B), none(left)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options

Is this something that can be increased by me or does it have to be done in the source?

RE: Problems with av library? - Added by Chris G about 2 years ago

I should also add that it isn't a docker issue.
The same thing happens when I installed TVH natively following the documentation on Ubuntu server.

    (1-11/11)