PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Avidemux, FFmpeg = NON-MP3 ??



Seiten : [1] 2

exponator
08.04.22, 14:57
Hallo zusammen

Ich habe seit einiger Zeit meine 2 Laptops auf openSuSE Leap 15.3 im Rennen.
Läuft soweit auch recht gut.

Jetzt, nachdem ich Zeit habe mich um meine MP3 Sammlung zu kümmern fällt mir auf, dass zumindest 2 Programme nicht mehr so funktionieren wie unter Leap 15.2.

FFMPEG kennt das/den Audiocodec libmp3lame nicht.
Avidemux kann nicht mal mp3-Dateien laden.

Was läuft hier schief?

Die Repos sind, bis auf die Version von Leap, die gleichen wie vorher unter 15.2.
Selbst Packman ist mit dabei. Man sollte doch meinen, dass gerade sowas nicht vorkommen sollte.

Wer hat eine Idee, wonach ich wo suchen kann / soll.

exponator
08.04.22, 15:03
Und wie bitte schalte ich diese Seite - oder was auch immer - um, damit die obigen Sätze nicht so hintereinander stehen, sondern in mehreren Zeilen. Irgendwas läuft hier - oder bei meinem Laptop - ungemein schief.

[Erledigt]
Schuld an solchem Dilemma ist Firefox.
Die obigen Sätze im ersten Post habe ich jetzt mit dem Brave-Browser richtig gestellt.
Bis ich, von wem auch immer, eine Idee erhalte, ist Firefox erst mal gestorben.
Frage mich nur, warum das mit Firefox passiert.

Sauerland1
08.04.22, 15:16
Poste mal:

zypper se -si gstreamer mp3 lame

exponator
08.04.22, 16:01
Moin Sauerland, ich poste. Wird aber lang.

