[FFmpeg-user] 31bit limit of -analyzeduration and -probesize

Oliver Fromme oliver at fromme.com
Mon Jun 30 00:18:42 CEST 2014


Carl Eugen Hoyos wrote:
 > Oliver Fromme <oliver <at> fromme.com> writes:
 > 
 > > Unfortunately I cannot specify such a value 
 > > for the -analyzeduration and -probesize options,
 > > the maximum seems to be 2147M.
 > 
 > The maximum is now much higher (63bit), please 
 > test again.

Thank you for taking care of this.  But I think you patched
only -analyzeduration, but not -probesize:

$ ffprobe -analyzeduration 4G -probesize 4G dvdstream-1.mpg
ffprobe version 2.2.git Copyright (c) 2007-2014 the FFmpeg developers
  built on Jun 29 2014 18:40:36 with gcc 4.2.1 (GCC) 20070831 patched [FreeBSD]
  configuration: --disable-x11grab --prefix=/usr/local --mandir=/usr/local/man --incdir=/usr/local/include/ffmpeg1 --libdir=/usr/local/lib/ffmpeg1 --shlibdir=/usr/local/lib/ffmpeg1 --datadir=/usr/local/share/ffmpeg1 --build-suffix=1 --progs-suffix=1 --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-pthreads --enable-memalign-hack --disable-libstagefright-h264 --disable-libutvideo --cc=cc --extra-cflags='-msse -I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags=-L/usr/local/lib --extra-libs=-pthread --disable-debug --disable-libaacplus --disable-indev=alsa --disable-outdev=alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --enable-libass --disable-libcdio --disable-libcelt --disable-libfaac --disable-libfdk-aac --enable-fontconfig --enable-libfreetype --disable-frei0r --disable-gnutls --disable-libgsm --enable-libmp3lame --enable-libbluray --disable-libv4l2 --disable-libmodplug --disable-openal --disable-libopencv --disable-lib!
 openjpeg --disable-libopus --disable-libpulse --enable-librtmp --disable-libschroedinger --disable-libspeex --disable-libtheora --disable-vaapi --disable-vdpau --disable-libvo-aacenc --disable-libvo-amrwbenc --enable-libvorbis --disable-libvpx --enable-libx264 --enable-libxvid --enable-nonfree
  libavutil      52. 90.101 / 52. 90.101
  libavcodec     55. 68.100 / 55. 68.100
  libavformat    55. 44.100 / 55. 44.100
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  9.100 /  4.  9.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
[NULL @ 0x8068cd420] Value 4000000000.000000 for parameter 'probesize' out of range [32 - 2.14748e+09]
[NULL @ 0x8068cd420] Error setting option probesize to value 4G.
dvdstream-1.mpg: Result too large

When I specify -analyzeduration 4G -probesize 2147M, there
is no error message, but the subtitle stream that begins
after the 2 GB boundary is not found.

Best regards
   Oliver


-- 
``We are all but compressed light'' (Albert Einstein)


More information about the ffmpeg-user mailing list