Skip to content
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

Add option to choose between ffmpeg or avconv (was: FFMPEG or AVCONV) #1522

Closed
codeKonami opened this issue Sep 28, 2013 · 5 comments
Closed

Add option to choose between ffmpeg or avconv (was: FFMPEG or AVCONV) #1522

codeKonami opened this issue Sep 28, 2013 · 5 comments
Labels

Comments

@codeKonami
Copy link

@codeKonami codeKonami commented Sep 28, 2013

Hello,

Is there a way to force to use ffmpeg or avconv?
For example on Ubuntu it seems that avconv is used by default and I'd rather use ffmpeg. Is there a way to do so? Otherwise it could be great to have it.

Thanks

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 29, 2013

Currently we choose avconv if both are available.

@codeKonami
Copy link
Author

@codeKonami codeKonami commented Sep 29, 2013

Ok thanks for the info. I found that avconv is way slower than ffmpeg to extract audio though on my system.
Could have been great to be able to select which one to use.

Thanks again !

@wyatt8740
Copy link

@wyatt8740 wyatt8740 commented Oct 2, 2013

Always possible to find all instances and replace them with 'ffmpeg' for a fix (Have not tested myself, but should work since they are so similar), or just find all the places where it checks for avconv and make them run ffmpeg instead, through hardcoding. Not a great way, but the second option is how I've accomplished it (I prefer ffmpeg).

@JMSwag
Copy link

@JMSwag JMSwag commented Oct 16, 2013

@codeKonami either remove avconv from your computer or
change line 88 in PostProcessor.py from
"cmd = ([self._exes['avconv'] or self._exes['ffmpeg'], '-y'] + files_cmd"
to
"cmd = ([self._exes['ffmpeg'], '-y' or self._exes['avconv']] + files_cmd"

withoth the quotes

@codeKonami
Copy link
Author

@codeKonami codeKonami commented Oct 17, 2013

@JohnyMoSwag Thanks for your help. At the end I haven't changed a thing. I've noticed that ffmpeg is better to extract .mp3 but avconv is really fast to get .m4a which suits me just fine ;)

Thanks again though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.