[gst-devel] recording a file from stream
Terry Leung
terry83 at gmail.com
Tue Sep 18 10:56:54 CEST 2007
Hi all,
I discover that even i do it without udpsink and udpsrc, it still
doesnt work, I suspect this is a bug...
The pipeline i use this time is:
gst-launch -v ffmux_3gp name=mux ! filesink location=/home/video/jill3.3gp \
{filesrc location=/home/video/jill.3gp ! qtdemux name=demuxer2 !
rtpamrpay ! rtpamrdepay queue-delay=0 ! queue }! mux.audio_0
without using rtpamrpay and rtpamrdepay, this pipeline work perfectly
after adding this, the output file cannot be demux
when i try to open the output file to demux and strema it like before,
it shows that:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/demuxer: This file contains no playable streams.
Additional debug info:
qtdemux.c(1444): gst_qtdemux_loop (): /pipeline0/demuxer:
no known streams found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...
The pipeline I use to stream is :
gst-launch -v filesrc location=/home/video/jill3.3gp ! qtdemux name=demuxer \
demuxer.!queue! rtpamrpay pt=98 ! udpsink host=172.20.122.9 port=11002
anyone here has tried to use rtpamrdepay with success?
On 9/17/07, Terry Leung <terry83 at gmail.com> wrote:
> Hi all,
>
> I am writing a program to record rtp stream into a 3gp file(currently only amr)
> I try to build a pipeline like the following:
>
> gst-launch ffmux_3gp name=mux ! filesink
> location=/home/video/receive.3gp name=file \
> {udpsrc port=11002 name=audioudp \
> caps="application/x-rtp, media=audio, payload=96, clock-rate=8000,
> encoding-name=AMR, ssrc=111111002 "\
> ! rtpamrdepay ! queue } mux.audio_0
>
> After i generate stream from another source, it shows that
>
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> ERROR: from element /pipeline0/audioudp: Internal data flow error.
> Additional debug info:
> gstbasesrc.c(1816): gst_base_src_loop (): /pipeline0/audioudp:
> streaming task paused, reason not-negotiated (-4)
> Execution ended after 12698510000 ns.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
> anyone got idea on how to make it work?
>
More information about the gstreamer-devel
mailing list