Problem using ffmpeg in flatpak runtime: "Unable to find a suitable output format"
I try to package my software to a flatpak environment.
My software uses ffmpeg facilities to capture frames from video files.
All my spawned commands running ffmpeg failed with the error "Unable to find a suitable output format for ..."
To troubleshoot, I've run very simple ffmpeg command in the flatpak shell (flatpak run --command=sh --devel org.myapp.Myapp) with the same error.
Here is a simple command that failed ffmpeg -i 20211222_190005.mp4 -ss 00:00:01.000 -vframes 1 output.png Unable to find a suitable output format for 'output.png' output.png: Invalid argument
I add that these simple commands work fine in my ubuntu system. The flatpak runtime that I use is org.gnome.Platform version 3.24
Edited by Andre Klapper