Import raw nal units in pipeline

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

Import raw nal units in pipeline

Jesper Taxbøl
I have a data source that spits raw H264 NAL units via a callback in a c program. 

I know the framerate, picture size etc.

I would like to use the video in a gstreamer pipeline. Question is, how would I insert the data in a pipeline. 

Would I do an App source or is there another way?

Kind regards

--
Jesper 

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

Re: Import raw nal units in pipeline

Nicolas Dufresne-5

Le mer. 19 juin 2019 10 h 55, Jesper Taxbøl <[hidden email]> a écrit :
I have a data source that spits raw H264 NAL units via a callback in a c program. 

I know the framerate, picture size etc.

I would like to use the video in a gstreamer pipeline. Question is, how would I insert the data in a pipeline. 

Would I do an App source or is there another way?

With appsrc you can choose the timestamps, which can be made perfect as you know the rate. So I think this is best option.


Kind regards

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

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