[gst-devel] PVN demuxer testing

Vasilis Liaskovitis vliaskov at gmail.com
Sun Jul 25 00:36:06 CEST 2010


Hi,

I am trying to test the pvndemux element proposed several months ago:
https://bugzilla.gnome.org/show_bug.cgi?id=570009

After applying the patch to gst-plugins-bad git tip (the patch is
probably a bit outdated since it does not apply cleanly), I tried the
following pipeline with the test pvn data provided in the bug report:

GST_DEBUG=3 gst-launch-0.10 filesrc
location="/home/multimedia/test-0000000000.pvn" ! pvndemux ! decodebin
! ffmpegcolorspace ! ximagesink

[...]
INFO                GST_PADS
gstpad.c:3475:gst_pad_event_default_dispatch:<pvndemux0:sink> Sending
event 0x8e041b8 (newsegment) to all internally linked pads
INFO                pvndemux
gstpvndemux.c:70:gst_pvndemux_parse_next_header_token:<pvndemux0>
Found magic code PV6a
INFO                pvndemux
gstpvndemux.c:74:gst_pvndemux_parse_next_header_token:<pvndemux0>
Found width 1024
INFO                pvndemux
gstpvndemux.c:78:gst_pvndemux_parse_next_header_token:<pvndemux0>
Found height 768
INFO                pvndemux
gstpvndemux.c:82:gst_pvndemux_parse_next_header_token:<pvndemux0>
Found depth 66
INFO                pvndemux
gstpvndemux.c:86:gst_pvndemux_parse_next_header_token:<pvndemux0>
Found maxcolour 0.000000
INFO                pvndemux
gstpvndemux.c:90:gst_pvndemux_parse_next_header_token:<pvndemux0>
Found framerate 917504.000000

** (gst-launch-0.10:2047): CRITICAL **: gst_adapter_take_buffer:
assertion `nbytes > 0' failed
Caught SIGSEGV accessing address 0x14

Am I using a wrong pipeline to test this? It seems
gst_adapter_available() is always called before doing a
gst_pvndemux_push, so I am not sure why this happens.

I am new to gstreamer internals, but I 'd be willing to update the
test patch or help testing this, given some guidance.

thanks for any help,

- Vasilis




More information about the gstreamer-devel mailing list