Bif file creator

Anyone attempt to use the bif creator in the roku sdk? I’m getting this error. Can someone assist me please?

userName$ ./biftool ./testvideo.mp4
dyld: Library not loaded: /usr/local/opt/ffmpeg/lib/libavformat.57.dylib
Referenced from: /Users/userName/Downloads/biftool_mac/./biftool_processor
Reason: image not found
Failure while executing ./biftool_processor: child died with signal 6

You probably need to install one or more dependencies. I have no idea how to do that on iOS, but in Debian I’d start with something like:

apt-get install libavformat57

I have a feeling once you get past that one there will be others you need.

-JT

Looks like ffmpeg’s stable version no longer includes that library or what not. I’m on a mac and brew doesn’t have older versions of ffmpeg or that library. So I’ll have to figure out another way.

Thanks for your help.

You can install older versions with macports that has libavformat.57.

Alternatively you can use Brew to install ffmpeg like so.

brew install ffmpeg@x.y

x.y being version

and if that doesnt work you can use a custom formula that a user built.


brew install sy1vain/ffmpeg/ffmpeg@3.4

The windows version doesn’t have these issues - you can use Wine if you must, or a virtual machine. There is also a python script and virtualDub which will allow you to make the required bif files if you prefer.

For any poor souls coming across this 7 years later…I got the tool running in a container using a Debian Stretch image: matthewcardarelli/bif_container: Builds a Debian image capable of running the Roku biftool for linux. - bif_container - Matthew Cardarelli Solutions.

can u explain me more how can I use it ?

The instructions for using it are in the README file that you can read here: https://scm.matthewcardarelli.com/matthewcardarelli/bif_container#usage

Clone the repository (You’ll need to use HTTPS), then follow those instructions. And reply here if anything is unclear.