Other Parts Discussed in Thread: SK-AM62
Hello,
I'm trying to encode input image to png by using gstreamer pipeline.
Here is my environment.
* SK-AM62 EVM (Rev E3)
* Processor Linux SDK ver 08.06.00.42
I'm using OV5640 as CSI camera and performed following two command.
1. $ gst-launch-1.0 v4l2src device="/dev/video0" ! video/x-raw, width=640, height=480 ! jpegenc ! filesink location=/usr/test_640x480.jpg
2. $ gst-launch-1.0 v4l2src device="/dev/video0" ! video/x-raw, width=640, height=480 ! pngenc ! filesink location=/usr/test_640x480.png
The difference is only software encode. First one is used "jpeg" encoding, and second one is used "png" encoding.
As a result, I could expected result for jpeg encoding. However, I got following error when I used "png" encoding.
* ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
I believe that there is no issue for input size from camera (640x480), however have you ever observed above error ?
Best Regards,