[FFmpeg-user] Convert flv to mp4. Bad video quality
Flavio Sartoretto
flavio.sartoretto1956 at gmail.com
Fri May 28 17:54:48 EEST 2021
Thank you Ulf for your suggestion.
Michael Koch suggested me to use -q:v 1, which is ok!
Thanks anyway!
Prof. Flavio Sartoretto
gia' Docente di Calcolo Scientifico
Universita' Ca' Foscari Venezia
On Fri, May 28, 2021 at 12:02 PM Ulf Zibis <Ulf.Zibis at cosoco.de> wrote:
>
>
> Am 28.05.21 um 11:44 schrieb Michael Koch:
> > Am 28.05.2021 um 11:25 schrieb Flavio Sartoretto:
> >> I use ffmpeg in order to convert fname.flv video to mp4:
> >> ffmpeg -i fname.flv -c:v mpeg4 -copyts -loglevel verbose fname.mp4
> >>
> >> The video quality of my output is bad. How can I improve it?
> >
> > Add -q:v 1 to your command line. The number does specify the compression ratio. 0 ist best quality and 9 is highest compression.
>
> Alternatively you may drop "-c:v mpeg4". Then libx264 is used instead FFmpegs internal mpeg4 encoder by default and you will get good quality.
>
> -Ulf
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list