Skip to content
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

[VP] Add Y412 and Y212 caps for BMG #1900

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

vcheah
Copy link
Contributor

@vcheah vcheah commented Jan 15, 2025

The patch is required to fix vapostproc Y412/Y212 negotiations

Tested these combination on BMG and output is correct.

  1. gst-launch-1.0 -v filesrc location=/media/H265_Videos/Elecard1_4096x2160_13mbps_60fps_Main_at_L5.1.mkv ! matroskademux ! h265parse ! vah265dec ! "video/x-raw(memory:DMABuf)" ! vapostproc ! "video/x-raw(memory:DMABuf),drm-format=Y412:0x0100000000000009,width=800,height=600" ! glimagesink
  2. gst-launch-1.0 -v filesrc location=/media/H265_12bit_Videos/444/Puppies_3840x2160_6mbps_60fps_Main_at_L5.1_12bit_444.mkv ! matroskademux ! h265parse ! vah265dec ! "video/x-raw(memory:DMABuf)" ! vapostproc ! "video/x-raw(memory:DMABuf),drm-format=Y412:0x0100000000000009,width=800,height=600" ! glimagesink
  3. gst-launch-1.0 -v filesrc location=/media/H265_12bit_Videos/444/Puppies_3840x2160_6mbps_60fps_Main_at_L5.1_12bit_444.mkv ! matroskademux ! h265parse ! vah265dec ! "video/x-raw(memory:DMABuf)" ! vapostproc ! "video/x-raw(memory:DMABuf),drm-format=Y412:0x0100000000000009,width=800,height=600" ! glimagesink
  4. gst-launch-1.0 -v filesrc location=/media/H265_12bit_Videos/444/Puppies_3840x2160_6mbps_60fps_Main_at_L5.1_12bit_444.mkv ! matroskademux ! h265parse ! vah265dec ! "video/x-raw(memory:DMABuf)" ! vapostproc ! "video/x-raw(memory:DMABuf),drm-format=Y212:0x0100000000000009,width=800,height=600" ! glimagesink
  5. gst-launch-1.0 -v filesrc location=/media/H265_12bit_Videos/422/Elecard2_1920x1080_4mbps_60fps_Main_at_L4.1_12bit_422.mkv ! matroskademux ! h265parse ! vah265dec ! "video/x-raw(memory:DMABuf)" ! vapostproc ! "video/x-raw(memory:DMABuf),drm-format=Y212:0x0100000000000009,width=800,height=600" ! glimagesink

Signed-off-by: Cheah, Vincent Beng Keat <[email protected]>
@Sherry-Lin Sherry-Lin requested a review from MicroYY January 16, 2025 01:13
@Sherry-Lin Sherry-Lin added the VP Video Processing label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
VP Video Processing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants