[gst-devel] save an rtp stream: aviheader issue

Mailing List SVR lists at svrinformatica.it
Sun Apr 11 12:34:01 CEST 2010


Hi,

I'm trying to save an rtp stream with the following pipeline:

gst-launch-0.10 -e -v udpsrc port=6000 caps="application/x-rtp, 
media=(string)video, clock-rate=(int)90000, encoding-name=(string)JPEG, 
payload=(int)26" ! .recv_rtp_sink_0 gstrtpbin ! rtpjpegdepay  ! queue ! avimux 
! filesink location=test-gst.avi

the resulting file miss some information in the headers, if I try to see it 
with mplayer I have this error:

Playing test-gst.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
AVI: No audio stream found -> no sound.
VIDEO:  [MJPG]  352x288  24bpp  0.000 fps    0.0 kbps ( 0.0 kbyte/s)
FPS not specified in the header or invalid, use the -fps option.
No stream found.

to see the stream I have to manually specify the fps:

mplayer -fps 3 test-gst.avi

works fine,


using:

gst-launch-0.10 playbin uri=file:///home/nicola/test-gst.avi

the video is played very slow, 

what modifications I have to do to the above pipeline to generate a standard 
aviheader?

thanks
Nicola

P.S. I need to use an avi container




More information about the gstreamer-devel mailing list