marlam / bino

3D video player with support for 180°/360° video and Virtual Reality
https://bino3d.org
GNU General Public License v3.0
45 stars 14 forks source link

Audio playback issues with fast forward #15

Closed Aztorius closed 1 year ago

Aztorius commented 2 years ago

Hi, i'm running Fedora 37 (KDE Wayland + Pipewire + mesa with RX 6700) with Bino 2.0 manually compiled (thanks for this great 3D video software).

I'm playing an MKV file (3D Half Side By Side) of 13GB : image

When using multiple times the Right arrow to move forward (or page up), the sound is desynchronising and then totally mute. Then, if I try to change Audio track Bino completely freeze. Also the sound briefly spikes at the start of the video (really spikes).

Thanks.

marlam commented 2 years ago

Since version 2.0, Bino does not implement its own decoding, seeking or audio/video synchronization anymore. It relies on Qt Multimedia instead. So this is most probably an issue with Qt Multimedia; either its implementation or its backend (GStreamer). Maybe adding seeking support to the Qt Media Player example via QMediaPlayer::setPosition() could help you track down the problem. There's nothing we can do to fix this in Bino.

Aztorius commented 1 year ago

I've just compiled the Qt Media Player example. Same issues (without the audio spike at the beginning like Bino). When seeking further in the file a first time it is fine, but the second time audio is muted, then the app freeze if I try to change audio track. Same issues with different video files. No useful logs.

marlam commented 1 year ago

That should be enough material to write a Qt bug report.

marlam commented 1 year ago

Closing this since it is a Qt problem, not a Bino problem.