custom h264 stream
Nicolas Dufresne
nicolas.dufresne at gmail.com
Thu May 12 09:07:44 UTC 2016
Le jeudi 12 mai 2016 à 01:11 -0700, Bars a écrit :
> Now I try to stream it via RTSP
>
> gst-rtsp-server-1.8.0/examples/test-launch "( udpsrc
> address='127.0.0.1'
> port=11111
> ! h264parse
> ! avdec_h264
> ! videorate
> ! video/x-raw,framerate=10/1
> ! x264enc
> ! rtph264pay pt=96 name=pay0 )"
>
This won't fix the timestamp issue, as the lost is from you server to
GStreamer.
Could I suggest you to write a source element for N9M (if it's a
secret, GStreamer plugin can be kept proprietary). This way, you'll be
able to use the N9M provided timestamp, and avoid introducing jitter.
The RTSP server pipeline would look like:
"n9msrc ! rtph264pay pt=96 name=pay0"
You avoid the transcoding step too here (you can of course still
transcode, note that transcoding will honnor the input timestamp).
Nicolas
More information about the gstreamer-devel
mailing list