-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to set value '0' for option qscale #25
Comments
Can you get it to transcode via the command-line or the streamio-ffmpeg gem? |
Can you provide a sample script that your app generates based on a simple conversion to mp4 so I can test it, or does your app log the command that is run using Rails.logger? If not, that would definitely be a helpful debugging tool. |
I just tried a direct command to convert via ffmpeg. It's complaining because qscale cannot be set at 0. It must be greater than 0. I also had to use i.e., this didn't work: whereas this did: So this app is setting qscale to 0 when it should be greater than 0 and less than or equal to 255 (according to ffmpeg). |
I modified my uploader to the following as a 'workaround' to the adverse defaults as well as other issues not related to the gem:
FWIW I also had to install other codecs via |
I have a test file downloaded from
http://www.youtube.com/watch?v=C0DPdy98e4c
and saved as a webm and flv using Flash Video Downloader. The files are named test.flv and test.webm. When testing my model, I get transcoding errors from ffmpeg.
It says ffmpeg is being deprecated in favour of avconv.
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
qscale must be > 0.0 and <= 255
Failed to set value '0' for option 'qscale'
ffmpeg reports version 0.8.10-6.0.8.10-0ubuntu0.13.10.1
These issues occur for both the flv and webm files. I also did another test with an .avi file downloaded from the web (not using FLV downloader) and I also get these issues.
The text was updated successfully, but these errors were encountered: