Forum Discussion

lylyahiko's avatar
lylyahiko
Visitor
7 years ago

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

8 Replies

  • For any poor souls coming across this 7 years later...I got the tool running in a container using a Debian Stretch image: https://scm.matthewcardarelli.com/matthewcardarelli/bif_container.

  • destruk's avatar
    destruk
    Streaming Star
    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.
  • 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
  • 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.
  • renojim's avatar
    renojim
    Community Streaming Expert
    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