Video playback with mpv
Add video playback with mpv
-
Add the mpv widget -
Enable the widget only for video able documents -
Control the widget with a small set of buttons -
Seek mpv with slider that indicates the current position in the video -
Use std::chrono
in the MpvControls to be sure to have the correct time unit...
Not mpv related changes
-
Don't del and add docks if they are already present, just swap the contained widget => don't reset the position of the dock at sub-document updates
What it does not for now :
- Get rid of controls on MPV view when the dock goes fullscreen
Modification effectuée par Kubat
Rapports de requête de fusion
Activité
requested review from @Elliu
assigned to @martin2018
added enhancement label
added 1 commit
- 2b0e4884 - [WIP] UI: Base class for MpvContainer (not tested)
added 1 commit
- 55afbdc4 - UI: Isolate the close MPV thing in a method + add callback for time change
added 1 commit
- dff5224e - UI: Handle MPV events + set locale correctly for MPV
added 1 commit
- 13b277f5 - UI: Don't delete dock widget in VivyDocumentView
added 1 commit
- 48fba7fb - UI: Add the video view creation to the vivy doc view
added 1 commit
- 22d6af42 - UI: Can now get the reply code for async commands
added 1 commit
- dcc0d5ca - UI: Use slider to be able to set time in video + fix display of mpv messages
added 1 commit
- 7b575437 - UI: Keep track of the position in the MpvControls + log deletion of mpv context (for debug)
added 1 commit
- 93859c90 - UI: Add the load/reload/unload ASS files to mpv container. By default will unload all ASS files
Veuillez vous inscrire ou vous connecter pour répondre