-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initial aspect ratio in player #724
Comments
Seems like this approach:
doesn't work in all the cases. |
@ElderOrb, seek does not work? |
Interesting that in linux it is not reproducible for me. |
Based on @dericed said filter is fully applied only after starting playback, which means using m_player->seek(m_player->position()); for 'applying' filter doesn't work in his case |
yep, thanks, but not reproducible on linux/windows, will try to figure out how to troubleshoot it. |
qctoolssize.mp4Adding another demo of this issue with a 4/3 .dv file. |
https://github.com/bavc/qctools/blob/main/Source/GUI/player.cpp#L655 this changes AR. @ElderOrb could you please check what it was supposed to solve, can we remove it? |
video frames are not changed, and have proper size. It could be checked by saving to files. |
@dericed is it still an issue? |
It's still an open issue but the behavior is more consistent. At the moment, the video in the player appears with a forced 1/1 SAR, which is helpful for QC, but I need to add a method to apply the stored aspect ratio to close this ticket. |
To follow up on @valbok's comment at #714 (comment).
I'm using a sample from:
ffmpeg -f lavfi -i testsrc2 -t 2 -aspect 16:9 16-9.mkv
When the player is initially opened it looks like:
Then I toggle something about the player (such as enable and then disable another filter, like the waveform checkbox) and then it looks like:
The first is the video's aspect ratio while the second is sar as 1/1. Either is fine if consistent, as I'd like to control the aspect ratio with the filters, but here it's inconsistent depending on if it's the initial 'normal' view or reset back to 'normal' view.
The text was updated successfully, but these errors were encountered: