dB Output for Encoder

Weavel weavel37 at yahoo.fr
Mon Apr 22 03:09:46 PDT 2013


Hi all,
I'm having problems with trying to get the dB audio level comming into my
encoder. I'm actually using decklinksrc, gstreamer ver 0.10, and rtspsrc. I
tried using "level" element but when i try to set the pipeline to playing
state i get the following error 

"GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT
(object)`failed
** (encodedaemon: 7434): CRITICAL **: gst_rtsp_media_factory_get_auth:
assertion `GST_IS_RTSP_MEDIA_FACTORY (factory)` failed
Segmentation Error

My pipeline is 
"decklinksrc mode=10 connection=0 name=decklinksrc0 ! queue !
ffmpegcolorspace ! videorate ! videoscale !
video/x-raw/yuv,framerate=25/1,width=1920 ! 
tee name=mytee ! queue ! fpsdisplaysink sync=false mytee. ! videorate !
video/x-raw-yuv,framerate=25/1,width=1920 ! 
x264enc ! rtph264pay pt=96 ! 
decklinksrc0.audiosrc ! queue !
audio/x-raw-int,width=(int)16,depth=(int)16,channels=(int)2,rate=(int)48000
! audioconvert ! audiorate ! audioresample ! level message=true ! faac
bitrate=128000 ! rtmp4apay pt=97";

When i start encoding it tells me : 
"Error: Internal GStreamer error: negotiation problem. Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer."

It only works for few sec, and sending me only one time the dB level (RMS,
peak, decay, from
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-level.html
).

Any help is welcome, thank you in advance,

Weavel



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/dB-Output-for-Encoder-tp4659580.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list