Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
lylyahiko
Level 7

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
0 Kudos
5 Replies
renojim
Level 8

Re: Bif file creator

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
0 Kudos
lylyahiko
Level 7

Re: Bif file creator

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.
0 Kudos
norcaljohnny
Level 7

Re: Bif file creator

You can install older versions with macports that has libavformat.57.
0 Kudos
norcaljohnny
Level 7

Re: Bif file creator

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
0 Kudos
destruk
Level 10

Re: Bif file creator

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.
0 Kudos