Project

General

Profile

streamlink and BBC channels

Added by Glen Davies over 1 year ago

I've been attempting to set up BBC ip streams with streamlink.

I have installed streamlink, successfully run streamlink from the CLI, but am having problems with output from TVH.

Has anyone currently setup streamlink with TVH and BBC channels that can help?

Streamlink works with youtube streams inside TVH, but I suspect that I have an issue with the ffmpeg config.

This is the tutorial I have followed:

https://tvheadend.org/boards/5/topics/35658


Replies (1)

RE: streamlink and BBC channels - Added by Glen Davies over 1 year ago

Further testing done:

root@battersea:/opt# streamlink https://www.bbc.co.uk/iplayer/live/bbcone best | ffmpeg -i pipe:0 -vcodec copy -acodec copy -mpegts_service_type advanced_codec_digital_hdtv -f mpegts pipe:1
ffmpeg version 5.1.3 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12.2.1 (Alpine 12.2.1_git20220924-r4) 20220924
configuration: --prefix=/usr --enable-avfilter --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gnutls --enable-gpl --enable-libass --enable-libmp3lame --enable-libpulse --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-libx265 --enable-libtheora --enable-libv4l2 --enable-libdav1d --enable-lto --enable-postproc --enable-pic --enable-pthreads --enable-shared --enable-libxcb --enable-librist --enable-libsrt --enable-libssh --enable-libvidstab --disable-stripping --disable-static --disable-librtmp --disable-lzma --enable-libaom --enable-libopus --enable-libsoxr --enable-libwebp --enable-vaapi --enable-vdpau --enable-vulkan --enable-libdrm --enable-libzmq --optflags=-O2 --disable-debug --enable-libsvtav1
libavutil 57. 28.100 / 57. 28.100
libavcodec 59. 37.100 / 59. 37.100
libavformat 59. 27.100 / 59. 27.100
libavdevice 59. 7.100 / 59. 7.100
libavfilter 8. 44.100 / 8. 44.100
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
[lrc
0x7f9495ba1100] Format lrc detected only with low score of 5, misdetection possible!
Input #0, lrc, from 'pipe:0':
Metadata:
plugins.bbciplayer: https://www.bbc.co.uk/iplayer/help/tvlicence
:
cli : 720p (hls)
:
Duration: N/A, bitrate: N/A
Stream #0:0: Subtitle: text
Output #0, mpegts, to 'pipe:1':
Output file #0 does not contain any stream@

    (1-1/1)