hey there.
quick question:
loading some files in hybrid will fail because of a
missing frame count (see image)
[
attachment=3042]
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)
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
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).
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.
Uploaded a new dev which will try ffmpeg to get the frame count and rate to calculate the length.
Frame rate will be assumed as 25 if not found.
Cu Selur
Strange that worked here.
Can you share a debug output?
Cu Selur
Uploaded a new dev, try that one.
Cu Selur
mhm i'm afraid i haven't got the unfinished .av1 anymore
