Corrupt JPEG data when extracting a bag file
When I try to extract a bag file to jpg images, sometimes, I get this error message:
Corrupt JPEG data: xxxx extraneous bytes before marker 0xxx
I am using image_view package to do so: here is a snippet of the launch file:
<node name="extract4" pkg="image_view" type="extract_images" respawn="false" output="screen" cwd="node">
<remap from="image" to="/con$(arg cam4)/image_raw"/>
<param name="image_transport" value="compressed"/>
<param name="sec_per_frame" value="0.1"/>
<param name="filename_format" value="/home/con$(arg cam4)/frame%04i.jpg"/>
</node>
Does this mean that the bag file has some corrupted data or something wrong with the way I am extracting the images ?
Asked by Samer on 2016-06-02 09:13:16 UTC
Comments