[gst-devel] recording a file from stream

Terry Leung terry83 at gmail.com
Mon Sep 17 10:53:48 CEST 2007


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