[gst-devel] bayer2rgb ! ffmpegcolorspace linkage fails...

Joshua Roys roysjosh at gmail.com
Mon Nov 17 15:22:37 CET 2008


Hello,

Thanks for your reply, but it still doesn't work.

$ gst-launch-0.10 filesrc location=isoch.bin !
video/x-raw-bayer,width=320,height=240,blocksize=7680 ! bayer2rgb !
ffmpegcolorspace ! theoraenc ! oggmux ! filesink location=foo.ogg

(gst-launch-0.10:23670): GStreamer-CRITICAL **: gst_structure_set_value:
assertion `G_IS_VALUE (value)' failed

(gst-launch-0.10:23670): GStreamer-CRITICAL **: gst_structure_set_value:
assertion `G_IS_VALUE (value)' failed
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstCapsFilter:capsfilter0:
Filter caps do not completely specify the output format
Additional debug info:
gstcapsfilter.c(346): gst_capsfilter_prepare_buf ():
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0:
Output caps are unfixed: video/x-raw-bayer, width=(int)320,
height=(int)240, blocksize=(int)7680, framerate=(fraction)[ 0/1,
2147483647/1 ]
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

Adding framerate between various elements causes them to not link... (I
tried between: filesrc -> bayer2rgb, bayer2rgb -> ffmpegcolorspace,
ffmpegcolorspace -> theoraenc, theoraenc -> oggmux, oggmux -> filesink)

Thanks,

Josh

sudarshan bisht wrote:
> Hi ,
>  Use proper blocksize with filesrc so that a complete raw frame can be
> passed to bayer2rgb , and remove framerate property from caps filter .
> 
> On Sun, Nov 16, 2008 at 2:25 AM, Joshua Roys <roysjosh at gmail.com
> <mailto:roysjosh at gmail.com>> wrote:
> 
>     Hello all,
> 
>     I'm having a bit of trouble with the mentioned linkage.  Here are the
>     versions of things installed (from source):
>     - gstreamer-0.10.21
>     - gst-plugins-base-0.10.21
>     - gst-plugins-good-0.10.11
>     - gst-plugins-bad-0.10.9
> 
>     Here's the command I'm trying to execute:
>     $ gst-launch-0.10 --gst-debug-level=5 filesrc location=isoch.bin !
>     video/x-raw-bayer,width=320,height=240,framerate=30 ! bayer2rgb !
>     ffmpegcolorspace ! theoraenc ! oggmux ! filesink location=foo.ogg
> 
>     The error:
>     WARNING: erroneous pipeline: could not link bayer2rgb0 to ffmpegcsp0
> 
>     And attached is some output from the --gst-debug-level=5.  Specifically
>     the following lines look suspicious:
> 
>     basetransform
>     gstbasetransform.c:621:gst_base_transform_getcaps:<bayer2rgb0:src>
>     transformed  video/x-raw-rgb, width=(int)320, height=(int)240,
>     framerate=(int)30
>     ...
>     basetransform
>     gstbasetransform.c:628:gst_base_transform_getcaps:<bayer2rgb0:src> our
>     template  video/x-raw-rgb, ... (lots of output, possible bayer2rgb src
>     caps?)
>     ...
>     basetransform
>     gstbasetransform.c:630:gst_base_transform_getcaps:<bayer2rgb0:src>
>     intersected EMPTY
> 
>     ... now we try to link to ffmpegcsp0:sink ...
> 
>     GST_CAPS gstpad.c:1677:gst_pad_link_check_compatible_unlocked: src caps
>     EMPTY
>     GST_CAPS gstpad.c:1678:gst_pad_link_check_compatible_unlocked: sink caps
>     video/x-raw-yuv, ... (all ffmpegcolorspace sinks)
>     ...
>     GST_CAPS gstpad.c:1711:gst_pad_link_check_compatible_unlocked:
>     intersection is EMPTY
>     ...
>     GST_PADS gstpad.c:1870:gst_pad_link_prepare: caps are incompatible
> 
>     Thanks in advance for any help you can provide!
> 
>     Joshua Roys
> 
>     -------------------------------------------------------------------------
>     This SF.Net email is sponsored by the Moblin Your Move Developer's
>     challenge
>     Build the coolest Linux based applications with Moblin SDK & win
>     great prizes
>     Grand prize is a trip for two to an Open Source event anywhere in
>     the world
>     http://moblin-contest.org/redirect.php?banner_id=100&url=/
>     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
>     _______________________________________________
>     gstreamer-devel mailing list
>     gstreamer-devel at lists.sourceforge.net
>     <mailto:gstreamer-devel at lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 
> 
> 
> -- 
> Regards,
> 
> Sudarshan Bisht
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list