Posts: 1
Joined: Sep 2019
Reputation:
0
I've come across this post while searching for how to watch some of the sport that I have recorded off the TV in slow-motion, and seem to be within touching distance of a solution, but not quite there, so if anyone can help me finish off the setup, it would be much appreciated.
I'm running Kodi 17.6 on Ubuntu 18.04 on a dedicated box.
So I've tried to add a single frame advance to my MCE remote 'next chapter' button and also to 'Alt-a' on the keyboard, with the following keyboard.xml file :
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
<FullscreenVideo>
<remote>
<skipplus>PlayerControl(frameadvance(1))</skipplus>
</remote>
<keyboard>
<a mod="alt">PlayerControl(frameadvance(1))</a>
</keyboard>
</FullscreenVideo>
</keymap>
And this seems to have worked, as I get the following entries in the log (with debug logging enabled) when I pause a video and then press the relevant buttons :
22:55:34.266 T:139761216188352 DEBUG: LIRC: Update - NEW at 68975:000000037ff07be5 00 KEY_NEXT mceusb (KEY_NEXT)
22:55:34.266 T:139761216188352 DEBUG: OnKey: sleep (0xdf) pressed, action is PlayerControl(frameadvance(1))
22:55:37.126 T:139761216188352 DEBUG: Keyboard: scancode: 0x40, sym: 0x0134, unicode: 0x0000, modifier: 0x100
22:55:37.127 T:139761216188352 DEBUG: OnKey: alt-leftalt (0x4f0d4) pressed, action is
22:55:37.633 T:139761216188352 DEBUG: Keyboard: scancode: 0x26, sym: 0x0061, unicode: 0x0061, modifier: 0x100
22:55:37.633 T:139761216188352 DEBUG: OnKey: alt-a (0x4f041) pressed, action is PlayerControl(frameadvance(1))
HOWEVER Kodi just doesn't seem to do anything with the order it's being given.
For other keypresses, there appears to be feedback from the executed command in the log file, but no such info here, so it appears that Kodi is just not executing the command - do I need to enable something somewhere, or compile something in to get FrameAdvance functionality?
Thanks in advance for any help
Posts: 10,607
Joined: Oct 2011
Reputation:
645
jjd-uk
Team-Kodi Member
Posts: 10,607
Upgrade as it's a v18 feature.
Posts: 9
Joined: Jan 2015
Reputation:
3
Request: Expanded tempo range.
Down to 0.1 and up to 4.0 or more.
Posts: 10,607
Joined: Oct 2011
Reputation:
645
jjd-uk
Team-Kodi Member
Posts: 10,607
2021-01-19, 03:09
(This post was last modified: 2021-01-19, 03:09 by jjd-uk.)
To use the tempo controls Sync Playback to Display needs to be enabled so check that.
Posts: 2,510
Joined: Dec 2012
Reputation:
216
Hi. I'm seeking a way to screenshot a frame from an HDR video. I came across this thread. I'm able to seek frame by frame with an external player but it isn't an SDR video so the capture looks washed out. I notice if I random pause HDR video in Matrix v19 final, because it uses Windows HDR vs nVidia HDR ie:, it indeed will screenshot in all its glory.
My question is, how can I frame advance/reverse to capture a precise video frame using Kodi VideoPlayer?
I've verified the v19 nightly from today has
<left mod="alt">PlayerControl(tempodown)</left>
<right mod="alt">PlayerControl(tempoup)</right>
codes.
I press alt + left or right arrows and nothing happens although other keyboard shortcuts perform perfectly.
I've turned on/off Sync Playback to Display even though I passthrough audio just to see if I can get this working for myself but it doesn't matter.
I've restarted Kodi after making changes.
Am I doing something wrong, not doing enough, or do I have a misunderstanding of this function for my needs?
Thank you for any insight offered.