MPEG-4 video rtp payloader

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

MPEG-4 video rtp payloader

yangsb
Does anyone knows which plugin can be used as a payloader for raw
mpeg4( simple profile ) video ?

I tried the rtpmp4vpay,but it does not work.
My pipeline is the following :

sender :
gst-lanuch -v filesrc location="test.mpeg4" ! rtpmp4vpay ! udpsink port=5000
receiver :
gst-lanuch -v udpsrc port=5000 ! rtpmp4vdepay ! filesink location=out.mpeg4

When I run the sender , it pops the following messages and then breaks down.
--------------------------------------------------------------------------------------
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:01.906842291  1105    0x57600 WARN        basertppayload
gstbasertppayload.c:690:gst_basertppayload_push:<rtpmp4vpay0> error:
subclass did not specify clock-rate
ERROR: from element /pipeline0/rtpmp4vpay0: Element doesn't implement
handling of this stream. Please file a bug.
Additional debug info:
gstbasertppayload.c(690): gst_basertppayload_push (): /pipeline0/rtpmp4vpay0:
subclass did not specify clock-rate
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:01.931542791  1105    0x57600 WARN        basertppayload
gstbasertppayload.c:690:gst_basertppayload_push:<rtpmp4vpay0> error:
subclass did not specify clock-rate
0:00:01.934702375  1105    0x57600 WARN        basertppayload
gstbasertppayload.c:690:gst_basertppayload_push:<rtpmp4vpay0> error:
subclass did not specify clock-rate
FREEING pipeline ...
----------------------------------------------------------------------------
BTW :
I am sure that the video file is mpeg-4 format , as the video file has
been player by Elecard MPEG Player.
Could anyone give me some advice ?

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: MPEG-4 video rtp payloader

michael smith-6-3
On Thu, Feb 12, 2009 at 8:49 PM, yang shaobo <[hidden email]> wrote:
> Does anyone knows which plugin can be used as a payloader for raw
> mpeg4( simple profile ) video ?
>
> I tried the rtpmp4vpay,but it does not work.
> My pipeline is the following :
>
> sender :
> gst-lanuch -v filesrc location="test.mpeg4" ! rtpmp4vpay ! udpsink port=5000

rtpmp4vpay is _only_ an rtp payloader. It won't parse a raw bitstream
for you. So, you need to have a parser before it (e.g.
mpeg4videoparse), since it's coming from a file (rather than an
encoder, which would already output parsed buffers, with appropriate
caps).

Mike

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: MPEG-4 video rtp payloader

yangsb
Hi, Mike
Thanks for your reply.
I tried this pipeline :

gst-lanuch -v filesrc location="test.mpeg4" ! mpeg4videoparse ! rtpmp4vpay ! udpsink port=5000

But it stops after pops the following message:
-----------------------------------------------------------------------
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
-----------------------------------------------------------------------
It does not pop more messages , no warnings and errors.
Could you give me some advice ?




Michael Smith-7 wrote
On Thu, Feb 12, 2009 at 8:49 PM, yang shaobo <yangsb05@gmail.com> wrote:
> Does anyone knows which plugin can be used as a payloader for raw
> mpeg4( simple profile ) video ?
>
> I tried the rtpmp4vpay,but it does not work.
> My pipeline is the following :
>
> sender :
> gst-lanuch -v filesrc location="test.mpeg4" ! rtpmp4vpay ! udpsink port=5000

rtpmp4vpay is _only_ an rtp payloader. It won't parse a raw bitstream
for you. So, you need to have a parser before it (e.g.
mpeg4videoparse), since it's coming from a file (rather than an
encoder, which would already output parsed buffers, with appropriate
caps).

Mike

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: MPEG-4 video rtp payloader

Edward Hervey
Administrator
Hi,

On Thu, 2009-02-12 at 23:18 -0800, yangsb wrote:

