-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RTMP publishing fails with "invalid body size"/"invalid message type: 255" #4006
Comments
Using
|
Thanks for reporting the RTMP issue, this is fixed by #4018. |
Awesome, thank you. Instead of immediately opening another issue: is it possible to remux ERTMP containing AV1 to mpegts/HTTP-FLV with this software, already? If not, I'll open a ticket for this. Thanks! |
AV1 cannot be muxed into MPEG-TS since the specification to do it is currently not implemented by any player, therefore implementing it inside the server would be useless. It can be muxed into fMP4 though, so you can mux AV1 into HLS+fMP4. |
It is, though :) Edit: I guess mpegts.js uses the draft. |
@pannal glad to hear that something is moving in the right direction, unfortunately FFmpeg, GStreamer and VLC are still missing this ability. We can evaluate the situation again in some months. Anyway, when player support improves, we will add the ability to carry AV1 tracks with SRT+MPEG-TS, not with HTTP+MPEG-TS. We already support shipping AV1 to browsers through HLS+fMP4 and through WebRTC, and HTTP or FLV have no advantages over them. |
Awesome, thank you. I think focusing on SRT as a protocol for delivering AV1 is fine - why ignore the Enhanced RTMP V2 spec, though? Or am I misunderstanding here. |
We already support shipping AV1 with enhanced RTMP :D I know that the specification was recently updated and we are missing the last bits but they will be added. |
Ah. Well, if you're talking about HTTP-FLV/MPEGTS for for example mpegts.js, I'd make a strong argument for AV1 here as well, simply for ease of use. Having to implement hls.js besides mpegts.js might be a hassle for the users. Additionally, sub-1-second live-streaming is still an advantage of HTTP-FLV/MPEGTS over HLS-LL to my knowledge. Edit: Also why wouldn't you, if you internally already handle AV1 in MPEGTS? Or, again, am I misunderstanding your point? |
Sorry, I'm a little confused now :D |
This issue is mentioned in release v1.11.0 🚀 |
Which version are you using?
1.10.0
Which operating system are you using?
Linux amd64 Docker
Describe how to replicate the issue
-c:v h264_vaapi -b:v 14M -rc_mode CBR -map 0:0 -map 0:1 -c:a aac -b:a 128k -v verbose -f mpegts rtmp://ip:port/path
This happens with either
h264_vaapi
hevc_vaapi
andlibx264
.Server logs
Network dump
No response
The text was updated successfully, but these errors were encountered: