[FFmpeg-user] How can I get ffmpeg to honor 'analyzeduration' and 'probesize'?
Mark Filipak
markfilipak.imdb at gmail.com
Mon Dec 25 23:32:03 EET 2023
Hi All,
How can I get ffmpeg to honor 'analyzeduration' and 'probesize'?
I'm submitting "-analyzeduration 5772725000 -probesize 15091101696".
Getting "Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000)".
The terminal output is below.
I've attached 00305+00306.zip
It contains:
00305+00306.cmd
00305+00306.txt
ffmpeg-20231225-151722.log
Note: In order to get GMail to send the ZIP, I had to change the name of 00305+00306.cmd to
"00305+00306.cmdfoo".
Note: I reduced the size of ffmpeg-20231225-151722.log from 41,483,612 bytes to 8,523,561 bytes by
deleting
1188892 lines of "Writing block of size..." and
337231 lines of "...forcing output" and
1072327 lines of "[concat @ 0000000000398480] file:..." and
112681 lines of "[concat @ 0000000000398480] -> pts:..." and
107938 lines of "[NULL @ 00000000085ebc00] ct_type:1 pic_struct:0".
Thanks -- Mark.
C:\Windows\System32>ffmpeg -report -analyzeduration 5772725000 -probesize 15091101696 -r 24000/1001
-f concat -safe 0 -i c:\00305+00306.txt -map 0 -c copy -dn c:\00305+00306.mkv
ffmpeg started on 2023-12-25 at 15:17:22
Report written to "ffmpeg-20231225-151722.log"
Log level: 48
ffmpeg version 2023-11-09-git-acf63d5350-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 --pkg-config=pkgconf
--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-dxva2 --enable-d3d11va --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. 32.100 / 58. 32.100
libavcodec 60. 33.100 / 60. 33.100
libavformat 60. 17.100 / 60. 17.100
libavdevice 60. 4.100 / 60. 4.100
libavfilter 9. 13.100 / 9. 13.100
libswscale 7. 6.100 / 7. 6.100
libswresample 4. 13.100 / 4. 13.100
libpostproc 57. 4.100 / 57. 4.100
[dca @ 00000000003a5500] Residual encoded channels are present without core
[matroska,webm @ 00000000003a4a80] Could not find codec parameters for stream 2 (Subtitle:
hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 00000000003a4a80] Auto-inserting h264_mp4toannexb bitstream filter
[dca @ 0000000003af5040] Residual encoded channels are present without core
Input #0, concat, from 'c:\00305+00306.txt':
Duration: 02:47:55.46, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps,
23.98 tbr, 1k tbn
Metadata:
DURATION : 01:32:51.432000000
Stream #0:1: Audio: dts (DTS-HD MA), 48000 Hz, mono, s32p (24 bit)
Metadata:
DURATION : 01:32:51.393000000
Stream #0:2: Subtitle: hdmv_pgs_subtitle, 1920x1080
Metadata:
DURATION : 01:31:16.546000000
Output #0, matroska, to 'c:\00305+00306.mkv':
Metadata:
encoder : Lavf60.17.100
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR
16:9], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn
Metadata:
DURATION : 01:32:51.432000000
Stream #0:1: Audio: dts (DTS-HD MA) ([1] [0][0] / 0x2001), 48000 Hz, mono, s32p (24 bit)
Metadata:
DURATION : 01:32:51.393000000
Stream #0:2: Subtitle: hdmv_pgs_subtitle ([255][255][255][255] / 0xFFFFFFFF), 1920x1080
Metadata:
DURATION : 01:31:16.546000000
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
[matroska @ 00000000088f8f40] Non-monotonic DTS in output stream 0:0; previous: 584, current: 575;
changing to 584. This may result in incorrect timestamps in the output file.
[matroska @ 00000000088f8f40] Non-monotonic DTS in output stream 0:0; previous: 584, current: 575;
changing to 584. This may result in incorrect timestamps in the output file.
[dca @ 0000000004787400] Residual encoded channels are present without core
[matroska,webm @ 00000000050a9940] Could not find codec parameters for stream 2 (Subtitle:
hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 00000000050a9940] Auto-inserting h264_mp4toannexb bitstream filter
[out#0/matroska @ 0000000000787b80] video:23083482kB audio:1345656kB subtitle:40434kB other
streams:0kB global headers:0kB muxing overhead: 0.041062%
size=24479619kB time=02:47:55.41 bitrate=19903.6kbits/s speed=13.4x
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 00305+00306.zip
Type: application/zip
Size: 252848 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20231225/0c0fba1f/attachment.zip>
More information about the ffmpeg-user
mailing list