> Hi, Mike
> Thanks for your reply.
> I tried this pipeline :
>
> gst-lanuch -v filesrc location="test.mpeg4" ! mpeg4videoparse ! rtpmp4vpay !
> udpsink port=5000
>
> But it stops after pops the following message:
> -----------------------------------------------------------------------
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> -----------------------------------------------------------------------
> It does not pop more messages , no warnings and errors.
> Could you give me some advice ?

  Are you 100% sure it's a raw mpeg4 video file ? And not in a container
format ? Use gst-typefind-0.10 on that file to see the type of the file.
If it's in a container format, you'll need to use the appropriate
demuxer before the mpeg4video parser.

   Edward

>
>
>
>
>
> Michael Smith-7 wrote:
> >
> > On Thu, Feb 12, 2009 at 8:49 PM, yang shaobo <[hidden email]> wrote:
> >> Does anyone knows which plugin can be used as a payloader for raw
> >> mpeg4( simple profile ) video ?
> >>
> >> I tried the rtpmp4vpay,but it does not work.
> >> My pipeline is the following :
> >>
> >> sender :
> >> gst-lanuch -v filesrc location="test.mpeg4" ! rtpmp4vpay ! udpsink
> >> port=5000
> >
> > rtpmp4vpay is _only_ an rtp payloader. It won't parse a raw bitstream
> > for you. So, you need to have a parser before it (e.g.
> > mpeg4videoparse), since it's coming from a file (rather than an
> > encoder, which would already output parsed buffers, with appropriate
> > caps).
> >
> > Mike
> >
> > ------------------------------------------------------------------------------
> > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> > CA
> > -OSBC tackles the biggest issue in open source: Open Sourcing the
> > Enterprise
> > -Strategies to boost innovation and cut costs with open source
> > participation
> > -Receive a $600 discount off the registration fee with the source code:
> > SFAD
> > http://p.sf.net/sfu/XcvMzF8H
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >
>


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: MPEG-4 video rtp payloader

yangsb
Yes. I am sure.
Actually, I get the mpeg4 file from a avi demuxer.
Also , I tried files directly saved from the output of a hardware mpeg4 encoder( in a SOC , like TI's DM355 processor ).



Edward Hervey wrote
Hi,

On Thu, 2009-02-12 at 23:18 -0800, yangsb wrote:
> Hi, Mike
> Thanks for your reply.
> I tried this pipeline :
>
> gst-lanuch -v filesrc location="test.mpeg4" ! mpeg4videoparse ! rtpmp4vpay !
> udpsink port=5000
>
> But it stops after pops the following message:
> -----------------------------------------------------------------------
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> -----------------------------------------------------------------------
> It does not pop more messages , no warnings and errors.
> Could you give me some advice ?

  Are you 100% sure it's a raw mpeg4 video file ? And not in a container
format ? Use gst-typefind-0.10 on that file to see the type of the file.
If it's in a container format, you'll need to use the appropriate
demuxer before the mpeg4video parser.

   Edward

>
>
>
>
>
> Michael Smith-7 wrote:
> >
> > On Thu, Feb 12, 2009 at 8:49 PM, yang shaobo <yangsb05@gmail.com> wrote:
> >> Does anyone knows which plugin can be used as a payloader for raw
> >> mpeg4( simple profile ) video ?
> >>
> >> I tried the rtpmp4vpay,but it does not work.
> >> My pipeline is the following :
> >>
> >> sender :
> >> gst-lanuch -v filesrc location="test.mpeg4" ! rtpmp4vpay ! udpsink
> >> port=5000
> >
> > rtpmp4vpay is _only_ an rtp payloader. It won't parse a raw bitstream
> > for you. So, you need to have a parser before it (e.g.
> > mpeg4videoparse), since it's coming from a file (rather than an
> > encoder, which would already output parsed buffers, with appropriate
> > caps).
> >
> > Mike
> >
> > ------------------------------------------------------------------------------
> > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> > CA
> > -OSBC tackles the biggest issue in open source: Open Sourcing the
> > Enterprise
> > -Strategies to boost innovation and cut costs with open source
> > participation
> > -Receive a $600 discount off the registration fee with the source code:
> > SFAD
> > http://p.sf.net/sfu/XcvMzF8H
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >
>


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel