I spent quite a few hours trying to find the one codec/container that works best, looks best, and has the least strain on CPU.
For Cubase Pro 9.5, I have a dedicated Decklink Video-Card that outputs video to a seperate monitor. Sometimes it just works. But if the video-file has a weird format & has to be decompressed, I notice quite a few lags, no matter how big the session is otherwise.
I now use ffmpeg to prepare video for Cubase. In my case, the best format for video is MJPEG in a .mov container. (.mp4 works, too, but then Cubase has trouble rendering thumbnails, found this in another thread…)
This is my command, which I place in a .bat file in a dedicated folder, also in this folder are 2 subfolders “render” and “newfiles”. All files in “render” will be converted
for %%a in ("render\*.*") do ffmpeg -i "%%a" -vcodec mjpeg -q:v 1 -ar 48000 "newfiles\%%~na.mov"
-q:v 1 is very high quality, you can lower it to lower file size (1 is best, 31 worst).
-ar 48000 i like to force samplerate to 48khz, (my session default)
I now have smooth video in C9.5 & thumbnails show up fast. This should work fine if you use onscreen video from Cubase, but haven’t checked.
So happy I took the time to understand ffmpeg, its the fastest and easiest. also for audio, theres no better way to convert samplerate on 100s of audio files, or extract audio from video…
btw. For my ableton sessions I have to use xmedia recode, which is a good program, too. there’s a h264-setting, the only one that works for ableton, which for some reason has it’s own video problems on PC.