Git Product home page Git Product logo

Comments (7)

rheaton avatar rheaton commented on July 26, 2024

Are you able to create a webm with ffmpeg command line?

How did you install ffmpeg?

from carrierwave-video.

rheaton avatar rheaton commented on July 26, 2024

Try re-building it with these flags:

--disable-encoder=vorbis --enable-libvorbis

(form here) http://xiphmont.livejournal.com/51160.html

Also, it looks like my default options need to be updated to work with the most recent version of ffmpeg-- I will do that a bit later today (unless you can submit a patch for me 😄 ): streamio/streamio-ffmpeg#28

from carrierwave-video.

ttseng avatar ttseng commented on July 26, 2024

I rebuilt ffmpeg with your suggestions, and it worked. Thanks!

from carrierwave-video.

rheaton avatar rheaton commented on July 26, 2024

Great to hear that!

from carrierwave-video.

ivorpad avatar ivorpad commented on July 26, 2024

Hi @rheaton

I'm having these exact same issues when trying to process webm. I installed ffmpeg like so:

brew install ffmpeg --disable-encoder=vorbis --enable-libvorbis --with-libvpx

Here's the error message:

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 2.8.6 Copyright (c) 2000-2016 the FFmpeg developers built with Apple LLVM version 7.0.2 (clang-700.1.81) configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.6 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libvpx --enable-vda libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100 Input #0, avi, from '/Users/ivor/workspace/projects/pixup/public/uploads/tmp/1457648455-53407-6064/webm_sample.avi': Metadata: encoder : Nandub v1.0rc2 Duration: 00:00:48.68, start: 0.000000, bitrate: 1587 kb/s Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x304 [SAR 1:1 DAR 45:19], 1319 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 256 kb/s Please use -b:a or -b:v, -b is ambiguous Unknown encoder 'libvorbis'

Any ideas?
Thanks!

from carrierwave-video.

rheaton avatar rheaton commented on July 26, 2024

@ivorpad check out the installation notes: https://github.com/rheaton/carrierwave-video#ffmpeg-installation-notes

It needs the libvorbis encoder--getting ffmpeg set up properly is a bit of a beast but doable, good luck! 👍

from carrierwave-video.

ivorpad avatar ivorpad commented on July 26, 2024

@rheaton

brew reinstall ffmpeg --with-libvpx --with-libvorbis did the trick.

Thanks, Rachel.

from carrierwave-video.

Related Issues (20)

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.