GStreamer - appsrc as audio source
canetti
canetti at nana10.co.il
Sun Jul 17 07:46:20 PDT 2011
Hi .
Thanks for the replays .
I have added the endianess parameter - It still didn't change the results .
I have , however , added the "audioconvert" and "audioresample" elements to
the pipeline .
This seems to improve the situation , as the pipeline works and streams the
video .
( previously , It switched to "Paused" state )
When I watch the stream in VLC player , the audio controls are grayed out .
This means that VLC thinks there is no audio in the stream .
GStreamer logs a lot of warnings while streaming , as follows :
0:00:00.282226000 5156 098EAF20 WARN rtpvorbispay
gstrtpvorbispay.c:632:gst_rtp_vorbis_pay_handle_buffer:<rtpvorbispay0>
warning: Error initializing header config
0:00:00.297851000 5156 098EAF20 WARN rtpvorbispay
gstrtpvorbispay.c:632:gst_rtp_vorbis_pay_handle_buffer:<rtpvorbispay0>
warning: Error initializing header config
0:00:00.352538000 5156 098EAF20 WARN rtpvorbispay
gstrtpvorbispay.c:632:gst_rtp_vorbis_pay_handle_buffer:<rtpvorbispay0>
warning: Error initializing header config
and so on ...
My pipeline looks like this :
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 ! vorbisenc ! rtpvorbispay !
application/x-rtp ! mux.sink_1
What is missing for the "rtpvorbispay" element to work ?
Thanks ,
Lior .
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/GStreamer-appsrc-as-audio-source-tp3667988p3673527.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list