zy se -si gstreamer mp3 lame
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S | Name | Type | Version | Arch | Repository
---+--------------------------------------+-------+--------------------+--------+-------------------------------------------------------------
i+ | PackageKit-gstreamer-plugin | Paket | 1.1.13-4.23.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i+ | cutmp3 | Paket | 3.0.1-bp153.1.16 | x86_64 | Main Repository
i | gstreamer | Paket | 1.16.3-3.3.1 | x86_64 | Main Repository
i | gstreamer | Paket | 1.16.3-3.3.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i | gstreamer-lang | Paket | 1.16.3-3.3.1 | noarch | Main Repository
i | gstreamer-lang | Paket | 1.16.3-3.3.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15
i | gstreamer-libnice | Paket | 0.1.14-1.40 | x86_64 | Main Repository
i+ | gstreamer-plugins-bad | Paket | 1.16.3-lp153.3.3.1 | x86_64 | Main Repository
i+ | gstreamer-plugins-bad | Paket | 1.16.3-lp153.3.3.1 | x86_64 | Main Update Repository
i | gstreamer-plugins-bad-lang | Paket | 1.16.3-lp153.3.3.1 | noarch | Main Repository
i | gstreamer-plugins-bad-lang | Paket | 1.16.3-lp153.3.3.1 | noarch | Main Update Repository
i+ | gstreamer-plugins-bad-orig-addon | Paket | 1.16.3-pm153.3.6.5 | x86_64 | Packman
i | gstreamer-plugins-base | Paket | 1.16.3-4.3.1 | x86_64 | Main Repository
i | gstreamer-plugins-base | Paket | 1.16.3-4.3.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i | gstreamer-plugins-base-lang | Paket | 1.16.3-4.3.1 | noarch | Main Repository
i | gstreamer-plugins-base-lang | Paket | 1.16.3-4.3.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15
i+ | gstreamer-plugins-good | Paket | 1.16.3-3.6.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i+ | gstreamer-plugins-good-gtk | Paket | 1.16.3-3.6.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i+ | gstreamer-plugins-good-lang | Paket | 1.16.3-3.6.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15
i+ | gstreamer-plugins-libav | Paket | 1.16.2-pm153.2.6 | x86_64 | Packman
i+ | gstreamer-plugins-ugly | Paket | 1.16.3-3.3.1 | x86_64 | Main Repository
i+ | gstreamer-plugins-ugly | Paket | 1.16.3-3.3.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i+ | gstreamer-plugins-ugly-lang | Paket | 1.16.3-3.3.1 | noarch | Main Repository
i+ | gstreamer-plugins-ugly-lang | Paket | 1.16.3-3.3.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15
i+ | gstreamer-plugins-ugly-orig-addon | Paket | 1.16.3-pm153.3.5.5 | x86_64 | Packman
i+ | gstreamer-plugins-vaapi | Paket | 1.16.2-bp153.1.15 | x86_64 | Main Repository
i | gstreamer-transcoder | Paket | 1.16.0-bp153.1.17 | x86_64 | Main Repository
i | gstreamer-validate | Paket | 1.16.2-bp153.1.22 | x86_64 | Main Repository
i+ | kodi.binary-addons-audioencoder.lame | Paket | 19.4-pm153.2.1 | x86_64 | Packman
i+ | lame | Paket | 3.100-1.33 | x86_64 | Main Repository
i | libgstreamer-1_0-0 | Paket | 1.16.3-3.3.1 | x86_64 | Main Repository
i | libgstreamer-1_0-0 | Paket | 1.16.3-3.3.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i | libgupnp-dlna-backend-gstreamer | Paket | 0.10.5-bp153.1.24 | x86_64 | Main Repository
i+ | libmp3lame0 | Paket | 3.100-1.33 | x86_64 | Main Repository
i | libmp3splt0 | Paket | 0.9.2-pm153.2.6 | x86_64 | Packman
i | libsnmp30 | Paket | 5.7.3-8.24 | x86_64 | Main Repository
i+ | libtwolame0 | Paket | 0.3.13-1.26 | x86_64 | Main Repository
i+ | mp3_check | Paket | 1.98-bp153.1.16 | x86_64 | Main Repository
i+ | mp3info | Paket | 0.8.5a-pm153.2.5 | x86_64 | (Systempakete)
i+ | mp3splt | Paket | 2.6.2-pm153.2.6 | x86_64 | (Systempakete)
i+ | mp3splt-gtk | Paket | 0.9.2-pm153.2.5 | x86_64 | (Systempakete)
i+ | mp3wrap | Paket | 0.5-pm153.2.5 | x86_64 | (Systempakete)
i+ | perl-MP3-Tag | Paket | 1.15-pm153.6.2 | noarch | Packman
i | phonon4qt5-backend-gstreamer | Paket | 4.10.0-bp153.1.23 | x86_64 | Main Repository
i | phonon4qt5-backend-gstreamer-lang | Paket | 4.10.0-bp153.1.23 | noarch | Main Repository
i+ | twolame | Paket | 0.3.13-1.26 | x86_64 | Main Repository
i | vlc-codec-gstreamer | Paket | 3.0.16-bp153.2.3.1 | x86_64 | Update repository of openSUSE Backports
i | vlc-codec-gstreamer | Paket | 3.0.16-bp153.2.3.1 | x86_64 | Main Repository
i+ | whatmp3 | Paket | 3.8-pm153.1.4 | x86_64 | Packman


Vielleicht findest du ja was.

Warum die Sätze teilweise nicht untereinander stehen, liegt bei mir am Firefox. K.A. was damit los ist.

Sauerland1
08.04.22, 16:19
Mach mal ein:

zypper dup --allow-vendor-change --from Packman

exponator
08.04.22, 16:26
Mach mal ein:

zypper dup --allow-vendor-change --from Packman
Was bringt mir das, wenn ich keine Änderung in den Repositories mache. Z.B. auf Leap 15.4?
DUP bedeutet doch Dist-Upgrade.
Aber gut. Ein Versuch ist es wert. Ich poste das Ergebnis.

exponator
08.04.22, 16:28
Erstes Ergibnis bevor ich das GO gegeben hab:
gstreamer-plugins-bad openSUSE -> http://packman.links2linux.de
gstreamer-plugins-bad-lang openSUSE -> http://packman.links2linux.de
gstreamer-plugins-ugly SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
gstreamer-plugins-ugly-lang SUSE LLC <https://www.suse.com/> -> http://packman.links2linux.de
libgstadaptivedemux-1_0-0 openSUSE -> http://packman.links2linux.de
libgstbadaudio-1_0-0 openSUSE -> http://packman.links2linux.de
libgstbasecamerabinsrc-1_0-0 openSUSE -> http://packman.links2linux.de
libgstcodecparsers-1_0-0 openSUSE -> http://packman.links2linux.de
libgstisoff-1_0-0 openSUSE -> http://packman.links2linux.de
libgstmpegts-1_0-0 openSUSE -> http://packman.links2linux.de
libgstphotography-1_0-0 openSUSE -> http://packman.links2linux.de
libgstsctp-1_0-0 openSUSE -> http://packman.links2linux.de
libgsturidownloader-1_0-0 openSUSE -> http://packman.links2linux.de
libgstwayland-1_0-0 openSUSE -> http://packman.links2linux.de
libgstwebrtc-1_0-0 openSUSE -> http://packman.links2linux.de
libvlc5 openSUSE -> http://packman.links2linux.de
libvlccore9 openSUSE -> http://packman.links2linux.de
vlc openSUSE -> http://packman.links2linux.de
vlc-codec-gstreamer openSUSE -> http://packman.links2linux.de
vlc-lang openSUSE -> http://packman.links2linux.de
vlc-noX openSUSE -> http://packman.links2linux.de
vlc-qt openSUSE -> http://packman.links2linux.de
vlc-vdpau openSUSE -> http://packman.links2linux.de

Damit habe ich nicht gerechnet.

exponator
08.04.22, 16:36
Ergebis nach dem dup:
Audacity lädt MP3-Dateien.
ffmpeg kann aber folgenden Befehl nicht ausführen:

ffmpeg -i Song.mp3 -af rubberband=pitch=0.98181 Song-edit.mp3
Fehlermeldung:
Automatic encoder selection failed for output stream #0:0. Default encoder for format mp3 (codec mp3) is probably disabled. Please choose an encoder manually.
Error selecting an encoder for stream 0:0

Audacity kann es, funktioniert jedoch nicht als Script für viele Songs.

exponator
08.04.22, 17:05
Folgendes ist installiert:
zy se -si ffmpeg
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S | Name | Type | Version | Arch | Repository
---+---------------------------------------------+-------+-----------------------------+--------+----------------
i+ | ffmpeg-4 | Paket | 4.4-pm153.2.9 | x86_64 | Packman
i | ffmpegthumbs | Paket | 20.04.2-bp153.1.25 | x86_64 | Main Repository
i | ffmpegthumbs-lang | Paket | 20.04.2-bp153.1.25 | noarch | Main Repository
i+ | ffmpegyag | Paket | 0.7.6.git20170503-pm153.2.7 | x86_64 | Packman
i+ | kodi.binary-addons-inputstream.ffmpegdirect | Paket | 19.4-pm153.2.1 | x86_64 | Packman

zypper se -si rubberband
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S | Name | Type | Version | Arch | Repository
---+----------------+-------+------------------+--------+----------------
i+ | librubberband2 | Paket | 1.8.1-bp153.1.21 | x86_64 | Main Repository
i+ | rubberband-cli | Paket | 1.8.1-bp153.1.21 | x86_64 | Main Repository

Wieso gerade ffmpeg von Packman mit dem mp3-codec nichts anfangen kann ist mir ein Rätsel.

Sauerland1
08.04.22, 18:00
Meine Ausgabe bei deinem Befehl:

ffmpeg -i 01\ Silver\ Bugles.mp3 -af rubberband=pitch=0.98181 Song-edit.mp3
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 7 (SUSE Linux)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-stro
ng -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchro
nous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --enable-version3 --disable-openssl --enable-avresample --enable
-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcelt --enable-libcdio --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfontconfig --enable-libfreetype --en
able-libfribidi --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-libspeex --enable-libssh --enable-libtheora --enable-libt
wolame --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libzvbi --enable-libmfx --enable-vaapi --enable-vdpau -
-enable-version3 --enable-libfdk-aac-dlopen --enable-nonfree --enable-libvo-amrwbenc --enable-libx264 --enable-libx265 --enable-librtmp --enable-libxvid
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
[mp3 @ 0x563423a76880] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '01 Silver Bugles.mp3':
Metadata:
title : Silver Bugles
artist : Band and Bugles of The Light Division - Winchester - Cpt R. Owen
album_artist : Band and Bugles of The Light Division - Winchester
album : A Living Tradition
disc : 01/01
encoded_by : lame3.100
track : 01/15
genre : Instrumental
composer : Neville Paul
date : 1996
Duration: 00:02:38.98, start: 0.000000, bitrate: 192 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 192 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mp3 (mp3float) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
[AVFilterGraph @ 0x563423a7acc0] No such filter: 'rubberband'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!


Hast du es mal ohne -af rubberband=pitch=0.98181 versucht?

exponator
08.04.22, 18:21
Hab ich nicht, denn ich möchte ja Songs von 440 auf 432 Hz konvertieren. Und dazu braucht es laut ThorstenHirsch den Filter rubberband.

Ein Kollege von mir arbeitet mit der Vollversion von hier: https://www.432hzconverter.com/app2?lang=de.
Er benutzt es allerdings unter Win10. WindowsFreak eben.

Ich hätte es gern unter Linux, da ich Windows nicht mag und gebrauchen kann.
Ein Derivat dieses Progs respektive ein funktionierendes Script habe ich noch nicht gefunden.

Sauerland1
08.04.22, 18:41
Hab ich nicht, denn ich möchte ja Songs von 440 auf 432 Hz konvertieren. Und dazu braucht es laut ThorstenHirsch den Filter rubberband.

Der bei mir nicht funktioniert, aber mit:

ffmpeg -i 01\ Silver\ Bugles.mp3 Song-edit.mp3
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 7 (SUSE Linux)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-stro
ng -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --optflags='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchro
nous-unwind-tables -fstack-clash-protection -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --enable-version3 --disable-openssl --enable-avresample --enable
-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcelt --enable-libcdio --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfontconfig --enable-libfreetype --en
able-libfribidi --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-libspeex --enable-libssh --enable-libtheora --enable-libt
wolame --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libzvbi --enable-libmfx --enable-vaapi --enable-vdpau -
-enable-version3 --enable-libfdk-aac-dlopen --enable-nonfree --enable-libvo-amrwbenc --enable-libx264 --enable-libx265 --enable-librtmp --enable-libxvid
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
[mp3 @ 0x5578f9d29880] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '01 Silver Bugles.mp3':
Metadata:
title : Silver Bugles
artist : Band and Bugles of The Light Division - Winchester - Cpt R. Owen
album_artist : Band and Bugles of The Light Division - Winchester
album : A Living Tradition
disc : 01/01
encoded_by : lame3.100
track : 01/15
genre : Instrumental
composer : Neville Paul
date : 1996
Duration: 00:02:38.98, start: 0.000000, bitrate: 192 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 192 kb/s
File 'Song-edit.mp3' already exists. Overwrite? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (mp3 (mp3float) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to 'Song-edit.mp3':
Metadata:
TIT2 : Silver Bugles
TPE1 : Band and Bugles of The Light Division - Winchester - Cpt R. Owen
TPE2 : Band and Bugles of The Light Division - Winchester
TALB : A Living Tradition
TPOS : 01/01
TENC : lame3.100
TRCK : 01/15
TCON : Instrumental
TCOM : Neville Paul
TDRC : 1996
TSSE : Lavf58.76.100
Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp
Metadata:
encoder : Lavc58.134.100 libmp3lame
size= 2485kB time=00:02:38.95 bitrate= 128.1kbits/s speed= 57x
video:0kB audio:2484kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.022208%

funktioniert die Umwandlung.........

PS:
440Hz ist aber normal.............
https://de.wikipedia.org/wiki/Kammerton

exponator
08.04.22, 18:45
Danke dir dafür. Ist aber leider nicht das, was ich suchte.
Auch danke nochmal für den Hinweis und Tipp zum DUP auf Packman.

Sauerland1
08.04.22, 18:49
Nur um zu schauen, ob ffmpeg funktioniert.........

exponator
08.04.22, 20:12
Das hab ich, mein Guter.

ffmpeg -i Abba.mp3 Song-edit.mp3
ffmpeg version N-105059-g064ab95cc7 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 7 (SUSE Linux)
configuration:
libavutil 57. 13.100 / 57. 13.100
libavcodec 59. 15.102 / 59. 15.102
libavformat 59. 12.100 / 59. 12.100
libavdevice 59. 1.100 / 59. 1.100
libavfilter 8. 21.100 / 8. 21.100
libswscale 6. 1.102 / 6. 1.102
libswresample 4. 0.100 / 4. 0.100
Input #0, mp3, from 'Abba.mp3':
Metadata:
encoder : Lavf57.83.100
Duration: 00:05:25.88, start: 0.025057, bitrate: 192 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 192 kb/s
Metadata:
encoder : Lavc57.10
Automatic encoder selection failed for output stream #0:0. Default encoder for format mp3 (codec mp3) is probably disabled. Please choose an encoder manually.
Error selecting an encoder for stream 0:0
Ergebnis: ffmpeg funktioniert NICHT.

Sauerland1
08.04.22, 20:47
encoder : Lavf57.83.100

Hier:

encoder : Lavc58.134.100 libmp3lame

Poste:

zypper se -si libav

ThorstenHirsch
08.04.22, 22:46
Diese Version von ffmpeg wurde nicht mit librubberband kompiliert.


"To enable compilation of this filter, you need to configure FFmpeg with --enable-librubberband.

Das ist blöd. Ich glaube es ist richtig viel Aufwand, wenn man ffmpeg selbst kompilieren will unter Suse, wegen der ganzen Abhängigkeiten.

marce
09.04.22, 08:39
... und das alles auch wegen irgendeinem Internetmythos...
(siehe https://www.linuxforen.de/forums/showthread.php?282735-korrekte-Hertz-Zahl-einer-MP3)

exponator
09.04.22, 14:02
Hier:

encoder : Lavc58.134.100 libmp3lame

Poste:

zypper se -si libav


zypper se -si libav
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S | Name | Type | Version | Arch | Repository
---+-------------------------+-------+------------------+--------+----------------
i+ | gstreamer-plugins-libav | Paket | 1.16.2-pm153.2.6 | x86_64 | Packman
i+ | libav-tools | Paket | 12.3-bp153.1.19 | x86_64 | Main Repository
i | libavahi-client3 | Paket | 0.7-3.9.1 | x86_64 | Main Repository
i | libavahi-common3 | Paket | 0.7-3.9.1 | x86_64 | Main Repository
i | libavahi-core7 | Paket | 0.7-3.9.1 | x86_64 | Main Repository
i | libavahi-glib1 | Paket | 0.7-3.9.1 | x86_64 | Main Repository
i | libavc1394-0 | Paket | 0.5.4-bp153.1.23 | x86_64 | Main Repository
i+ | libavcodec57 | Paket | 3.4.9-pm153.1.4 | x86_64 | Packman
i+ | libavcodec58_134 | Paket | 4.4-pm153.2.9 | x86_64 | Packman
i+ | libavdevice57 | Paket | 3.4.9-pm153.1.4 | x86_64 | Packman
i+ | libavdevice58_13 | Paket | 4.4-pm153.2.9 | x86_64 | Packman
i+ | libavfilter6 | Paket | 3.4.9-pm153.1.4 | x86_64 | Packman
i+ | libavfilter7_110 | Paket | 4.4-pm153.2.9 | x86_64 | Packman
i+ | libavformat57 | Paket | 3.4.9-pm153.1.4 | x86_64 | Packman
i+ | libavformat58_76 | Paket | 4.4-pm153.2.9 | x86_64 | Packman
i+ | libavresample3 | Paket | 3.4.9-pm153.1.4 | x86_64 | Packman
i+ | libavresample4_0 | Paket | 4.4-pm153.2.9 | x86_64 | Packman
i+ | libavutil55 | Paket | 3.4.9-pm153.1.4 | x86_64 | Packman
i+ | libavutil56_70 | Paket | 4.4-pm153.2.9 | x86_64 | Packman

exponator
09.04.22, 14:05
Diese Version von ffmpeg wurde nicht mit librubberband kompiliert.

Das ist blöd. Ich glaube es ist richtig viel Aufwand, wenn man ffmpeg selbst kompilieren will unter Suse, wegen der ganzen Abhängigkeiten.
Wenn man allerdings bedenkt, dass die installierte Version von Packman ist -der ja bekanntlich viel mit Multimedia zu tun hat- sollte man doch davon ausgehen, dass es reibungslos funktioniert. Auch mit rubberband.

Als Normaluser (kompilieren kann ich, da alles vorhanden) muss ich ja nur wissen was alles an codecs mit hinein soll.

exponator
09.04.22, 15:43
Also eines ist doch echt zum Kotzen mit diesem ffmpeg. Ich habe mal folgendes aufgerufen:
ffmpeg -formats
Ergebnis ist, dass dieses ffmpeg normalerweise mit mp3 umgehen können müsste.
ffmpeg -formats
ffmpeg version N-105059-g064ab95cc7 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 7 (SUSE Linux)
configuration:
libavutil 57. 13.100 / 57. 13.100
libavcodec 59. 15.102 / 59. 15.102
libavformat 59. 12.100 / 59. 12.100
libavdevice 59. 1.100 / 59. 1.100
libavfilter 8. 21.100 / 8. 21.100
libswscale 6. 1.102 / 6. 1.102
libswresample 4. 0.100 / 4. 0.100
File formats:
D. = Demuxing supported
.E = Muxing supported
--
D aac raw ADTS AAC (Advanced Audio Coding)
DE ac3 raw AC-3
DE flac raw FLAC
DE h264 raw H.264 video
DE m4v raw MPEG-4 video
E mp2 MP2 (MPEG audio layer 2)
DE mp3 MP3 (MPEG audio layer 3)
E mp4 MP4 (MPEG-4 Part 14)
E vob MPEG-2 PS (VOB)
D vobsub VobSub subtitle format
E webm WebM
E webm_chunk WebM Chunk Muxer
DE webm_dash_manifest WebM DASH Manifest

Die für mich unwichtigen Stellen habe ich weggenommen.

Jetzt stelle ich mir die Frage: Wenn ffmpeg so viel kann, warum meckert es dann rum?

Sauerland1
09.04.22, 16:20
ffmpeg version N-105059-g064ab95cc7 Copyright (c) 2000-2022 the FFmpeg developers

Bei mir ist installiert:

ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers


Ist bei dir ffmpeg-3 installiert?
Ich hab ffmpeg-4 installiert

Sauerland1
09.04.22, 16:28
Gerade mal ffmpeg-3 zusätzlich zu ffmpeg-4 installiert, viele Dateikonflikte wegen gleichem Namen:

Überprüfung auf Dateikonflikte läuft: .................................................. .................................................. .................................................. ...............[Fehler]
33 Dateikonflikte festgestellt:

File /usr/bin/aviocat
from install of
ffmpeg-3-3.4.9-pm153.1.4.x86_64 (Packman1)
conflicts with file from package
ffmpeg-4-4.4-pm153.2.9.x86_64 (@System)

File /usr/bin/cws2fws
from install of
ffmpeg-3-3.4.9-pm153.1.4.x86_64 (Packman1)
conflicts with file from package
ffmpeg-4-4.4-pm153.2.9.x86_64 (@System)

File /usr/bin/ffescape
from install of
ffmpeg-3-3.4.9-pm153.1.4.x86_64 (Packman1)
conflicts with file from package
ffmpeg-4-4.4-pm153.2.9.x86_64 (@System)

File /usr/bin/ffeval
from install of
ffmpeg-3-3.4.9-pm153.1.4.x86_64 (Packman1)
conflicts with file from package
ffmpeg-4-4.4-pm153.2.9.x86_64 (@System)

File /usr/bin/ffhash
from install of
ffmpeg-3-3.4.9-pm153.1.4.x86_64 (Packman1)
conflicts with file from package
ffmpeg-4-4.4-pm153.2.9.x86_64 (@System)

File /usr/bin/ffmpeg
from install of
ffmpeg-3-3.4.9-pm153.1.4.x86_64 (Packman1)
conflicts with file from package
ffmpeg-4-4.4-pm153.2.9.x86_64 (@System)



Und nun wird ffmpeg-3 wieder deinstalliert........
Und ffmpeg-4 noch einmal installiert......

exponator
09.04.22, 16:30
zypper se -si

S | Name | Type | Version | Arch | Repository
---+---------------------------------------------+-------+-----------------------------+--------+----------------
i+ | ffmpeg-4 | Paket | 4.4-pm153.2.9 | x86_64 | Packman
i | ffmpegthumbs | Paket | 20.04.2-bp153.1.25 | x86_64 | Main Repository
i | ffmpegthumbs-lang | Paket | 20.04.2-bp153.1.25 | noarch | Main Repository
i+ | ffmpegyag | Paket | 0.7.6.git20170503-pm153.2.7 | x86_64 | Packman
i+ | kodi.binary-addons-inputstream.ffmpegdirect | Paket | 19.4-pm153.2.1 | x86_64 | Packman

Sauerland1
09.04.22, 16:32
Damit ist die Frage nach der Version nicht beantwortet.........

Von allein wird so etwas nicht installiert.

exponator
09.04.22, 16:34
Ich habe vorhin mal die ffmpeg Version von opensuse installiert. Dabei wurden natürlich einige libav's gelöscht.
Versuch mit ffmpeg ergab den gleichen Fehler.
Danach natürlich wieder zypper dup auf Packman durchgezogen.
Gleicher Versuch, immer noch der gleiche Fehler.

Meine Überlegung:
Vielleicht liegt es nicht an ffmpeg.
Aber der gleiche Fehler auf zwei gleich installierte Laptops, mit gleicher OS Leap ist schon komisch?

Welche Überlegung wäre jetzt angeraten, wenn Platz kein Thema ist?

Sauerland1
09.04.22, 16:41
Damit ist die Frage nach der Version nicht beantwortet.........

Von allein wird so etwas nicht installiert.


Wo ist diese Version her:

ffmpeg version N-105059-g064ab95cc7 Copyright (c) 2000-2022 the FFmpeg developers
Die ist neuer als die bei openSUSE angebotenen Versionen, egal ob multimedia:libs oder Packman oder openSUSE.

tomm.fa
09.04.22, 16:42
ffmpeg -i ~/Tonight\,_Tonight.mp3 -af "aformat=sample_fmts=s16:sample_rates=32000" -ab 192k ~/Tonight\,_Tonight_rs.mp3
funktioniert hier (ffmpeg-3, openSUSE TW).
Du möchtest aber statt 3200 lieber deine 43200 kHz? Dann rufe mal

lame --longhelp
auf. Scheint wohl nicht (nur) an ffmpeg zu liegen.

exponator
09.04.22, 16:53
ffmpeg -i ~/Tonight\,_Tonight.mp3 -af "aformat=sample_fmts=s16:sample_rates=32000" -ab 192k ~/Tonight\,_Tonight_rs.mp3
funktioniert hier (ffmpeg-3, openSUSE TW).
Du möchtest aber statt 3200 lieber deine 43200 kHz? Dann rufe mal

lame --longhelp
auf. Scheint wohl nicht (nur) an ffmpeg zu liegen.


lame --longhelp
LAME 64bits version 3.100 (http://lame.sf.net)

usage: lame [options] <infile> [outfile]

<infile> and/or <outfile> can be "-", which means stdin/stdout.

RECOMMENDED:
lame -V2 input.wav output.mp3

OPTIONS:
Input options:
--scale <arg> scale input (multiply PCM data) by <arg>
--scale-l <arg> scale channel 0 (left) input (multiply PCM data) by <arg>
--scale-r <arg> scale channel 1 (right) input (multiply PCM data) by <arg>
--swap-channel swap L/R channels
--ignorelength ignore file length in WAV header
--gain <arg> apply Gain adjustment in decibels, range -20.0 to +12.0
--mp1input input file is a MPEG Layer I file
--mp2input input file is a MPEG Layer II file
--mp3input input file is a MPEG Layer III file
--nogap <file1> <file2> <...>
gapless encoding for a set of contiguous files
--nogapout <dir>
output dir for gapless encoding (must precede --nogap)
--nogaptags allow the use of VBR tags in gapless encoding
--out-dir <dir> output dir, must exist

Input options for RAW PCM:
-r input is raw pcm
-s sfreq sampling frequency of input file (kHz) - default 44.1 kHz
--signed input is signed (default)
--unsigned input is unsigned
--bitwidth w input bit width is w (default 16)
-x force byte-swapping of input
--little-endian input is little-endian (default)
--big-endian input is big-endian
-a downmix from stereo to mono file for mono encoding


Operational options:
-m <mode> (j)oint, (s)imple, (f)orce, (d)ual-mono, (m)ono (l)eft (r)ight
default is (j)
joint = Uses the best possible of MS and LR stereo
simple = force LR stereo on all frames
force = force MS stereo on all frames.
--preset type type must be "medium", "standard", "extreme", "insane",
or a value for an average desired bitrate and depending
on the value specified, appropriate quality settings will
be used.
"--preset help" gives more info on these
--comp <arg> choose bitrate to achieve a compression ratio of <arg>
--replaygain-fast compute RG fast but slightly inaccurately (default)
--replaygain-accurate compute RG more accurately and find the peak sample
--noreplaygain disable ReplayGain analysis
--clipdetect enable --replaygain-accurate and print a message whether
clipping occurs and how far the waveform is from full scale
--flush flush output stream as soon as possible
--freeformat produce a free format bitstream
--decode input=mp3 file, output=wav
-t disable writing wav header when using --decode


Verbosity:
--disptime <arg>print progress report every arg seconds
-S don't print progress report, VBR histograms
--nohist disable VBR histogram display
--quiet don't print anything on screen
--silent don't print anything on screen, but fatal errors
--brief print more useful information
--verbose print a lot of useful information

Noise shaping & psycho acoustic algorithms:
-q <arg> <arg> = 0...9. Default -q 3
-q 0: Highest quality, very slow
-q 9: Poor quality, but fast
-h Same as -q 2.
-f Same as -q 7. Fast, ok quality


CBR (constant bitrate, the default) options:
-b <bitrate> set the bitrate in kbps, default 128 kbps
--cbr enforce use of constant bitrate

ABR options:
--abr <bitrate> specify average bitrate desired (instead of quality)

VBR options:
-V n quality setting for VBR. default n=4
0=high quality,bigger files. 9=smaller files
-v the same as -V 4
--vbr-old use old variable bitrate (VBR) routine
--vbr-new use new variable bitrate (VBR) routine (default)
-Y lets LAME ignore noise in sfb21, like in CBR
(Default for V3 to V9.999)
-b <bitrate> specify minimum allowed bitrate, default 32 kbps
-B <bitrate> specify maximum allowed bitrate, default 320 kbps
-F strictly enforce the -b option, for use with players that
do not support low bitrate mp3
-t disable writing LAME Tag
-T enable and force writing LAME Tag


MP3 header/stream options:
-e <emp> de-emphasis n/5/c (obsolete)
-c mark as copyright
-o mark as non-original
-p error protection. adds 16 bit checksum to every frame
(the checksum is computed correctly)
--nores disable the bit reservoir
--strictly-enforce-ISO comply as much as possible to ISO MPEG spec
--buffer-constraint <constraint> available values for constraint:
default, strict, maximum

Filter options:
--lowpass <freq> frequency(kHz), lowpass filter cutoff above freq
--lowpass-width <freq> frequency(kHz) - default 15% of lowpass freq
--highpass <freq> frequency(kHz), highpass filter cutoff below freq
--highpass-width <freq> frequency(kHz) - default 15% of highpass freq
--resample <sfreq> sampling frequency of output file(kHz)- default=automatic


ID3 tag options:
--tt <title> audio/song title (max 30 chars for version 1 tag)
--ta <artist> audio/song artist (max 30 chars for version 1 tag)
--tl <album> audio/song album (max 30 chars for version 1 tag)
--ty <year> audio/song year of issue (1 to 9999)
--tc <comment> user-defined text (max 30 chars for v1 tag, 28 for v1.1)
--tn <track[/total]> audio/song track number and (optionally) the total
number of tracks on the original recording. (track
and total each 1 to 255. just the track number
creates v1.1 tag, providing a total forces v2.0).
--tg <genre> audio/song genre (name or number in list)
--ti <file> audio/song albumArt (jpeg/png/gif file, v2.3 tag)
--tv <id=value> user-defined frame specified by id and value (v2.3 tag)
syntax: --tv "TXXX=description=content"
--add-id3v2 force addition of version 2 tag
--id3v1-only add only a version 1 tag
--id3v2-only add only a version 2 tag
--id3v2-utf16 add following options in unicode text encoding
--id3v2-latin1 add following options in latin-1 text encoding
--space-id3v1 pad version 1 tag with spaces instead of nulls
--pad-id3v2 same as '--pad-id3v2-size 128'
--pad-id3v2-size <value> adds version 2 tag, pad with extra <value> bytes
--genre-list print alphabetically sorted ID3 genre list and exit
--ignore-tag-errors ignore errors in values passed for tags

Note: A version 2 tag will NOT be added unless one of the input fields
won't fit in a version 1 tag (e.g. the title string is longer than 30
characters), or the '--add-id3v2' or '--id3v2-only' options are used,
or output is redirected to stdout.

Misc:
--license print License information


MPEG-1 layer III sample frequencies (kHz): 32 48 44.1
bitrates (kbps): 32 40 48 56 64 80 96 112 128 160 192 224 256 320

MPEG-2 layer III sample frequencies (kHz): 16 24 22.05
bitrates (kbps): 8 16 24 32 40 48 56 64 80 96 112 128 144 160

MPEG-2.5 layer III sample frequencies (kHz): 8 12 11.025
bitrates (kbps): 8 16 24 32 40 48 56 64
Was soll mir das jetzt sagen?
Kann es an lame liegen? Wird aber von Packman nicht weiter gepflegt. Bei ihm ist die letzte Version von Leap 42.1.

exponator
09.04.22, 17:08
Wo ist diese Version her:

Die ist neuer als die bei openSUSE angebotenen Versionen, egal ob multimedia:libs oder Packman oder openSUSE.

Das ist die Version (wie mit zypper se -si gezeigt) von Packman. Eine andere repo habe ich nicht.
URL: https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.3/

Hast Du eine andere Repo? Vielleicht funktioniert ffmpeg deshalb nicht.