Processing video with custom aspect-ratio fails

Peter Birkenkampf luftiguru at web.de
Tue Aug 5 08:49:19 PDT 2014


Hi all,
I use gstreamer for processing video data (RGB) that i feed via an appsrc
element into my pipeline.
Processing the data with videocrop, videoconvert and videoscale works like
a charm if I feed in video with "default" aspect-ratio, like 640x480px.
My camera delivers images with a resolution of 659x493px. If I feed this
data directely into my pipeline, the first element working on the data
(e.g. videocrop, videoconvert or videoscale) fails with the error:

Error: (videoscale0:warning) Internal GStreamer error: code not
implemented.  Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.

I'm looking forward to every hint that helps me catch this nasty bug.
Thanks.

Below you find some log output captured with GST_DEBUG=videoscale:5 for a
pipeline like: "appsrc ! queue ! videoscale !
video/x-raw,width=640,height=482,format="RGB" ! videoconvert ! fakesink"
...
0:00:00.048909937 31772  0x815d4c0 DEBUG             videoscale
gstvideoscale.c:595:gst_video_scale_fixate_caps:<videoscale0> trying to
fixate othercaps video/x-raw, format=(string)RGB, width=(int)640,
height=(int)482, pixel-aspect-ratio=(fraction)[ 1/2147483647, 2147483647/1
], framerate=(fraction)12/1 based on caps video/x-raw, format=(string)RGB,
width=(int)659, height=(int)493, pixel-aspect-ratio=(fraction)1/1,
framerate=(fraction)12/1

0:00:00.048981209 31772  0x815d4c0 DEBUG             videoscale
gstvideoscale.c:659:gst_video_scale_fixate_caps:<videoscale0> dimensions
already set to 640x482, not
fixating

0:00:00.049007640 31772  0x815d4c0 DEBUG             videoscale
gstvideoscale.c:663:gst_video_scale_fixate_caps:<videoscale0> fixating
to_par to 158819x157760
0:00:00.049036092 31772  0x815d4c0 DEBUG             videoscale
gstvideoscale.c:1009:gst_video_scale_fixate_caps:<videoscale0> fixated
othercaps to video/x-raw, format=(string)RGB, width=(int)640,
height=(int)482, pixel-aspect-ratio=(fraction)158819/157760,
framerate=(fraction)12/1
0:00:00.053564758 31772  0x815d4c0 DEBUG             videoscale
gstvideoscale.c:577:gst_video_scale_set_info:<videoscale0> from=659x493
(par=1/1 dar=659/493), size 976140 -> to=640x482 (par=158819/157760
dar=659/493 borders=0:0), size 925440
Error: (videoscale0:warning) Internal GStreamer error: code not
implemented.  Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
0:00:00.079279106 31772 0xb5f020c0 DEBUG             videoscale
gstvideoscale.c:1465:gst_video_scale_src_event:<videoscale0> handling
latency event
Error: (videoscale0:warning) Internal GStreamer error: code not
implemented.  Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140805/279f5d35/attachment.html>


More information about the gstreamer-devel mailing list