GStreamer - appsrc as audio source

canetti canetti at nana10.co.il
Tue Jul 19 03:45:57 PDT 2011


Hi .
If I replace the "vorbisenc ! rtpvorbispay" with "x264enc ! rtph264pay" ,
The situation returns to what it was - meanning - when streaming starts (
The push functions of the source elements are called ) , The pipeline
switches to "Paused" state .

with the following log lines :

0:00:01.699212000  4272   097DCF90 WARN                 basesrc
gstbasesrc.c:2563:gst_base_src_loop:<AppAudioSource> error: Internal data
flow error.
0:00:01.699212000  4272   097DCF90 WARN                 basesrc
gstbasesrc.c:2563:gst_base_src_loop:<AppAudioSource> error: streaming task
paused, reason not-negotiated (-4)
0:00:01.699212000  4272   097DCF90 WARN                    faac
gstfaac.c:755:gst_faac_push_buffers:<faac0> encoder left 126208 bytes;
discarding

The pipeline initialization string is :
rtpmux name=mux ! udpsink host=127.0.0.1 port=1234 appsrc
name=AppVideoSource caps="video/x-raw-rgb, bpp=32, depth=32,
endianness=4321, red_mask=65280, green_mask=16711680, blue_mask=-16777216,
alpha_mask=255, framerate=(fraction)20, width=640, height=480" ! videocrop
right=0 bottom=0 ! ffmpegcolorspace ! x264enc ! rtph264pay !
application/x-rtp ! mux.sink_0 appsrc name=AppAudioSource
caps="audio/x-raw-int,rate=44100,width=16,channels=2,endianness=1234,depth=16,signed=(boolean)true"
! audioconvert ! audioresample ! faac ! rtpmp4gpay ! application/x-rtp !
mux.sink_1

What is the issue with the 2nd appsrc element ( name=AppAudioSource ) ?


Thanks ,
Lior .


--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/GStreamer-appsrc-as-audio-source-tp3667988p3677835.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list