Selur's Little Message Board

Full Version: Job CRASH due to: Indexer didn't create: ...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Latest Hybrid on macOS Big Sur 11.7.10 (20G1427)

Input file is an avi capture file with HuffYUV.
One filter only to test QTGMC to generate ProRes422 output file.

Job aborts with :
Code:
Aborting '2023-11-09@23_23_16_1410_02_index' due to: Indexer didn't create: /Users/macnb/Movies/Hybrid/tmp/2023-11-09@23_23_16_1410.ffindex!

Seem to be a problem with ffmsindex utility returning an error code.

Maybe I am asking too much from Hybrid to transcode HuffYUV based input file to ProRes ?

Or maybe a problem with ffmsindex ?

I ran ffmsindex from Terminal and it throws an error :
Code:
macnb@MacPro-236 ~ % ffmsindex
dyld: Library not loaded: @loader_path/../lib/vapoursynth/libffms2.dylib
  Referenced from: /usr/local/bin/ffmsindex
  Reason: Incompatible library version: ffmsindex requires version 6.0.0 or later, but libffms2.dylib provides version 5.0.0
zsh: abort      ffmsindex
macnb@MacPro-236 ~ %

...and then ran it again with real parameters that Hybrid was using:

Code:
macnb@MacPro-236 ~ % ffmsindex -f -t 0 "/Users/macnb/Movies/Hybrid/Input/TRV-230E-MX-Small-Test.avi" "/Users/macnb/Movies/Hybrid/tmp/2023-11-09@23_23_16_1410.ffindex"
dyld: Library not loaded: @loader_path/../lib/vapoursynth/libffms2.dylib
  Referenced from: /usr/local/bin/ffmsindex
  Reason: Incompatible library version: ffmsindex requires version 6.0.0 or later, but libffms2.dylib provides version 5.0.0
zsh: abort      ffmsindex -f -t 0 
macnb@MacPro-236 ~ %


Incompatible version of libffms2.dylib included in Hybrid ?
See attached debug file.
Thanks

UPDATE:
@selur,
I found one of your old posts here and from your Mediafire server, downloaded version 6.0.0 of libffms2.dylib and copied that over 5.0.0.
Now the errors shows:

Code:
macnb@MacPro-236 ~ % ffmsindex -f -t 0 "/Users/macnb/Movies/Hybrid/Input/TRV-230E-MX-Small-Test.avi" "/Users/macnb/Movies/Hybrid/tmp/2023-11-09@23_23_16_1410.ffindex"
Indexing, please wait... 0%
Indexing error: Could not open video codec
macnb@MacPro-236 ~ %
 
Conclusion: HuffYUV codec not supported by Hybrid ?
Seems like there is an issue with the ffms2 version. Sad
Try whether using one of the ffms2 versions from:
If none of the ffms2 versions from https://www.mediafire.com/folder/wvdlnja...cajx3o6114 works, here sadly is nothing I can do to help. Confused

Cu Selur
That's the link I used to get the version 6.0.0 of libffms2.dylib.
There's a version of ffmsindex in that link too but it does not make a difference.

There are two separate problems (and workarounds).

Problem 1:

Hybrid ffmsindex fails to load libffms2.dylib version 5.0.0 for HuffYUV input files

Workaround 1:
Replace version 5.0.0 of this
Code:
/Library/Frameworks/VapourSynth.framework/lib/vapoursynth/libffms2.dylib

with version 6.0.0 (attached)

Maybe next version of Hybrid can contain this new version

Problem 2:

ffmsindex does not like the input AVI file.
The reason seems to be with the dimensions of the Horizontal and Vertical pixels.
The input file was CROPPED during capture to 690x562.
Apparently these dimensions are not multiples 4 so ffmsindex fails with : "Indexing error: Could not open video codec".
In the debug file (almost at the beginning) there's a message from ffmpeg about this:
Code:
[huffyuv @ 0x7ff801e04640] width must be a multiple of 4 for this combination of colorspace and predictor type.
[avi @ 0x7ff801d04080] Failed to open codec in avformat_find_stream_info
[huffyuv @ 0x7ff801e04640] width must be a multiple of 4 for this combination of colorspace and predictor type.


Workaround 2:
If I capture without cropping so that the input file contains dimension 720x576 then there's no problem.
Or, capture and crop but make sure the dimensions are multiple of 4.
Happy you found a workaround.
Thanks for sharing!

Cu Selur
Thanks.

I have one old 3 hours capture file with this wrong  resolution Cry

I tried FFMPEG crop option to convert it to 688x560 but FFMPEG fails because the input file is wrong resolution  Angry

Any suggestion for how to convert this 3 hour capture (without actually recapturing it again) ?
688x560 sounds like a valid resolution,..
What is the ffmpeg call you used?
What is the exact error message ffmpeg gives you?
What formats and container does your file use?
(11.11.2023, 15:25)Selur Wrote: [ -> ]688x560 sounds like a valid resolution,..
What is the ffmpeg call you used?
What is the exact error message ffmpeg gives you?
What formats and container does your file use?

688x560 is my desired resolution but the existing file has 690x560.
Here's MEDIAInfo of the problem file:

