stream avi file

Kapil Agrawal kapil.agl at gmail.com
Fri Aug 5 22:25:12 PDT 2011


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

On Sat, Aug 6, 2011 at 2:52 AM, Krishnan <krishnan.saravanak at gmail.com>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
> gstreamer-devel at lists.freedesktop.org
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110806/87059b3a/attachment.htm>


More information about the gstreamer-devel mailing list