OMXPLAYER no video after seek - Raspberry Pi Forums
hi,
i'm new guy. want make video player using python , omxplayer. connect them using d-bus. great video when play video files. if seek video using gives me no video. can see desktop clearly.
please me video back.
thank you,
i'm new guy. want make video player using python , omxplayer. connect them using d-bus. great video when play video files. if seek video using
code: select all
dbusifacekey.setposition(dbus.objectpath('/not/used'),dbus.int64(song_seek_time))
please me video back.
thank you,
the d-bus interface of omxplayer supports 2 seek functions:
- seek; seeks relative (so current (time) position plus given position), and
- setposition, seeks absolute position (omxplayer starts playing given position).
position must in microseconds (1 sec = 1 000 milliseconds = 1 000 000 microseconds).
be aware when newly position exceeds total playtime, omxplayer stops playing (exits).
problem?
tried setposition latest (github) release, , works fine.
- seek; seeks relative (so current (time) position plus given position), and
- setposition, seeks absolute position (omxplayer starts playing given position).
position must in microseconds (1 sec = 1 000 milliseconds = 1 000 000 microseconds).
be aware when newly position exceeds total playtime, omxplayer stops playing (exits).
problem?
tried setposition latest (github) release, , works fine.
raspberrypi
Comments
Post a Comment