Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: Jan Gruuthuse on January 20, 2016, 07:39:03 AM

Title: [Gui] New Behaviour change of slider
Post by: Jan Gruuthuse on January 20, 2016, 07:39:03 AM
moving the slider (mouse) does not update the video display, so not showing where you are in the video.
Only updates video image upon release (mouse button left) of slider
- tested with xvideo, opengl & vdpau
Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: Jan Gruuthuse on January 22, 2016, 05:48:13 AM
sample video documenting slider issue.
Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: mean on January 22, 2016, 10:27:14 AM
That's more or less the idea i'm toying with
The problem when dealing with HD/4K video is that the refresh is taking too much time
As a result, dragging the slider indeces a long delay

It's just experimental for the moment
Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: Jan Gruuthuse on January 22, 2016, 11:02:56 AM
OK, do understand that.
However you would still need some video/frame output on avidemux desktop. Otherwise the slider would loose it's functionality: quickly visual orientating in the loaded video.
Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: mean on January 22, 2016, 12:07:50 PM
you can use the jog for that also
Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: AQUAR on January 22, 2016, 12:41:50 PM
It would be a pity if we don't get some kind of visual feedback on the ADM display when dragging the slider.
Can you not show a selection of intra frames whilst dragging the slider?
Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: mean on January 22, 2016, 12:50:43 PM
I have a middle ground version incoming, it refreshes but in a slower way

Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: Jan Gruuthuse on January 22, 2016, 03:27:45 PM
If I remember correctly: full 4K video with slider did perform as (nearly) good as with other HD (1080i) video.
The jog performed slower against slider, so I did never use it.
Can you provide a switch on/off so I can compare the behavior of both slider (versions).
Hardware: GeForce GTX 960, 2048 MB onboard, Maximum PCIe 3.0 Link Speed: 8,0 GT/s (gigatransfers per second)

