AW: Dynamically record a h264 stream

Davide Tuccilli tuccio89 at hotmail.com
Fri Mar 18 16:30:21 UTC 2016


Thank you for the answer, although I don't know how to interpret it.

Since I'm not sure where to put the filter, I created this caps:

GstCaps * caps = gst_caps_new_simple("video/x-h264",
                                          "stream-format", 
G_TYPE_STRING, "avc",
                                          nullptr);

And I tried to link each pair of consecutive elements with this filter: 
meaning I tried between the queue and the h264parse first, but it failed 
to link, then tried between h264parse and the mux and it still gave 
broken NAL, then tried between the mux and the filesink and it failed to 
link again.

On 18/03/2016 15:08, Thornton, Keith wrote:
> Hi, If you want playable files you will need a parser and a caps filter to convert to avc after the tee but before your filesink.



More information about the gstreamer-devel mailing list