OpenSUSE ffmpeg mp4 output

1

I keep getting the following error when I try to output an mp4 file with ffmpeg on OpenSUSE 42.1:

[NULL @ 0x7f2ef400b580] Requested output format 'mp4' is not a suitable output format

Is there something that I can install to fix this?

Gerharddc

Posted 2015-12-21T09:07:20.987

Reputation: 383

1Which is the commandline are you using? Try to see with ffmpeg -formats | grep mp4 if it is supported on your system (it should be something like E mp4 MP4 (MPEG-4 Part 14). – Hastur – 2015-12-21T10:51:57.647

I used "ffmpeg -i input.mp4 -s 720x480 -c:a copy output.mp4" but it seems to run after upgrading everything to the packman repo and rebooting but I can't check to see if the output works with VLC or anything else because just audio is played. – Gerharddc – 2015-12-21T11:01:47.257

Ok sorry VLC also works after packman – Gerharddc – 2015-12-21T11:03:34.107

You're welcome I just found a similar issue when creating thumbnail... you were not the only one! Even if that time didn't sort the desired effect ;)

– Hastur – 2015-12-21T11:04:44.847

Answers

1

What worked for me was to firstly add the packman repo with Yast and then install "k3b-codecs ffmpeg lame phonon-backend-vlc phonon4qt5-backend-vlc vlc-codecs". I also did a distribution upgrade just to get everything on the packman version and then did a reboot. Things only started working after the reboot so I'm not sure if dup is needed but if you already have a lot of those packages then it might just be.

Gerharddc

Posted 2015-12-21T09:07:20.987

Reputation: 383