Project

General

Profile

What is required for the AV library to not be needed?

Added by Chris G 27 days ago

If I am using ffmpeg to restream streams in a project.
What codecs, flags etc are required for TVHeadend to play the streams without needing the AV library?

Right now I am using...


ffmpeg -loglevel panic -hide_banner -i *URL* -vcodec copy -acodec copy -f mpegts pipe:

ffprobe on the output of the above stream...


  Duration: N/A, start: 1.416000, bitrate: N/A
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
  Stream #0:0[0x100]: Video: hevc (Main) (HEVC / 0x43564548), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn
  Stream #0:1[0x101]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s

I have tried using the libx264 video codec, but that doesn't help...


  Duration: N/A, start: 1.400000, bitrate: N/A
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
  Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn
  Stream #0:1[0x101]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s

What is required to make TVHeadend happy with the stream and not require the AV library?

Thanks,
Chris


Replies (3)

RE: What is required for the AV library to not be needed? - Added by saen acro 27 days ago

It's not clear how you try to play stream.
With which modules is compiled TVH?


AC3 format is not capable with HTML5 specs, to play it in browser.
Same is H265.

RE: What is required for the AV library to not be needed? - Added by Chris G 23 days ago

I have a small app that restreams streams using ffmpeg.
The app generates a m3u playlist.
I add this playlist in TVH.
However I am unable to get the streams to work without using the AV library.
I would like to output a TVH compatible stream from my app instead of using the AV library.
VLC has no problems playing any of the streams.
I am using the latest linuxserver.io docker image.
I am using Kodi 19.4.0 with the TVH plugin to play on Windows 11 PC.

EDIT: Those outputs I posted are from ffprobe connecting directly to one of my apps streams.

RE: What is required for the AV library to not be needed? - Added by saen acro 23 days ago

If TVH is build corectly it include this library buildin

You can see included libraries in About page (togle details).

    (1-3/3)