Thread (5 messages) 5 messages, 3 authors, 2021-02-06

Re: V4L2 logging for multiple streams

From: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Date: 2021-01-20 10:45:27

Hi Fritz,

On 16/01/2021 04:33, Fritz Koenig wrote:
Hi,

I'm trying to sort some issues with regards to decoding multiple
streams at once.  Logging can be helpful with messages like this:

[105188.500450] video2: VIDIOC_STREAMOFF: type=vid-out-mplane
The type is telling you useful information there, is that what you are
after?
but when I have:

[105188.498697] video2: VIDIOC_STREAMOFF: type=vid-out-mplane
[105188.498715] video2: VIDIOC_STREAMOFF: type=vid-cap-mplane
[105188.499116] video2: VIDIOC_UNSUBSCRIBE_EVENT: type=0x5, id=0x0, flags=0x0
[105188.500450] video2: VIDIOC_STREAMOFF: type=vid-out-mplane
[105188.500467] video2: VIDIOC_STREAMOFF: type=vid-cap-mplane
[105188.500611] video2: VIDIOC_UNSUBSCRIBE_EVENT: type=0x5, id=0x0, flags=0x0
[105188.501879] video2: VIDIOC_UNSUBSCRIBE_EVENT: type=0x5, id=0x0, flags=0x0
[105188.502276] video2: VIDIOC_STREAMOFF: type=vid-out-mplane
[105188.502331] video2: VIDIOC_STREAMOFF: type=vid-cap-mplane

I can't tell which stream VIDIOC_STREAMOFF is associated with.  Is
there a logging option that I'm missing that would help indicate which
stream that ioctl is associated with.
The type expresses if it's from an output queue or a capture queue.

  type=vid-out-mplane : Output queue
  type=vid-cap-mplane : Capture queue


That's not so helpful/useful on the UNSUBSCRIBE_EVENT lines though, but
your specific request is regarding STREAMOFF.

I hope that helps you read the logs a little.

--
Kieran
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help