Skip to content

Conversation

@noituri
Copy link
Member

@noituri noituri commented Nov 17, 2025

Depends on:

In this PR I added access unit splitter for ffmpeg_h264 decoder.

The access units are checked for missing frames. It only checks the frame nums of nalus and will not work if multiple nalus have the same frame num.

The buffering in the depayloader was disabled because its access unit detection will not work if marker packet is lost

@noituri noituri self-assigned this Nov 17, 2025
@noituri noituri force-pushed the @noituri/detect-missed-frames branch 2 times, most recently from 47c2b1b to ad08d8c Compare November 19, 2025 12:53
@noituri noituri marked this pull request as ready for review November 19, 2025 13:00
Comment on lines 59 to 62
Err(err) => {
warn!("Dropping frame: {}", err);
debug!("H264 AU splitter could not process the chunks: {err}");
return Vec::new();
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if no frames are returned DynamicVideoDecoderStream will request a keyframe. I don't like that but this will probably be refactored later anyway so I'll leave it as it is

@noituri noituri force-pushed the @noituri/detect-missed-frames branch 9 times, most recently from 57bbf0e to affa09c Compare November 20, 2025 15:01
@noituri noituri force-pushed the @noituri/detect-missed-frames branch from affa09c to a259210 Compare November 20, 2025 15:01
@wkozyra95
Copy link
Member

merged in #1545

@wkozyra95 wkozyra95 closed this Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants