Hey ich möchte gerne mit avconv einer MP4/h.264 die AAC Audio Spur rausnehmen und gleichzeitig eine andere AAC reinnehmen. Geht das in einem Schritt, wie lautet das Kommando? Videospur copy

-
-
Nicht getestet, aber ungefähr oder genau so:
avconv -i "datei1.mp4" -i "datei2.m4a" -map 0:v -map 1:a -c copy "ausgabe.mp4"(bin mehr mit ffmpeg vertraut, aber die gleichen sich in großen Teilen)
-
Könnte eine Fehler sein, der an die Entwickler gemeldet werden müßte.
Möglicher Workaround:
avconv -i 2.aac -t 00:01:35 -strict experimental 2c.aac -
Hab das auch wenn ich meine mp4 nochmal in mp4 umwandel (fragt nicht, wird halt nochmal kleiner an mb)
Codeavconv -i F.mp4 -strict experimental F2.mp4avconv version 11.9-6:11.9-1~deb8u1+rpi1, Copyright (c) 2000-2017 the Libav developers built on Apr 26 2017 06:57:28 with gcc 4.9.2 (Raspbian 4.9.2-10)Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'F.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 creation_time : 2017-08-25 22:08:38 encoder : Lavf56.1.0 Duration: 00:00:45.06, start: 0.000000, bitrate: 5622 kb/s Stream #0.0(eng): Video: mpeg4 (Simple Profile), yuv420p, 640x480 [PAR 1:1 DAR 4:3], 5485 kb/s, 16.58 fps, 90k tbn, 300 tbc (default) Metadata: creation_time : 2017-08-25 22:08:38 Stream #0.1(und): Audio: aac, 44100 Hz, stereo, fltp, 202 kb/s (default) Metadata: creation_time : 2017-08-25 22:08:38[libx264 @ 0x1221220] using SAR=1/1[libx264 @ 0x1221220] using cpu capabilities: ARMv6 NEON[libx264 @ 0x1221220] profile High, level 2.2[libx264 @ 0x1221220] 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - https://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=16 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00Output #0, mp4, to 'F2.mp4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 creation_time : 2017-08-25 22:08:38 encoder : Lavf56.1.0 Stream #0.0(eng): Video: libx264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], q=-1--1, 16.58 fps, 199 tbn, 16.58 tbc (default) Metadata: creation_time : 2017-08-25 22:08:38 encoder : Lavc56.1.0 libx264 Stream #0.1(und): Audio: aac, 44100 Hz, stereo, fltp, 200 kb/s (default) Metadata: creation_time : 2017-08-25 22:08:38 encoder : Lavc56.1.0 aacStream mapping: Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (aac (native) -> aac (native))Press ctrl-c to stop encoding*** Error in `avconv': realloc(): invalid next size: 0x01245818 ***Abgebrochen
Bei 1er mweiner selbstgebastelten mp4 ist das so, hier die MedianInfo F.mp4
Code
Display MoreGeneral Complete name : F.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom File size : 30.2 MiB Duration : 45s 70ms Overall bit rate mode : Variable Overall bit rate : 5 622 Kbps Encoded date : UTC 2017-08-25 22:08:38 Tagged date : UTC 2017-08-25 22:08:38 Writing application : Lavf56.1.0 Video ID : 1 Format : MPEG-4 Visual Format profile : Simple@L6 Format settings, BVOP : Yes Format settings, QPel : No Format settings, GMC : No warppoints Format settings, Matrix : Default (H.263) Codec ID : 20 Duration : 44s 492ms Bit rate : 5 486 Kbps Width : 640 pixels Height : 480 pixels Display aspect ratio : 4:3 Frame rate mode : Variable Frame rate : 16.610 fps Minimum frame rate : 16.340 fps Maximum frame rate : 16.889 fps Color space : YUV Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 1.075 Stream size : 29.1 MiB (96%) Writing library : MTK_ENCODER_V3 Language : English Encoded date : UTC 2017-08-25 22:08:38 Tagged date : UTC 2017-08-25 22:08:38 Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Codec ID : 40 Duration : 45s 70ms Bit rate mode : Variable Bit rate : 203 Kbps Channel(s) : 2 channels Sampling rate : 44.1 KHz Compression mode : Lossy Stream size : 1.09 MiB (4%) Encoded date : UTC 2017-08-25 22:08:38 Tagged date : UTC 2017-08-25 22:08:38
-
Fehler in avconv kann ich nicht beheben. Neueste Version testen und ansonsten Fehler an die Entwickler melden. Oder ffmpeg benutzen, wie die meisten anderen (in der Hoffnung, der Fehler ist dort nicht vorhanden).
-
Nebenbei: '-strict experimental' wenn es für den aac encoder gedacht ist sollte nicht mehr nötig sein.
-
Nutze hier raspbian, ffmpeg gibts nicht in den Quellen. avconv erfüllt aber sonst prima seine Dienste. Lasse ich -strict experimental für AAC weg meckert er und führt den Befehl nicht aus
-
Ein Fehler ist halt ein Fehler. Der Speicher läuft aber nicht voll, oder? (ggf. mit SWAP arbeiten)
-
Quote
Lasse ich -strict experimental für AAC weg meckert er und führt den Befehl nicht aus
dann ist da was echt alt, denn der aac encoder sollte schon ne ganze Weile nicht mehr experimentell sein,...
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!