No subject


Thu Jul 14 09:13:27 PDT 2011


appsrc as my
audio source transmits the data wheater the destination is a file , or a UDP
sink , or the audio source
stands alone , or with a video source , both undergoing format encoding and
muxing .

In all cases GStreamer reacts to data pushes with the following log lines :

0:00:00.118112000  5136   09653CB0 WARN                 basesrc
gstbasesrc.c:2563:gst_base_src_loop:<AppAudioSource> error: Internal data
flow error.
0:00:00.118112000  5136   09653CB0 WARN                 basesrc
gstbasesrc.c:2563:gst_base_src_loop:<AppAudioSource> error: streaming task
paused, reason not-negotiated (-4)
0:00:10.121569000  5136   09653CB0 WARN                  wavenc
gstwavenc.c:262:gst_wavenc_push_header:<wavenc0> push header failed: flow =
wrong-state

Here are 2 pipeline examples that yeild this result :
1:
appsrc name=AppAudioSource
caps="audio/x-raw-int,rate=44100,width=16,channels=16,depth=2,signed=(boolean)true"
! wavenc ! filesink location=abc.wav

2:
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,depth=16,signed=(boolean)true"
! vorbisenc ! rtpvorbispay ! application/x-rtp ! mux.sink_1


Thanks In Advance ,
Lior .


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


More information about the gstreamer-devel mailing list