Code:
General
Complete name                            : E:\VDUB\H8-AS-US-94\Input\H8-AS-Tape-02.avi
Format                                  : AVI
Format/Info                              : Audio Video Interleave
Format profile                          : OpenDML
Format settings                          : WaveFormatEx
File size                                : 76.8 GiB
Duration                                : 3 h 5 min
Overall bit rate                        : 59.5 Mb/s
Frame rate                              : 25.000 FPS
Video
ID                                      : 0
Format                                  : HuffYUV
Format version                          : Version 2
Codec ID                                : HFYU
Duration                                : 3 h 5 min
Bit rate                                : 57.9 Mb/s
Width                                    : 690 pixels
Height                                  : 560 pixels
Display aspect ratio                    : 5:4
Frame rate                              : 25.000 FPS
Color space                              : YUV
Chroma subsampling                      : 4:2:2
Bit depth                                : 8 bits
Scan type                                : Interlaced
Bits/(Pixel*Frame)                      : 5.996
Stream size                              : 74.9 GiB (97%)
Audio
ID                                      : 1
Format                                  : PCM
Format settings                          : Little / Signed
Codec ID                                : 1
Duration                                : 3 h 5 min
Bit rate mode                            : Constant
Bit rate                                : 1 536 kb/s
Channel(s)                              : 2 channels
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits
Stream size                              : 1.99 GiB (3%)
Alignment                                : Aligned on interleaves
Interleave, duration                    : 80  ms (2.00 video frames)

When I use FFPROBE to check the file, I get:

Code:
E:\VDUB\H8-AS-US-94\Input>ffprobe H8-AS-Tape-02.avi
ffprobe version 6.1-full_build-www.gyan.dev Copyright (c) 2007-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. 29.100 / 58. 29.100
  libavcodec    60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter    9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample  4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[avi @ 0000019b4665a240] non-interleaved AVI
[huffyuv @ 0000019b4666dec0] width must be a multiple of 4 for this combination of colorspace and predictor type.
[avi @ 0000019b4665a240] Failed to open codec in avformat_find_stream_info
[huffyuv @ 0000019b4666dec0] width must be a multiple of 4 for this combination of colorspace and predictor type.
Input #0, avi, from 'H8-AS-Tape-02.avi':
  Duration: 03:05:02.04, start: 0.000000, bitrate: 59460 kb/s
  Stream #0:0: Video: huffyuv (HFYU / 0x55594648), yuv422p, 690x560, 57918 kb/s, 25 fps, 25 tbr, 25 tbn
  Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
[huffyuv @ 0000019b46672640] width must be a multiple of 4 for this combination of colorspace and predictor type.
Could not open codec for input stream 0
E:\VDUB\H8-AS-US-94\Input>

This is the same error as FFMSINDEX ("width must be a multiple of 4 for this combination"......blah blah..}

The FFMPEG command line I used was:

Code:
ffmpeg -i H8-AS-Tape-02.avi -filter:v "crop=688:560:2:0" -c:a copy H8-AS-Tape-02-crop.avi

Where I am trying to shave off 2 pixels off the X-Axis to change it from 690 to 688 and leaving the Y-Axis at 0 change.
But FMPEG complains with the same error:

Code:
E:\VDUB\H8-AS-US-94\Input>ffmpeg -i H8-AS-Tape-02.avi -filter:v "crop=688:560:2:0" -c:a copy H8-AS-Tape-02-crop.avi
ffmpeg version 6.1-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. 29.100 / 58. 29.100
  libavcodec    60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter    9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample  4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[avi @ 000001d497bcfcc0] non-interleaved AVI
[huffyuv @ 000001d497bcdcc0] width must be a multiple of 4 for this combination of colorspace and predictor type.
[avi @ 000001d497bcfcc0] Failed to open codec in avformat_find_stream_info
[huffyuv @ 000001d497bcdcc0] width must be a multiple of 4 for this combination of colorspace and predictor type.
[aist#0:1/pcm_s16le @ 000001d497bd0c40] Guessed Channel Layout: stereo
Input #0, avi, from 'H8-AS-Tape-02.avi':
  Duration: 03:05:02.04, start: 0.000000, bitrate: 59460 kb/s
  Stream #0:0: Video: huffyuv (HFYU / 0x55594648), yuv422p, 690x560, 57918 kb/s, 25 fps, 25 tbr, 25 tbn
  Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
[huffyuv @ 000001d498082480] width must be a multiple of 4 for this combination of colorspace and predictor type.
[vist#0:0/huffyuv @ 000001d497bd0000] Error while opening decoder: Invalid data found when processing input
[vost#0:0/mpeg4 @ 000001d497bd4000] Error initializing a simple filtergraph
Error opening output file H8-AS-Tape-02-crop.avi.
Error opening output files: Invalid data found when processing input
E:\VDUB\H8-AS-US-94\Input>

Basically it's a catch-22 situation where FFMPEG will not allow to to fix the file because there's a fault with the file.

I did manage to PLAY the file with command line version of windows Mplayer (but of course that does not help be).
How did you capture it?
If you used something that uses vfw, you can probably use VirtualDub to open the file.

Cu Selur
It was captured on a PC using Virtualdub (using Matrox MXO2 Mini capture).
Even virtualdub cannot open the file as I think it too uses FFMPEG internally so cannot read it.
VirtualDub (not VirtualDub2) should not use ffmpeg, but try to use the vfw codecs on your system.

So the main problem might be to figure out what vfw codec really was used when this file was created.

Cu Selur
Pages: 1 2