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

mono audio and less output size #10

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

sfmth
Copy link
Contributor

@sfmth sfmth commented Apr 13, 2021

No description provided.

@ATofighi
Copy link
Owner

توضیحات می‌دین از اتفاقی که قراره بیفته؟

لینک داکیومنتی که به آرگمان ac هم رسیدید رو بدید خوبه.

@sfmth
Copy link
Contributor Author

sfmth commented Apr 13, 2021

FFmpeg's binary is a CLI tool for multimedia manipulation, for a medium preset in the file it's equal to running this command:

ffmpeg -i video.webm -c:v libx264 -c:a aac -b:a 60k -ac 1 -crf 36 -tune stillimage -preset veryfast -s 852x480 -r 20 -movflags +faststart out.mp4

You can do filters and there is even video editors built solely on FFmpeg. It also has cpp libraries. Handbrake is just a frontend for FFmpeg.

FFmpeg's wiki is really helpful but for the 'ac' it just ran into my mind to reduce audio channels, and then I googled it and found the argument for it.

@sfmth
Copy link
Contributor Author

sfmth commented Apr 13, 2021

و اتفاقی هم که اینجا میفته اینه که دو تا کانال ادیو چپ و راست داره فایل خروجی هردوتاشو ادغام میکنیم تو یکی و برای چپ و راست استفاده میکنیم و حجم کمتری میگیره

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

Successfully merging this pull request may close these issues.

2 participants