Hello all,
I've had this issue for a while now, so it's not anything that recently broke. Some files simply do not play for me. I'm running ErsatzTV via an unraid docker. I have an nvidia GPU, but it doesn't appear to be utilized. My streaming mode is set to HLS Segmenter. I'm loading this repository - jasongdove/ersatztv:develop-nvidia. My extra parameters are set to --runtime=nvidia and my Nvidia Visible Devices is set.
Log -
12/23/2023 22:49:49 -08:00 Information Terminating HLS process for channel 149
12/23/2023 22:48:49 -08:00 Information ffmpeg hls arguments -threads 1 -nostdin -hide_banner -nostats -loglevel error -fflags +genpts+discardcorrupt+igndts -hwaccel cuda -ss 01:14:43.1305697 -c:v h264_cuvid -hwaccel_output_format cuda -readrate 1.0 -readrate_initial_burst 180 -i "/mnt/user/movies/You Don't Mess with the Zohan (720p)/You Don't Mess with the Zohan.mkv" -loop 1 -i /root/.local/share/ersatztv/cache/artwork/logos/34/34A5AA5B38BA27564745DEE9DD7774B5 -filter_complex [0:1]loudnorm=I=-16:TP=-1.5:LRA=11,apad=whole_dur=7013472ms[a];[0:0]scale_cuda=1920:1080:format=nv12:force_original_aspect_ratio=decrease,setsar=1,hwdownload,format=nv12,pad=1920:1080:-1:-1:color=black,format=yuv420p,hwupload_cuda[v];[1:0]scale=154:-1,colorchannelmixer=aa=0.35,format=yuva420p,fade=in:st=670.9904303:d=1:alpha=1:enable='between(t,0,684.9904303)',fade=out:st=685.9904303:d=1:alpha=1:enable='between(t,671.9904303,1569.9904303)',fade=in:st=1570.9904303:d=1:alpha=1:enable='between(t,686.9904303,1584.9904303)',fade=out:st=1585.9904303:d=1:alpha=1:enable='between(t,1571.9904303,2469.9904303)',fade=in:st=2470.9904303:d=1:alpha=1:enable='between(t,1586.9904303,2484.9904303)',fade=out:st=2485.9904303:d=1:alpha=1:enable='between(t,2471.9904303,7013.472)',hwupload_cuda[wm];[v][wm]overlay_cuda=x=W-w-96:y=H-h-54[vwm];[vwm]setparams=range=tv:colorspace=bt709:color_trc=bt709:color_primaries=bt709[vpf] -map [a] -map [vpf] -muxdelay 0 -muxpreload 0 -movflags +faststart -flags cgop -sc_threshold 0 -t 00:42:10.3414303 -r 24 -vsync cfr -video_track_timescale 90000 -b:v 6000k -maxrate:v 6000k -bufsize:v 4000k -c:v h264_nvenc -c:a ac3 -ac 2 -b:a 192k -maxrate:a 192k -bufsize:a 384k -ar 48k -map_metadata -1 -metadata "service_provider=\"ErsatzTV\"" -metadata "service_name=\"2000’s\"" -metadata:s:a:0 language=eng -g 96 -keyint_min 96 -force_key_frames expr:gte(t,n_forced*4) -f hls -hls_time 4 -hls_list_size 0 -segment_list_flags +live -hls_segment_filename /root/.local/share/etv-transcode/149/live%06d.ts -hls_flags program_date_time+append_list+discont_start+omit_endlist+independent_segments -mpegts_flags +initial_discontinuity /root/.local/share/etv-transcode/149/live.m3u8
12/23/2023 22:48:49 -08:00 Information Forcing 1 ffmpeg thread when hardware acceleration is used
12/23/2023 22:48:49 -08:00 Information Normalizing frame rate for channel 149 from ["30000/1001","13978/583","24000/1001","19001/634","27069/1129","27021/1127"] to 24
12/23/2023 22:48:49 -08:00 Information Starting HLS session for channel 149
12/23/2023 22:48:49 -08:00 Information HLS segmenter will work ahead for channel 149
12/23/2023 22:48:49 -08:00 Information HLS session state: "SeekAndWorkAhead"
FFmpeg Profile:
Any ideas? Thanks!