crowdger.blogg.se

Ffmpeg commands for audio quality
Ffmpeg commands for audio quality




ffmpeg commands for audio quality

We can use the handy command-line-based tool FFMpeg to follow these recommendations. YouTube has an official encoding guide, which if you follow correctly, will result in the video not having to be converted by YouTube once you upload it. This way you might save some time waiting for the video to get ready and you will have more control over the visual quality of the video. If you have the hardware for it, you can convert the video yourself before uploading it. This can take some time, and you really have no control over how YouTube converts your video. I removed the flags and vsync/ async options, as I do not think they are strictly necessary for your command.When you upload a video to YouTube, YouTube will convert that video to an appropriate video format for streaming. I assume you really want to reduce the video frame rate to 10 fps.

ffmpeg commands for audio quality

c:a aac -strict experimental -b:a 192k \ When you set qmin and qmax, you are constraining the video quality too much: ffmpeg -i "1.wmv" -c:v libx264 -preset fast -level 30 -crf 23 \ I do not recommend setting qmin and qmax, but instead you should use CRF encoding. You may want to configure/compile your ffmpeg with -enable-libfdk-aac and use -c:a libfdk_aac, and use -vbr 4 or even -vbr 5. For LC-AAC, usually 128 kBit/s is enough, but if your source is compressed. Try setting the audio bitrate with -b:a 192k or higher. Since you're converting something that's already compressed with a lossy codec, you'll lose even more quality. You haven't set any options for audio bitrate or quality, which means that ffmpeg will choose the best AAC encoder it is configured with (which will probably be libvo-aacenc or libfaac), and it'll choose a default audio bitrate.






Ffmpeg commands for audio quality