ffmpeg: yuv420p pixel format missing?
--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Take control of your privacy with Proton's trusted, Swiss-based, secure services.
Choose what you need and safeguard your digital life:
Mail: https://go.getproton.me/SH1CU
VPN: https://go.getproton.me/SH1DI
Password Manager: https://go.getproton.me/SH1DJ
Drive: https://go.getproton.me/SH1CT
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle3
--
Chapters
00:00 Ffmpeg: Yuv420p Pixel Format Missing?
00:46 Accepted Answer Score 37
01:28 Thank you
--
Full question
https://superuser.com/questions/1372702/...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #video #ffmpeg #archlinux
#avk47
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Take control of your privacy with Proton's trusted, Swiss-based, secure services.
Choose what you need and safeguard your digital life:
Mail: https://go.getproton.me/SH1CU
VPN: https://go.getproton.me/SH1DI
Password Manager: https://go.getproton.me/SH1DJ
Drive: https://go.getproton.me/SH1CT
Music by Eric Matyas
https://www.soundimage.org
Track title: Hypnotic Puzzle3
--
Chapters
00:00 Ffmpeg: Yuv420p Pixel Format Missing?
00:46 Accepted Answer Score 37
01:28 Thank you
--
Full question
https://superuser.com/questions/1372702/...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#linux #video #ffmpeg #archlinux
#avk47
ACCEPTED ANSWER
Score 37
Use yuv420p
There is no such thing as yuv480p or yuv720p because it is not tied to the video height. yuv420p is a chroma subsampling scheme, and the p
stands for planar, not progressive. In ffmpeg
yuv420p is called a pixel format.
You can use the format filter, or the legacy -pix_fmt
option, to set the pixel format. Example:
ffmpeg -i input.mp4 -vf format=yuv420p output.mp4
- See a generic list of supported pixel formats with
ffmpeg -pix_fmts
. - See which pixel formats are supported by a specific encoder, such as
ffmpeg -h encoder=libx264
.