Reputation: 41
Is there a way to get the second omxplayer has already played (e.g for a Progressbar)?
If I press p, the video pauses. Is there a key like this for the progress?
I am using omxplayer in a terminal.
Upvotes: 1
Views: 3340
Reputation: 2402
omxplayer -s
will send state information including seconds
M: 8516603 V: -8.52s 0k/ 0k A: 4.67 4.63s/ 6.07s Cv: 0k Ca: 180k
Upvotes: 2
Reputation: 3565
I'm not sure it'll be useful for you, but Pyomxplayer will do it.
Nevertheless, it's essentially a Python wrapper around OMXPlayer and I'm not sure that's OK for you.
Upvotes: 0