[gst-devel] dvdec + jpegenc & interations
mammique
mammique at lamenagerie.com
Tue Jul 27 10:30:14 CEST 2004
Hi,
When i try to grab and compress an image from a DV camera to jpeg it
segfaults :
$ gst-launch-0.8 -i=2 dv1394src ! dvdec ! ffmpegcolorspace ! jpegenc !
filesink location=test.jpg
RUNNING pipeline ...
Erreur de segmentation (segfault)
But png works :
$ gst-launch-0.8 -i=2 dv1394src ! dvdec ! ffmpegcolorspace ! pngenc !
filesink location=test.png
RUNNING pipeline ...
Execution ended after 2 iterations (sum 1920218000 ns, average 960109000
ns, min 82874000 ns, max 1837344000 ns).
$ identify test.png
test.png PNG 720x480+0+0 DirectClass 8-bit 688kb 0.040u 0:01
BTW, i don't understand why this don't works with only one iteration, i
must specify 2 iterations to grab the image, if no the file is empty.
But it works with single iteration using simple raw dv grab :
$ gst-launch-0.8 -i=1 dv1394src ! filesink location=test.dv
RUNNING pipeline ...
Execution ended after 1 iterations (sum 106676000 ns, average 106676000
ns, min 106676000 ns, max 106676000 ns).
$ file test.dv
test.dv: DIF (DV) movie file (PAL)
Is it normal ?
Thank you.
Regards.
Camille.
More information about the gstreamer-devel
mailing list