taking photos and show v4l2src stream with different sizes
Ian Davidson
id012c3076 at blueyonder.co.uk
Wed Jan 22 06:31:01 PST 2014
You might want to try putting videorate and videoscale elements in each
branch after the tee and before you specify the video caps.
Ian
On 22/01/2014 12:17, ertasemre wrote:
> Hi,
> On my embedded linux platform I have 320x240 lcd display and usb webcam. I
> can display my webcam view via "gst-launch -e v4l2src !
> video/x-raw-yuv,width=320,height=240,framerate=30/1 ! ffmpegcolorspace !
> fbdevsink device=/dev/fb0".
> Also I can capture a frame using of "gst-launch -e v4l2src num-buffers=1 !
> video/x-raw-yuv,width=640,height=480,framerate=20/1 ! ffmpegcolorspace !
> jpegenc ! filesink location=/tmp/test.jpg".
> But I want to do above things at the same time (while my display is showing
> webcam view I want to get a jpg image which must be 640x480 at least). Is
> the any way to do this?
> I have tried "gst-launch -e v4l2src num-buffers=100 ! tee name=t ! queue !
> video/x-raw-yuv,width=640,height=480,framerate=30/1 ! ffmpegcolorspace !
> jpegenc ! multifilesink location=/tmp/test%d.jpg t. ! queue !
> video/x-raw-yuv,width=640,height=640,framerate=30/1 ! ffmpegcolorspace !
> fbdevsink device=/dev/fb0 " but my lcd is 320x240 so I cant see full frame
> on my lcd.
> Is there any way to do this?
> please help me.
> Regards
> Emre
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/taking-photos-and-show-v4l2src-stream-with-different-sizes-tp4664825.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
More information about the gstreamer-devel
mailing list