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

libx264 conversion is very slow #83

Open
dolphinsd opened this issue Mar 24, 2016 · 1 comment
Open

libx264 conversion is very slow #83

dolphinsd opened this issue Mar 24, 2016 · 1 comment

Comments

@dolphinsd
Copy link

Have anyone figured out how to optimize ffmpeg lib264 encoder. Here is a sample file:
https://drive.google.com/file/d/0B118zj9LsEGmT0ZCY2JGSE82WnM/view?usp=sharing

Using this command, we get only 5-6 fs on quad code 2 mhz box running android.

String cmd = "-re -i /storage//sample.ts -c:v libx264 -c:a aac -b:v 704k -preset ultrafast -threads 16 -thread_type frame -strict experimental -hls_time 10 -hls_list_size 6 -hls_wrap 60 -start_number 1 -y " "storage/hls/index.m3u8";

Thank you.

@matteinn
Copy link

matteinn commented May 24, 2016

+1
It sounds like the -threads parameter is not affecting the performance

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

No branches or pull requests

3 participants