Invalid buffer size error when convert from gst-launch pipeline to C code with imxvideoconvert_ipu

Sebastian Dröge sebastian at centricular.com
Wed May 25 06:38:09 UTC 2016


On Mo, 2016-05-23 at 20:15 -0700, Tran Tu wrote:
> Hi all,
> 
> I do the study test to rezise the raw video in fullhd to wvga and streaming
> it over RTP/UDP
> The pipeline I use is:
> "filersc  blocksize=4147200 location=/home/root/file.raw ! video/x-raw,
> format=(string){I420},width=1920, height=1080, framerate=30/1 !
> imxvideoconvert_ipu  livestreaming=true ! video/x-raw, width=1280,
> height=720 ! imxvpuenc_h264 gop-size=30 bitrate=2000 ! h264parse !
> rtph264pay name=pay0 pt=96 timestamp-offset=0 ! udpsink host=192.168.2.10
> port=5000"
> 
> I can run successfully with gst-launch. But when I convert this to object
> model in C programming, I got the following error:
> *video/video-frame.c:155:gst_video_frame_map_id: invalid buffer size 70700 <
> 3110400
> : posting message: Internal GStreamer error: code not
> implemented.  Please file a bug at
> http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.*
> [...]
>    g_object_set(G_OBJECT(FileSrc), "blocksize", "4147200", (const
> char*)NULL);

blocksize is an integer property, not a string property.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160525/d64b89c8/attachment.sig>


More information about the gstreamer-devel mailing list