[FFmpeg-user] Converting mp3 with included cover art into mp4 with cover art as video fails
Rimvydas
naktinis at gmail.com
Thu Oct 22 12:40:57 EEST 2020
> Please test current FFmpeg git head and provide the complete,
> uncut console output.
Compiled ffmpeg with the current head. The same thing happens. Find the
full output below.
ffmpeg version N-99691-g1bf86ee907 Copyright (c) 2000-2020 the FFmpeg
developers
built with Apple clang version 12.0.0 (clang-1200.0.32.2)
configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-libass --enable-libfdk-aac --enable-libfreetype
--enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libx265 --enable-libopus --enable-libxvid --samples=fate-suite
libavutil 56. 60.100 / 56. 60.100
libavcodec 58.111.101 / 58.111.101
libavformat 58. 62.100 / 58. 62.100
libavdevice 58. 11.102 / 58. 11.102
libavfilter 7. 88.100 / 7. 88.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
Input #0, mp3, from '/Users/naktinis/data/audio/with_cover.mp3':
Metadata:
title : 2 - Glow Cloud
artist : Night Vale Presents
album : Welcome to Night Vale
genre : Podcast
encoder : Lavf57.83.100
date : 2012
Duration: 00:21:32.59, start: 0.011995, bitrate: 130 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 128 kb/s
Metadata:
encoder : Lavf
Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc,
bt470bg/unknown/unknown), 2228x2228 [SAR 300:300 DAR 1:1], 90k tbr, 90k
tbn, 90k tbc (attached pic)
Metadata:
title : Final_WelcomeToNightVale_Logo_Square2.jpg
comment : Cover (front)
File 'out.mp4' already exists. Overwrite? [y/N] y
Stream mapping:
Stream #0:1 -> #0:0 (mjpeg (native) -> h264 (libx264))
Stream #0:0 -> #0:1 (mp3 (mp3float) -> aac (native))
Press [q] to stop, [?] for help
[mp4 @ 0x7fab1b814400] Frame rate very high for a muxer not efficiently
supporting it.
Please consider specifying a lower framerate, a different muxer or -vsync 2
[libx264 @ 0x7fab1c808e00] using SAR=1/1
[libx264 @ 0x7fab1c808e00] MB rate (1764000000) > level limit (16711680)
[libx264 @ 0x7fab1c808e00] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7fab1c808e00] profile High, level 6.2, 4:2:0, 8-bit
[libx264 @ 0x7fab1c808e00] 264 - core 160 r3011M cde9a93 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2020 - http://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=12
lookahead_threads=2 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=25
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.00
[mp4 @ 0x7fab1b814400] Could not find tag for codec h264 in stream #0,
codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?):
Invalid argument
Error initializing output stream 0:1 --
[aac @ 0x7fab1c80a600] Qavg: nan
Conversion failed!
On Wed, Oct 21, 2020 at 7:35 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> Am Mi., 21. Okt. 2020 um 12:52 Uhr schrieb Rimvydas <naktinis at gmail.com>:
>
> > Running "ffmpeg -i in.mp3 out.mp4" fails with:
>
> Please test current FFmpeg git head and provide the complete,
> uncut console output.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
--
Rimvydas
More information about the ffmpeg-user
mailing list