Jump to: Board index » General » Fusion

ffmpeg 10bit mp4 mkv - install issues and solution

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

Piotr Werewka

  • Posts: 8
  • Joined: Tue Apr 05, 2016 1:53 pm

ffmpeg 10bit mp4 mkv - install issues and solution

PostFri Mar 16, 2018 9:59 pm

just simple post about having ffmpeg working on windows, as beside doing all as mentioned in other posts i had no success with it
So i just share my workarounds

1) Install FFmpeg
you need to download ffmpeg shared version, BUT, seems not all versions are working with fusion 9.0.2

latest or 3.4.2, the one from reactor, wasnt working here as well so ive tried the 3.3.1 and that worked. might be other, newer are working too.. didnt try it yet

so download older build
https://ffmpeg.zeranoe.com/builds/win64 ... shared.zip from https://ffmpeg.zeranoe.com/builds/win64/shared/
unpack it, rename ffmpeg-3.3.1-win64-shared to 'ffmpeg' and copy to c:

so You will get folder structure like that
c:\ffmpeg\bin
c:\ffmpeg\doc
c:\ffmpeg\licenses
c:\ffmpeg\presets
c:\ffmpeg\README.txt

you can copy it to any folder and set in fusion preferences/global/path map as in attachment

but try copying as above first to reduce possible number of mistakes that can be made.
And if settings will be cleared, it will be working regardless


2) TEST
to test that it's actualy working , you could download eg:
jellyfish-3-mbps-hd-h264.mkv from http://jell.yfish.us/
it wont load in default fusion install or if something went wrong

in that stage it should load and play

3) MOV FIles
still if you put some h264 mov or mp4 file (eg from gh5 10b 4:2:2 )in node window, deafult loader with quicktime decoder is set and
- video will not play, sayin Loader1 failed at time 0
- or it will play but rendering wrong colors in 8bit

so for other files when loader sets quicktime-ffmpeg decoder that renders image darker with different gama, colors or something else, and output is 8bit .. with the newly installed ffmpeg, there is no such problems, and 10bit video loads as 16bit.
So might be worth using for other videos too. give it a try

4) change QuickTime to FFMpeg
if You see that Loader parameter window at 'Format' tab will say QuickTime Movie than ..

a) renaming such file to eg mkv and drag it back to fusion node window, will create proper loader
but file is renamed .. what i dont like .. so if you dont want that too .. do that:

b) alter loader code manualy
select loader and hit ctrl+c
paste code in notepad
find string
Code: Select all
FormatID = "QuickTimeMovies",

and replace it with
Code: Select all
FormatID = "FFMPEGFileFormats",

select all text, and hit ctrl+c
now go back to fusion, delete old loader and paste in the code

u get a properly set loader.

should be doable with simple lua command like
comp.ActiveTool:SetAttrs( {TOOLST_Clip_FormatID = "FFMPEGFileFormats"} )
but looks like its doin nothing .. :)
if someone could tell how to make it work ill be greatfull
Attachments
fu_loader_ffmpeg.jpg
fu_loader_ffmpeg.jpg (22.61 KiB) Viewed 857 times
fu_pathmap_sett.jpg
fu_pathmap_sett.jpg (19.86 KiB) Viewed 857 times

Return to Fusion

Who is online

Users browsing this forum: No registered users and 27 guests