Sync Video and Audio

Nicolas Dufresne nicolas at ndufresne.ca
Thu Aug 23 15:20:47 UTC 2018


Le mercredi 22 août 2018 à 17:20 -0500, killerrats a écrit :
> gst-launch-1.0 --gst-debug=3 -e rtspsrc location=[IP] name=source ! 
> rtpjitterbuffer ! rtph264depay ! h264parse config-interval=1 ! tee name=vtee 
> ! mux.video splitmuxsink async-handling=true max-size-bytes=1048576 
> max-files=360 location=video%06d.avi name=mux source. ! 
> rtpjitterbuffer ! rtpmp4gdepay ! aacparse ! tee name=atee ! mux.audio_0 
> 
> Okay so i used the mp4mux element and the video and audio are spot on when
> watching them.
> 
> Error that comes up and doesn't let it go anywhere after that. Any ideas? 
> 
> 13:15:20.737978710  5888   02ED4EB0 WARN qtmux
> gstqtmux.c:4553:gst_qt_mux_add_buffer:muxer> error: Buffer has no PTS. 
> ERROR: from element
> /GstPipeline:pipeline/GstSplitMuxSinkNpc:splitmuxsink/GstMP4 
> Mux:muxer: Could not multiplex stream.Additional debug info:
> gstqtmux.c(4553): gst_qt_mux_add_buffer ():
> /GstPipeline:pipeline/GstSplitMuxSin
> kNpc:splitmuxsink/GstMP4Mux:muxer:Buffer has no PTS.

We removed the naive PTS generator (copying DTS into PTS) and added
this error, so that GStreamer stop producing invalid ISOMP4. So this
error is telling you that something before the muxer is not setting
PTS. We know some work is needed, someone need to find the time to fix
this properly.

> 
> 
> 
> -----
> ------------------------------
> Gstreamer 1.14.1
> ------------------------------
> Windows
> --
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180823/8ce1a72d/attachment.sig>


More information about the gstreamer-devel mailing list