timestamp and gstrtph264pay.c

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

timestamp and gstrtph264pay.c

arnabsamanta
 Hi ,
        I Am using the rtph264pay plugin in gst-plugins-good-0.10.11.
        I am unable to understand the timestamp logic in it.

        to my understandings and observations,
                we are extracting the timestamp value from the incoming buffer in "
gst_rtp_h264_pay_handle_buffer" function
                and this value is passed to the "gst_rtp_h264_pay_payload_nal" function as
an argument and further assigned to the outgoing buffer pointer "outbuf".

                before doing the " gst_basertppayload_push " of the  "outbuf " , we are
calling "gst_rtp_buffer_get_payload " defined in the gst-plugins-base
gstrtpbuffer.c .

                when i printed the value of the timestamp of the incoming buffer , it was
found to be -1.

                Any where in the code flow , am unable to track the portion where the
timestamp change is done.


        Can anybody kindly help me to point out the part i might have overlooked ?
        and thanks for spending your valuable time to read this long mail .

 Regards,
        ~Arnab



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: timestamp and gstrtph264pay.c

Eric Zhang-6
Hi, gstreamer-devel:

    Seems "gst_basertppayload_push" assigned timestamp to the GstBuffer. Check this function, arnabsamanta?

Eric Zhang

2008/12/2 arnabsamanta <[hidden email]>
 Hi ,
       I Am using the rtph264pay plugin in gst-plugins-good-0.10.11.
       I am unable to understand the timestamp logic in it.

       to my understandings and observations,
               we are extracting the timestamp value from the incoming buffer in "
gst_rtp_h264_pay_handle_buffer" function
               and this value is passed to the "gst_rtp_h264_pay_payload_nal" function as
an argument and further assigned to             the outgoing buffer pointer "outbuf".

               before doing the " gst_basertppayload_push " of the  "outbuf " , we are
calling "gst_rtp_buffer_get_payload "           defined in the gst-plugins-base
gstrtpbuffer.c .

               when i printed the value of the timestamp of the incoming buffer , it was
found to be -1.

               Any where in the code flow , am unable to track the portion where the
timestamp change is done.


       Can anybody kindly help me to point out the part i might have overlooked ?
       and thanks for spending your valuable time to read this long mail .

 Regards,
       ~Arnab



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: timestamp and gstrtph264pay.c

arnabsamanta
Hi Eric Zhang,
        Thanks a lot for your response.
        Yes thats the place where timestamp is getting modified.
        The function is defined in gst-plugins-base/gst-libs/gst/rtp/gstbasertppayload.c .
Arnab
-----Original Message-----
From: Eric Zhang [mailto:[hidden email]]
Sent: Thursday, December 04, 2008 7:43 AM
To: [hidden email]; Discussion of the development of GStreamer
Subject: Re: [gst-devel] timestamp and gstrtph264pay.c

Hi, gstreamer-devel:

    Seems "gst_basertppayload_push" assigned timestamp to the GstBuffer. Check this function, arnabsamanta?

Eric Zhang

2008/12/2 arnabsamanta <[hidden email]>
 Hi ,
       I Am using the rtph264pay plugin in gst-plugins-good-0.10.11.
       I am unable to understand the timestamp logic in it.

       to my understandings and observations,
               we are extracting the timestamp value from the incoming buffer in "
gst_rtp_h264_pay_handle_buffer" function
               and this value is passed to the "gst_rtp_h264_pay_payload_nal" function as
an argument and further assigned to             the outgoing buffer pointer "outbuf".

               before doing the " gst_basertppayload_push " of the  "outbuf " , we are
calling "gst_rtp_buffer_get_payload "           defined in the gst-plugins-base
gstrtpbuffer.c .

               when i printed the value of the timestamp of the incoming buffer , it was
found to be -1.

               Any where in the code flow , am unable to track the portion where the
timestamp change is done.


       Can anybody kindly help me to point out the part i might have overlooked ?
       and thanks for spending your valuable time to read this long mail .

 Regards,
       ~Arnab



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


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel