Gstreamer x264enc+;三通+;mp4mux

Gstreamer x264enc+;三通+;mp4mux,gstreamer,tee,Gstreamer,Tee,好的,我有个问题,我写了这个管道: gst-launch-1.0 -e location=rtsp://ip/url ! decodebin ! tee name=split split. ! queue ! autovideosink split. ! queue ! x264enc tune=zerolatency ! mp4mux ! filesink location = test.mp4 但困扰我的是文件链接。在我停止管道后,我得到了损坏的文件,我知道问题是mp4mux没有收到

好的,我有个问题,我写了这个管道:

 gst-launch-1.0 -e location=rtsp://ip/url ! decodebin ! tee name=split split. ! queue ! autovideosink  split. ! queue ! x264enc tune=zerolatency ! mp4mux ! filesink location = test.mp4 

但困扰我的是文件链接。在我停止管道后,我得到了损坏的文件,我知道问题是mp4mux没有收到eos消息,他无法完成文件,但我不知道如何解决这个问题。有人能帮我解决这个问题吗?

好的,我找到了一个解决方案,我在每个接收器元素后添加了sync=false,现在一切都好了