Skip to content

Instantly share code, notes, and snippets.

@Manouchehri
Last active April 18, 2022 17:48
Show Gist options
  • Save Manouchehri/1b8a7aa5c46ce05cfdbd54cf66e8eb2f to your computer and use it in GitHub Desktop.
Save Manouchehri/1b8a7aa5c46ce05cfdbd54cf66e8eb2f to your computer and use it in GitHub Desktop.
ffmpeg -y -raw_format yuv422p10 -timecode_format rp188any -video_input hdmi -f decklink -i 'UltraStudio Recorder 3G' -c:a aac_at -c:v hevc_videotoolbox -profile:v main10 -realtime:v true -b:v 8M -aac_at_mode cbr -b:a 256K -color_primaries bt2020 -color_trc arib-std-b67 -color_range tv -colorspace bt2020_ncl -movflags frag_keyframe+empty_moov -tag:v hvc1 -f hls -hls_time 1 -hls_list_size 4 -hls_allow_cache 0 -hls_segment_options mpegts_flags=+pat_pmt_at_frames+resend_headers -hls_flags delete_segments+append_list -http_persistent 1 -method POST 'https://a.upload.youtube.com/http_upload_hls?cid=KEYHERE&copy=0&file=master.m3u8'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment