2024-08-21, 10:43 PM
attached the complete command :-)
When forbidding transcode in user-rights I can playback this tv-channel so no transcoding needed for the specific client.
When forbidding transcode in user-rights I can playback this tv-channel so no transcoding needed for the specific client.
Code:
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 3000000 -probesize 1G -user_agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" -fflags +igndts -f mpegts -noautorotate -i "http://10.28.30.56:8001/1:0:1:2EE3:441:1:C00000:0:0:0:" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -preset superfast -crf 23 -maxrate 4899949 -bufsize 9799898 -level 0 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 "expr:gte(t,n_forced*3)" -sc_threshold:v:0 0 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale=trunc(min(max(iw\,ih*a)\,1920)/2)*2:trunc(ow/a/2)*2,format=yuv420p" -flags -global_header -codec:a:0 libfdk_aac -ac 2 -ab 256000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url "hls/0c296a02e8c8054b5dfde950ad283011/" -hls_segment_filename "/var/cache/jellyfin/transcodes/0c296a02e8c8054b5dfde950ad283011%d.ts" -hls_playlist_type event -hls_list_size 0 -y "/var/cache/jellyfin/transcodes/0c296a02e8c8054b5dfde950ad283011.m3u8"