vimix icon indicating copy to clipboard operation
vimix copied to clipboard

Error opening videos in flatpak version

Open felixgonsug opened this issue 11 months ago • 6 comments

Hi, im having issues opening media in the flatpak version of vimix (0.8.3), running in xubuntu 24.04

When trying to load a video mp4 or mkv (the only formats i have to test), i get or "no video stream" or "internal data stream error"

screen capture and generated patterns works as expected

0001  Refusing stream requests to [email protected]. No streaming ongoing.
0002  Metronome Ableton Link Enabled
0003  Metronome Ableton Link start & stop sync Enabled
0004  Found Gstreamer plugins in /app/lib/gstreamer-1.0/
0005  Found the following hardware decoding gstreamer plugin(s):
0006  1. vaapidecodebin
0007  Hardware decoding enabled.
0008  OSC: Loaded 1 translation.
0009  OSC: Listening to UDP messages sent to 127.0.0.1:7000
0010  Stream 733955342034187239 Opened 'videotestsrc name=bgchecker pattern=checkers-8 ! videobalance saturation=0 contrast=1 ! appsink name=sink' (5000 x 5000)
0011  Stream 733955342034187239 Closed
0012  Font size 16
0013  New session ready.
0014  Adding source 'mantissa.xyz_loop_109'...
0015   Warning - 'file:///home/user/Videos/mantissa.xyz_loop_109.mp4' : No video stream
0016   MediaPlayer 733955361817647847 Loading failed.
0017  Adding source 'OCEAN_LOOP-8U_nLVItqdw'...
0018  'file:///home/user/Videos/OCEAN%20LOOP-8U_nLVItqdw.mp4' : Warning: missing-plugin, type=(string)decoder, detail=(GstCaps)"video/x-h264\,\ level\=\(string\)4\,\ profile\=\(string\)high\,\ coded-picture-structure\=\(string\)frame\,\ chroma-format\=\(string\)4:2:0\,\ bit-depth-luma\=\(uint\)8\,\ bit-depth-chroma\=\(uint\)8\,\ colorimetry\=\(string\)bt709", name=(string)"H.264\ \(High\ Profile\)\ decoder";
0019  MediaPlayer 733955370914309188 Opened 'OCEAN%20LOOP-8U_nLVItqdw.mp4' (H.264 (High Profile) 1920 x 1080)
0020  MediaPlayer 733955370914309188 Timeline [0 15070000000] 451 frames, 0 gaps
0021   Warning - MediaPlayer 733955370914309188 : Internal data stream error.

Any idea what can be the problem?

felixgonsug avatar Dec 11 '24 22:12 felixgonsug

Update, works after converting the vodeo to webm. Matbe something with the codecs?

felixgonsug avatar Dec 12 '24 17:12 felixgonsug

Thanks for informing on the use of vimix under xubuntu!

Please retry by disabling hardware decoding in vimix settings. Software decoding should always work.

This shows the error message could point towards a solution (e. g. software decoding). I will take this into account.

brunoherbelin avatar Dec 12 '24 19:12 brunoherbelin

The error persist with hw decoding disabled. Maybe something related to flatpak? There is also a warning about the version of the gnome runtime. MAybe updating the runtime could help?

Thanks in advance.

felixgonsug avatar Dec 14 '24 15:12 felixgonsug

Arg :cry:

The flatpak of vimix works without problem under Ubuntu 24.10, so i would have to setup a virtual machine to check this.

The flatpak itself links to Gnome 45, so I guess it could be updated to 47. I however do not see the link between Gnome and the codec problem (the gstreamer lib is recompiled for the flatpak package). Can you share the info on the warning?

Can you indicate what the About GStreamer dialog contains? Screenshot From 2024-12-16 19-34-11

brunoherbelin avatar Dec 16 '24 18:12 brunoherbelin

Another idea (but not ideal, i agree) ; you could build a local flatpak package that may work better: https://github.com/brunoherbelin/vimix/tree/master/flatpak

brunoherbelin avatar Dec 16 '24 18:12 brunoherbelin

Flatpak of version 0.8.4 has been improved and upgraded : thanks for trying it and indicating if this solves the problem.

brunoherbelin avatar Jan 11 '25 10:01 brunoherbelin