<div dir="ltr"><div><div><div><div><div><div>Hi all,<br></div>I use gstreamer for processing video data (RGB) that i feed via an appsrc element into my pipeline.<br></div>Processing the data with videocrop, videoconvert and videoscale works like a charm if I feed in video with "default" aspect-ratio, like 640x480px.<br>

</div>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:<br>
<br>
Error: (videoscale0:warning) Internal GStreamer error: code not implemented.  Please file a bug at <a href="http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer">http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer</a>.<br>

<br></div>I'm looking forward to every hint that helps me catch this nasty bug.<br></div>Thanks.<br><br></div>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"<br>

...<br>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                                                                                         <br>

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

0:00:00.049007640 31772  0x815d4c0 DEBUG             videoscale gstvideoscale.c:663:gst_video_scale_fixate_caps:<videoscale0> fixating to_par to 158819x157760<br>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<br>

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<br>

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

0:00:00.079279106 31772 0xb5f020c0 DEBUG             videoscale gstvideoscale.c:1465:gst_video_scale_src_event:<videoscale0> handling latency event<br>Error: (videoscale0:warning) Internal GStreamer error: code not implemented.  Please file a bug at <a href="http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer">http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer</a>.<br>

...<br></div>