H264: Error decoding image from local MCAP #1009
-
Hello, I am having issues visualizing H264 encoded video from an MCAP file. I get a red exclamation mark and the error decoding image message. I have verified that the video is not corrupted by decoding with ROS image transport. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
Thanks very much for your help. For some reason my Players tab is empty, but I do see messages in the console that point to the error: I believe the most likely culprit given this error message is that the video data is somehow corrupted. This evidence pointed me to some reference documentation where I realized that I had forgotten to run this command before viewing the MCAP By doing this conversion, everything works perfectly. Therefore this was not a problem with Foxglove at all, but rather an issue with my own data processing. Thanks very much for your help it is greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Thanks very much for your help. For some reason my Players tab is empty, but I do see messages in the console that point to the error:
3952.8430f264489acaba9488.js:598 DOMException: The source image could not be decoded. handleDecodeError @ 3952.8430f264489acaba9488.js:598
I believe the most likely culprit given this error message is that the video data is somehow corrupted.
This evidence pointed me to some reference documentation where I realized that I had forgotten to run this command before viewing the MCAP
ros2 run isaac_ros_data_replayer foxglove_converter.py <input> <output>
By doing this conversion, everything works perfectly. Therefore this was not a problem with Foxglove at all,…