-
Notifications
You must be signed in to change notification settings - Fork 49
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
Support for B-frames in decode order #61
Comments
Interesting! What's the make/model? I've never seen this before. I'm sure I have
Yeah that seems wrong. It's supposed to say this only for certain live555 versions. |
It's an AXIS Q3536-LVE, but basically any Axis camera with their latest SoC should work.
Same! FWIW it seems like FFmpeg struggles a bit with the stream as well I can provide a Wireshark capture if you'd be interested, but AFAICT it's just sending video packets in decode order, with the RTP time indicating when it should be presented. It should be identical to how H.264/H.265 is stored in Matroska files. |
Good news: I think I can reproduce this behavior with open source software rather than having to buy a camera. That will help with implementation.
Bad news: I'm confused about (or maybe just disappointed by) how this works:
|
Yes, please, I think that would be helpful, just in case it is doing something differently than in my ffmpeg scenario. E.g. maybe it conveys the intended DTS via a RTP extension or something. I believe MPEG-TS conveys both DTS and PTS. (See spec, Table 2-21, |
I think RTP really doesn't. There's an expired draft for conveying the dts via an RTP extension, but afaik no one has implemented it. Curid's PR #81 adds support for inferring the DTS for H.264 by copying the approach used by |
I made a docker B-frame test stream.
Image source
The WebRTC example doesn't work for me on any branch, but it may work for you with some tweaking. The mp4 muxer in the client example would need major changes to support B-frames. |
I have a IP camera that supports B-frames. Running the client example doesn't seem to support non-monotonic timestamps:
Not sure what the warning about TCP is about
The text was updated successfully, but these errors were encountered: