mp3 audio output recording error message when he has Cover
Is there a way to check if the file has a cover and if so, record the cover along with it? conversion command line: FOR /F "tokens=1,2 delims=," %%b IN ('ffprobe -v 0 -show_entries stream^=bit_rate^,sample_rate -of csv^=p^=0 "!filename!.mp3"') DO ffmpeg -hide_banner -i "!filename!.mp3" -af "loudnorm=linear=true:I=!vluf!:LRA=11:tp=!vpeak!:measured_I=!II!:measured_LRA=!ILRA!:measured_tp=!ITP!:measured_thresh=!IT!:offset=!TO!:print_format=summary" -map 0:0 -acodec mp3 -b:a %%c -ar:a %%b "C:\Users\%username%\Desktop\Convertendo_lufs\!filename!.mp3" display message at end conversion: Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 1018x1023 [SAR 72:72 DAR 1018:1023], 90k tbr, 90k tbn (attached pic) Metadata: title : Album cover comment : Cover (front) [NULL @ 00000203060f89c0] Unable to find a suitable output format for 'N/A' N/A: Invalid argument Thanks Clamarc
On 2022-02-26T09:14:05+0100, CMG DiGiTaL <cmarciog@gmail.com> wrote:
Is there a way to check if the file has a cover and if so, record the cover along with it?
Simply add -c:v copy. -- Reino
Is there a way to check if the file has a cover and if so, record the cover along with it? Simply add -c:v copy.
hi Reino, I entered -c:v copy in command line as you suggested see below: FOR /F "tokens=1,2 delims=," %%b IN ('ffprobe -v 0 -show_entries stream^=bit_rate^,sample_rate -of csv^=p^=0 "%arquivo%"') DO ffmpeg -i "%arquivo%" -af loudnorm=linear=true:I=%vluf%:LRA=11:tp=%vpeak%:measured_I=%II%:measured_LRA=%ILRA%:measured_tp=%ITP%:measured_thresh=%IT%:offset=%TO%:print_format=summary -c:v copy -map 0:0 -acodec mp3 -b:a %%c -ar:a %%b "C:\Users\%username%\Desktop\Convertendo_lufs\%arquivo%" The batch runs loudnorm and also copies the image to the output file, but It turns out that at the end of execution, the message appears: 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: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s Metadata: encoder : Lavc59.12 Stream #0:1: 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) [NULL @ 000002c4fdb37740] *Unable to find a suitable* *output format for 'N/A'* N/A: Invalid argument Other detail: When I see the converted file on the windows screen, the image (COVER) does not appear as in the original file, ex: In the original file I see the cover image of the song, in the converted file only the mp3 icon appears and not the cover image?!! thanks Clamarc
On 2022-02-28T19:05:18+0100, CMG DiGiTaL <cmarciog@gmail.com> wrote:
-c:v copy -map 0:0 -acodec mp3 -b:a %%c -ar:a %%b [...] [NULL @ 000002c4fdb37740] *Unable to find a suitable* *output format for 'N/A'*
With -map 0:0 you tell FFmpeg to process only the audio-stream. Remove it. -- Reino
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
On 2022-03-01T01:17:12+0100, CMG DiGiTaL <cmarciog@gmail.com> wrote:
I removed the -map 0:0 [...]
log:
[...] -c:v copy -map 0:0 -acodec mp3 -b:a -ar:a N/A Apparently you did not.
-- Reino
[...] -c:v copy -map 0:0 -acodec mp3 -b:a -ar:a N/A Apparently you did not.
sorry I sent the wrong log, follow the right log: ffmpeg started on 2022-02-28 at 22:29:54 Report written to "ffmpeg-20220228-222954.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 -acodec mp3 -b:a 320000 -ar:a 44100* "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 '-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 '320000'. Reading option '-ar:a' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '44100'. 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 @ 000001eee83dd200] Opening 'Lobão - Cuidado!.mp3' for reading [file @ 000001eee83dd880] Setting default whitelist 'file,crypto,data' [mp3 @ 000001eee83dd200] Format mp3 probed with size=524288 and score=51 id3v2 ver:3 flags:00 len:279122 [mp3 @ 000001eee83dd200] pad 576 684 [mp3 @ 000001eee83dd200] Skipping 0 bytes of junk at 280176. [mp3 @ 000001eee83dd200] Before avformat_find_stream_info() pos: 280176 bytes read:524288 seeks:0 nb_streams:2 [mjpeg @ 000001eee83deb80] marker=d8 avail_size_in_buf=276770 [mjpeg @ 000001eee83deb80] marker parser used 0 bytes (0 bits) [mjpeg @ 000001eee83deb80] marker=e0 avail_size_in_buf=276768 [mjpeg @ 000001eee83deb80] marker parser used 16 bytes (128 bits) [mjpeg @ 000001eee83deb80] marker=e1 avail_size_in_buf=276750 [mjpeg @ 000001eee83deb80] marker parser used 5025 bytes (40200 bits) [mjpeg @ 000001eee83deb80] marker=db avail_size_in_buf=271722 [mjpeg @ 000001eee83deb80] index=0 [mjpeg @ 000001eee83deb80] qscale[0]: 2 [mjpeg @ 000001eee83deb80] marker parser used 67 bytes (536 bits) [mjpeg @ 000001eee83deb80] marker=db avail_size_in_buf=271653 [mjpeg @ 000001eee83deb80] index=1 [mjpeg @ 000001eee83deb80] qscale[1]: 5 [mjpeg @ 000001eee83deb80] marker parser used 67 bytes (536 bits) [mjpeg @ 000001eee83deb80] marker=c0 avail_size_in_buf=271584 [mjpeg @ 000001eee83deb80] Changing bps from 0 to 8 [mjpeg @ 000001eee83deb80] sof0: picture: 1018x1023 [mjpeg @ 000001eee83deb80] component 0 2:2 id: 0 quant:0 [mjpeg @ 000001eee83deb80] component 1 1:1 id: 1 quant:1 [mjpeg @ 000001eee83deb80] component 2 1:1 id: 2 quant:1 [mjpeg @ 000001eee83deb80] pix fmt id 22111100 [mjpeg @ 000001eee83deb80] Format yuvj420p chosen by get_format(). [mjpeg @ 000001eee83deb80] marker parser used 17 bytes (136 bits) [mjpeg @ 000001eee83deb80] marker=c4 avail_size_in_buf=271565 [mjpeg @ 000001eee83deb80] marker parser used 0 bytes (0 bits) [mjpeg @ 000001eee83deb80] marker=c4 avail_size_in_buf=271532 [mjpeg @ 000001eee83deb80] marker parser used 0 bytes (0 bits) [mjpeg @ 000001eee83deb80] marker=c4 avail_size_in_buf=271349 [mjpeg @ 000001eee83deb80] marker parser used 0 bytes (0 bits) [mjpeg @ 000001eee83deb80] marker=c4 avail_size_in_buf=271316 [mjpeg @ 000001eee83deb80] marker parser used 0 bytes (0 bits) [mjpeg @ 000001eee83deb80] escaping removed 997 bytes [mjpeg @ 000001eee83deb80] marker=da avail_size_in_buf=271133 [mjpeg @ 000001eee83deb80] marker parser used 270136 bytes (2161088 bits) [mjpeg @ 000001eee83deb80] marker=d9 avail_size_in_buf=0 [mjpeg @ 000001eee83deb80] decode frame unused 0 bytes [mp3 @ 000001eee83dd200] demuxer injecting skip 1105 / discard 0 [mp3float @ 000001eee89716c0] skip 1105 / discard 0 samples due to side data [mp3float @ 000001eee89716c0] skip 1105/1152 samples [mp3 @ 000001eee83dd200] All info found [mp3 @ 000001eee83dd200] 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 C:\Users\CMG\Desktop\Convertendo_lufs\Lobão - Cuidado!.mp3. 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 acodec (force audio codec ('copy' to copy stream)) with argument mp3. Applying option b:a (video bitrate (please use -b:v)) with argument 320000. Applying option ar:a (set audio sampling rate (in Hz)) with argument 44100. Successfully parsed a group of options. Opening an output file: C:\Users\CMG\Desktop\Convertendo_lufs\Lobão - Cuidado!.mp3. Matched encoder 'libmp3lame' for codec 'mp3'. [file @ 000001eee83e50c0] Setting default whitelist 'file,crypto,data' Successfully opened the file. Stream mapping: Stream #0:1 -> #0:0 (copy) Stream #0:0 -> #0:1 (mp3 (mp3float) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) [mp3float @ 000001eee83dff80] skip 1105 / discard 0 samples due to side data [mp3float @ 000001eee83dff80] skip 1105/1152 samples detected 4 logical cores [Parsed_loudnorm_0 @ 000001eee8435bc0] Setting 'linear' to value 'true' [Parsed_loudnorm_0 @ 000001eee8435bc0] Setting 'I' to value '-10.0' [Parsed_loudnorm_0 @ 000001eee8435bc0] Setting 'LRA' to value '11' [Parsed_loudnorm_0 @ 000001eee8435bc0] Setting 'tp' to value '-0.5' [Parsed_loudnorm_0 @ 000001eee8435bc0] Setting 'measured_I' to value '-17.2' [Parsed_loudnorm_0 @ 000001eee8435bc0] Setting 'measured_LRA' to value '3.6' [Parsed_loudnorm_0 @ 000001eee8435bc0] Setting 'measured_tp' to value '-1.1' [Parsed_loudnorm_0 @ 000001eee8435bc0] Setting 'measured_thresh' to value '-27.6' [Parsed_loudnorm_0 @ 000001eee8435bc0] Setting 'offset' to value '-0.4' [Parsed_loudnorm_0 @ 000001eee8435bc0] Setting 'print_format' to value 'summary' [graph_0_in_0_0 @ 000001eee8435140] Setting 'time_base' to value '1/44100' [graph_0_in_0_0 @ 000001eee8435140] Setting 'sample_rate' to value '44100' [graph_0_in_0_0 @ 000001eee8435140] Setting 'sample_fmt' to value 'fltp' [graph_0_in_0_0 @ 000001eee8435140] Setting 'channel_layout' to value '0x3' [graph_0_in_0_0 @ 000001eee8435140] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3 [format_out_0_1 @ 000001eee8479580] Setting 'sample_fmts' to value 's32p|fltp|s16p' [format_out_0_1 @ 000001eee8479580] Setting 'sample_rates' to value '44100' [format_out_0_1 @ 000001eee8479580] Setting 'channel_layouts' to value '0x4|0x3' [Parsed_loudnorm_0 @ 000001eee8435bc0] auto-inserting filter 'auto_aresample_0' between the filter 'graph_0_in_0_0' and the filter 'Parsed_loudnorm_0' [format_out_0_1 @ 000001eee8479580] auto-inserting filter 'auto_aresample_1' between the filter 'Parsed_loudnorm_0' and the filter 'format_out_0_1' [AVFilterGraph @ 000001eee847f980] query_formats: 4 queried, 3 merged, 6 already done, 0 delayed [auto_aresample_1 @ 000001eee8479cc0] picking fltp out of 3 ref:dbl [auto_aresample_0 @ 000001eee8479a00] [SWR @ 000001eee849a000] Using fltp internally between filters [auto_aresample_0 @ 000001eee8479a00] ch:2 chl:stereo fmt:fltp r:44100Hz -> ch:2 chl:stereo fmt:dbl r:192000Hz [auto_aresample_1 @ 000001eee8479cc0] [SWR @ 000001eee8972000] Using dblp internally between filters [auto_aresample_1 @ 000001eee8479cc0] ch:2 chl:stereo fmt:dbl r:192000Hz -> ch:2 chl:stereo fmt:fltp r:44100Hz Output #0, mp3, to 'C:\Users\CMG\Desktop\Convertendo_lufs\Lobão - Cuidado!.mp3': Metadata: TALB : CMG Clássicos Pop Rock Nacionais TPE1 : Lobão TDRC : 1988 TCON : Clássico Pop Rock Nacional TKEY : E m TIT2 : Cuidado! TSSE : Lavf59.6.100 Stream #0:0, 0, 1/90000: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 1018x1023 [SAR 72:72 DAR 1018:1023], q=2-31, 90k tbr, 90k tbn (attached pic) Metadata: comment : Cover (front) Stream #0:1, 0, 1/44100: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s Metadata: encoder : Lavc59.12.100 libmp3lame frame= 1 fps=0.0 q=-1.0 size= 0kB time=00:00:00.00 bitrate=136000.0kbits/s speed=0.0108x cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) cur_dts is invalid st:1 (0) [init:1 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream) frame= 1 fps=0.0 q=-1.0 size= 271kB time=00:00:04.70 bitrate= 471.2kbits/s speed=9.39x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=1.0 q=-1.0 size= 271kB time=00:00:10.39 bitrate= 213.1kbits/s speed=10.4x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004897 > 10000000: forcing output frame= 1 fps=0.7 q=-1.0 size= 271kB time=00:00:16.30 bitrate= 135.9kbits/s speed=10.8x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.5 q=-1.0 size= 527kB time=00:00:22.30 bitrate= 193.3kbits/s speed=11.1x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.4 q=-1.0 size= 783kB time=00:00:28.21 bitrate= 227.2kbits/s speed=11.2x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.3 q=-1.0 size= 1039kB time=00:00:34.11 bitrate= 249.4kbits/s speed=11.3x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004897 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.3 q=-1.0 size= 1295kB time=00:00:40.02 bitrate= 265.0kbits/s speed=11.4x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004897 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.2 q=-1.0 size= 1551kB time=00:00:45.89 bitrate= 276.7kbits/s speed=11.4x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.2 q=-1.0 size= 1807kB time=00:00:51.80 bitrate= 285.7kbits/s speed=11.4x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.2 q=-1.0 size= 2063kB time=00:00:57.70 bitrate= 292.8kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.2 q=-1.0 size= 2319kB time=00:01:03.50 bitrate= 299.1kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004897 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.2 q=-1.0 size= 2575kB time=00:01:09.19 bitrate= 304.8kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.2 q=-1.0 size= 2575kB time=00:01:14.81 bitrate= 281.9kbits/s speed=11.4x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 2831kB time=00:01:20.71 bitrate= 287.3kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 3087kB time=00:01:26.59 bitrate= 292.0kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004897 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 3343kB time=00:01:32.50 bitrate= 296.0kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004897 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 3599kB time=00:01:38.29 bitrate= 299.9kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 3855kB time=00:01:44.20 bitrate= 303.0kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 4111kB time=00:01:50.10 bitrate= 305.8kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 4367kB time=00:01:56.01 bitrate= 308.3kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 4623kB time=00:02:01.81 bitrate= 310.9kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 4623kB time=00:02:07.71 bitrate= 296.5kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 4879kB time=00:02:13.51 bitrate= 299.3kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004897 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 5135kB time=00:02:19.41 bitrate= 301.7kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 5391kB time=00:02:25.21 bitrate= 304.1kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 5647kB time=00:02:31.11 bitrate= 306.1kbits/s speed=11.5x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 5903kB time=00:02:36.99 bitrate= 308.0kbits/s speed=11.6x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004897 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 6159kB time=00:02:43.00 bitrate= 309.5kbits/s speed=11.6x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 6415kB time=00:02:48.90 bitrate= 311.1kbits/s speed=11.6x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 6671kB time=00:02:54.81 bitrate= 312.6kbits/s speed=11.6x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 6927kB time=00:03:00.61 bitrate= 314.2kbits/s speed=11.6x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 6927kB time=00:03:06.51 bitrate= 304.2kbits/s speed=11.6x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004897 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004897 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 7183kB time=00:03:12.41 bitrate= 305.8kbits/s speed=11.6x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 7439kB time=00:03:18.29 bitrate= 307.3kbits/s speed=11.6x [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee83dd200] demuxer injecting skip 0 / discard 155 [mp3float @ 000001eee83dff80] skip 0 / discard 155 samples due to side data [mp3float @ 000001eee83dff80] discard 155/1152 samples [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004897 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 size= 7695kB time=00:03:26.52 bitrate= 305.2kbits/s speed=11.7x [out_0_1 @ 000001eee8479480] EOF on sink link out_0_1:default. No more output streams to write to, finishing. [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output [libmp3lame @ 000001eee83e3940] Trying to remove 155 more samples than there are in the queue [mp3 @ 000001eee8480880] Delay between the first packet and last packet in the muxing queue is 10004898 > 10000000: forcing output frame= 1 fps=0.1 q=-1.0 Lsize= 8343kB time=00:03:26.60 bitrate= 330.8kbits/s speed=11.7x video:270kB audio:8071kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.014809% Input file #0 (Lobão - Cuidado!.mp3): Input stream #0:0 (audio): 7910 packets read (8265142 bytes); 7910 frames decoded (9111060 samples); Input stream #0:1 (video): 1 packets read (276772 bytes); Total: 7911 packets (8541914 bytes) demuxed Output file #0 (C:\Users\CMG\Desktop\Convertendo_lufs\Lobão - Cuidado!.mp3): Output stream #0:0 (video): 1 packets muxed (276772 bytes); Output stream #0:1 (audio): 7909 frames encoded (9111060 samples); 7910 packets muxed (8265142 bytes); Total: 7911 packets (8541914 bytes) muxed 7910 frames successfully decoded, 0 decoding errors [Parsed_loudnorm_0 @ 000001eee8435bc0] Input Integrated: -17.2 LUFS Input True Peak: -1.1 dBTP Input LRA: 3.6 LU Input Threshold: -27.6 LUFS Output Integrated: -13.5 LUFS Output True Peak: -0.5 dBTP Output LRA: 3.8 LU Output Threshold: -23.8 LUFS Normalization Type: Dynamic Target Offset: +3.5 LU [AVIOContext @ 000001eee83e51c0] Statistics: 4 seeks, 36 writeouts [AVIOContext @ 000001eee83dd9c0] Statistics: 8545446 bytes read, 0 seeks ffmpeg started on 2022-02-28 at 22:30:12 Report written to "ffmpeg-20220228-223012.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 -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 '-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 @ 0000020ab821d180] Opening 'Lobão - Cuidado!.mp3' for reading [file @ 0000020ab821d800] Setting default whitelist 'file,crypto,data' [mp3 @ 0000020ab821d180] Format mp3 probed with size=524288 and score=51 id3v2 ver:3 flags:00 len:279122 [mp3 @ 0000020ab821d180] pad 576 684 [mp3 @ 0000020ab821d180] Skipping 0 bytes of junk at 280176. [mp3 @ 0000020ab821d180] Before avformat_find_stream_info() pos: 280176 bytes read:524288 seeks:0 nb_streams:2 [mjpeg @ 0000020ab821fb40] marker=d8 avail_size_in_buf=276770 [mjpeg @ 0000020ab821fb40] marker parser used 0 bytes (0 bits) [mjpeg @ 0000020ab821fb40] marker=e0 avail_size_in_buf=276768 [mjpeg @ 0000020ab821fb40] marker parser used 16 bytes (128 bits) [mjpeg @ 0000020ab821fb40] marker=e1 avail_size_in_buf=276750 [mjpeg @ 0000020ab821fb40] marker parser used 5025 bytes (40200 bits) [mjpeg @ 0000020ab821fb40] marker=db avail_size_in_buf=271722 [mjpeg @ 0000020ab821fb40] index=0 [mjpeg @ 0000020ab821fb40] qscale[0]: 2 [mjpeg @ 0000020ab821fb40] marker parser used 67 bytes (536 bits) [mjpeg @ 0000020ab821fb40] marker=db avail_size_in_buf=271653 [mjpeg @ 0000020ab821fb40] index=1 [mjpeg @ 0000020ab821fb40] qscale[1]: 5 [mjpeg @ 0000020ab821fb40] marker parser used 67 bytes (536 bits) [mjpeg @ 0000020ab821fb40] marker=c0 avail_size_in_buf=271584 [mjpeg @ 0000020ab821fb40] Changing bps from 0 to 8 [mjpeg @ 0000020ab821fb40] sof0: picture: 1018x1023 [mjpeg @ 0000020ab821fb40] component 0 2:2 id: 0 quant:0 [mjpeg @ 0000020ab821fb40] component 1 1:1 id: 1 quant:1 [mjpeg @ 0000020ab821fb40] component 2 1:1 id: 2 quant:1 [mjpeg @ 0000020ab821fb40] pix fmt id 22111100 [mjpeg @ 0000020ab821fb40] Format yuvj420p chosen by get_format(). [mjpeg @ 0000020ab821fb40] marker parser used 17 bytes (136 bits) [mjpeg @ 0000020ab821fb40] marker=c4 avail_size_in_buf=271565 [mjpeg @ 0000020ab821fb40] marker parser used 0 bytes (0 bits) [mjpeg @ 0000020ab821fb40] marker=c4 avail_size_in_buf=271532 [mjpeg @ 0000020ab821fb40] marker parser used 0 bytes (0 bits) [mjpeg @ 0000020ab821fb40] marker=c4 avail_size_in_buf=271349 [mjpeg @ 0000020ab821fb40] marker parser used 0 bytes (0 bits) [mjpeg @ 0000020ab821fb40] marker=c4 avail_size_in_buf=271316 [mjpeg @ 0000020ab821fb40] marker parser used 0 bytes (0 bits) [mjpeg @ 0000020ab821fb40] escaping removed 997 bytes [mjpeg @ 0000020ab821fb40] marker=da avail_size_in_buf=271133 [mjpeg @ 0000020ab821fb40] marker parser used 270136 bytes (2161088 bits) [mjpeg @ 0000020ab821fb40] marker=d9 avail_size_in_buf=0 [mjpeg @ 0000020ab821fb40] decode frame unused 0 bytes [mp3 @ 0000020ab821d180] demuxer injecting skip 1105 / discard 0 [mp3float @ 0000020ab87715c0] skip 1105 / discard 0 samples due to side data [mp3float @ 0000020ab87715c0] skip 1105/1152 samples [mp3 @ 0000020ab821d180] All info found [mp3 @ 0000020ab821d180] 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 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 @ 0000020ab82d8b40] *Unable to find a suitable output format for 'N/A'* N/A: Invalid argument [AVIOContext @ 0000020ab821d940] Statistics: 524288 bytes read, 0 seeks Thanks Clamarc
On 2022-03-01T03:23:25+0100, CMG DiGiTaL <cmarciog@gmail.com> wrote:
sorry I sent the wrong log, follow the right log:
[...] *-c:v copy -acodec mp3 -b:a 320000 -ar:a 44100*
[...] *-c:v copy -acodec mp3 -b:a -ar:a N/A*
I don't know why you're posting 2 logs. The first one is obviously correctly being executed. For the second one your Batch code doesn't appear to work correctly for the bitrate and samplerate. -- Reino
I don't know why you're posting 2 logs. Ok sorry, I posted both codes so I can verify that the code works.
For the second one your Batch code doesn't appear to work correctly for the bitrate and samplerate.
what is happening is that it seems that when the file has cover art, the batch is doing again what it had already done successfully for the file, that is, it tries to do again the LUFS correction that was already done for the same file and when it does this, the samplerate information is not loaded because the "for command" reading is already in the next file, before having the value of the next samplerate, that will be generated for the next record! thanks Clamarc
On 2022-03-06T18:35:11+0100, CMG DiGiTaL <cmarciog@gmail.com> wrote:
what is happening [...] Only one way to find out and that is to have a look at your Batch code.
-- Reino
hi Reino, Below is the Batch code: @echo off chcp 65001 cls echo ************************************************************************************************************************* echo * ATTENTION ! * echo * * echo * 1. COPY the Audio file(s) you want to change the LUFS value to a FOLDER on your Desktop. * echo * 2. When FINISHED, run it again and select the name of the other file in the folder you want to change! * echo * * echo ************************************************************************************************************************* pause ENDLOCAL SETLOCAL ENABLEEXTENSIONS echo.------------------------------------------------------------------------------------------------------------------------- echo Converter Audio LUFS echo.------------------------------------------------------------------------------------------------------------------------- set /p folder= Enter the FOLDER NAME where the audio to be converted is located: set /p file= Enter the FULL NAME OF THE FILE to be converted (eg. lalala.mp3): set /p vLUF= Enter the LUFS VALUE: set /p vPEAK= Enter the True Peak VALUE: echo.------------------------------------------------------------------------------------------------------------------------- cd\Users\%username%\Desktop\%folder% ffmpeg -hide_banner -i "%file% -filter_complex "[0:a]loudnorm=print_format=summary" -f null NUL 2>1.txt @for /f "tokens=3" %%a in ('findstr /C:"Input Integrated" 1.txt') do (set II=%%a) @for /f "tokens=4" %%a in ('findstr /C:"Input True Peak" 1.txt') do (set ITP=%%a) @for /f "tokens=3" %%a in ('findstr /C:"Input LRA" 1.txt') do (set ILRA=%%a) @for /f "tokens=3" %%a in ('findstr /C:"Input Threshold" 1.txt') do (set IT=%%a) @for /f "tokens=3" %%a in ('findstr /C:"Target Offset" 1.txt') do (set TO=%%a) del /q "C:\Users\%username%\Desktop\%folder%\1.txt" md "C:\Users\%username%\Desktop\Converting_lufs" FOR /F "tokens=1,2 delims=," %%b IN ('ffprobe -v 0 -show_entries stream^=bit_rate^,sample_rate -of csv^=p^=0 "%file%"') DO ( ffmpeg -vsync vfr -hide_banner -i "%file%" -af loudnorm=linear=true:I=%vLUF%:LRA=11:tp=%vPEAK%:measured_I=%II%:measured_LRA=%ILRA%:measured_tp=%ITP%:measured_thresh=%IT%:offset=%TO%:print_format=summary -c:v copy -id3v2_version 3 -c:a libmp3lame -b:a %%c -ar:a %%b "C:\Users\%username%\Desktop\Converting_lufs\%file%") IF EXIST "C:\Users\%username%\Desktop\Converting_lufs\*.mp3" ( xcopy "C:\Users\%username%\Desktop\Converting_lufs\*.mp3" "C:\Users\%username%\Desktop\Converted Audio LUFS\" /y /s /i ) del /q "C:\Users\%username%\Desktop\Converting_lufs\*.*" rmdir "C:\Users\%username%\Desktop\Converting_lufs" /s /q IF NOT EXIST "C:\Users\%username%\Desktop\Converted Audio LUFS" ( echo.---------------------------------------------------------------------------------------------------------------------------------------------- echo It was not found or there was an error in the Audio for Changing the LUFS^!^ echo.----------------------------------------------------------------------------------------------------------------------------------------------- ) ELSE ( echo.----------------------------------------------------------------------------------------------------------------------------------------------- echo **** IMPORTANT^!^ **** echo. echo After finishing this program, the CONVERTED FILE LUFS will be on your ^(Desktop^) echo in the folder named "Converted Audio LUFS" so that you can move it wherever you want on your PC. echo After moving the file(s), you can delete the Converted Audio LUFS folder. echo. echo.----------------------------------------------------------------------------------------------------------------------------------------------- ) pause thanks Clamarc Em dom., 6 de mar. de 2022 às 14:43, Reino Wijnsma <rwijnsma@xs4all.nl> escreveu:
On 2022-03-06T18:35:11+0100, CMG DiGiTaL <cmarciog@gmail.com> wrote:
what is happening [...] Only one way to find out and that is to have a look at your Batch code.
-- Reino
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".
Hello Clamarc, On 2022-03-07T03:53:10+0100, CMG DiGiTaL <cmarciog@gmail.com> wrote:
[...] ffmpeg -hide_banner -i "%file% -filter_complex "[0:a]loudnorm=print_format=summary" -f null NUL 2>1.txt
You forgot a closing double-quote after %file%. And btw, -af instead of -filter_complex would do as well.
[...] FOR /F "tokens=1,2 delims=," %%b IN ('ffprobe -v 0 -show_entries stream^=bit_rate^,sample_rate -of csv^=p^=0 "%file%"') DO ( ffmpeg -vsync vfr -hide_banner -i "%file%" -af loudnorm=linear=true:I=%vLUF%:LRA=11:tp=%vPEAK%:measured_I=%II%:measured_LRA=%ILRA%:measured_tp=%ITP%:measured_thresh=%IT%:offset=%TO%:print_format=summary -c:v copy -id3v2_version 3 -c:a libmp3lame -b:a %%c -ar:a %%b "C:\Users\%username%\Desktop\Converting_lufs\%file%")
Now I understand why you posted 2 logs. FFprobe is trying to print the bit_rate and sample_rate of *both* streams (the audiostream as well as the coverart). So it would print for instance... 44100,192000 N/A ...and then FFmpeg is called twice. First with 44100 and 192000, and a second time only with "N/A". You'd have to restrict ffprobe to only process the audiostream: ffprobe -v 0 *-select_streams a* -show_entries [...] Btw, there's no need for escape-characters if you use double-quotes: ffprobe -v 0 -select_streams a -show_entries "stream=bit_rate,sample_rate" -of "csv=p=0" "%file%" And please do the same for the ffmpeg command. I'm actually surprised it worked without: -af "loudnorm=linear=true:I=%vLUF%:LRA=11:tp=%vPEAK%:measured_I=%II%:measured_LRA=%ILRA%:measured_tp=%ITP%:measured_thresh=%IT%:offset=%TO%:print_format=summary" And do you really need -vsync vfr ? I'm no expert, but I think it's totally useless in this situation. -- Reino
Now I understand why you posted 2 logs..
Exactly!... it was to show that the batch, when the file had a cover art, read the same record twice. .And do you really need -vsync vfr ? I'm no expert, but I think it's
totally useless in this situation.
Now you don't need it anymore, I already removed it... but when the batch was reading the record twice, when it read the stream of the cover art, it gave a sync error message and a pixel error message. Thanks, your solution solved the problem and the batch works OK now! thanks Clamarc
participants (2)
-
CMG DiGiTaL -
Reino Wijnsma