[gst-devel] DV capture pipeline frozen

Gregory Petrosyan gregory.petrosyan at gmail.com
Mon Aug 16 21:35:36 CEST 2010


Hello,

I am having some problems with GStreamer. Basically, I have a
pipeline, which used to work (with Ubuntu 9.04 GStreamer packages).
Here it is:

gst-launch-0.10 -v -e dv1394src ! queue ! tee name=raw ! queue !
dvdemux name=demux ! ffdec_dvvideo ! ffmpegcolorspace ! deinterlace
tff=bff ! queue ! tee name=deint ! queue ! ffvideoscale method=9 !
video/x-raw-yuv,height=288,pixel-aspect-ratio=1/1 ! queue ! videorate
! ffmpegcolorspace ! x264enc threads=0 key-int-max=10 me=umh subme=6
trellis=false b-adapt=false ! flutsmux name=mux demux. ! queue !
audioconvert ! faac profile=2 ! mux. mux. ! filesink location=test.avi
deint. ! queue ! ffmpegcolorspace ! xvimagesink sync=false raw. !
queue ! filesink location=raw.test.dv

Basically, it captures video from a DV camera, stores raw DV data,
encodes it to H.264 on the fly and shows video preview window.

Now, this pipeline does nothing: preview window displays only the
first frame, and all files are 0 size. I see no errors or warnings in
the gst-launch output.

Here's the pipeline, updated to today's GStreamer (the only thing
changed is flutsmux -> mpegtsmux):

gst-launch-0.10 -v -e dv1394src ! queue ! tee name=raw ! queue !
dvdemux name=demux ! ffdec_dvvideo ! ffmpegcolorspace ! deinterlace
tff=bff ! queue ! tee name=deint ! queue ! ffvideoscale method=9 !
video/x-raw-yuv,height=288,pixel-aspect-ratio=1/1 ! queue ! videorate
! ffmpegcolorspace ! x264enc threads=0 key-int-max=10 me=umh subme=6
trellis=false b-adapt=false ! mpegtsmux name=mux demux. ! queue !
audioconvert ! faac profile=2 ! mux. mux. ! queue ! filesink
location=test.avi deint. ! queue ! ffmpegcolorspace ! xvimagesink
sync=false raw. ! queue ! filesink location=raw.test.dv

And, by the way, this simple pipeline works as intended:

gst-launch-0.10 -e dv1394src ! queue ! tee name=raw ! queue ! dvdemux
! ffdec_dvvideo ! ffmpegcolorspace ! deinterlace tff=bff ! queue !
ffmpegcolorspace ! xvimagesink sync=false  raw. ! queue ! filesink
location=raw.test.dv

Can anybody please help me in debugging this issue?

                Gregory




More information about the gstreamer-devel mailing list