FFMPEG not streaming WEBVTT subtitles from live stream

  • I can't get ffmpeg to display subtitles from a Free To Air live IPTV stream - and I think it may be ffmpeg version related.


    Setup is LibreELEC 12.2.0 on RPi4, running TVHeadend 4.3 and TVHeadend client. FFMPEG-tools addon (12.2.0.1)

    If I play a live stream (HLS) via TVHeadend I can't get the subtitles exposed (TvHead is using pipe ffmpeg output) (VLC will display the subtitles from the stream)

    No errors - there's just no subtitle track available to choose in player.

    I found this ffmpeg defect that appears to match https://trac.ffmpeg.org/ticket/7337

    but it says it was fixed 5 months ago, but I can't determine if this fix is in the version currently used in the FFMPEG-Tools addon (which shows ffmpeg v7.1.1)

    1) Has anyone got FFMPEG displaying live subtitles from IPTV streams?

    2) Is there a way to know if the defect is included in the current ffmpeg version built in FFMPEG-Tools addon?

    3) Should I be heading in a different direction to figue out how to get the subtitles exposed?

    Thanks.

  • The trac ticket is referring to https://code.ffmpeg.org/FFmpeg/FFmpeg/…ac5c69aa1cffffb and a few follow-up commits. This was merged for ffmpeg 8.0 so it will not be in current LE images which use 7.1; we are waiting on an update of v4l2_request support patches for ffmpeg 8.0 to be completed, and then we will bump to 8.0. I am hoping to see patches submitted this week, but the contributor responsible has a history of optimism on dates, so no promises :)