Jump to content
Cesbo Community
  • Announcements

    • RadioSintetica

      Information   10/21/18

      Registration on the forum temporarily closed! For support requests, please contacat us: https://cesbo.com/help
      Our community in Telegram: @cesbo_en (English language) , @cesbo_ru (Russian language) , @cesbo_es (Spanish Language)

Search the Community

Showing results for tags 'hls dvbsub'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Forums
    • News & Announcements
    • Astra
  • Related
    • Satellites and Transponders
    • Hardware
    • Software
    • Network
  • Other
    • Off-Topic

Found 1 result

  1. Hi, The source is UDP Mpeg-TS h264 stream with video, audio and dvb_subtitle pids. FFmpeg nvdec video/audio and nvenc video/audio + mux HLS is working super. The problem is with dvb_subtitles and FFmpeg HLS mux . UDP-ts in mux=HLS out - NOT working ffmpeg -re -y -err_detect aggressive -threads 1 -thread_queue_size 1024 -hwaccel cuvid -c:v h264_cuvid -drop_second_field 1 -vsync 1 -deint 1 -timeout 4000 -i "udp://239.2.1.8:1234?fifo_size=50000000" -filter:v scale_npp=w=1920:h=1080:format=nv12:interp_algo=lanczos -c:v hevc_nvenc -gpu 0 -g 75 -profile:v main10 -preset slow -rc vbr_hq -rc-lookahead 32 -b:v 3M -c:s copy -c:a aac -f hls -hls_time 4 -hls_list_size 4 -hls_allow_cache 0 -hls_flags delete_segments -segment_list_flags +live /var/www/html/hls/etv/live.m3u8 Stream mapping: Stream #0:0 -> #0:0 (h264 (h264_cuvid) -> hevc (hevc_nvenc)) Stream #0:5 -> #0:1 (mp2 (native) -> aac (native)) Stream #0:1 -> #0:2 (copy) -c:s webvtt the same error Press [q] to stop, [?] for help [hls @ 0x435fcc0] Opening '/var/www/html/hls/etv/live0.ts' for writing [hls @ 0x435fcc0] Opening '/var/www/html/hls/etv/live0.vtt' for writing [webvtt @ 0x567e3c0] Exactly one WebVTT stream is needed. Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument UDP-ts in mux=ssegment HLS out - working ffmpeg -re -y -err_detect aggressive -threads 1 -thread_queue_size 1024 -hwaccel cuvid -c:v h264_cuvid -drop_second_field 1 -vsync 1 -deint 1 -timeout 4000 -i "udp://239.2.1.8:1234?fifo_size=50000000" -filter:v scale_npp=w=1920:h=1080:format=nv12:interp_algo=lanczos -map 0:0 -map 0:1 -map 0:5 -c:s copy -c:v hevc_nvenc -gpu 0 -g 75 -profile:v main10 -preset slow -rc vbr_hq -rc-lookahead 32 -b:v 3M -c:a aac -f ssegment -hls_flags delete_segments -segment_list_type hls -segment_list_size 4 -segment_list /var/www/html/hls/etv/playlist.m3u8 -segment_list_flags +live -segment_time 10 /var/www/html/hls/etv/out%03d.ts UDP-ts in UDP-ts out - WORKING ffmpeg -re -y -err_detect aggressive -threads 1 -thread_queue_size 1024 -hwaccel cuvid -c:v h264_cuvid -drop_second_field 1 -vsync 1 -deint 1 -timeout 4000 -i "udp://239.2.1.8:1234?fifo_size=50000000" -filter:v scale_npp=w=1920:h=1080:format=nv12:interp_algo=lanczos -c:v hevc_nvenc -gpu 0 -g 75 -profile:v main10 -preset slow -rc vbr_hq -rc-lookahead 32 -b:v 3M -c:s copy -c:a aac -f mpegts udp://239.33.2.1:1234?pkt_size=1316 We can use mux ssegment, but we cannot find a solution how to delete old segments, the hls mux has this function (-hls_flags delete_segments) Or transcode udp to upd and make HLS with Astra ? Is there any solutin (low CPU) exept subtitles "burning" like -filter_complex "[0:v][0:s]overlay[v]" -map "[v]" -map 0:a:0 --- this procedure takes a huge amount of CPU and not acceptable. Can understand if You answer in Russian Kind Regards Aleksander
×