Skip to content

Update encoding.mdx #462

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docs/category-uploading/category-fileuploads/encoding.mdx
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for sharing some more advanced solutions for users. Please, in this particular case we suggest that you incorporate something for advanced command options like:

"For advanced users who want to explore conversion options with the command line, you can visit the official #user documentation. Additional installations may be required."

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ You may have tried uploading a video and gotten this message:

You could upload the video as is, but there’s a high chance of buffering for viewers. You can avoid this by encoding your video.

First, download a program called Handbrake. It’s free to use, open-source, and completely safe.
First, download a program called Handbrake (or command-line users please scroll to the bottom). Handbrake is free to use, open-source, and completely safe.

You can find it at handbrake.fr.

Expand All @@ -34,3 +34,11 @@ When you have a video selected, you’ll want to check a few settings.
![](/img/en/category-uploading11.png)

If everything is correct, you can select a destination and file name, and hit start. If you encoded at 1080p and the bitrate is still too high, you’ll need to try again at 720p. The majority of the time, the video should be fine at 1080p.

Command-line:

For example,

ffmpeg -i input.mov -c:v libx264 -pix_fmt yuv420p -profile:v baseline -level 3.0 -crf 22 -preset veryslow -vf scale=1280:-2 -c:a aac -movflags +faststart output.mp4

(from https://gist.github.com/jaydenseric/220c785d6289bcfd7366 )