Receiving V4L2_EVENT_RESOLUTION_CHANGE but resolution is still 4K. Why?

I have two different sources:

  • Pre-recorded MP4 movies
  • Live video that come from an external device in LiveMedia555 (via RTSP)

I can play either one just fine after a restart of my app.

Trying to switch between the two fails at the moment. The Jetson sends me a V4L2_EVENT_RESOLUTION_CHANGE event, but both formats have the exact same dimensions (4K, or 3840x2160).

Would the Jetson hardware detect something else that changes what is required to decode/convert both feeds? Isn’t there one single MP4 video format?

Hi,
Beside resolution, it is possible the event is sent when the stream is in different GOP or entropy coding(CAVLC or CABAC). Would need to parse the bitstream to get further information. For further check, please share the h264/h265 stream.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.