Hi there,
I am trying to demux a stream and send the audio to one named pipe and the video to another named pipe. The problem I am encountering is using 2 named pipes I cannot get it to work. I can do one named piped, and I can split the stream to audio and video sinks no problem, but if I used 2 named pipes the stream pauses. The video is a live stream from an IP Camera and is MJPEG / 8bit audio encapsulated in an ASF stream. Here is my gst-launch command: gst-launch -v -e souphttpsrc location="http://<ip address removed>/videostream.asf?user=admin&pwd=&resolution=24&rate=10" do-timestamp=true is_live=true ! asfdemux name=demux demux.video_00 ! jpegdec ! ffmpegcolorspace ! videorate ! 'video/x-raw-yuv,framerate=15/1' ! filesink location="/tmp/pipeV" demux.audio_00 ! queue ! adpcmdec ! filesink location="/tmp/pipeA" pipeA = audio named pipe pipeV = video named pipe When I run this I just get: "Setting pipeline to PAUSED" When I run just ONE named pipe and put either the audio OR the video into a sink, it works. Ideas? Is there something wrong with my gst-launch command? Kind Regards IAn _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On 02/16/2012 03:01 AM, Ian Daley wrote:
> Hi there, > > I am trying to demux a stream and send the audio to one named pipe and > the video to another named pipe. > > The problem I am encountering is using 2 named pipes I cannot get it > to work. I can do one named piped, and I can split the stream to audio > and video sinks no problem, but if I used 2 named pipes the stream > pauses. > > The video is a live stream from an IP Camera and is MJPEG / 8bit audio > encapsulated in an ASF stream. > > Here is my gst-launch command: > > gst-launch -v -e souphttpsrc location="http://<ip address > removed>/videostream.asf?user=admin&pwd=&resolution=24&rate=10" > do-timestamp=true is_live=true ! asfdemux name=demux demux.video_00 ! > jpegdec ! ffmpegcolorspace ! videorate ! > 'video/x-raw-yuv,framerate=15/1' ! filesink location="/tmp/pipeV" > demux.audio_00 ! queue ! adpcmdec ! filesink location="/tmp/pipeA" > > pipeA = audio named pipe > pipeV = video named pipe > > When I run this I just get: "Setting pipeline to PAUSED" > > When I run just ONE named pipe and put either the audio OR the video > into a sink, it works. > > Ideas? Is there something wrong with my gst-launch command? Place a queue before jpegdec. Both branches starting from asfdemux should run in separate threads. Wim > > Kind Regards > > IAn > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |