1 did official python app has the same issue in your enviroment?
2 please provide your logs, for example, redirect log to a file , like this: app >1.log, 2>1.log.
3 could you provide your code diff?
1 if only adding “streammux.set_property(“sync-inputs”, True)” in python code, I can reproduce this hung issue by your video file, deleting some sources will cost more than 40 seconds.
2 sync-inputs means “Boolean property to sychronization of input frames using PTS”, maybe sychronization will cause to wait, I will check, you can set it to false for workaround.
As sync-inputs at streammux is to TRUE, please set sync=TRUE at the sink(i.e. eglsink or fakesink which you are using) and check.
after testing on ds6.1, no stuck issue observed again. here is the log 6.1-nostuck.log (9.1 KB)