[FFmpeg-user] mp3 audio output recording error message when he has Cover
CMG DiGiTaL
cmarciog at gmail.com
Tue Mar 1 02:17:12 EET 2022
>
>
> With -map 0:0 you tell FFmpeg to process only the audio-stream. Remove it.
>
>
hi Reino,
I removed the -map 0:0 and the same message continues, below the message I
sent a log of the file:
[NULL @ 0000013de58f8b40] Unable to find a suitable output format for 'N/A'
N/A: Invalid argument
log:
ffmpeg started on 2022-02-28 at 20:53:53
Report written to "ffmpeg-20220228-205353.log"
Log level: 48
Command line:
ffmpeg -report -i "Lob\xe3o - Cuidado!.mp3" -af
"loudnorm=linear=true:I=-10.0:LRA=11:tp=-0.5:measured_I=-17.2:measured_LRA=3.6:measured_tp=-1.1:measured_thresh=-27.6:offset=-0.4:print_format=summary"
-c:v copy -map 0:0 -acodec mp3 -b:a -ar:a N/A
"C:\\Users\\CMG\\Desktop\\Convertendo_lufs\\Lob\xe3o - Cuidado!.mp3"
ffmpeg version 2021-10-18-git-d04c005021-full_build-www.gyan.dev Copyright
(c) 2000-2021 the FFmpeg developers
built with gcc 10.3.0 (Rev5, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontconfig
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma
--enable-libsnappy --enable-zlib --enable-librist --enable-libsrt
--enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray
--enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi
--enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg
--enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype
--enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg
--enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec
--enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2
--enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl
--enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt
--enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --
libavutil 57. 7.100 / 57. 7.100
libavcodec 59. 12.100 / 59. 12.100
libavformat 59. 6.100 / 59. 6.100
libavdevice 59. 0.101 / 59. 0.101
libavfilter 8. 14.100 / 8. 14.100
libswscale 6. 1.100 / 6. 1.100
libswresample 4. 0.100 / 4. 0.100
libpostproc 56. 0.100 / 56. 0.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report)
with argument '1'.
Reading option '-i' ... matched as input url with argument 'Lobão -
Cuidado!.mp3'.
Reading option '-af' ... matched as option 'af' (set audio filters) with
argument
'loudnorm=linear=true:I=-10.0:LRA=11:tp=-0.5:measured_I=-17.2:measured_LRA=3.6:measured_tp=-1.1:measured_thresh=-27.6:offset=-0.4:print_format=summary'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument
'copy'.
Reading option '-map' ... matched as option 'map' (set input stream
mapping) with argument '0:0'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec
('copy' to copy stream)) with argument 'mp3'.
*Reading option '-b:a' ... matched as option 'b' (video bitrate (please use
-b:v)) with argument '-ar:a'.*
*Reading option 'N/A' ... matched as output url.*
Reading option 'C:\Users\CMG\Desktop\Convertendo_lufs\Lobão - Cuidado!.mp3'
... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url Lobão - Cuidado!.mp3.
Successfully parsed a group of options.
Opening an input file: Lobão - Cuidado!.mp3.
[NULL @ 000001b243b1d000] Opening 'Lobão - Cuidado!.mp3' for reading
[file @ 000001b243b1d6c0] Setting default whitelist 'file,crypto,data'
[mp3 @ 000001b243b1d000] Format mp3 probed with size=524288 and score=51
id3v2 ver:3 flags:00 len:279122
[mp3 @ 000001b243b1d000] pad 576 684
[mp3 @ 000001b243b1d000] Skipping 0 bytes of junk at 280176.
[mp3 @ 000001b243b1d000] Before avformat_find_stream_info() pos: 280176
bytes read:524288 seeks:0 nb_streams:2
[mjpeg @ 000001b243b1e9c0] marker=d8 avail_size_in_buf=276770
[mjpeg @ 000001b243b1e9c0] marker parser used 0 bytes (0 bits)
[mjpeg @ 000001b243b1e9c0] marker=e0 avail_size_in_buf=276768
[mjpeg @ 000001b243b1e9c0] marker parser used 16 bytes (128 bits)
[mjpeg @ 000001b243b1e9c0] marker=e1 avail_size_in_buf=276750
[mjpeg @ 000001b243b1e9c0] marker parser used 5025 bytes (40200 bits)
[mjpeg @ 000001b243b1e9c0] marker=db avail_size_in_buf=271722
[mjpeg @ 000001b243b1e9c0] index=0
[mjpeg @ 000001b243b1e9c0] qscale[0]: 2
[mjpeg @ 000001b243b1e9c0] marker parser used 67 bytes (536 bits)
[mjpeg @ 000001b243b1e9c0] marker=db avail_size_in_buf=271653
[mjpeg @ 000001b243b1e9c0] index=1
[mjpeg @ 000001b243b1e9c0] qscale[1]: 5
[mjpeg @ 000001b243b1e9c0] marker parser used 67 bytes (536 bits)
[mjpeg @ 000001b243b1e9c0] marker=c0 avail_size_in_buf=271584
[mjpeg @ 000001b243b1e9c0] Changing bps from 0 to 8
[mjpeg @ 000001b243b1e9c0] sof0: picture: 1018x1023
[mjpeg @ 000001b243b1e9c0] component 0 2:2 id: 0 quant:0
[mjpeg @ 000001b243b1e9c0] component 1 1:1 id: 1 quant:1
[mjpeg @ 000001b243b1e9c0] component 2 1:1 id: 2 quant:1
[mjpeg @ 000001b243b1e9c0] pix fmt id 22111100
[mjpeg @ 000001b243b1e9c0] Format yuvj420p chosen by get_format().
[mjpeg @ 000001b243b1e9c0] marker parser used 17 bytes (136 bits)
[mjpeg @ 000001b243b1e9c0] marker=c4 avail_size_in_buf=271565
[mjpeg @ 000001b243b1e9c0] marker parser used 0 bytes (0 bits)
[mjpeg @ 000001b243b1e9c0] marker=c4 avail_size_in_buf=271532
[mjpeg @ 000001b243b1e9c0] marker parser used 0 bytes (0 bits)
[mjpeg @ 000001b243b1e9c0] marker=c4 avail_size_in_buf=271349
[mjpeg @ 000001b243b1e9c0] marker parser used 0 bytes (0 bits)
[mjpeg @ 000001b243b1e9c0] marker=c4 avail_size_in_buf=271316
[mjpeg @ 000001b243b1e9c0] marker parser used 0 bytes (0 bits)
[mjpeg @ 000001b243b1e9c0] escaping removed 997 bytes
[mjpeg @ 000001b243b1e9c0] marker=da avail_size_in_buf=271133
[mjpeg @ 000001b243b1e9c0] marker parser used 270136 bytes (2161088 bits)
[mjpeg @ 000001b243b1e9c0] marker=d9 avail_size_in_buf=0
[mjpeg @ 000001b243b1e9c0] decode frame unused 0 bytes
[mp3 @ 000001b243b1d000] demuxer injecting skip 1105 / discard 0
[mp3float @ 000001b2440a16c0] skip 1105 / discard 0 samples due to side data
[mp3float @ 000001b2440a16c0] skip 1105/1152 samples
[mp3 @ 000001b243b1d000] All info found
[mp3 @ 000001b243b1d000] After avformat_find_stream_info() pos: 333424
bytes read:524288 seeks:0 frames:51
Input #0, mp3, from 'Lobão - Cuidado!.mp3':
Metadata:
album : CMG Clássicos Pop Rock Nacionais
artist : Lobão
encoder : Lavf59.6.100
genre : Clássico Pop Rock Nacional
TKEY : E m
title : Cuidado!
date : 1988
Duration: 00:03:26.63, start: 0.025056, bitrate: 330 kb/s
Stream #0:0, 50, 1/14112000: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
Metadata:
encoder : Lavc59.12
Stream #0:1, 1, 1/90000: Video: mjpeg (Baseline), yuvj420p(pc,
bt470bg/unknown/unknown), 1018x1023 [SAR 72:72 DAR 1018:1023], 90k tbr, 90k
tbn (attached pic)
Metadata:
comment : Cover (front)
Successfully opened the file.
Parsing a group of options: output url N/A.
Applying option af (set audio filters) with argument
loudnorm=linear=true:I=-10.0:LRA=11:tp=-0.5:measured_I=-17.2:measured_LRA=3.6:measured_tp=-1.1:measured_thresh=-27.6:offset=-0.4:print_format=summary.
Applying option c:v (codec name) with argument copy.
Applying option map (set input stream mapping) with argument 0:0.
Applying option acodec (force audio codec ('copy' to copy stream)) with
argument mp3.
Applying option b:a (video bitrate (please use -b:v)) with argument -ar:a.
Successfully parsed a group of options.
*Opening an output file: N/A.*
[NULL @ 000001b243bd9a40] Unable to find a suitable output format for 'N/A'
N/A: Invalid argument
[AVIOContext @ 000001b243b1d7c0] Statistics: 524288 bytes read, 0 seeks
thanks,
Clamarc
More information about the ffmpeg-user
mailing list