Closed FranceBB closed 3 years ago
Which version of lsmas are you using?
I didn't test the AVS version, but as it fails during indexing, it should also reproduce with the VS version as well. I couldn't reproduce it using the latest version though.
lsmas correctly indexed 4516 frames and playback seems fine as well.
If lsmas reports "Failed to avformat_open_input." then it's likely that your lsmas is not built with newer ffmpeg that could handle the file.
If you can't test using VapourSynth, perhaps try this release, https://github.com/HomeOfAviSynthPlusEvolution/L-SMASH-Works/releases/tag/20210811, as it should be close enough.
I was using the one built on Monday 09 August 2021 at 17.54.44. I'm using Avisynth 3.7.1 Development Snapshot 23 x64. If I try to index any other file in that folder, it works just fine:
but not that one:
This happens on Windows 11 Enterprise x64.
I've now swapped it with the one you linked, built on Tuesday 10 August 2021 at 21:06:46 (so essentially it's 1 day newer than mine) and surprise surprise, it works:
My mind is blown...
I don't see https://github.com/HomeOfAviSynthPlusEvolution/L-SMASH-Works released anything on 09 August 2021, so perhaps you were using another build, which could be using an older version of ffmpeg.
This problem is most likely caused by an issue in ffmpeg itself, not in lsmas. (If you have the time, you could try HomeOfAviSynthPlusEvolution's earlier releases as well, I bet all releases built with ffmpeg 4.4 would work.)
Hi there, I have the following ZLog2 HDR H.265 UHD file which lasts 3 minutes and fails to index in LWLibavVideoSource. It indexes in FFMpegSource2, however, if I call x262 or FFMpeg or VirtualDub and I try to encode it, it gets to 1 minute and 30 seconds and then it stops, concluding the encode.
Mediainfo:
Simple AVS Script 1:
FFMpegSource2("T:\_RUBRICHE\MASSIMO\A002C0023_20211019172852_0001.MOV", atrack=-1)
Expected behavior:
The file is supposed to be indexed correctly with the whole 3 minutes.
Actual behavior:
The index completes, going through AVSPmod shows 3 minutes of file with 4515 frames, but once I try to save it with VirtualDub or with FFMpeg or with x262, it gets to 1 minute and 30 seconds and then it stops.
Simple AVS Script 2:
LWLibavVideoSource("T:\_RUBRICHE\MASSIMO\A002C0023_20211019172852_0001.MOV")
Expected behavior:
The file is supposed to be indexed correctly with the whole 3 minutes.
Actual behavior:
[Fatal]: Failed to avformat_open_input
Simple AVS Script 3:
DirectShowSource("T:\_RUBRICHE\MASSIMO\A002C0023_20211019172852_0001.MOV", audio=true)
Using DirectShowSource to decode it with LAV Filters works.
Original Masterfile: https://sendgb.com/PDikx79WNLX File indexed with ffms2 and encoded with stops after 1 minute and 30 seconds: https://we.tl/t-25Z0elmGtr File indexed with DSS and encoded which goes on 'till the end: https://we.tl/t-MMsU2XIhNN