Comments (7)
Are you able to create a webm with ffmpeg command line?
How did you install ffmpeg?
from carrierwave-video.
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.
I rebuilt ffmpeg with your suggestions, and it worked. Thanks!
from carrierwave-video.
Great to hear that!
from carrierwave-video.
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.
@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.
brew reinstall ffmpeg --with-libvpx --with-libvorbis
did the trick.
Thanks, Rachel.
from carrierwave-video.
Related Issues (20)
- S3 support
- Why is there a default resolution?! HOT 3
- Rename gem? HOT 1
- Transcoding passes but video not uploaded (rollback transaction) HOT 3
- after_transcoding callback called too soon
- Resize to Pad (Adding of Black Bars around Videos)
- scaling not work HOT 1
- Compatibility with streamio-ffmpeg 2.1.0 HOT 4
- Failed to transcode with FFmpeg HOT 10
- Aspect ratio distorted with newer Samsung Galaxy videos
- Failed to transcode with FFmpeg HOT 1
- set uploaded video length limit HOT 1
- How do you configure the encoder to include audio?
- Are video files being saved at a later time frame than the initial commit?
- video files are not processing on commit
- I don't need encode video to size 1920x1080 if source size 1280x720. How to solve?
- store multiple quality HOT 1
- No such filter: '"movie'
- percentage progress HOT 1
- Successfully converted file is not moved from cache to the actual storage directory.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carrierwave-video.