Choppy video playback
-
Hello, I've been testing out QML media player with the example code provided here (https://doc.qt.io/qt-5/qml-qtmultimedia-videooutput.html) except I've added this line to the MediaPlayer so it plays audio
audioOutput: AudioOutput {}
And I've made it play upon the click of a button (not auto play) with a little bit of code to ensure it does not play twice if the button is clicking repeatedly. I've done this by making sure the PlayingState of the playing variable is false when re-playing the video
In case it matters, the video I'm playing is this one and it has .mp4 extension. It's 15.2 MB
https://youtu.be/4mw9seG_unIThe audio and video playback is very choppy. Hopefully my description of the problem makes sense. Maybe the best analogy is you'd think I was playing a resource-intensive video game on a potato PC with how bad the audio sounds and video looks
Any ideas as to how to make it play more smoothly?Failing this, are there any alternate ways of implementing videos I could try?
-
Can you test a release build ?
-
Hi,
Which version of Qt are you using ?
On which platform ? -
I'm using Qt 6.7.2 on Windows 11 OS
Compiling to
Android_Qt_6_7_2_Clang_x86_64-DebugFor device
Galaxy NexusFor OS version
Android 13.0 -
Can you test a release build ?
-
Sure, I'll begin the download now
-
Seems like a big improvement
If anybody has any other suggestions to improve playback performance let me know but I'll consider that fixed at least for smaller size videos since that's like drastically better already
-
-