I am using ffmpeg to convert mp4 video from youtube. The video is HD 1080. When I convert it to mpeg2video, the video loses its sharpness, regardless of the -s 1920x1080
parameter. How can I convert the video without losing picture sharpness? The command I use is:
ffmpeg -i BBB.mp4 -vcodec mpeg2video -s1920x1080 -acodec copy -f mpegts BBB.ts
The best way to make sure your images are the same quality as they are before conversion, add -q:v 1
. q
is quality, v
is for video, 1
is for the quality between 1-35, the lowest being the best quality.
That would make your new command as follows:
ffmpeg -i BBB.mp4 -vcodec mpeg2video -s 1920x1080 -q:v 1 -acodec copy -f mpegts BBB.ts
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With