After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 139532 - gstcolorspace crashes when after v4lsrc (ffmpegcolorspace works)
gstcolorspace crashes when after v4lsrc (ffmpegcolorspace works)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.8.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 139119 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-04-08 23:16 UTC by Stephane Loeuillet
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug log when using gstcolorspace (23.25 KB, text/plain)
2004-04-08 23:17 UTC, Stephane Loeuillet
Details

Description Stephane Loeuillet 2004-04-08 23:16:59 UTC
using this pipeline :
gst-launch v4lsrc device=/dev/video0 ! colorspace ! ximagesink

it dies with :

EXECUTION du tube en cours ...
sh: line 1: v4l-conf: command not found
ERROR         default(30860)
v4l-overlay_calls.c(75):gst_v4l_set_overlay:<v4lsrc0> Executing v4l-conf failed.
ERROR         default(30860)
v4l-overlay_calls.c(75):gst_v4l_set_overlay:<v4lsrc0> system error: Succès
ERROR: from element /pipeline0/v4lsrc0: Executing v4l-conf failed.
Additional debug info:
v4l-overlay_calls.c(75): gst_v4l_set_overlay: /pipeline0/v4lsrc0:
system error: Succès
Opened device 'BT878 video (Hauppauge (bt878))' ('/dev/video0') successfully
Got 8 buffers ('YUV-4:2:0 (planar)') of size 2080 KB
format index is 0
Got 8 buffers ('YUV-4:2:0 (planar)') of size 2080 KB
 
** ERROR **: file gstcolorspace.c: line 330 (gst_colorspace_get_format): should
not be reached
aborting...
Abandon

wheras ffmpegcolorspace works :

gst-launch v4lsrc device=/dev/video0 ! ffmpegcolorspace ! ximagesink
EXECUTION du tube en cours ...
sh: line 1: v4l-conf: command not found
ERROR         default(30862)
v4l-overlay_calls.c(75):gst_v4l_set_overlay:<v4lsrc0> Executing v4l-conf failed.
ERROR         default(30862)
v4l-overlay_calls.c(75):gst_v4l_set_overlay:<v4lsrc0> system error: Succès
ERROR: from element /pipeline0/v4lsrc0: Executing v4l-conf failed.
Additional debug info:
v4l-overlay_calls.c(75): gst_v4l_set_overlay: /pipeline0/v4lsrc0:
system error: Succès
Opened device 'BT878 video (Hauppauge (bt878))' ('/dev/video0') successfully
Got 8 buffers ('YUV-4:2:2 (packed)') of size 2080 KB
Got 8 buffers ('YUV-4:2:2 (packed)') of size 2080 KB

(a not so beautifull video is in the window)


as asked by ds on the chan, attaching a log with debug
Comment 1 Stephane Loeuillet 2004-04-08 23:17:48 UTC
Created attachment 26490 [details]
debug log when using gstcolorspace

gst-launch --gst-debug=GST_PADS:5 v4lsrc device=/dev/video0 ! colorspace !
ximagesink > gstcolorspace.log 2>&1
Comment 2 Stephane Loeuillet 2004-04-08 23:41:07 UTC
as a sidenote : i first used spider in the middle, instead of (gst)colorspace
but it seems spider has a preference for (gst)colorspace

perhaps ffmpegcolorspace should have a higher rank
Comment 3 David Schleef 2004-04-09 00:04:55 UTC
Ok, fixed.  I think.  Now it should fail to negotiate.  I also bumped the rank
of ffmpegcolorspace to PRIMARY, which beats colorspace.
Comment 4 David Schleef 2004-07-04 00:16:29 UTC
*** Bug 139119 has been marked as a duplicate of this bug. ***