64 vs 32bit compatibility problems (shmsrc, avenc_flv)

Krzysztof Borowczyk k.borowczyk at samsung.com
Wed Jun 4 02:20:59 PDT 2014


Hello,

 

Recently I switched from 32 to 64 bit system and noticed, that my GStreamer application stopped working.

The simplified test pipeline and its output looks like this:

 

~/gstScripts$ /rtcs/bin/gst-launch-1.0 --gst-debug-level=3 shmsrc socket-path=/tmp/rtcs/gstShmVideo do-timestamp=true is-live=true ! "video/x-raw,format=UYVY,width=1920,height=1080,framerate=30/1" ! videoconvert ! avenc_flv ! flvmux streamable=true ! rtmpsink location="rtmp://192.168.0.2/oflaDemo/stream live=1"

Setting pipeline to PAUSED ...

Pipeline is live and does not need PREROLL ...

0:00:00.052610735 32536       0x74fb70 FIXME                default gstutils.c:3648:gst_pad_create_stream_id_printf_valist:<shmsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id

Setting pipeline to PLAYING ...

New clock: GstSystemClock

0:00:00.138102205 32536       0x74fb70 FIXME               basesink gstbasesink.c:3022:gst_base_sink_default_event:<rtmpsink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements

0:00:00.329136162 32536       0x74fb70 ERROR                  libav :0:: Error, Invalid timestamp=8, last=8

0:00:00.329204407 32536       0x74fb70 ERROR                  libav gstavvidenc.c:655:gst_ffmpegvidenc_handle_frame:<avenc_flv0> avenc_flv: failed to encode buffer

0:00:00.330970127 32536       0x74fb70 ERROR                  libav :0:: Error, Invalid timestamp=8, last=8

0:00:00.331017935 32536       0x74fb70 ERROR                  libav gstavvidenc.c:655:gst_ffmpegvidenc_handle_frame:<avenc_flv0> avenc_flv: failed to encode buffer

0:00:00.332816085 32536       0x74fb70 ERROR                  libav :0:: Error, Invalid timestamp=8, last=8

0:00:00.332861542 32536       0x74fb70 ERROR                  libav gstavvidenc.c:655:gst_ffmpegvidenc_handle_frame:<avenc_flv0> avenc_flv: failed to encode buffer

0:00:00.334336136 32536       0x74fb70 ERROR                  libav :0:: Error, Invalid timestamp=8, last=8

0:00:00.334380332 32536       0x74fb70 ERROR                  libav gstavvidenc.c:655:gst_ffmpegvidenc_handle_frame:<avenc_flv0> avenc_flv: failed to encode buffer

 

 

This is on GStreamer 1.2.4 (Ubuntu 14.04) with the patch applied:
https://bug702842.bugzilla-attachments.gnome.org/attachment.cgi?id=248267

 

It seems to generate many frames with the same timestamp.

Is there any workaround this? Or a simple solution to fix the bug?

 

-- 

Best regards,
Krzysztof Borowczyk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140604/ab006f31/attachment.html>


More information about the gstreamer-devel mailing list