Opened 11 months ago
Last modified 6 months ago
#10798 new defect
When a second video stream/a cover.jpg is attached, progress (time, bitrate, speed) display fails
Reported by: | t-nil | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | |
Cc: | t-nil | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Time, bitrate and speed just stay on 'N/A'.
frame= 3882 fps=8.4 q=40.0 q=-1.0 size= 18176kB time=N/A bitrate=N/A speed=N/A
How to reproduce:
% ffmpeg -y -i <file> -map 0 -c:v copy -c:v:0 libsvtav1 -b:a 92k -svtav1-params scd=1:tune=0:film-grain=50:film-grain-denoise=0:lookahead=120 -g 240 -crf 40 -pix_fmt yuv420p10le -preset 6 -sn -c:a libopus -ac 2 -cues_to_front y <out> ffmpeg version N-113322-ga87a52ed0b Linux ra1n-desktop-manjaro 6.6.10-1-MANJARO #1 SMP PREEMPT_DYNAMIC Fri Jan 5 17:38:36 UTC 2024 x86_64 GNU/Linux
ffprobe of input file:
ffprobe version N-113238-gbb819a4ef8 Copyright (c) 2007-2024 the FFmpeg developers built with gcc 13.2.1 (GCC) 20230801 configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --disable-htmlpages --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan libavutil 58. 36.101 / 58. 36.101 libavcodec 60. 37.100 / 60. 37.100 libavformat 60. 20.100 / 60. 20.100 libavdevice 60. 4.100 / 60. 4.100 libavfilter 9. 17.100 / 9. 17.100 libswscale 7. 6.100 / 7. 6.100 libswresample 4. 13.100 / 4. 13.100 libpostproc 57. 4.100 / 57. 4.100 Input #0, matroska,webm, from -: Metadata: title : - encoder : libebml v1.4.4 + libmatroska v1.7.1 creation_time : 2022-11-15T13:41:58.000000Z Duration: 00:50:14.14, start: 0.000000, bitrate: 8817 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default) Metadata: title : SEPH1 JC BPS : 8158028 DURATION : 00:50:13.261000000 NUMBER_OF_FRAMES: 72246 NUMBER_OF_BYTES : 3072783813 _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-11-15 13:41:58 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default) (original) Metadata: title : Original AC-3 English BPS : 640000 DURATION : 00:50:14.144000000 NUMBER_OF_FRAMES: 94192 NUMBER_OF_BYTES : 241131520 _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-11-15 13:41:58 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: title : English BPS : 76 DURATION : 00:48:37.456000000 NUMBER_OF_FRAMES: 634 NUMBER_OF_BYTES : 27782 _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-11-15 13:41:58 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle, 1920x1080 Metadata: title : SDH BPS : 42009 DURATION : 00:50:08.464000000 NUMBER_OF_FRAMES: 1422 NUMBER_OF_BYTES : 15798062 _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-11-15 13:41:58 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:4: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 1440x1713, 90k tbr, 90k tbn (attached pic) Metadata: filename : cover.jpg mimetype : image/jpeg
encoding log:
ffmpeg version N-113238-gbb819a4ef8 Copyright (c) 2000-2024 the FFmpeg developers built with gcc 13.2.1 (GCC) 20230801 configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --disable-htmlpages --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan libavutil 58. 36.101 / 58. 36.101 libavcodec 60. 37.100 / 60. 37.100 libavformat 60. 20.100 / 60. 20.100 libavdevice 60. 4.100 / 60. 4.100 libavfilter 9. 17.100 / 9. 17.100 libswscale 7. 6.100 / 7. 6.100 libswresample 4. 13.100 / 4. 13.100 libpostproc 57. 4.100 / 57. 4.100 Input #0, matroska,webm, from -: Metadata: title : - encoder : libebml v1.4.4 + libmatroska v1.7.1 creation_time : 2022-11-15T13:41:58.000000Z Duration: 00:50:14.14, start: 0.000000, bitrate: 8817 kb/s Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt709), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default) Metadata: title : SEPH1 JC BPS : 8158028 DURATION : 00:50:13.261000000 NUMBER_OF_FRAMES: 72246 NUMBER_OF_BYTES : 3072783813 _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-11-15 13:41:58 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default) (original) Metadata: title : Original AC-3 English BPS : 640000 DURATION : 00:50:14.144000000 NUMBER_OF_FRAMES: 94192 NUMBER_OF_BYTES : 241131520 _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-11-15 13:41:58 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: subrip Metadata: title : English BPS : 76 DURATION : 00:48:37.456000000 NUMBER_OF_FRAMES: 634 NUMBER_OF_BYTES : 27782 _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-11-15 13:41:58 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle, 1920x1080 Metadata: title : SDH BPS : 42009 DURATION : 00:50:08.464000000 NUMBER_OF_FRAMES: 1422 NUMBER_OF_BYTES : 15798062 _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-11-15 13:41:58 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:4: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 1440x1713, 90k tbr, 90k tbn (attached pic) Metadata: filename : cover.jpg mimetype : image/jpeg Multiple -codec/-c/-acodec/-vcodec/-scodec/-dcodec options specified for stream 0, only the last option '-codec:v:0 libsvtav1' will be used. Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> av1 (libsvtav1)) Stream #0:1 -> #0:1 (ac3 (native) -> opus (libopus)) Stream #0:4 -> #0:2 (copy) Press [q] to stop, [?] for help Svt[info]: ------------------------------------------- Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v1.8.0-3-g07904862 Svt[info]: SVT [build] : GCC 13.2.1 20230801 64 bit Svt[info]: LIB Build date: Jan 6 2024 21:00:26 Svt[info]: ------------------------------------------- Svt[warn]: SVT-AV1 has an integrated mode decision mechanism to handle scene changes and will not insert a key frame at scene changes Svt[info]: Number of logical cores available: 12 Svt[info]: Number of PPCS 140 Svt[info]: [asm level on system : up to avx2] Svt[info]: [asm level selected : up to avx2] Svt[info]: ------------------------------------------- Svt[info]: SVT [config]: main profile tier (auto) level (auto) Svt[info]: SVT [config]: width / height / fps numerator / fps denominator : 1920 / 1080 / 24000 / 1001 Svt[info]: SVT [config]: bit-depth / color format : 10 / YUV420 Svt[info]: SVT [config]: preset / tune / pred struct : 6 / VQ / random access Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type : 240 / 32 / key frame Svt[info]: SVT [config]: BRC mode / rate factor : CRF / 40 Svt[info]: SVT [config]: film grain synth / denoising / level : 1 / 0 / 50 Svt[info]: ------------------------------------------- SvtMalloc[info]: SVT Memory Usage: SvtMalloc[info]: total allocated memory: 3.39 GB SvtMalloc[info]: malloced memory: 1.17 GB SvtMalloc[info]: callocated memory: 78.14 MB SvtMalloc[info]: allocated aligned memory: 2.14 GB SvtMalloc[info]: mutex count: 25436 SvtMalloc[info]: semaphore count: 1883 SvtMalloc[info]: thread count: 412 SvtMalloc[info]: hash table fulless: 0.119877, hash bucket is healthy SvtMalloc[info]: top 10 malloced memory locations: SvtMalloc[info]: (398.44 MB): /home/ra1n/.cache/yay/svt-av1-git/src/SVT-AV1/Source/Lib/Encoder/Codec/EbCodingUnit.c:89 SvtMalloc[info]: (133.76 MB): /home/ra1n/.cache/yay/svt-av1-git/src/SVT-AV1/Source/Lib/Encoder/Codec/EbModeDecisionProcess.c:238 SvtMalloc[info]: (109.14 MB): /home/ra1n/.cache/yay/svt-av1-git/src/SVT-AV1/Source/Lib/Encoder/Codec/EbPictureControlSet.c:114 SvtMalloc[info]: (91.58 MB): /home/ra1n/.cache/yay/svt-av1-git/src/SVT-AV1/Source/Lib/Common/Codec/EbBitstreamUnit.c:36 SvtMalloc[info]: (87.66 MB): /home/ra1n/.cache/yay/svt-av1-git/src/SVT-AV1/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1110 SvtMalloc[info]: (73.96 MB): /home/ra1n/.cache/yay/svt-av1-git/src/SVT-AV1/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1583 SvtMalloc[info]: (70.94 MB): /home/ra1n/.cache/yay/svt-av1-git/src/SVT-AV1/Source/Lib/Encoder/Codec/EbPictureControlSet.c:115 SvtMalloc[info]: (41.09 MB): /home/ra1n/.cache/yay/svt-av1-git/src/SVT-AV1/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1586 SvtMalloc[info]: (15.94 MB): /home/ra1n/.cache/yay/svt-av1-git/src/SVT-AV1/Source/Lib/Encoder/Codec/EbPictureControlSet.c:1078 SvtMalloc[info]: (13.60 MB): /home/ra1n/.cache/yay/svt-av1-git/src/SVT-AV1/Source/Lib/Encoder/Codec/EbModeDecisionProcess.c:239 Output #0, matroska, to -: Metadata: title : - encoder : Lavf60.20.100 Stream #0:0: Video: av1 (AV01 / 0x31305641), yuv420p10le(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 1k tbn (default) Metadata: title : SEPH1 JC BPS : 8158028 DURATION : 00:50:13.261000000 NUMBER_OF_FRAMES: 72246 NUMBER_OF_BYTES : 3072783813 _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-11-15 13:41:58 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES encoder : Lavc60.37.100 libsvtav1 Stream #0:1(eng): Audio: opus ([255][255][255][255] / 0xFFFFFFFF), 48000 Hz, stereo, flt, 92 kb/s (default) (original) Metadata: title : Original AC-3 English BPS : 640000 DURATION : 00:50:14.144000000 NUMBER_OF_FRAMES: 94192 NUMBER_OF_BYTES : 241131520 _STATISTICS_WRITING_APP: mkvmerge v72.0.0 ('Minuano (Six-eight)') 64-bit _STATISTICS_WRITING_DATE_UTC: 2022-11-15 13:41:58 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES encoder : Lavc60.37.100 libopus Stream #0:2: Video: mjpeg (Baseline) (MJPG / 0x47504A4D), yuvj444p(pc, bt470bg/unknown/unknown), 1440x1713, q=2-31, 90k tbr, 1k tbn (attached pic) Metadata: filename : cover.jpg mimetype : image/jpeg
Change History (3)
comment:2 by , 8 months ago
Using the GyanD archive, I found that the problem was introduced with the 2023-12-14 build, which has this note:
Note: this is the first git master build with the ffmpeg CLI tool (bin\ffmpeg.exe) switched over to a multi-threaded architecture.
Problem does not occur with the 2023-12-11 build.
Note:
See TracTickets
for help on using tickets.
I encountered this issue after updating FFMpeg from Gyan.dev site's 2023-08-30 version to 2024-03-18 version. Issue does not occur with the 2023-08-30 version. Issue does not occur if cover art is excluded or input file does not have cover art. With the 2024-03-18 version, the first command line, which copies the cover art, exhibits the issue, the second command line, which does not copy the cover art, does not:
ffmpeg -i aaa.mp4 -map 0 -c copy -c:s mov_text bbb.mp4
ffmpeg -i aaa.mp4 -map 0 -map -0:v:1 -c copy -c:s mov_text bbb.mp4