Giter Club home page Giter Club logo

heroku-buildpack-ffmpeg-thumbnailer's Introduction

heroku-buildpack-ffmpeg-thumbnailer

I'm so excited to share this buildpack with everyone because 1) of the amount of frustration, time, and energy to get ffmpegthumbnailer working on heroku and 2) it works. If it doesn't work for you, please let me know at [email protected].

Firstly, you'll need to use the "multi-buildpack" buildpack over at https://github.com/ddollar/heroku-buildpack-multi

That repo will show you how to set the BUILDPACK_URL config variable on heroku, and how to add additional buildpacks to your application. You'll want to add these two buildpacks to get ffmpegthumbnailer to work.

https://github.com/shunjikonishi/heroku-buildpack-ffmpeg
https://github.com/johnklawlor/heroku-buildpack-ffmpeg-thumbnailer

You'll also need to add your respective native language (at least I had to). If you're building a Ruby application (like myself), add this line to your .buildpacks file.

https://github.com/heroku/heroku-buildpack-ruby

If you're using a different native language, refer to Heroku's default buildpacks list in their reference guide here.

https://devcenter.heroku.com/articles/buildpacks#default-buildpacks

heroku-buildpack-ffmpeg-thumbnailer's People

Contributors

johnklawlor avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

heroku-buildpack-ffmpeg-thumbnailer's Issues

Not working on heroku with cedar-14

I have added buildpacks but its not working while encoding video to thumbnailer following error occured

ActiveRecord::RecordInvalid: Validation failed: Name Failed to transcode with FFmpeg. Check ffmpeg install and verify video is not corrupt or cut short. Original error: Failed encoding.Errors: no output file created. Full output: ffmpeg version git-2013-06-02-5711e4f Copyright (c) 2000-2013 the FFmpeg developers built on Jun 2 2013 07:38:40 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) configuration: --enable-shared --disable-asm --prefix=/app/vendor/ffmpeg libavutil 52. 34.100 / 52. 34.100 libavcodec 55. 13.100 / 55. 13.100 libavformat 55. 8.102 / 55. 8.102 libavdevice 55. 2.100 / 55. 2.100 libavfilter 3. 74.101 / 3. 74.101 libswscale 2. 3.100 / 2. 3.100 libswresample 0. 17.102 / 0. 17.102 [avi @ 0x1c0c7a0] non-interleaved AVI [avi @ 0x1c0c7a0] max_analyze_duration 5000000 reached at 5015510 microseconds Input #0, avi, from '/app/tmp/uploads/1444214888-3-9374/mp4_right-box-post-default-active-and-clickable.avi': Metadata: encoder : Lavf54.20.4

and when is check for ffmpegthumbnailer version on heroku
ffmpegthumbnailer: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

Any solutions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.