Re: stream avi file

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: stream avi file

Kapil Agrawal
avi is not a streamable format, people use mp4, mpegts , flv etc for streaming.

On Sat, Aug 6, 2011 at 2:52 AM, Krishnan <[hidden email]> wrote:
Hi.. Can anyone point me to sample pipeline for streaming avi file with the
help of rtsp server? I could create an avi file from live source with the
help of this command,

gst- launch v4l2src num-buffers=500 ! video/x-raw-yuv,width=720,height=480 !
ffmpegcolorspace ! jpegenc ! avimux ! filesink location=capture.avi

[If I don't use the 'avimux', vlc is unable to play the file(but other
players could play!) Any reasons?]

How can I stream this file through the test-launch example code?

I could able to stream the live source,

test-launch "(v4l2src ! video/x-raw-yuv,width=720,height=480 !
ffmpegcolorspace ! queue ! jpegenc ! rtpjpegpay name=pay0 pt=96 )"

But, I would like to stream the saved .avi file. What elements are needed to
construct the pipeline? I tried to demux the file and then put it across rtp
pay, but it doesn't work.

Thanks,
Krishnan.

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/stream-avi-file-tp3722311p3722311.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
www.mediamagictechnologies.com (Gstreamer, ffmpeg, Red5, Streaming)
twitter handle: @gst_kaps
http://www.linkedin.com/in/kapilagrawal

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel