how to stream .asf using gstreamer

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

how to stream .asf using gstreamer

ajitjohn
 Hii all,

        I have tried streaming .asf file using gstreamer from 1 pc  to a vlc player
on other pc .The pipeline that i have used for this purpose is given below:-


        gst-launch filesrc  location=/root/Desktop/audioVideo/mjpegi.asf ! udpsink
host=10.60.3.104 port=4951

        in the gstreamer side i am getting the following messages

        Setting pipeline to PAUSED ...
        Pipeline is PREROLLING ...
        Pipeline is PREROLLED ...
        Setting pipeline to PLAYING ...
        New clock: GstSystemClock
        Got EOS from element "pipeline0".
        Execution ended after 414876240 ns.
        Setting pipeline to PAUSED ...
        Setting pipeline to READY ...
        Setting pipeline to NULL ...
        FREEING pipeline ...

        and on the vlc player i am getting the following messages

        main error: recv() failed. Increase the mtu size (--mtu option)
main error: recv() failed. Increase the mtu size (--mtu option)
asf warning: unsupported packet header
asf warning: p_peek[0]&0x80 != 0x80
asf warning: undeclared stream[Id 0x0]
asf warning: p_peek[0]&0x80 != 0x80
asf warning: undeclared stream[Id 0x7f]
asf warning: unsupported packet header
asf warning: p_peek[0]&0x80 != 0x80
asf warning: undeclared stream[Id 0x67]
asf warning: undeclared stream[Id 0x4c]
asf warning: undeclared stream[Id 0x3c]
asf warning: undeclared stream[Id 0x52]
asf warning: undeclared stream[Id 0x71]
asf warning: undeclared stream[Id 0x71]
asf warning: undeclared stream[Id 0x30]
asf warning: undeclared stream[Id 0x5d]
asf warning: undeclared stream[Id 0x29]
asf warning: undeclared stream[Id 0x38]
asf warning: undeclared stream[Id 0x29]
asf warning: undeclared stream[Id 0x6f]
asf warning: undeclared stream[Id 0x9]
asf warning: undeclared stream[Id 0x52]
asf warning: undeclared stream[Id 0x30]
asf warning: undeclared stream[Id 0x77]
asf warning: undeclared stream[Id 0x3]
asf warning: undeclared stream[Id 0x47]
asf warning: undeclared stream[Id 0x4a]
asf warning: unsupported packet header
asf warning: unsupported packet header
asf warning: p_peek[0]&0x80 != 0x80
asf warning: p_peek[0]&0x80 != 0x80
asf warning: p_peek[0]&0x80 != 0x80  .............................

        I am not able to stream and receive the file.Can anyone tell me what
changes i should make in the pipeline to stream the asf file through
gstreamer and succesfully receive through vlc player.

Regards,
~Ajit.



The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to stream .asf using gstreamer

ved kpl
Hi,

Since the buffers are coming from the file, they are not timestamped
and will quickly race to EOS .  You probably need asf parse/reader in
between that can parse and timestamp the asf data, before sending to
the udpsink.

Ved

On Fri, Sep 12, 2008 at 7:36 PM, ajitjohn <[hidden email]> wrote:

>  Hii all,
>
>        I have tried streaming .asf file using gstreamer from 1 pc  to a vlc player
> on other pc .The pipeline that i have used for this purpose is given below:-
>
>
>        gst-launch filesrc  location=/root/Desktop/audioVideo/mjpegi.asf ! udpsink
> host=10.60.3.104 port=4951
>
>        in the gstreamer side i am getting the following messages
>
>        Setting pipeline to PAUSED ...
>        Pipeline is PREROLLING ...
>        Pipeline is PREROLLED ...
>        Setting pipeline to PLAYING ...
>        New clock: GstSystemClock
>        Got EOS from element "pipeline0".
>        Execution ended after 414876240 ns.
>        Setting pipeline to PAUSED ...
>        Setting pipeline to READY ...
>        Setting pipeline to NULL ...
>        FREEING pipeline ...
>
>        and on the vlc player i am getting the following messages
>
>        main error: recv() failed. Increase the mtu size (--mtu option)
> main error: recv() failed. Increase the mtu size (--mtu option)
> asf warning: unsupported packet header
> asf warning: p_peek[0]&0x80 != 0x80
> asf warning: undeclared stream[Id 0x0]
> asf warning: p_peek[0]&0x80 != 0x80
> asf warning: undeclared stream[Id 0x7f]
> asf warning: unsupported packet header
> asf warning: p_peek[0]&0x80 != 0x80
> asf warning: undeclared stream[Id 0x67]
> asf warning: undeclared stream[Id 0x4c]
> asf warning: undeclared stream[Id 0x3c]
> asf warning: undeclared stream[Id 0x52]
> asf warning: undeclared stream[Id 0x71]
> asf warning: undeclared stream[Id 0x71]
> asf warning: undeclared stream[Id 0x30]
> asf warning: undeclared stream[Id 0x5d]
> asf warning: undeclared stream[Id 0x29]
> asf warning: undeclared stream[Id 0x38]
> asf warning: undeclared stream[Id 0x29]
> asf warning: undeclared stream[Id 0x6f]
> asf warning: undeclared stream[Id 0x9]
> asf warning: undeclared stream[Id 0x52]
> asf warning: undeclared stream[Id 0x30]
> asf warning: undeclared stream[Id 0x77]
> asf warning: undeclared stream[Id 0x3]
> asf warning: undeclared stream[Id 0x47]
> asf warning: undeclared stream[Id 0x4a]
> asf warning: unsupported packet header
> asf warning: unsupported packet header
> asf warning: p_peek[0]&0x80 != 0x80
> asf warning: p_peek[0]&0x80 != 0x80
> asf warning: p_peek[0]&0x80 != 0x80  .............................
>
>        I am not able to stream and receive the file.Can anyone tell me what
> changes i should make in the pipeline to stream the asf file through
> gstreamer and succesfully receive through vlc player.
>
> Regards,
> ~Ajit.
>
>
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to stream .asf using gstreamer

ajitjohn
Hi ,

        Thanks a lot for your reply. My actual requirement is to play the file on
windows media player.
I was testing on VLC player. If I use a asf parser the asf header will
go.Then how can i play the streamed data on WMP.

And also can u plzz inform me can we use rtpsend instead udpsink for play
back on WMP

Thanks in advance,

Regards,
Ajit....



-----Original Message-----
From: ved kpl [mailto:[hidden email]]
Sent: Friday, September 12, 2008 8:59 PM
To: [hidden email]; Discussion of the development of GStreamer
Subject: Re: [gst-devel] how to stream .asf using gstreamer


Hi,

Since the buffers are coming from the file, they are not timestamped
and will quickly race to EOS .  You probably need asf parse/reader in
between that can parse and timestamp the asf data, before sending to
the udpsink.

Ved

On Fri, Sep 12, 2008 at 7:36 PM, ajitjohn <[hidden email]> wrote:
>  Hii all,
>
>        I have tried streaming .asf file using gstreamer from 1 pc  to a
vlc player
> on other pc .The pipeline that i have used for this purpose is given
below:-
>
>
>        gst-launch filesrc  location=/root/Desktop/audioVideo/mjpegi.asf !
udpsink

> host=10.60.3.104 port=4951
>
>        in the gstreamer side i am getting the following messages
>
>        Setting pipeline to PAUSED ...
>        Pipeline is PREROLLING ...
>        Pipeline is PREROLLED ...
>        Setting pipeline to PLAYING ...
>        New clock: GstSystemClock
>        Got EOS from element "pipeline0".
>        Execution ended after 414876240 ns.
>        Setting pipeline to PAUSED ...
>        Setting pipeline to READY ...
>        Setting pipeline to NULL ...
>        FREEING pipeline ...
>
>        and on the vlc player i am getting the following messages
>
>        main error: recv() failed. Increase the mtu size (--mtu option)
> main error: recv() failed. Increase the mtu size (--mtu option)
> asf warning: unsupported packet header
> asf warning: p_peek[0]&0x80 != 0x80
> asf warning: undeclared stream[Id 0x0]
> asf warning: p_peek[0]&0x80 != 0x80
> asf warning: undeclared stream[Id 0x7f]
> asf warning: unsupported packet header
> asf warning: p_peek[0]&0x80 != 0x80
> asf warning: undeclared stream[Id 0x67]
> asf warning: undeclared stream[Id 0x4c]
> asf warning: undeclared stream[Id 0x3c]
> asf warning: undeclared stream[Id 0x52]
> asf warning: undeclared stream[Id 0x71]
> asf warning: undeclared stream[Id 0x71]
> asf warning: undeclared stream[Id 0x30]
> asf warning: undeclared stream[Id 0x5d]
> asf warning: undeclared stream[Id 0x29]
> asf warning: undeclared stream[Id 0x38]
> asf warning: undeclared stream[Id 0x29]
> asf warning: undeclared stream[Id 0x6f]
> asf warning: undeclared stream[Id 0x9]
> asf warning: undeclared stream[Id 0x52]
> asf warning: undeclared stream[Id 0x30]
> asf warning: undeclared stream[Id 0x77]
> asf warning: undeclared stream[Id 0x3]
> asf warning: undeclared stream[Id 0x47]
> asf warning: undeclared stream[Id 0x4a]
> asf warning: unsupported packet header
> asf warning: unsupported packet header
> asf warning: p_peek[0]&0x80 != 0x80
> asf warning: p_peek[0]&0x80 != 0x80
> asf warning: p_peek[0]&0x80 != 0x80  .............................
>
>        I am not able to stream and receive the file.Can anyone tell me
what
> changes i should make in the pipeline to stream the asf file through
> gstreamer and succesfully receive through vlc player.
>
> Regards,
> ~Ajit.
>
>
>
> The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments contained in it.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
> Build the coolest Linux based applications with Moblin SDK & win great
prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to stream .asf using gstreamer

ajitjohn
In reply to this post by ved kpl
hii ,

        Is there a plugin in gstreamer which wil serve the purpose?

Regards,
Ajit.

-----Original Message-----
From: ved kpl [mailto:[hidden email]]
Sent: Friday, September 12, 2008 8:59 PM
To: [hidden email]; Discussion of the development of GStreamer
Subject: Re: [gst-devel] how to stream .asf using gstreamer


Hi,

Since the buffers are coming from the file, they are not timestamped
and will quickly race to EOS .  You probably need asf parse/reader in
between that can parse and timestamp the asf data, before sending to
the udpsink.

Ved

On Fri, Sep 12, 2008 at 7:36 PM, ajitjohn <[hidden email]> wrote:
>  Hii all,
>
>        I have tried streaming .asf file using gstreamer from 1 pc  to a
vlc player
> on other pc .The pipeline that i have used for this purpose is given
below:-
>
>
>        gst-launch filesrc  location=/root/Desktop/audioVideo/mjpegi.asf !
udpsink

> host=10.60.3.104 port=4951
>
>        in the gstreamer side i am getting the following messages
>
>        Setting pipeline to PAUSED ...
>        Pipeline is PREROLLING ...
>        Pipeline is PREROLLED ...
>        Setting pipeline to PLAYING ...
>        New clock: GstSystemClock
>        Got EOS from element "pipeline0".
>        Execution ended after 414876240 ns.
>        Setting pipeline to PAUSED ...
>        Setting pipeline to READY ...
>        Setting pipeline to NULL ...
>        FREEING pipeline ...
>
>        and on the vlc player i am getting the following messages
>
>        main error: recv() failed. Increase the mtu size (--mtu option)
> main error: recv() failed. Increase the mtu size (--mtu option)
> asf warning: unsupported packet header
> asf warning: p_peek[0]&0x80 != 0x80
> asf warning: undeclared stream[Id 0x0]
> asf warning: p_peek[0]&0x80 != 0x80
> asf warning: undeclared stream[Id 0x7f]
> asf warning: unsupported packet header
> asf warning: p_peek[0]&0x80 != 0x80
> asf warning: undeclared stream[Id 0x67]
> asf warning: undeclared stream[Id 0x4c]
> asf warning: undeclared stream[Id 0x3c]
> asf warning: undeclared stream[Id 0x52]
> asf warning: undeclared stream[Id 0x71]
> asf warning: undeclared stream[Id 0x71]
> asf warning: undeclared stream[Id 0x30]
> asf warning: undeclared stream[Id 0x5d]
> asf warning: undeclared stream[Id 0x29]
> asf warning: undeclared stream[Id 0x38]
> asf warning: undeclared stream[Id 0x29]
> asf warning: undeclared stream[Id 0x6f]
> asf warning: undeclared stream[Id 0x9]
> asf warning: undeclared stream[Id 0x52]
> asf warning: undeclared stream[Id 0x30]
> asf warning: undeclared stream[Id 0x77]
> asf warning: undeclared stream[Id 0x3]
> asf warning: undeclared stream[Id 0x47]
> asf warning: undeclared stream[Id 0x4a]
> asf warning: unsupported packet header
> asf warning: unsupported packet header
> asf warning: p_peek[0]&0x80 != 0x80
> asf warning: p_peek[0]&0x80 != 0x80
> asf warning: p_peek[0]&0x80 != 0x80  .............................
>
>        I am not able to stream and receive the file.Can anyone tell me
what
> changes i should make in the pipeline to stream the asf file through
> gstreamer and succesfully receive through vlc player.
>
> Regards,
> ~Ajit.
>
>
>
> The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments contained in it.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
> Build the coolest Linux based applications with Moblin SDK & win great
prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to stream .asf using gstreamer

ved kpl
Hi,

I am not sure if theres a plugin that can stream the asf container format.
For rtp u will probably need  elementary streams, although mpeg2 TS
can be delivered
overRTP.

On Fri, Sep 12, 2008 at 9:27 PM, ajitjohn <[hidden email]> wrote:

> hii ,
>
>        Is there a plugin in gstreamer which wil serve the purpose?
>
> Regards,
> Ajit.
>
> -----Original Message-----
> From: ved kpl [mailto:[hidden email]]
> Sent: Friday, September 12, 2008 8:59 PM
> To: [hidden email]; Discussion of the development of GStreamer
> Subject: Re: [gst-devel] how to stream .asf using gstreamer
>
>
> Hi,
>
> Since the buffers are coming from the file, they are not timestamped
> and will quickly race to EOS .  You probably need asf parse/reader in
> between that can parse and timestamp the asf data, before sending to
> the udpsink.
>
> Ved
>
> On Fri, Sep 12, 2008 at 7:36 PM, ajitjohn <[hidden email]> wrote:
>>  Hii all,
>>
>>        I have tried streaming .asf file using gstreamer from 1 pc  to a
> vlc player
>> on other pc .The pipeline that i have used for this purpose is given
> below:-
>>
>>
>>        gst-launch filesrc  location=/root/Desktop/audioVideo/mjpegi.asf !
> udpsink
>> host=10.60.3.104 port=4951
>>
>>        in the gstreamer side i am getting the following messages
>>
>>        Setting pipeline to PAUSED ...
>>        Pipeline is PREROLLING ...
>>        Pipeline is PREROLLED ...
>>        Setting pipeline to PLAYING ...
>>        New clock: GstSystemClock
>>        Got EOS from element "pipeline0".
>>        Execution ended after 414876240 ns.
>>        Setting pipeline to PAUSED ...
>>        Setting pipeline to READY ...
>>        Setting pipeline to NULL ...
>>        FREEING pipeline ...
>>
>>        and on the vlc player i am getting the following messages
>>
>>        main error: recv() failed. Increase the mtu size (--mtu option)
>> main error: recv() failed. Increase the mtu size (--mtu option)
>> asf warning: unsupported packet header
>> asf warning: p_peek[0]&0x80 != 0x80
>> asf warning: undeclared stream[Id 0x0]
>> asf warning: p_peek[0]&0x80 != 0x80
>> asf warning: undeclared stream[Id 0x7f]
>> asf warning: unsupported packet header
>> asf warning: p_peek[0]&0x80 != 0x80
>> asf warning: undeclared stream[Id 0x67]
>> asf warning: undeclared stream[Id 0x4c]
>> asf warning: undeclared stream[Id 0x3c]
>> asf warning: undeclared stream[Id 0x52]
>> asf warning: undeclared stream[Id 0x71]
>> asf warning: undeclared stream[Id 0x71]
>> asf warning: undeclared stream[Id 0x30]
>> asf warning: undeclared stream[Id 0x5d]
>> asf warning: undeclared stream[Id 0x29]
>> asf warning: undeclared stream[Id 0x38]
>> asf warning: undeclared stream[Id 0x29]
>> asf warning: undeclared stream[Id 0x6f]
>> asf warning: undeclared stream[Id 0x9]
>> asf warning: undeclared stream[Id 0x52]
>> asf warning: undeclared stream[Id 0x30]
>> asf warning: undeclared stream[Id 0x77]
>> asf warning: undeclared stream[Id 0x3]
>> asf warning: undeclared stream[Id 0x47]
>> asf warning: undeclared stream[Id 0x4a]
>> asf warning: unsupported packet header
>> asf warning: unsupported packet header
>> asf warning: p_peek[0]&0x80 != 0x80
>> asf warning: p_peek[0]&0x80 != 0x80
>> asf warning: p_peek[0]&0x80 != 0x80  .............................
>>
>>        I am not able to stream and receive the file.Can anyone tell me
> what
>> changes i should make in the pipeline to stream the asf file through
>> gstreamer and succesfully receive through vlc player.
>>
>> Regards,
>> ~Ajit.
>>
>>
>>
>> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments contained in it.
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel