gkv311 / sview

Stereoscopic media player
GNU General Public License v3.0
97 stars 35 forks source link

crash with .mkv #134

Open freewee opened 2 months ago

freewee commented 2 months ago

Hi I have a problem with .mkv, that crash: I have "Assertion frame->data[i] failed at src/libavcodec/decode.c:1569". I tested in Ubuntu 24.04.1 and Linux Mint 22 (based on 24.04), with the NVidia drivers, same problem. I have no problem with .avi and images. I found a flatpak of sView, and strangely, there is no problem with.mkv. I had no problem with the previous versions of Ubuntu (22.04) and Linux Mint 21... Thank you

freewee commented 2 months ago

Hi, now I have the same problem with flatpak: crash with .mkv /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=sView --file-forwarding ru.sview.sView --in=video ERROR !! X, no Quad Buffered visual (normal 3D not activated!) Assertion frame->data[i] failed at libavcodec/decode.c:1521 Thank you

gkv311 commented 2 months ago

Could you share some sample MKV file? I'm currently playing with FFmpeg 7.0 and 7.1 on Windows and don't see any crashes...

freewee commented 2 months ago

With the same files, I don't have problem with Windows 7 on the same PC. (W11 has problems with 3D for me...) I will try to find small .mkv to share!

freewee commented 2 months ago

I see that the flatpak has been updated on my Linux Mint 22 partition, fortunately SView flatpak on a Ubuntu 24.04 partition is not yet updated, and it works, I can see it uses FFmpeg 5.03! So I think the use of FFmpeg 7 gives me problems, I will try to downgrade the flatpak, but I' m not sure it is so easy!

freewee commented 2 months ago

Opening mkv is erratic, sometimes it opens without problem, sometime not... An other error that I have sometimes "Gtk-Message: 10:19:14.029: Failed to load module "atk-bridge"

freewee commented 2 months ago

I come back to my Ubuntu 24.04 partition, flatpak seems to be updated without doing anything (I don' t understand), I have now the ppa and the flatpak sView using FFmpeg 6 or 7, and no more possibility to read .mkv... (sometimes it opens, but most often it crashes...) Only way too read mkv with sView is Windows, or going back to linux 22.04! Logo2-sbs.mkv.zip

freewee commented 2 months ago

I found how to downgrade the flatpak, it's not difficult, but I will try all versions if you think you could find something explaining why the use of FFmpeg version superior to 5.0.3, make mkv crash in Ubuntu 24.04 and Linux Mint 22(specific to my system???). All viewers I have (VLC Celluloid SMplayer MPV etc...)don't crash with mkv. Thank you

gkv311 commented 2 months ago

Does sView in your configuration rely on system-provided FFmpeg or some custom build / packed with flatpack?

freewee commented 2 months ago

My actual system,Linux Mint 22, with sView flatpak build 2023-05-01 FFmpeg 5.0.3 (LGPL version 2.1 or later) FFmpeg system:7:6.1.1-3ubuntu5 No problem with .mkv in this configuration

$ flatpak list Name Application ID Version Branch Installation Simple Wireplumber GUI …b.dyegoaurelio.simple-wireplumber-gui 0.1.4 stable system Avidemux org.avidemux.Avidemux 2.8.1 stable system TAP-plugins org.freedesktop.LinuxAudio.Plugins.TAP 1.0.1 23.08 system SWH org.freedesktop.LinuxAudio.Plugins.swh 0.4.17 23.08 system Freedesktop Platform org.freedesktop.Platform freedesktop-sdk-22.08.27 22.08 system Freedesktop Platform org.freedesktop.Platform freedesktop-sdk-24.08.2 24.08 system Mesa org.freedesktop.Platform.GL.default 24.0.9 22.08 system Mesa (Extra) org.freedesktop.Platform.GL.default 24.0.9 22.08-extra system Mesa org.freedesktop.Platform.GL.default 24.2.3 23.08 system Mesa (Extra) org.freedesktop.Platform.GL.default 24.2.3 23.08-extra system Mesa org.freedesktop.Platform.GL.default 24.2.3 24.08 system Mesa (Extra) org.freedesktop.Platform.GL.default 24.2.3 24.08extra system nvidia-470-256-02 …desktop.Platform.GL.nvidia-470-256-02 1.4 system ffmpeg-full org.freedesktop.Platform.ffmpeg-full 22.08 system FFmpeg extension with extra … org.freedesktop.Platform.ffmpeg-full 24.08 system openh264 org.freedesktop.Platform.openh264 2.1.0 2.2.0 system openh264 org.freedesktop.Platform.openh264 2.4.1 2.4.1 system GNOME Application Platform v… org.gnome.Platform 46 system Mint-Y-Aqua Gtk Theme org.gtk.Gtk3theme.Mint-Y-Aqua 3.22 system Mint-Y-Dark-Sand Gtk Theme org.gtk.Gtk3theme.Mint-Y-Dark-Sand 3.22 system KDE Application Platform org.kde.Platform 5.15-23.08 system KDE Application Platform org.kde.Platform 6.7 system Kdenlive org.kde.kdenlive 24.08.1 stable system sView ru.sview.sView 20.08 stable system

$ flatpak list --runtime Name Application ID Version Branch Installation TAP-plugins org.freedesktop.LinuxAudio.Plugins.TAP 1.0.1 23.08 system SWH org.freedesktop.LinuxAudio.Plugins.swh 0.4.17 23.08 system Freedesktop Platform org.freedesktop.Platform freedesktop-sdk-22.08.27 22.08 system Freedesktop Platform org.freedesktop.Platform freedesktop-sdk-24.08.2 24.08 system Mesa org.freedesktop.Platform.GL.default 24.0.9 22.08 system Mesa (Extra) org.freedesktop.Platform.GL.default 24.0.9 22.08-extra system Mesa org.freedesktop.Platform.GL.default 24.2.3 23.08 system Mesa (Extra) org.freedesktop.Platform.GL.default 24.2.3 23.08-extra system Mesa org.freedesktop.Platform.GL.default 24.2.3 24.08 system Mesa (Extra) org.freedesktop.Platform.GL.default 24.2.3 24.08extra system nvidia-470-256-02 …desktop.Platform.GL.nvidia-470-256-02 1.4 system ffmpeg-full org.freedesktop.Platform.ffmpeg-full 22.08 system FFmpeg extension with extra … org.freedesktop.Platform.ffmpeg-full 24.08 system openh264 org.freedesktop.Platform.openh264 2.1.0 2.2.0 system openh264 org.freedesktop.Platform.openh264 2.4.1 2.4.1 system GNOME Application Platform v… org.gnome.Platform 46 system Mint-Y-Aqua Gtk Theme org.gtk.Gtk3theme.Mint-Y-Aqua 3.22 system Mint-Y-Dark-Sand Gtk Theme org.gtk.Gtk3theme.Mint-Y-Dark-Sand 3.22 system KDE Application Platform org.kde.Platform 5.15-23.08 system KDE Application Platform org.kde.Platform 6.7 system

I will look at Ubuntu 24.04 where I have the last flatpak

freewee commented 2 months ago

In Ubuntu 24.04, no difference for FFmpeg system:7:6.1.1-3ubuntu5,neither with flatpak list, sView flatpak is the last build 2024-09-29 with FFmpeg 7.0.2:. mkv crashes with this configuration!