Selur's Little Message Board
'array too big.' error - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: 'array too big.' error (/thread-3642.html)

Pages: 1 2 3


RE: 'array too big.' error - Selur - 30.03.2024

Sadly switching to 5.X branch breaks other filters when building using https://github.com/m-ab-s/media-autobuild_suite Sad
will do some more testing tomorrow
If I can't figure it out, I'll probably have to remove Blu-ray input support.


RE: 'array too big.' error - Selur - 30.03.2024

I tried a 'full'-build from https://www.gyan.dev/ffmpeg/builds/ and it failed too with the 'No default whitelist set' :/
[bluray @ 0000018adf4f0540] No default whitelist set
../src/libbluray/disc/disc.c:333: failed opening UDF image G:\TestClips&Co\discs\Blu-ray\x264 BR-Demo
../src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv
../src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv
[bluray @ 0000018adf4f0540] bd_open() failed
bluray:G:\TestClips&Co\discs\Blu-ray\x264 BR-Demo: I/O error



RE: 'array too big.' error - Sub-Zero - 30.03.2024

Ok, well I hope they fix it at some point. Again, thanks for looking into it.


RE: 'array too big.' error - Sub-Zero - 30.03.2024

ffmpeg-6.1.1 appears to work ok for me on linux, at least as far as parsing the input with ffmpeg -i bluray:/path/to/bluray. On my linux system, it's linked to libbluray 1.3.4.


RE: 'array too big.' error - Selur - 30.03.2024

Then maybe it's just a problem with parsing the file paths on Windows.
But when it's working on Linux, the changes are good that the ffmpeg folks will fix it (somewhere in the future).

Cu Selur


RE: 'array too big.' error - Selur - 30.03.2024

Seems like ffmpeg/libbluray has problems with any 'special' charaters, even whitespaces :/
(seem doom9 thread)


RE: 'array too big.' error - Sub-Zero - 30.03.2024

C:\hybrid\64bit>ffmpeg -i "bluray:g:\rips\1080p\thestand"
ffmpeg version N-114213-g098b78df9d-gf5441e441f+1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
  configuration:  --pkg-config=pkgconf --cc='ccache gcc' --cxx='ccache g++' --ld='ccache g++' --extra-cxxflags=-fpermissive --extra-cflags=-Wno-int-conversion --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --disable-doc --enable-gmp --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-version3 --enable-librav1e --enable-libsrt --enable-libgsm --enable-libvmaf --enable-libsvtav1 --enable-gnutls --extra-cflags=-DLIBTWOLAME_STATIC --extra-libs=-lstdc++ --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads
  libavutil      59.  1.100 / 59.  1.100
  libavcodec     61.  1.101 / 61.  1.101
  libavformat    61.  0.100 / 61.  0.100
  libavdevice    61.  0.100 / 61.  0.100
  libavfilter    10.  0.100 / 10.  0.100
  libswscale      8.  0.100 /  8.  0.100
  libswresample   5.  0.100 /  5.  0.100
  libpostproc    58.  0.100 / 58.  0.100
Array too big.
../src/libbluray/bdj/bdj.c:614: libbluray-j2se-1.3.4.jar not found.
../src/libbluray/bdj/bdj.c:801: BD-J check: Failed to load libbluray.jar
../src/libbluray/bdj/bdj.c:614: libbluray-j2se-1.3.4.jar not found.
../src/libbluray/bdj/bdj.c:801: BD-J check: Failed to load libbluray.jar

C:\hybrid\64bit>
I moved hybrid out of program files since it has a space, and removed the underscore from THE_STAND. I still get the same error.


RE: 'array too big.' error - Selur - 30.03.2024

I found that using '8.3 filenames' does work (assuming Windows supports them).
(it really is a shame
=> created a dev version which asks for '8.3 filenames' and send you a link for testing.


Cu Selur


RE: 'array too big.' error - Sub-Zero - 30.03.2024

Looks like I'm still getting the error 'array too big.' Is there a checkbox I'm supposed to enable somewhere?


RE: 'array too big.' error - Selur - 30.03.2024

in a command prompt with admin rights with
C:\Windows\system32\FSUTIL. EXE 8dot3name set g: 0
you should be able to enable 8dot3name creation (not sure whether you have to move the folder or whether it also creates them for existing folders)

For me it seems to work:
2024.03.30 - 21:28:32_Windows 6.2 (64bit)_2024.03.30.1 - level 9: FFMpegAnalyser set tool ffmpegHasLibBluray to: true
2024.03.30 - 21:28:32_Windows 6.2 (64bit)_2024.03.30.1 - level 9: Connected FFMpegAnalyser->2finished() to HMainTab->1ffmpegFinished(), type: 128
2024.03.30 - 21:28:32_Windows 6.2 (64bit)_2024.03.30.1 - level 9: FFMpegAnalyser calling: "F:\Hybrid\64bit\ffmpeg.exe" -i "bluray:G:\TestClips&Co\discs\Blu-ray\x264 BR-Demo"
2024.03.30 - 21:28:32_Windows 6.2 (64bit)_2024.03.30.1 - level 9: FFMpegAnalyser calling: "F:\Hybrid\64bit\ffmpeg.exe" -i "bluray:G:\TestClips&Co\discs\Blu-ray\x264 BR-Demo"
2024.03.30 - 21:28:32_Windows 6.2 (64bit)_2024.03.30.1 - level 9: tokenizing(2) '"F:\Hybrid\64bit\ffmpeg.exe"' with:
  -i
  "bluray:G:\TestClips&Co\discs\Blu-ray\x264 BR-Demo"
2024.03.30 - 21:28:32_Windows 6.2 (64bit)_2024.03.30.1 - level 9: tool(2): F:\Hybrid\64bit\ffmpeg.exe
2024.03.30 - 21:28:32_Windows 6.2 (64bit)_2024.03.30.1 - level 9: arguments(2):
  -i
  bluray:G:\TestClips&Co\discs\Blu-ray\x264 BR-Demo
2024.03.30 - 21:28:32_Windows 6.2 (64bit)_2024.03.30.1 - level 9: Collected error output:
ffmpeg version 6.0-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-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-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-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.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
[bluray @ 0000026602c38f00] 3 usable playlists:
[bluray @ 0000026602c38f00] playlist 00000.mpls (0:09:56)
[bluray @ 0000026602c38f00] playlist 00002.mpls (0:10:53)
[bluray @ 0000026602c38f00] playlist 00003.mpls (0:05:35)
[bluray @ 0000026602c38f00] selected 00002.mpls

2024.03.30 - 21:28:32_Windows 6.2 (64bit)_2024.03.30.1 - level 9: Collected error output:
../src/libbluray/bluray.c:299: 00003.m2ts: no timestamp for SPN 0 (got 0). clip 27000000-56420625.

2024.03.30 - 21:28:32_Windows 6.2 (64bit)_2024.03.30.1 - level 9: Collected error output:
Input #0, mpegts, from 'bluray:G:\TestClips&Co\discs\Blu-ray\x264 BR-Demo':
  Duration: 00:10:53.79, start: 600.000000, bitrate: 11392 kb/s
  Program 1
  Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 90k tbn
  Stream #0:1[0x1100]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), s16p
At least one output file must be specified

Cu Selur