Hello,

I have encountered trouble while trying to read video files with OIIO
(version 2.3.7 on Windows 10).

I've built OpenImageIO using vcpkg like this :

./vcpkg install openimageio[ffmpeg,libraw]:x64-windows

(vcpkg commit : 1085a57da0725c19e19586025438e8c16f34c890)

It builds successfully, and then I tried to read a .mov and a .mp4 file (I
believe they were made with Nuke 12.0) using the following C++ code :

auto in = OIIO::ImageInput::open(fp);

if(!in)
{
    std::cout << "[ERROR] : [OIIO] : " << OIIO::geterror() << "\n";
    return;
}

// code to read and process the image...

I get the following error message : [ERROR] : [OIIO] : OpenImageIO could
not find a format reader for
"C:/Users/augie/Documents/OpenViewer/test/mov/mov_simple.mov". Is it a file
format that OpenImageIO doesn't know about?
And I've noticed that no dll from ffmpeg is being copied into the binary
build directory. It works fine for every image format I've tested with, but
I can't get it working with video files.

Is there any special function to call to initialize ffmpeg plugin for
OpenImageIO ? I can share the videos if it's needed to try to reproduce a
bug.

And by the way, happy new year !

Cordially,

*Romain Augier*
*Houdini TD / Tool Developer*
https://romainaugier.com/
cont...@romainaugier.com
+33601020297
_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to