Skip to content
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

scroll bar not working, new Qt5 version cause problem #327

Open
blk13holland opened this issue Dec 24, 2022 · 6 comments · May be fixed by #331
Open

scroll bar not working, new Qt5 version cause problem #327

blk13holland opened this issue Dec 24, 2022 · 6 comments · May be fixed by #331

Comments

@blk13holland
Copy link

I have newly install on linux mint Mate 21, no way to make scroll bar works, old pc used Qt5.5.1 without any issues.
likely the new version of Qt5 caused it.
please suggest solution, the Mplayer is only player can play HEVC 1080p well on my very old dell vostros 320 with only 2GB RAM.
thanks

@u8sand
Copy link
Owner

u8sand commented Dec 26, 2022

Hi @blk13holland -- I'm assuming by scroll bar you are referring to the seek bar at the bottom. Have you compiled from source & master? I've compiled it in ArchLinux with the latest qt5 5.15.7 and didn't have this issue. Can you potentially share any errors that might appear in the console?

@blk13holland
Copy link
Author

https://youtu.be/TGEqN4lKMXU
you can see how the seek bar behaves.
no matter where I click at the position, it always starts at beginning.

Q-A
Have you compiled from source & master? ------- No. i use DEB to install on linux mint Mate 21

I've compiled it in ArchLinux with the latest qt5 5.15.7 and didn't have this issue. ------- after install, check about QT, shows this--"This program uses Qt version 5.15.3."
I tried to uninstall newer version of Qt and reinstall to older, but it's very complicated and failed, so I reintall BAKA Mplayer, it's remain the same issue occured.

Can you potentially share any errors that might appear in the console? --- Sorry, I am not capable of, I am just an average user, barely can apt install or DEB install. can any GURU teach me how?

thanks
Blk 13

@u8sand
Copy link
Owner

u8sand commented Jan 8, 2023

Hi @blk13holland I gave this a try last week but unfortunately when I tried it in my VM, there were more pressing issues, namely the video window popped out of the UI.

I tried to implement the newer mpv renderer in an attempt to mitigate this but its performance is unacceptably bad.

Thus it's going to take me a bit longer to figure this out. If I can succeed in building an operable binary, I can share it with you.

@blk13holland
Copy link
Author

take your time.
I can use arrows to forward/backword from the time being.
the go to option also not working, only can add second, not minute/hour

thanks

@u8sand
Copy link
Owner

u8sand commented Jan 29, 2023

So I managed to make progress on adopting the newest mpv renderer API and yesterday got the performance to be reasonable. I built this new iteration on a linuxmint mate virtual machine and it works for me there. These are the commands I used to do so:

# update the system
sudo apt-get update -y
sudo apt-get upgrade -y

# install necessary dependencies to build baka-mplayer
sudo apt-get install -y \
  build-essential \
  git \
  libmpv-dev \
  libqt5svg5-dev \
  libqt5x11extras5-dev \
  pkg-config \
  qtbase5-dev \
  qttools5-dev-tools

# grab the source code
git clone https://github.com/u8sand/Baka-MPlayer.git
cd Baka-MPlayer

# go to the rc (release candidate) branch
git checkout rc

# configure and make the program
./configure CONFIG+=embed_translations
make -j `grep -c ^processor /proc/cpuinfo`

# the binary is now at
./build/baka-mplayer

I also tried to build the .deb package, if you can, please test that first and see if it works.

baka-mplayer_2.1.0-1_amd64.deb.zip

@u8sand u8sand linked a pull request Jan 29, 2023 that will close this issue
13 tasks
@blk13holland
Copy link
Author

blk13holland commented Feb 3, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants