• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Audacity und mp4 bzw m4a

wilux

Advanced Hacker
Hallo Leute,

schönes Fest an dieser Stelle noch von mir :D.

Möglicherweise wurde dieses Thema, nicht von mir schon mal angerissen. Audacity bietet zwar einen Exportfilter für m4a an aber keinen Import von m4a/mp4.

Fehlt mir nur eine Datei, um importieren zu können? In der Filterliste komme ich mit FFmpeg-kompatiblen Dateien nicht weiter. Ich erhalte nur einen Hinweis:

Importers supposedly supporting such files are:
FFmep-kompatible Dateien,
but none og them unterstood this file format.

Dieses Problem betrifft aber nicht nur eine Datei …

Was tun?

wilux
 
OP
W

wilux

Advanced Hacker
Hallo Freddie62,

gut, hier von mir zwei Ausgaben. Die erste zu einem MP4-Video:

Code:
:~/Videos> ffmpeg -i Lobbykratie1.mp4
FFmpeg version SVN-r25702, Copyright (c) 2000-2010 the FFmpeg developers
  built on Dec  3 2010 19:27:11 with gcc 4.5.0 20100604 [gcc-4_5-branch revision 160292]
  configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libxvid --enable-postproc --enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -I/usr/include/gsm' --enable-debug --disable-stripping --enable-libschroedinger --enable-libdirac --enable-libgsm --enable-avfilter --enable-libvpx --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 --enable-pthreads
  libavutil     50.32. 6 / 50.32. 6
  libavcore      0.12. 0 /  0.12. 0
  libavcodec    52.94. 3 / 52.94. 3
  libavformat   52.84. 0 / 52.84. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.57. 0 /  1.57. 0
  libswscale     0.12. 0 /  0.12. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x636720] multiple edit list entries, a/v desync might occur, patch welcome                                                                                  
                                                                                            
Seems stream 1 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.02 (1001/40)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Lobbykratie1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 0
    compatible_brands: mp41avc1qt  
    encoder         : vlc 1.1.4 stream output
    encoder-eng     : vlc 1.1.4 stream output
  Duration: 00:14:42.42, start: 0.000000, bitrate: 676 kb/s
    Stream #0.0(eng): Audio: aac, 22050 Hz, stereo, s16, 60 kb/s
    Stream #0.1(eng): Video: h264, yuv420p, 640x360 [PAR 1:1 DAR 16:9], 611 kb/s, 25 fps, 25.02 tbr, 1001 tbn, 50 tbc
At least one output file must be specified

Und hier aus einer Audiodatei:

Code:
:~/Downloads> ffmpeg -i 1.m4a
FFmpeg version SVN-r25702, Copyright (c) 2000-2010 the FFmpeg developers
  built on Dec  3 2010 19:27:11 with gcc 4.5.0 20100604 [gcc-4_5-branch revision 160292]
  configuration: --shlibdir=/usr/lib64 --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib64 --enable-shared --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libxvid --enable-postproc --enable-gpl --enable-x11grab --extra-cflags='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fPIC -I/usr/include/gsm' --enable-debug --disable-stripping --enable-libschroedinger --enable-libdirac --enable-libgsm --enable-avfilter --enable-libvpx --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libdc1394 --enable-pthreads
  libavutil     50.32. 6 / 50.32. 6
  libavcore      0.12. 0 /  0.12. 0
  libavcodec    52.94. 3 / 52.94. 3
  libavformat   52.84. 0 / 52.84. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.57. 0 /  1.57. 0
  libswscale     0.12. 0 /  0.12. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.m4a':
  Metadata:
    major_brand     : M4A 
    minor_version   : 512
    compatible_brands: isomiso2
    title           : Befreiung behalten
    album           : 2007-03-18
    encoder         : Lavf52.64.2
    comment         : www.Oikos-Church.ch - www.Online-Predigt.de
  Duration: 01:19:47.76, start: 0.000000, bitrate: 78 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, mono, s16, 75 kb/s
At least one output file must be specified
 
Du brauchst anscheinend aac und h264. Normalerweise sollte ffmpeg von Packman beides unterstützen. Hast Du die "Standard"-codecs schon installiert?

Freddie
 
OP
W

wilux

Advanced Hacker
Hallo Freddie62,

ja, die Standardcodecs sind soweit alle installiert.

wilux
 
da wird Dir wohl nichts Anderes übrigbleiben, als das Ding mit ffmpeg umzukodieren. Für alle Fälle schon mal zwei Links dazu: man ffmpeg und hier noch mal ein paar Infos in Deutsch. Vor allem man ffmpeg hat mir immer sehr gut geholfen.

CU Freddie
 
OP
W

wilux

Advanced Hacker
Danke Dir das riecht zwar noch Konsole, wenns aber klappt.

Rutsch schon mal fein ins 011.

wilux
 
Das riecht nicht nur nach Konsole! Ist aber auch nicht wirklich schwierig. :wink:
Wenn Du erst mal im richtigen Verzeichnis bist, hilft Dir die <TAB>-Taste beim Ergänzen des Filenamens und die paar Optionen zu setzen ist auch nicht so schwer. Falls Du Linux gerne mehr einsetzen willst, sollte die Konsole aber irgendwann Dein Freund werden, sonst wird's schwierig. :D

Guten Rutsch

Freddie
 
OP
W

wilux

Advanced Hacker
Naja, ich möchte Linux schlicht „nur“ zum Arbeiten nutzen.

Meine Haltung zu MS kann ich nicht posten, weil ich sonst massivst beleidigend werde. MAC ist mir zu teuer und auch geschlossen. Darum bleibe ich bei einer Linux-Distri und versuche mich mit dieser zu arangieren.

Mit der Konsole wäre ich sicher schon weiter gekommen, wenn ich z. B. arbeitsmäßich, mit Linux in Berührung käme. So aber fehlt mir die Wiederholung, um die Sachen zu behalten.

wilux
 
Oben