Log in

View Full Version : Preprocess via ffmpeg?


asarian
1st February 2022, 17:56
I recently got to deal with ProRes 422 HQ output. And as poisondeathray was kind enough to point out, ffmpeg can handle these natively. However, I would rather use ffmpeg as a passthru source filter, as were, inside a vpy script, for further processing.

Not, btw, like

ffmpeg.exe -f vapoursynth -i "f:\jobs\test.vpy"

As the vpy script needs the ProRes input (dgdecnv doesn't do it). Can this be done?


N.B. Also, as a side-issue, what gives with ffmpeg's estimated time values? Yesterday 'time=' was getting projected at 01:31:34:00. Really, ffmpeg? 31 hours in a day?! I'm sure I was reading that wrong (process finished within the hour), but what was that all about?

poisondeathray
1st February 2022, 18:01
What operations are you doing in ffmpeg ? You can open prores with lsmash in vapoursynth directly (and without indexing, it's an I frame format and "safe")


clip = core.lsmas.LibavSMASHSource(r'PATH\prores.mov')

asarian
1st February 2022, 18:18
What operations are you doing in ffmpeg ? You can open prores with lsmash in vapoursynth directly (and without indexing, it's an I frame format and "safe")


clip = core.lsmas.LibavSMASHSource(r'PATH\prores.mov')



:thanks:

I only used ffmpeg for opening ProRes. Not too familiar with all these Apple formats, so I thought ffmpeg was the only 'filter' being able to read it. Very good to hear LibavSMASHSource can do it too. :)

poisondeathray
1st February 2022, 18:19
lsmash and ffms2 are source filters based on the same libraries that ffmpeg uses - libavcodec