iEvgeny / cctv-viewer

CCTV Viewer - viewer and mounter video streams.
GNU General Public License v3.0
129 stars 19 forks source link

Avformat Display CEA-608 .ts substream 0:1 #85

Open asctime opened 5 months ago

asctime commented 5 months ago

My avcodec includes subtitle support but I can't work out the right avformat option to include EIA-608 CC for HLS .ts, like this:

Input #0, hls,applehttp, from 'https://localtest/demo.m3u8':
  Duration: N/A, start: 28371.114933, bitrate: N/A
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 768x432 [SAR 1:1 DAR 16:9], Closed Captions, 30 fps, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0

Any ideas would be great. Have a good day!

iEvgeny commented 5 months ago

CCTV Viewer does not currently support subtitle rendering.