Play avi-file
Charlie X. Liu
charlie at sensoray.com
Tue Oct 13 16:46:03 PDT 2015
Is this you need -- ?
$ gst-launch-0.10 v4l2src device=/dev/video0 ! ffmpegcolorspace ! video/x-raw-yuv,width=640,height=480 ! clockoverlay ! avimux ! filesink location=./video-raw-ch1.avi
( capturing raw video from Channel-1 of the Sensoray Model 811 <http://www.sensoray.com/products/811.htm> , for example, and saving the video into an .avi file )
or
$ gst-launch-0.10 –v v4l2src device=/dev/video0 ! queue ! \
ffmpegcolorspace ! videoscale ! video/x-raw-yuv,width=640,height=480 ! queue ! mux. \
alsasrc device=hw:1,0 ! audio/x-raw-int,rate=32000,channels=2,depth=16 ! queue ! \
audioconvert ! mux. avimux name=mux ! filesink location=./avcap-ch1.avi
( capturing raw video+audio, from Channel-1 of the Sensoray Model 811 <http://www.sensoray.com/products/811.htm> , for example, and saving the A/V data into an .avi file )
or
$ gst-launch-0.10 avimux name=mux ! filesink location=./avcap-ch2.avi \
v4l2src device=/dev/video1 ! video/x-raw-yuv,width=320,height=240,framerate=\(fraction\)30000/1001 ! \
ffenc_mpeg4 ! queue ! mux. alsasrc device=hw:2,0 ! audio/x-raw-int,rate=32000,channels=2,depth=16 ! \
audioconvert ! lame ! mux.
( capturing video+audio, from Channel-2 of the Sensoray Model 811 <http://www.sensoray.com/products/811.htm> , for example, compressing the A/V in MPEG4+MP3, and saving the compressed data into an .avi file )
Best,
Charlie X. Liu, Ph.D
Dept. of Engineering
Sensoray Company, Inc.
-----Original Message-----
From: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of gagankumarnigam
Sent: Tuesday, October 13, 2015 1:08 AM
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: Play avi-file
Hi leela,
i want to record avi file(video1.avi) into any playable format .Can this is possible .how?
--
View this message in context: <http://gstreamer-devel.966125.n4.nabble.com/Play-avi-file-tp3492704p4674048.html> http://gstreamer-devel.966125.n4.nabble.com/Play-avi-file-tp3492704p4674048.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
<mailto:gstreamer-devel at lists.freedesktop.org> gstreamer-devel at lists.freedesktop.org
<http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151013/e73180d4/attachment.html>
More information about the gstreamer-devel
mailing list