colinkeenan / silentcast

Create silent mkv screencast and animated gif.
GNU General Public License v3.0
512 stars 22 forks source link

`Unrecognized option 'c:v' Failed to set value 'ffvhuff' for option 'c:v' #39

Closed Zefk closed 7 years ago

Zefk commented 7 years ago

I get this error with the new Silentcast. (With the new icon) Unrecognized option 'c:v' Failed to set value 'ffvhuff' for option 'c:v' /home/zefk/silentcast/ffcom: line 20: kill: (20624) - No such process 1 8 gif

colinkeenan commented 7 years ago

From the beginning, in every version of Silentcast, I have made the initial capture using the -c:v ffvhuf for video format. I don't know if a recent version of ffmpeg suddenly doesn't allow that option anymore. I will not have time to look into it today, but can in the next couple of days.

Are you using ffmpeg? What version?

Zefk commented 7 years ago

ffmpeg version 0.8.17-4:0.8.17-0ubuntu0.12.04.2, Copyright (c) 2000-2014 the Libav developers

Seth-Johnson commented 7 years ago

Silentcast does not support Ubuntu 12.04 because the ffmpeg options it uses did not exist in ffmpeg at that time. 12.04 will be end of life in April, I suggest you upgrade to 14.04.5.

On Sat, Dec 31, 2016 at 1:21 PM, Zane Kukta notifications@github.com wrote:

ffmpeg version 0.8.17-4:0.8.17-0ubuntu0.12.04.2, Copyright (c) 2000-2014 the Libav developers

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/colinkeenan/silentcast/issues/39#issuecomment-269882343, or mute the thread https://github.com/notifications/unsubscribe-auth/ADOKWDy5jY-EKHol1aRCe2vyP58dFBEvks5rNsdNgaJpZM4LYnlg .

--

Seth Johnson

Zefk commented 7 years ago

How do I downgrade to the previous version of Silentcast? If this cannot be fixed, then I would like to use a previous version. I tried the source, but failed. Which libraries do I need to compile?

colinkeenan commented 7 years ago

All versions would have this problem. I never changed that part of it.

Are you saying a previous version worked for you though?

Zefk commented 7 years ago

The 2.2 version worked, but I am not 100% about the others.

colinkeenan commented 7 years ago

I don't really understand what is happening then. Well, Ok, maybe I know. Seth-Johnson was previously bundling ffmpeg with Silentcast, and so you were getting a compatible version. I think any prior version would work for you. In fact, maybe you can install the previous version of ffmpeg that came with Silentcast instead. I don't know Ubuntu well enough to give you any advice on that. There is probably a directory that contains previous versions of packages you have installed, and there is probably a command-line way to install one of those previous versions. You would need to Google that or maybe Seth will let you know.

You may also want to look at this link for installing the most recent ffmpeg on 12.04 (and read the comments) https://gist.github.com/xdamman/e4f713c8cd1a389a5917

Zefk commented 7 years ago

I do not think this is a Silentcast error now.. Does Silentcast or ffmpeg use libstdc? If so, the only recent change I have made is that I installed libstdc++6-4.7-dev. Silentcast 2.2 failed the same way.

colinkeenan commented 7 years ago

From the beginning, Silentcast was written in bash, and so really only uses other commands that run in bash. I had to look up libstdc and it's "GNU Standard C++ library version 3". It's not even installed on my computer, so can't be the issue.

Maybe the change Seth recently made effects previous versions as well, but we will have to wait for him to respond to know.

If I were you, I would try uninstalling ffmpeg and then installing version 2.2 of Silentcast. If that doesn't work, your choices are to compile ffmpeg yourself, maybe using the script I linked before, or upgrading Ubuntu.

Seth-Johnson commented 7 years ago

I'm going to have to get a 12.04 VM and do some testing. I don't think 12.04 ever supported silentcast due to the age of the ffmepg package it ships. I never included ffmpeg in my PPA itself.

On Sun, Jan 1, 2017 at 12:57 PM, Colin Keenan notifications@github.com wrote:

From the beginning, Silentcast was written in bash, and so really only uses other commands that run in bash. I had to look up libstdc and it's "GNU Standard C++ library version 3". It's not even installed on my computer, so can't be the issue.

Maybe the change Seth recently made effects previous versions as well, but we will have to wait for him to respond to know.

If I were you, I would try uninstalling ffmpeg and then installing version 2.2 of Silentcast. If that doesn't work, your choices are to compile ffmpeg yourself, maybe using the script I linked before, or upgrading Ubuntu.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/colinkeenan/silentcast/issues/39#issuecomment-269919328, or mute the thread https://github.com/notifications/unsubscribe-auth/ADOKWGIH2E-pFQoW3G-6erqkGfLe6cY4ks5rOBM7gaJpZM4LYnlg .

--

Seth Johnson

Zefk commented 7 years ago

This is not a Silentcast error. This can be closed. I plan on upgrading my OS soon, so I will not bother with this issue. Thank you for your help @colinkeenan.

Zefk commented 7 years ago

The problem occurred due to a new ffmpeg update. The update is marked as transitional package. It is marked as the same exact version...which is weird. My other Laptop uses 12.04 Ubuntu and Silentcast v2.2 is running perfectly. The new Silentcast is not an issue because I tested it.