bluenviron / mediamtx

Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
12.4k stars 1.54k forks source link

HLS don't work with AMD HW AV1 #3902

Open DoM1niC opened 1 month ago

DoM1niC commented 1 month ago

Which version are you using?

main

Which operating system are you using?

Linux amd64 standard

Describe how to replicate the issue

Publish a Stream in RTMP or WHEP with AMD HW AV1 failed to get a valid HLS Stream, e.g. switch to CPU based Codec SVT-AV1 or NVENC HLS will work fine by this Codecs / Encoder.

Server logs

ERR [HLS] [muxer dom1nic] muxer error: unable to parse AV1 sequence header: timing_info_present_flag is not supported yet

Network dump

No response

DoM1niC commented 4 weeks ago

I tested it with a person who have NVENC (Nvidia), this works fine here !

curl https://*******/index.m3u8

#EXTM3U
#EXT-X-VERSION:9
#EXT-X-INDEPENDENT-SEGMENTS

#EXT-X-MEDIA:TYPE="AUDIO",GROUP-ID="audio",NAME="audio2",AUTOSELECT=YES,DEFAULT=YES,URI="audio2_stream.m3u8"

#EXT-X-STREAM-INF:BANDWIDTH=2099944,AVERAGE-BANDWIDTH=2032290,CODECS="av01.0.09M.10.0.110.01.01.01.0,mp4a.40.2",RESOLUTION=1920x1080,AUDIO="audio"
video1_stream.m3u8