-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Have you checked the latest release for fixes?
- Yes, Iβve tested on the latest release
Description
Expected Behavior
Android 10 with Qualcomm Snapdragon is expecting caps on its sink pad:
video/x-h265,stream-format=byte-stream,alignment=au
Currently they are being forced to:
video/x-h265,stream-format=hvc1 in GstVideoReceiver::_filterParserCaps
And the decodebin3 still decides to use software decoder because the hardware decoder is rejecting the provided caps.
Suggestion:
If building for android keep backwards compatability and insert a capsfilter after parsebin with "older" caps. It should support older/newer gstreamer and older/newer Android MediaCodec. Plus most likely will fix plenty of other android devices not utilising hardware decoding. Also should allow decodebin3 to pick the decoder based on rank and choose software decoders if hardware decoder is unavailable for some reason.
Platform
Android
Flight Stack
PX4
System Information
Stable v5.0.0, noticed the same on upstream.
Log Files and Screenshots
No response