code for converting raw image to jpeg image

David Viana davidkviana at gmail.com
Thu Nov 27 03:52:48 PST 2014


I already had tested this possibility. When I change blocksize  values <
720000 the error message changes:

ERROR                default video-frame.c:149:gst_video_frame_map_id:
invalid buffer size VALUE_MINOR_720000 < 960000

If I try blocksize > 720000, it locks the value for 720000. I'm thinking
that the max value buffer is 720000. My webcam can work at 640x480, 864x480,
800x600... This resolutions are larger than 720000. Less to 640x480. 

ERROR                default video-frame.c:149:gst_video_frame_map_id:
invalid buffer size 720000 < 960000

gst-launch-1.0 --gst-debug=3 -vvv filesrc
location=/tmp/images/frame00000.raw blocksize=960000 num-buffers=1 !
video/x-raw,format=YUY2,width=800,height=600,framerate=1/1 ! jpegenc !
filesink location=/tmp/out.jpg

Thank you for your help.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/code-for-converting-raw-image-to-jpeg-image-tp4661629p4669709.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list