raw h264 to rtp

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

raw h264 to rtp

Carl Petersen

 

Im using a pipeline similar to this

 

gst-launch-1.0 -v filesrc location=rawh264.264 ! h264parse ! rtph264pay ! udpsink host=XX.XX.XX.XX

 

The problem is I can’t get the timestamps on the rtp packets to be reliable nor can I get the rtp to be sent at the correct interval. Normally 15,24 or 30 frames per second.

 

My understanding is the raw h264 has no timing information. I know the framerate etc and could specify it but whatever I try on  the launch command doesnt appear to change anything.

 

The timestamps are all the same and don’t increment. The pts on the data buffers says “none”. The duration is “none”. The raw h264 can be played with other tools if the framerate is specified in those other tools. So what I need is; if I specify 15 fps , the pipeline puts out 15 fps and the timestamps are incremented accordingly based on 90000 rtp clock rate. Ive had no luck with this.

 

Thanks

 

 

 



This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: raw h264 to rtp

Nicolas Dufresne-3
Le mardi 15 septembre 2015 à 18:10 -0500, Carl Petersen a écrit :

> Im using a pipeline similar to this
>  
> gst-launch-1.0 -v filesrc location=rawh264.264 ! h264parse !
> rtph264pay ! udpsink host=XX.XX.XX.XX
>  
> The problem is I can’t get the timestamps on the rtp packets to be
> reliable nor can I get the rtp to be sent at the correct interval.
> Normally 15,24 or 30 frames per second.
>  
> My understanding is the raw h264 has no timing information. I know
> the framerate etc and could specify it but whatever I try on  the
> launch command doesnt appear to change anything.
>  
> The timestamps are all the same and don’t increment. The pts on the
> data buffers says “none”. The duration is “none”. The raw h264 can be
> played with other tools if the framerate is specified in those other
> tools. So what I need is; if I specify 15 fps , the pipeline puts out
> 15 fps and the timestamps are incremented accordingly based on 90000
> rtp clock rate. Ive had no luck with this.
You can create an application, and set the timestamp using a pad probe.
The other way around, it to not store ES streams without a container so
you can preserve the timestamp information.

Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: raw h264 to rtp

alaash
In reply to this post by Carl Petersen
CONTENTS DELETED
The author has deleted this message.