2015-07-16, 21:22
First let me explain what I'm trying to do:
I have a number of videos that are recorded from MythTV and then converted/compressed to MP4. The issue I have is the commercial breaks. I find the mythcommflag job doesn't always get it right (and often gets it very wrong!). I'm therefore writing a script that lets me create an EDL file for videos that I watch through Kodi.
The way it works is that you start the script and then start playing the file. When you pause the video, the script asks you if you want to add a marker at that spot. However, as my reactions are not lightning fast, there's a natural delay between where I want the marker to be and where I hit pause! To counter this, I want the script to be able to nudge the video forward or back until I hit the right spot. I do this by using the seekTime method of the player. However, while the seekTime method works (in that Kodi tells me the video is seeking), the paused screenshot doesn't update until I resume the video, at which point it jumps to wherever the seekTime told it to go. Unfortunately, this defeats the purpose of what I'm trying to do as I need to be able to see whether the video is in the right place.
So the simple question is: is there a way to force the video screen to refresh without resuming the video?
I have a number of videos that are recorded from MythTV and then converted/compressed to MP4. The issue I have is the commercial breaks. I find the mythcommflag job doesn't always get it right (and often gets it very wrong!). I'm therefore writing a script that lets me create an EDL file for videos that I watch through Kodi.
The way it works is that you start the script and then start playing the file. When you pause the video, the script asks you if you want to add a marker at that spot. However, as my reactions are not lightning fast, there's a natural delay between where I want the marker to be and where I hit pause! To counter this, I want the script to be able to nudge the video forward or back until I hit the right spot. I do this by using the seekTime method of the player. However, while the seekTime method works (in that Kodi tells me the video is seeking), the paused screenshot doesn't update until I resume the video, at which point it jumps to wherever the seekTime told it to go. Unfortunately, this defeats the purpose of what I'm trying to do as I need to be able to see whether the video is in the right place.
So the simple question is: is there a way to force the video screen to refresh without resuming the video?