Log in

View Full Version : FFV1 and Avisource


ENunn
7th July 2020, 00:45
Trying to get a video loaded with Avisource. It's encoded with FFV1 but every time I try to open it I get this error:
"AVISource: couldn't locate a decompressor for fourcc FFV1".

Anyone know what I can do here? I know I can load it with FFMS2/LSMASH but they're too slow, especially when decoding the final product with FFMPEG (getting 15fps with QTGMC slow + ffmpeg libx264 preset ultrafast + crf 20 on an i7-8700k, scrubbing is really slow in AVSPmod too without QTGMC enabled.). Tried installing ffdshow and it didn't work but then again it hasn't been updated in 6+ years.

Ran GSpot and this is what it says:
https://i.imgur.com/Ugag3wE.pnghttp://

If I need a codec downloaded, anyone know where I can get it?

lvqcl
8th July 2020, 21:35
Try LAV Filters - http://forum.doom9.org/showthread.php?t=156191

qyot27
11th July 2020, 03:14
AVISource requires Video for Windows decoders. There is no VfW decoder for modern versions of FFV1 that are now (read: have been for several years) the default in FFmpeg. You either have to turn off encoder features and try to force ffmpeg to output an FFV1 stream compatible with ffdshow's VFW encoder interface, or actually just use ffdshow's VFW encoder to output it.

Or switch to using either FFMS2 or LSMASHSource as your source filter.

ENunn
20th July 2020, 22:09
sorry for the late response, never got a notification :P

You either have to turn off encoder features and try to force ffmpeg to output an FFV1 stream compatible with ffdshow's VFW encoder interface, or actually just use ffdshow's VFW encoder to output it.


How do I do that? This is my batch for recording ffv1 from my capture card:
ffmpeg -f dshow -rtbufsize 2000M -framerate x -i video="Game Capture HD60 S (Video) (#01)":audio="Game Capture HD60 S (Audio) (#01)" -vsync 2 -pix_fmt yuv422p -c:v ffv1 -c:a pcm_s16le -f segment -segment_time 9999999999 -strftime 1 "output\%%Y-%%m-%%d_%%H-%%M-%%S.avi"

qyot27
20th July 2020, 22:25
https://trac.ffmpeg.org/wiki/Encode/FFV1

The most essential one is -level 1, which switches on FFV1 version 1. It can only be used with AVISource using ffdshow's VFW interface (and that only works with 32-bit ffdshow).