Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lylyahiko
Visitor

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 5
renojim
Community Streaming Expert

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
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
lylyahiko
Visitor

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
Roku Guru

Re: Bif file creator

You can install older versions with macports that has libavformat.57.
0 Kudos
norcaljohnny
Roku Guru

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
Binge Watcher

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