Title: 9faec57 [UI] Use delayed refresh
Post by: Jan Gruuthuse on January 22, 2016, 06:28:50 PM
Feels choppy. Tested with full 4k video: 4K Biosphere Full - Director's Extended Cut (1 hour / 7.9 GB). Approx. 6 seconds jump.
see https://www.youtube.com/watch?v=cPUKiq8fdfI
Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: mean on January 22, 2016, 07:04:02 PM
The think is that you are using VDPAU for decoding & display
Try loading a 4k VP9 video
you can find those on youtube for example
Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: Jan Gruuthuse on January 22, 2016, 07:41:43 PM
Ok, will have a go at it tomorrow (download limits) :(
Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: AQUAR on January 23, 2016, 03:55:41 AM
Not come across UHD video with VP9.

If anyone is interested in testing Means "play" versions with the slider bar functionality (especially on a windows machine!). 
DL this sample to try it out (its a long link!):

http://api.viglink.com/api/click?format=go&jsonp=vglnk_145352108548313&key=3fc03d377330259546ed7d0abb712b4f&libId=ijqks9k301000bfj000DA9akcm5w7&loc=http%3A%2F%2Fwww.reduser.net%2Fforum%2Fshowthread.php%3F111230-Google-VP9-4K-HD-Sample&v=1&out=http%3A%2F%2Fwww.artbyphil.com%2Ftemp%2Fphfx_4KHD_VP9TestFootage.zip&ref=http%3A%2F%2Fwww.eoshd.com%2F2014%2F05%2Fwatch-6k-red-dragon-sample-video-4k-vp9-next-generation-codec-4k-youtube-streaming%2F&title=Google%20VP9%204K%20HD%20Sample&txt=http%3A%2F%2Fwww.artbyphil.com%2Ftemp%2Fphfx_4...estFootage.zip
Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: Jan Gruuthuse on January 23, 2016, 06:20:19 AM
AQUAR & mean please check your Personal Messages inbox

the 1:55.240 sequence does load well.
slider nor jog wheel are working on this sample, up / down arrow is not working either.
pop up window:
Error
Cannot go to next keyframe


terminal window:
[nextKeyFrame]  Current PTS :1480 ms
  [getNKFramePTS]   No next keyframe keyfr for frameTime
  [nextKeyFrame]  Cannot find next keyframe
  [HandleAction]  ************ NextKFrame **************
  [nextKeyFrame]  Current PTS :1480 ms
  [getNKFramePTS]   No next keyframe keyfr for frameTime
  [nextKeyFrame]  Cannot find next keyframe
Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: Jan Gruuthuse on January 23, 2016, 06:41:02 AM
Quote from: mean on January 22, 2016, 07:04:02 PM
The think is that you are using VDPAU for decoding & display
Try loading a 4k VP9 video
you can find those on youtube for example

just tested behavior is the same with UHD webm.
Will try to explain myself more. Slider is now to crude to work with. The previous version was faster, more fluid in usage then jog or cursor. You could really drag along in the movie, eye baling the content. Stop when you where in the neighbourhood of the estimated cut and switch to up/down arrow to select the cut.

Will test with previous slider (dcf1586) now.
Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: Jan Gruuthuse on January 23, 2016, 07:44:12 AM
Testing with recorded desktop is inconclusive: recording drops to many frames. Only test that works is visual.
- Old slider presents more frames (like with up/down arrows but faster)
- New slider jumps certain set time (+- 6 seconds)

Can't make my mind up: jog with mouse (not working that good for me)

Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: AQUAR on January 23, 2016, 08:31:11 AM
I've really never used the "Jog Wheel" to be honest.
Dragging the slider with << >> / <> gets me to the frames of interest.

But UHD with powerful codecs like HEVC or VP9 must be challenging for the way ADM currently works.

Will be interesting to see how mean develops ADM with these ever increasing complex and demanding video's.
Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: mean on January 23, 2016, 06:29:28 PM
I'll make the news behaviour configurable
Title: Re: ad3cde8 [Gui] Change the behaviour of slider
Post by: AQUAR on January 24, 2016, 05:25:26 AM
Thanks, I'll check it out once the nightly for windows is updated.

Making the slider behaviour configurable during its beta development will be great for testing the "feel" of the operation.
I'll include the jog wheel in combination with the slider and see how that pan's out in terms of the user experience.


   
Title: Re: [Gui] New Behaviour change of slider
Post by: mean on January 25, 2016, 06:50:25 AM
Settings it to 20ms makes it work as intented on VP9/Full HD video
i.e. it reacts instantly and it refreshes fast enough
Pref->Display->Refresh Cap
Title: Re: [Gui] New Behaviour change of slider
Post by: Jan Gruuthuse on January 25, 2016, 08:38:52 AM
Just tested with the biopshere & biopshere continuum (+- 8 GB filesizes)
- mp4 4K @ default setting 100 ms: great, just like I was using a 720p.
- webm 4K @ setting 20 ms: is doing fine, but slower as above.

So I'm ok with this result :) :)
Title: Re: [Gui] New Behaviour change of slider
Post by: Jan Gruuthuse on January 25, 2016, 09:16:55 AM
On You[Tube]:
mp4 4K video in avidemux slider demo (https://www.youtube.com/watch?v=Dm9PworJwwA)
vp9 4K video in avidemux slider demo (https://www.youtube.com/watch?v=9ppBFI5VYJg)
our Avidemux Demo channel (https://www.youtube.com/channel/UC7ycUgCIuOlChtpiTFfLTmw)
Title: Re: [Gui] New Behaviour change of slider
Post by: AQUAR on January 25, 2016, 12:53:30 PM
Neither the slider or the jog wheel worked on the Google UHD VP9 sample.
Refresh rate setting 20 ms - but it's setting had no impact in getting anything on the display when dragging the slider.

I think it may be a tricky VP9 sample  that I am using to see how the new slider function works.
ADM reports no index frames in this sample even though there are some total scene changes in it (encoded entirely with slices!?).

Will have to get another VP9 UHD sample to check things out.
   
Title: Re: [Gui] New Behaviour change of slider
Post by: mean on January 25, 2016, 01:33:04 PM
Looks good & great job with the youtube channel
Title: Re: [Gui] New Behaviour change of slider
Post by: mean on January 25, 2016, 01:46:33 PM
BTW, if you feel so inclined, it would be helpful to have an "auto script" to preset everything for youtube/youtube HD/...
It's sort of python script, nothing to compile
Title: Re: [Gui] New Behaviour change of slider
Post by: Jan Gruuthuse on January 26, 2016, 06:38:19 AM
That could be useful for users and myself.