AW: Record UDP stream
Thornton, Keith
keith.thornton at zeiss.com
Tue Oct 10 08:46:47 UTC 2017
Hi, why does your pipeline first decode the H264 than pass it through the decodebin and then re-encode to H264 before muxing it. I haven't understood this. I would have thought it should be possible to just put it through H264parse to convert it to AVC format and then to mux it.
-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Michelle Guo
Gesendet: Dienstag, 10. Oktober 2017 04:08
An: gstreamer-devel at lists.freedesktop.org
Betreff: Re: Record UDP stream
Hi Mattekr
I have the same problem as you. I receive h264 stream from udpsrc, then play and record it. I use the similar pipeline as yours, however, my problem is that the file saved from filesink is not playable. So do you have any idea ?
Thank you so much !
Mattekr wrote
> Thank you, I solved with your advice.
>
> Here is the command if it could be useful to someone
>
> C:\gstreamer\1.0\x86_64\bin\gst-launch-1.0.exe -e -v udpsrc port=5000 !
> tee name=t t. ! queue ! application/x-rtp, payload=96 ! rtpjitterbuffer !
> rtph264depay ! avdec_h264 ! fpsdisplaysink sync=false
> text-overlay=false t. ! queue ! application/x-rtp, payload=96 ! rtpjitterbuffer !
> rtph264depay ! avdec_h264 ! decodebin ! x264enc ! mp4mux ! filesink
> location=C:\\test\\file.mp4
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
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