quick question:
loading some files in hybrid will fail because of a missing frame count (see image)
is there a way to make ffmpeg count the frames on input if that piece of info is missing?
(topaz video ai is ffmpeg based as well and it takes a while to load that same video file, but it does work)
19.03.2025, 12:42 (This post was last modified: 19.03.2025, 12:44 by Selur.)
Hybrid automatically uses FrameCounter when reading raw MPEG-4 ASP/AVC, VC-1, MPEG-2 files.
It has no option to force some other method of trying to count the frames. (ffprobe nowadays has a '-count_frames' option, which might work,..)
Missing frame count on non-raw files usually indicates a broken source.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
for my particular case:
it was an .av1 encoded file (by hybrid, which didn't convert the audio file and therefor failed the final video+audio mux).
i took the encoded video temp file, created a file with mkvtoolnix and the final video players beautifully from start to end (and knows the final length).
19.03.2025, 12:56 (This post was last modified: 19.03.2025, 13:22 by Selur.)
You could also have remuxed the file with ffmpeg or mkvmerge and then fed it to Hybrid.
Maybe someone has some free time on their hands and writes a patch for FrameCounter to also support .av1 video.
(I just tried: 'ffprobe.exe -count_frames g:\Output\test.av1' but that does not report a frame count)
Cu Selur
Ps.: 'ffmpeg -i raw.av1 -c copy -f null -' works,..
=> correction, no it does not, since the frame rate will be unknown.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.