[gst-devel] (no subject)
pritesh
digitaldsp at excite.com
Sat Jun 23 07:47:50 CEST 2007
hi all, i want to create an application which can simultaneouslycapture live audio-video data(from microphone and webcam) , encode it and stream it using rtp , at the client side i want to receive av data and play it( what about av sync)
using gstreamer-0.10.12, gst-plugins-base-0.10.12 ,gst-ffmpeg-0.10.2
i tried the following
[root at pritesh mp4creator]# gst-launch -v v4lsrc ! videoscale !
"video/x-raw-yuv,frame-rate=(double)15.0" ! queue ! ffmpegcolorspace !
ffenc_mpeg4 ! ffmux_mp4 ! filesink location=webcam.mp4
Setting pipeline to PAUSED ...
/pipeline0/v4lsrc0.src: caps = video/x-raw-yuv, format=(fourcc)I420,
width=(int)160, height=(int)120, framerate=(fraction)25/1,
frame-rate=(double)15
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/pipeline0/videoscale0.src: caps = video/x-raw-yuv, format=(fourcc)I420,
width=(int)160, height=(int)120, framerate=(fraction)25/1,
frame-rate=(double)15
/pipeline0/videoscale0.sink: caps = video/x-raw-yuv, format=(fourcc)I420,
width=(int)160, height=(int)120, framerate=(fraction)25/1,
frame-rate=(double)15
/pipeline0/capsfilter0.src: caps = video/x-raw-yuv, format=(fourcc)I420,
width=(int)160, height=(int)120, framerate=(fraction)25/1,
frame-rate=(double)15
/pipeline0/capsfilter0.sink: caps = video/x-raw-yuv, format=(fourcc)I420,
width=(int)160, height=(int)120, framerate=(fraction)25/1,
frame-rate=(double)15
/pipeline0/queue0.sink: caps = video/x-raw-yuv, format=(fourcc)I420,
width=(int)160, height=(int)120, framerate=(fraction)25/1,
frame-rate=(double)15
/pipeline0/queue0.src: caps = video/x-raw-yuv, format=(fourcc)I420,
width=(int)160, height=(int)120, framerate=(fraction)25/1,
frame-rate=(double)15
/pipeline0/ffmpegcsp0.src: caps = video/x-raw-yuv, format=(fourcc)I420,
width=(int)160, height=(int)120, framerate=(fraction)25/1,
frame-rate=(double)15
/pipeline0/ffmpegcsp0.sink: caps = video/x-raw-yuv, format=(fourcc)I420,
width=(int)160, height=(int)120, framerate=(fraction)25/1,
frame-rate=(double)15
/pipeline0/ffenc_mpeg40.src: caps = video/mpeg, width=(int)160,
height=(int)120, framerate=(fraction)25/1, mpegversion=(int)4,
systemstream=(boolean)false
/pipeline0/ffenc_mpeg40.sink: caps = video/x-raw-yuv, format=(fourcc)I420,
width=(int)160, height=(int)120, framerate=(fraction)25/1,
frame-rate=(double)15
/pipeline0/ffmux_mp40.video_0: caps = video/mpeg, width=(int)160,
height=(int)120, framerate=(fraction)25/1, mpegversion=(int)4,
systemstream=(boolean)false
after some time stopped the procedure
Caught interrupt -- handling interrupt.
Interrupt: Setting pipeline to PAUSED ...
Execution ended after 93657591000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/pipeline0/ffmux_mp40.video_0: caps = NULL
/pipeline0/ffenc_mpeg40.src: caps = NULL
/pipeline0/ffenc_mpeg40.sink: caps = NULL
/pipeline0/ffmpegcsp0.src: caps = NULL
/pipeline0/ffmpegcsp0.sink: caps = NULL
/pipeline0/queue0.src: caps = NULL
/pipeline0/queue0.sink: caps = NULL
/pipeline0/capsfilter0.src: caps = NULL
/pipeline0/capsfilter0.sink: caps = NULL
/pipeline0/videoscale0.src: caps = NULL
/pipeline0/videoscale0.sink: caps = NULL
/pipeline0/v4lsrc0.src: caps = NULL
Setting pipeline to NULL ...
FREEING pipeline .
in the created mp4 file only mdat exists and i cannot play it with any
player
any ideas
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070623/6b886441/attachment.htm>
More information about the gstreamer-devel
mailing list