[gst-devel] Streaming h264 video

Thabelo Mmbengeni thabelo at gmail.com
Wed Jun 10 12:33:25 CEST 2009


I am just not sure how VLC is doing it

but why doesn't this work ( I am  using localhost)

gst-launch udpsrc uri=rtp://127.0.0.1:5000 ! decodebin ! ffmpegcolorspace !
xvimagesink


On Wed, Jun 10, 2009 at 11:49 AM, Sumanth V <sumanth.v at allaboutif.com>wrote:

> Hi,
>
>    I am actually streaming it to a STB. It dose the decoding part. You can
> also stream it to the vlc, it plays correctly. Rigth now i was just
> streaming only video. using the pipeline i had posted, you can stream any TS
> file to vlc/STB.
> To watch it on vlc just type this in your command prompt
>  vlc udp://192.168.1.46
>
> regards,
> sumanth
>
>
>
> On Wed, Jun 10, 2009 at 3:05 PM, Thabelo Mmbengeni <thabelo at gmail.com>wrote:
>
>>
>> And how do you receive it from the client side.
>>
>>
>>
>> On Wed, Jun 10, 2009 at 11:22 AM, Sumanth V <sumanth.v at allaboutif.com>wrote:
>>
>>> Hi,
>>>
>>>     I was able to stream the video with out decoding and encoding it
>>> again, I used the following pipeline and it worked fine.
>>>
>>>  gst-launch filesrc location=matrix.ts ! mpegtsdemux !  mpegtsmux !
>>> udpsink clients=192.168.1.105:1234
>>>
>>>
>>> regards,
>>> Sumanth
>>>
>>>
>>> On Tue, Jun 9, 2009 at 4:09 PM, ldac <ldacvs at gmail.com> wrote:
>>>
>>>>
>>>>     Regarding Sumanth's question,
>>>>
>>>> it is possible to stream a TS file (audio AAC, and video H264) directly?
>>>>
>>>>     I mean, the TS file already have headers and so on, so, I guess that
>>>> reading it, passing it through some element that controls the rate, and
>>>> sending it should be enough ... right?
>>>>
>>>>     On Sumanth's pipeline decodes h264 and then it is encoded again!
>>>>
>>>>     This pipe does not work because it reads the file too fast, but how
>>>> could I modify it??
>>>> *
>>>> gst-launch-0.10 filesrc location=h264aac.ts ! ffdemux_mpegts name=demux
>>>> demux. ! video/x-h264 ! mux. demux. ! audio/aac ! mux. ffmux_mpegts name=mux
>>>> ! udpsink host=239.1.2.4 host=8434 sync=true*
>>>>
>>>>     Thanks in advance.
>>>>     All the best.
>>>>     LD.
>>>>
>>>>
>>>>
>>>> Sumanth V wrote:
>>>>
>>>> Hi,
>>>>
>>>>    Hi i am using a following pipeline to stream a video to a STB/VLC,
>>>>
>>>>    gst-launch mpegtsmux name=mux ! udpsink clients=192.168.1.46:1234,
>>>> 192.168.1.105:1234 filesrc location=collateral.ts ! ffdemux_mpegts
>>>> name=demux demux. ! ffdec_h264 ! queue ! ffmpegcolorspace ! videoscale !
>>>> x264enc ! mux.
>>>>
>>>> It is able to stream to vlc/STB , but the video is not playing smoothly.
>>>> It stops every now and then and plays.
>>>>
>>>> Is it the problem with the pipeline i am using?
>>>>
>>>>
>>>> regards,
>>>> Sumanth
>>>>
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Crystal Reports - New Free Runtime and 30 Day Trial
>>>> Check out the new simplified licensing option that enables unlimited
>>>> royalty-free distribution of the report engine for externally facing
>>>> server and web deployment.http://p.sf.net/sfu/businessobjects
>>>>
>>>> ------------------------------
>>>>
>>>> _______________________________________________
>>>> gstreamer-devel mailing listgstreamer-devel at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Crystal Reports - New Free Runtime and 30 Day Trial
>>>> Check out the new simplified licensing option that enables unlimited
>>>> royalty-free distribution of the report engine for externally facing
>>>> server and web deployment.
>>>> http://p.sf.net/sfu/businessobjects
>>>> _______________________________________________
>>>> gstreamer-devel mailing list
>>>> gstreamer-devel at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Crystal Reports - New Free Runtime and 30 Day Trial
>>> Check out the new simplified licensing option that enables unlimited
>>> royalty-free distribution of the report engine for externally facing
>>> server and web deployment.
>>> http://p.sf.net/sfu/businessobjects
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Crystal Reports - New Free Runtime and 30 Day Trial
>> Check out the new simplified licensing option that enables unlimited
>> royalty-free distribution of the report engine for externally facing
>> server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090610/426b6a66/attachment.htm>


More information about the gstreamer-devel mailing list