-
Notifications
You must be signed in to change notification settings - Fork 639
Enhanced Video Codec Support and Error Handling #5825
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
Conversation
- makes sure that the GPU video decoding capabilities are not affected by codecs supported on the CPU - retains from CPU video codec initialization on the CPU for the experimental video reader Signed-off-by: Janusz Lisiecki <[email protected]>
!build |
CI MESSAGE: [24339468]: BUILD STARTED |
"vp8", | ||
"vp9", | ||
"mpeg4", | ||
] # av1 and mpeg4 are not supported by now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unclear comment: mpeg4 is listed above, av1 isn't - so what does it mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Signed-off-by: Janusz Lisiecki <[email protected]>
!build |
CI MESSAGE: [24343878]: BUILD STARTED |
Signed-off-by: Joaquin Anton Guirao <[email protected]>
CI MESSAGE: [24347657]: BUILD STARTED |
if (!FindVideoStream(init_codecs || build_index)) { | ||
return; | ||
if (build_index) { | ||
init_codecs = true; // for the sake of build_index, we need to init the codecs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain? I though that it is enough to read the packets without having the codec initialized?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, it wasn't necessary after all. I cleaned this up
CI MESSAGE: [24347657]: BUILD FAILED |
Signed-off-by: Joaquin Anton Guirao <[email protected]>
Signed-off-by: Joaquin Anton Guirao <[email protected]>
CI MESSAGE: [24350975]: BUILD STARTED |
Signed-off-by: Joaquin Anton Guirao <[email protected]>
Signed-off-by: Joaquin Anton Guirao <[email protected]>
CI MESSAGE: [24339468]: BUILD FAILED |
!build |
CI MESSAGE: [24362754]: BUILD STARTED |
CI MESSAGE: [24350975]: BUILD PASSED |
CI MESSAGE: [24362754]: BUILD FAILED |
CI MESSAGE: [24362754]: BUILD PASSED |
Category:
Bug fix / Refactoring
Description:
This PR improves the video decoder's codec support detection and error handling, particularly for cases where CPU codec support is not available.
GetAllStreamInfo()
method to provide detailed stream information for debuggingReadNextFrame
interface to use nullptr for skipping framescopy_to_output
parameter from frame reading methodsAdditional information:
Affected modules and functionalities:
Key points relevant for the review:
Tests:
Checklist
Documentation
DALI team only
Requirements
REQ IDs: N/A
JIRA TASK: N/A