[FFmpeg-trac] #10528(undetermined:new): Volume of vorbis audio dips after conversion
FFmpeg
trac at avcodec.org
Sat Aug 19 20:35:29 EEST 2023
#10528: Volume of vorbis audio dips after conversion
-------------------------------------+-------------------------------------
Reporter: Sun_Serega | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
I originally took a video from here:
https://youtu.be/BTsB21Xps0Y
Using yt-dlp quite a while ago.
Right now I tried to cut a part out of it. First rough cut, with only "-ss
... -to ... -g 1" - that seems to have worked fine.
But if I now try to convert it again, even with no arguments:
{{{
> ffmpeg -i 1.mkv 2.mkv
ffmpeg version 2023-07-19-git-efa6cec759-full_build-www.gyan.dev Copyright
(c) 2000-2023 the FFmpeg developers
built with gcc 12.2.0 (Rev10, 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-bzlib --enable-lzma
--enable-libsnappy --enable-zlib --enable-librist --enable-libsrt
--enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray
--enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption
--enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi
--enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom
--enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-
mediafoundation --enable-libass --enable-frei0r --enable-libfreetype
--enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-
libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-
llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc
--enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libshaderc
--enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio
--enable-libgme --enable-libmodplug --enable-libopenmpt --enable-
libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora
--enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-
libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus
--enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b
--enable-libflite --enable-libmysofa --enable-librubberband --enable-
libsoxr --enable-chromaprint
libavutil 58. 14.100 / 58. 14.100
libavcodec 60. 22.100 / 60. 22.100
libavformat 60. 10.100 / 60. 10.100
libavdevice 60. 2.101 / 60. 2.101
libavfilter 9. 8.102 / 9. 8.102
libswscale 7. 3.100 / 7. 3.100
libswresample 4. 11.100 / 4. 11.100
libpostproc 57. 2.100 / 57. 2.100
Input #0, matroska,webm, from '1.mkv':
Metadata:
title : Exyl - Save This World Mix
SYNOPSIS : I am officially saving this world from not having
enough cool songs to vibe to 8)
:
: Mix is also on Soundcloud:
https://soundcloud.com/exyl_sounds/exyl-august-mix-1
:
: // A whopping 13 unreleased wips + my best songs to
date within this insane mix! All characters, music & visuals by Exyl
(aside from collab songs)
:
: ● 00:00 ● Exyl - Save This World [WIP]
: ● 02:00 ● Exyl - Ping! 2
: ● 03:20 ● Exyl & Creo - War [WIP]
: ● 04:40 ● Exyl & Teminite - Bad Omen [WIP]
: ● 05:40 ● Exyl - No Way Back [WIP]
: ● 07:00 ● Exyl - Ping!
: ● 09:00 ● Exyl - MOAI
: ● 11:00 ● Exyl & Creo & Teminite - MOAI 2 [WIP]
: ● 12:20 ● Exyl - STRIFE [WIP]
: ● 13:20 ● Exyl - Egyptian Samurai [WIP]
: ● 14:30 ● Exyl - Barcode Valkyrie [WIP]
: ● 17:20 ● Exyl - Terraria Remix
: ● 20:00 ● Exyl - Subnautica Remix
: ● 21:30 ● Exyl & Paper Skies - HOW [WIP]
: ● 22:50 ● Exyl - Egg
: ● 24:10 ● Exyl - Snek [WIP]
: ● 24:55 ● Exyl - Fish Groove [WIP]
: ● 25:35 ● Exyl & Dalux - Nice Logo
: ● 27:00 ● Exyl & Dalux - Nice Waifu [WIP]
: ● 28:10 ● Exyl - In Exile [WIP]
: ● 29:50 ● Exyl - Never Letting Go 2 [WIP]
:
: 𝐈 ● Merch // https://exyl.shop/
: 𝐈𝐈 ● Bandcamp //
https://exyl.bandcamp.com/track/ping-2
: 𝐈𝐈𝐈 ● Spotify // https://spoti.fi/2P7JHSm
: 𝐈𝐕 ● Discord // https://discord.gg/exyl
: 𝐕 ● Apple Music // https://apple.co/3dwTdxf
: 𝐕𝐈 ● Soundcloud //
https://soundcloud.com/exyl_sounds/
: 𝐕𝐈𝐈 ● Newgrounds // https://exyl.newgrounds.com/
: 𝐕𝐈𝐈𝐈 ● Epilepsy warning.
: 𝐈𝐗 ● The singers are from vocal samples
(Splice). I am not legally allowed to use their names as per Splice
guidelines. Various assets I used: Samples from Subnautica and Terraria's
OST for the Subnautica and Terrar
:
:
: Over the next few months I will be releasing these
wips one by one. I'm working on a huge music video for the song "Save This
World" whereas the other songs will at least get an animated wallpaper.
Every song has its little "cube" in the visuals to repres
:
: #Exyl #Mix #savetheworld
PURL : https://www.youtube.com/watch?v=BTsB21Xps0Y
COMMENT : https://www.youtube.com/watch?v=BTsB21Xps0Y
ARTIST : Exyl
DATE : 20220819
DESCRIPTION : I am officially saving this world from not having
enough cool songs to vibe to 8)
:
: Mix is also on Soundcloud:
https://soundcloud.com/exyl_sounds/exyl-august-mix-1
:
: // A whopping 13 unreleased wips + my best songs to
date within this insane mix! All characters, music & visuals by Exyl
(aside from collab songs)
:
: ● 00:00 ● Exyl - Save This World [WIP]
: ● 02:00 ● Exyl - Ping! 2
: ● 03:20 ● Exyl & Creo - War [WIP]
: ● 04:40 ● Exyl & Teminite - Bad Omen [WIP]
: ● 05:40 ● Exyl - No Way Back [WIP]
: ● 07:00 ● Exyl - Ping!
: ● 09:00 ● Exyl - MOAI
: ● 11:00 ● Exyl & Creo & Teminite - MOAI 2 [WIP]
: ● 12:20 ● Exyl - STRIFE [WIP]
: ● 13:20 ● Exyl - Egyptian Samurai [WIP]
: ● 14:30 ● Exyl - Barcode Valkyrie [WIP]
: ● 17:20 ● Exyl - Terraria Remix
: ● 20:00 ● Exyl - Subnautica Remix
: ● 21:30 ● Exyl & Paper Skies - HOW [WIP]
: ● 22:50 ● Exyl - Egg
: ● 24:10 ● Exyl - Snek [WIP]
: ● 24:55 ● Exyl - Fish Groove [WIP]
: ● 25:35 ● Exyl & Dalux - Nice Logo
: ● 27:00 ● Exyl & Dalux - Nice Waifu [WIP]
: ● 28:10 ● Exyl - In Exile [WIP]
: ● 29:50 ● Exyl - Never Letting Go 2 [WIP]
:
: 𝐈 ● Merch // https://exyl.shop/
: 𝐈𝐈 ● Bandcamp //
https://exyl.bandcamp.com/track/ping-2
: 𝐈𝐈𝐈 ● Spotify // https://spoti.fi/2P7JHSm
: 𝐈𝐕 ● Discord // https://discord.gg/exyl
: 𝐕 ● Apple Music // https://apple.co/3dwTdxf
: 𝐕𝐈 ● Soundcloud //
https://soundcloud.com/exyl_sounds/
: 𝐕𝐈𝐈 ● Newgrounds // https://exyl.newgrounds.com/
: 𝐕𝐈𝐈𝐈 ● Epilepsy warning.
: 𝐈𝐗 ● The singers are from vocal samples
(Splice). I am not legally allowed to use their names as per Splice
guidelines. Various assets I used: Samples from Subnautica and Terraria's
OST for the Subnautica and Terrar
:
:
: Over the next few months I will be releasing these
wips one by one. I'm working on a huge music video for the song "Save This
World" whereas the other songs will at least get an animated wallpaper.
Every song has its little "cube" in the visuals to repres
:
: #Exyl #Mix #savetheworld
ENCODER : Lavf60.10.100
Duration: 00:01:22.00, start: 0.000000, bitrate: 5648 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 76.160000
Metadata:
title : Exyl & Creo & Teminite - MOAI 2 [WIP]
Chapter #0:1: start 76.160000, end 82.000000
Metadata:
title : Exyl - STRIFE [WIP]
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive),
1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn (default)
Metadata:
HANDLER_NAME : ISO Media file produced by Google Inc.
VENDOR_ID : [0][0][0][0]
ENCODER : Lavc60.22.100 libx264
DURATION : 00:01:22.000000000
Stream #0:1(eng): Audio: vorbis, 44100 Hz, stereo, fltp (default)
Metadata:
HANDLER_NAME : ISO Media file produced by Google Inc.
VENDOR_ID : [0][0][0][0]
ENCODER : Lavc60.22.100 libvorbis
DURATION : 00:01:22.003000000
Stream #0:2(eng): Subtitle: ass
Metadata:
title : English
HANDLER_NAME : English
ENCODER : Lavc60.22.100 ssa
DURATION : 00:00:00.000000000
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (vorbis (native) -> vorbis (libvorbis))
Stream #0:2 -> #0:2 (ass (ssa) -> ass (ssa))
Press [q] to stop, [?] for help
[libx264 @ 000001b1fa162140] using SAR=1/1
[libx264 @ 000001b1fa162140] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001b1fa162140] profile High, level 4.0, 4:2:0, 8-bit
[libx264 @ 000001b1fa162140] 264 - core 164 r3107 a8b68eb - H.264/MPEG-4
AVC codec - Copyleft 2003-2023 - 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=18
lookahead_threads=3 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
Output #0, matroska, to '2.mkv':
Metadata:
title : Exyl - Save This World Mix
SYNOPSIS : I am officially saving this world from not having
enough cool songs to vibe to 8)
:
: Mix is also on Soundcloud:
https://soundcloud.com/exyl_sounds/exyl-august-mix-1
:
: // A whopping 13 unreleased wips + my best songs to
date within this insane mix! All characters, music & visuals by Exyl
(aside from collab songs)
:
: ● 00:00 ● Exyl - Save This World [WIP]
: ● 02:00 ● Exyl - Ping! 2
: ● 03:20 ● Exyl & Creo - War [WIP]
: ● 04:40 ● Exyl & Teminite - Bad Omen [WIP]
: ● 05:40 ● Exyl - No Way Back [WIP]
: ● 07:00 ● Exyl - Ping!
: ● 09:00 ● Exyl - MOAI
: ● 11:00 ● Exyl & Creo & Teminite - MOAI 2 [WIP]
: ● 12:20 ● Exyl - STRIFE [WIP]
: ● 13:20 ● Exyl - Egyptian Samurai [WIP]
: ● 14:30 ● Exyl - Barcode Valkyrie [WIP]
: ● 17:20 ● Exyl - Terraria Remix
: ● 20:00 ● Exyl - Subnautica Remix
: ● 21:30 ● Exyl & Paper Skies - HOW [WIP]
: ● 22:50 ● Exyl - Egg
: ● 24:10 ● Exyl - Snek [WIP]
: ● 24:55 ● Exyl - Fish Groove [WIP]
: ● 25:35 ● Exyl & Dalux - Nice Logo
: ● 27:00 ● Exyl & Dalux - Nice Waifu [WIP]
: ● 28:10 ● Exyl - In Exile [WIP]
: ● 29:50 ● Exyl - Never Letting Go 2 [WIP]
:
: 𝐈 ● Merch // https://exyl.shop/
: 𝐈𝐈 ● Bandcamp //
https://exyl.bandcamp.com/track/ping-2
: 𝐈𝐈𝐈 ● Spotify // https://spoti.fi/2P7JHSm
: 𝐈𝐕 ● Discord // https://discord.gg/exyl
: 𝐕 ● Apple Music // https://apple.co/3dwTdxf
: 𝐕𝐈 ● Soundcloud //
https://soundcloud.com/exyl_sounds/
: 𝐕𝐈𝐈 ● Newgrounds // https://exyl.newgrounds.com/
: 𝐕𝐈𝐈𝐈 ● Epilepsy warning.
: 𝐈𝐗 ● The singers are from vocal samples
(Splice). I am not legally allowed to use their names as per Splice
guidelines. Various assets I used: Samples from Subnautica and Terraria's
OST for the Subnautica and Terrar
:
:
: Over the next few months I will be releasing these
wips one by one. I'm working on a huge music video for the song "Save This
World" whereas the other songs will at least get an animated wallpaper.
Every song has its little "cube" in the visuals to repres
:
: #Exyl #Mix #savetheworld
PURL : https://www.youtube.com/watch?v=BTsB21Xps0Y
COMMENT : https://www.youtube.com/watch?v=BTsB21Xps0Y
ARTIST : Exyl
DATE : 20220819
DESCRIPTION : I am officially saving this world from not having
enough cool songs to vibe to 8)
:
: Mix is also on Soundcloud:
https://soundcloud.com/exyl_sounds/exyl-august-mix-1
:
: // A whopping 13 unreleased wips + my best songs to
date within this insane mix! All characters, music & visuals by Exyl
(aside from collab songs)
:
: ● 00:00 ● Exyl - Save This World [WIP]
: ● 02:00 ● Exyl - Ping! 2
: ● 03:20 ● Exyl & Creo - War [WIP]
: ● 04:40 ● Exyl & Teminite - Bad Omen [WIP]
: ● 05:40 ● Exyl - No Way Back [WIP]
: ● 07:00 ● Exyl - Ping!
: ● 09:00 ● Exyl - MOAI
: ● 11:00 ● Exyl & Creo & Teminite - MOAI 2 [WIP]
: ● 12:20 ● Exyl - STRIFE [WIP]
: ● 13:20 ● Exyl - Egyptian Samurai [WIP]
: ● 14:30 ● Exyl - Barcode Valkyrie [WIP]
: ● 17:20 ● Exyl - Terraria Remix
: ● 20:00 ● Exyl - Subnautica Remix
: ● 21:30 ● Exyl & Paper Skies - HOW [WIP]
: ● 22:50 ● Exyl - Egg
: ● 24:10 ● Exyl - Snek [WIP]
: ● 24:55 ● Exyl - Fish Groove [WIP]
: ● 25:35 ● Exyl & Dalux - Nice Logo
: ● 27:00 ● Exyl & Dalux - Nice Waifu [WIP]
: ● 28:10 ● Exyl - In Exile [WIP]
: ● 29:50 ● Exyl - Never Letting Go 2 [WIP]
:
: 𝐈 ● Merch // https://exyl.shop/
: 𝐈𝐈 ● Bandcamp //
https://exyl.bandcamp.com/track/ping-2
: 𝐈𝐈𝐈 ● Spotify // https://spoti.fi/2P7JHSm
: 𝐈𝐕 ● Discord // https://discord.gg/exyl
: 𝐕 ● Apple Music // https://apple.co/3dwTdxf
: 𝐕𝐈 ● Soundcloud //
https://soundcloud.com/exyl_sounds/
: 𝐕𝐈𝐈 ● Newgrounds // https://exyl.newgrounds.com/
: 𝐕𝐈𝐈𝐈 ● Epilepsy warning.
: 𝐈𝐗 ● The singers are from vocal samples
(Splice). I am not legally allowed to use their names as per Splice
guidelines. Various assets I used: Samples from Subnautica and Terraria's
OST for the Subnautica and Terrar
:
:
: Over the next few months I will be releasing these
wips one by one. I'm working on a huge music video for the song "Save This
World" whereas the other songs will at least get an animated wallpaper.
Every song has its little "cube" in the visuals to repres
:
: #Exyl #Mix #savetheworld
encoder : Lavf60.10.100
Chapters:
Chapter #0:0: start 0.000000, end 76.160000
Metadata:
title : Exyl & Creo & Teminite - MOAI 2 [WIP]
Chapter #0:1: start 76.160000, end 82.000000
Metadata:
title : Exyl - STRIFE [WIP]
Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p(tv, bt709,
progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 1k tbn
(default)
Metadata:
HANDLER_NAME : ISO Media file produced by Google Inc.
VENDOR_ID : [0][0][0][0]
DURATION : 00:01:22.000000000
encoder : Lavc60.22.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
Stream #0:1(eng): Audio: vorbis (oV[0][0] / 0x566F), 44100 Hz, stereo,
fltp (default)
Metadata:
HANDLER_NAME : ISO Media file produced by Google Inc.
VENDOR_ID : [0][0][0][0]
DURATION : 00:01:22.003000000
encoder : Lavc60.22.100 libvorbis
Stream #0:2(eng): Subtitle: ass
Metadata:
title : English
HANDLER_NAME : English
DURATION : 00:00:00.000000000
encoder : Lavc60.22.100 ssa
[out#0/matroska @ 000001b1f9c85d40] video:10455kB audio:978kB subtitle:0kB
other streams:0kB global headers:4kB muxing overhead: 0.514856%
frame= 2050 fps= 85 q=-1.0 Lsize= 11492kB time=00:01:21.99
bitrate=1148.2kbits/s speed=3.38x
[libx264 @ 000001b1fa162140] frame I:9 Avg QP:13.68 size: 32667
[libx264 @ 000001b1fa162140] frame P:563 Avg QP:19.19 size: 11107
[libx264 @ 000001b1fa162140] frame B:1478 Avg QP:21.10 size: 2813
[libx264 @ 000001b1fa162140] consecutive B-frames: 2.0% 2.3% 10.2% 85.5%
[libx264 @ 000001b1fa162140] mb I I16..4: 35.9% 56.5% 7.7%
[libx264 @ 000001b1fa162140] mb P I16..4: 3.8% 7.8% 0.5% P16..4:
12.7% 2.9% 1.5% 0.0% 0.0% skip:70.7%
[libx264 @ 000001b1fa162140] mb B I16..4: 2.4% 2.8% 0.0% B16..8:
9.2% 0.8% 0.1% direct: 1.4% skip:83.3% L0:43.0% L1:52.3% BI: 4.7%
[libx264 @ 000001b1fa162140] 8x8 transform intra:58.5% inter:73.0%
[libx264 @ 000001b1fa162140] coded y,uvDC,uvAC intra: 7.7% 26.3% 4.5%
inter: 2.2% 4.5% 0.1%
[libx264 @ 000001b1fa162140] i16 v,h,dc,p: 67% 14% 8% 11%
[libx264 @ 000001b1fa162140] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 12% 47%
1% 1% 1% 2% 0% 1%
[libx264 @ 000001b1fa162140] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 16% 23%
2% 4% 3% 15% 1% 4%
[libx264 @ 000001b1fa162140] i8c dc,h,v,p: 72% 12% 14% 2%
[libx264 @ 000001b1fa162140] Weighted P-Frames: Y:31.3% UV:11.7%
[libx264 @ 000001b1fa162140] ref P L0: 65.7% 10.2% 18.2% 5.5% 0.3%
[libx264 @ 000001b1fa162140] ref B L0: 82.2% 14.7% 3.2%
[libx264 @ 000001b1fa162140] ref B L1: 94.1% 5.9%
[libx264 @ 000001b1fa162140] kb/s:1044.38
}}}
I get a sudden dip in volume at about 31 seconds when playing in mpv.
Here are the input/output files of this command:
https://drive.google.com/drive/folders/1HW37YWJ_kO70-gk0P0dt9SQzr1G-
rndK?usp=sharing
The simplest workaround I found is to add "-c:a mp3" before output.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10528>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list