![]() |
[HELP] Input frame count with ffmeg ? - 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: [HELP] Input frame count with ffmeg ? (/thread-4041.html) Pages:
1
2
|
Input frame count with ffmeg ? - tailland - 19.03.2025 hey there. 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) RE: Input frame count with ffmeg ? - Selur - 19.03.2025 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 RE: Input frame count with ffmeg ? - tailland - 19.03.2025 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). RE: Input frame count with ffmeg ? - Selur - 19.03.2025 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. RE: Input frame count with ffmeg ? - Selur - 19.03.2025 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 RE: Input frame count with ffmeg ? - tailland - 19.03.2025 hmno, not happening yet RE: Input frame count with ffmeg ? - Selur - 19.03.2025 Strange that worked here. Can you share a debug output? Cu Selur RE: Input frame count with ffmeg ? - tailland - 19.03.2025 there you go RE: Input frame count with ffmeg ? - Selur - 19.03.2025 Uploaded a new dev, try that one. Cu Selur RE: Input frame count with ffmeg ? - tailland - 20.03.2025 mhm i'm afraid i haven't got the unfinished .av1 anymore ![]() |