Failed to get Encoded video data from camera.
Hi,
https://docs.pipewire.org/page_tutorial5.html
We have used this tutorial sample code to capture the video frame from camera.
We able to get the raw buffer with this sample code,but for our use case we need a h264 encoded data so, for that we have modified below video format and media subtype in spa_pod_builder_add_object function.
SPA_FORMAT_mediaSubtype -> SPA_MEDIA_SUBTYPE_h264
SPA_FORMAT_VIDEO_format -> SPA_VIDEO_FORMAT_ENCODED
But getting below error with this parameter modification
[E][000002498.411006][context.c:664 pw_context_debug_port_params()] params Spa:Enum:ParamId:EnumFormat: 0:0 Invalid argument (input format (no more input formats))
Please find the attached log file to find entire received error from targeth264_encode.txt
could you please give the input for this issue.
Thanks.