help with clock synchronization on filesrc/multifilesrc

Marianna S. Buschle msb at qtec.com
Wed May 26 13:01:39 UTC 2021


Doesn't seem to work properly

"multifilesrc loop=1 location=/home/msb/test.ts
caps=video/mpegts,framerate=30/1 ! tsparse set-timestamps=1
smoothing-latency=1000 ! identity sync=true ! "
"tsdemux : h264parse ! avdec_h264 ! videoconvert ! ximagesink sync=0 "

Plays in a very strange way: stalls and skips frames.

Also, I have been strongly advised against the 'tsparse':
http://gstreamer-devel.966125.n4.nabble.com/seek-on-filesrc-with-TS-file-tp4697440p4697464.html

It screws up duration queries and seeking...

My best results so far are:

"multifilesrc loop=1 location=/home/msb/test.ts
caps=video/mpegts,framerate=30/1 ! "
"tsdemux : identity sync=true ! h264parse ! avdec_h264 ! videoconvert !
ximagesink sync=0 "

which seems to do the necessary, but I would also like to be able to get the
same behavior before the tsdemux.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list