- RetroArch 1.8.8 (May 27 2020 / 02bc3ee1e8)
- Windows 10 64-bit
I really dig RetroArch’s shaders functionnality, and I want to be able to apply them on live video feed. I successfully made a AVS script combined with a GRF file that display the live video from my Elgato GameCapture HD60 Pro with a vanilla installation of FFMPEG outisde RetroArch.
Here’s the script, simple.avs :
DirectShowSource("simple.grf", fps=60, audio=false, framecount=1000000)
I launch RetroArch, choose Show Desktop Menu, open my simple.avs file with the FFMPEG core, and get a “Failed to load content” error.
Here are the interesting error lines from the log console :
[libretro WARN] av_log: Format avs2 detected only with low score of 1, misdetection possible!
[libretro WARN] av_log: Could not find codec parameters for stream 0 (Video: avs2, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[libretro INFO] av_log: Input #0, avs2, from 'D:\Retro Gaming\Games\simple.avs':
[libretro INFO] av_log: Duration: [libretro INFO] av_log: N/A[libretro INFO] av_log: , bitrate: [libretro INFO] av_log: N/A[libretro INFO] av_log:
[libretro INFO] av_log: Stream #0:0[libretro INFO] av_log: : Video: avs2, none[libretro INFO] av_log: , [libretro INFO] av_log: 1200k tbr, [libretro INFO] av_log: 1200k tbn, [libretro INFO] av_log: 1200k tbc[libretro INFO] av_log:
[libretro ERROR] Couldn't find suitable decoder, exiting ...
[libretro ERROR] [FFmpeg]: Failed to find codec.
[libretro INFO] av_log: Statistics: 112 bytes read, 0 seeks
[ERROR] Failed to load content
The fact that it detects my script as a AVS2 file makes me hopeful that it should work, but this implementation can’t find the right codec.
Any ideas?