GNOME Bugzilla – Bug 661369
schroenc + gst-rtsp-server results in out-of-sync audio and video streams
Last modified: 2018-01-23 10:47:35 UTC
If the following pipeline is used with test-launch (example part of gst-rtsp-server) ./test-launch "( v4l2src do-timestamp=true ! videorate ! aspectratiocrop aspect-ratio=16/9 ! videoscale ! video/x-raw-yuv,width=640,height=360,framerate=12/1 ! schroenc force-profile=vc2_main quality=8 queue-depth=5 ! queue ! rtpgstpay pt=96 name=pay0 pulsesrc do-timestamp=true ! flacenc ! queue ! rtpgstpay pt=97 name=pay1 )" the resulting video stream on the client side is out of sync with the corresponding audio stream. If the schroenc element is replaced with some different encoder, e.g. vp8enc, this problem does not appear.
This seems to be a problem of the combination of elements. To get in-sync streams the following combinations work: vp8enc/flac and schroenc/vorbis. But schroenc/flac still is still out of sync.
Is this still a problem with 1.0 or latest git master?