Hello,
currently im working on a project, which includes playing files (audio/video) with omxplayer.
I can let the file start at a certain time with the command: -l --pos n Start position (hh:mm:ss) just fine.
I was reading a bit into dbuscontrol.sh to play and pause the file via command line. Also u can use your arrow keys to seek forward
or backwards, but with a fixed amount of time (30s or 600s).
Now my question is, is there a way to go to a certain time in the video/audio file, while the video is already running?
My current solution is that i kill the omxplayer and start the video again at the wanted time, but there's always a delay between
in closing an reopening the video (short blackscreen).
P.S.: Im working with python and i start my videos like this:
movie_path = "/home/pi/Video.wav"
omxp = Popen(['omxplayer', '-b', '-o', 'local', movie_path])
or:
omxp = Popen(['omxplayer', '-o', 'local', '-l', time_difference_convert, '--no-osd', audio_path])