balintlaczko / VideoAnalysis

Non-realtime video analysis, exporting motiongrams and various quantitative features of movement in the video file.
https://www.uio.no/ritmo/english/research/labs/fourms/downloads/software/VideoAnalysis/
1 stars 0 forks source link

Cropping display aspect ratio should match source video's #31

Closed balintlaczko closed 4 years ago

alexarje commented 4 years ago

Not sure if I understand what you mean here. I think it should be possible to crop to any ratio. Sometimes you may want to crop out only a certain part of the image, f.ex. one standing person.

balintlaczko commented 4 years ago

Yes, the cropping is free, I only meant that the pwindow itself should be autosized to match the input file's ascept. For example I recorded something on my 1600x900 screen, and the 320x240 cropping display (the pwindow) squishes horizontally the image of that video. NB the aspect ratio is good now in the glued jit. window, so we only need to fix the cropping display (and perhaps the playbar beneath that with a little js kungfu)

balintlaczko commented 4 years ago

+1 idea: instead of resizing the pwindow and the playbar, just fix it with @usedstdim so if there is a 16:9 video there are some black bars on the top and bottom like in other video-editing software.

alexarje commented 4 years ago

Yes, good point!