AW: Dynamically record a h264 stream
Thornton, Keith
keith.thornton at zeiss.com
Fri Mar 18 14:08:25 UTC 2016
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.
-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Davide Tuccilli
Gesendet: Freitag, 18. März 2016 14:02
An: Discussion of the development of and with GStreamer
Betreff: Re: Dynamically record a h264 stream
> That's indeed a good question. Does it work better if you put the
> h264parse in front of the tee? What stream-format and alignment is
> output by h264parse?
If I put it in front it does the same, if I put it in front and remove the h264parse before the muxer the linking fails (not sure if this is to be expected, I can remove it on the other branch, before the decoder, once I put one before the tee).
This is the caps: video/x-h264, stream-format=(string)byte-stream,
alignment=(string)au, width=(int)720, height=(int)576, framerate=(fraction)25/1, parsed=(boolean)true, profile=(string)high,
level=(string)3
The parsed=true is because it's taken with the h264parse before the tee.
> You will also need to ensure that (ideally) the recorded stream starts
> with a keyframe and SPS/PPS.
How would I do that? Another thing that I didn't say is that I can record the stream just fine without the tee (but I can't watch it of course).
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list