rajserp

*
Newbie
Posts: 1
Logged
Hello!

I have been playing around with the command that is provided to ffmpeg from the TinyTv Converter 1.0.4 to try and get a bit louder audio.

Reading and combining these two ideas.
Dynamic Range Compression
ffmpeg speechnorm examples

This is what I have come up with. You loose almost all dynamics, but I think the volume consistency is worth it
#Cover/Zoom (Max Audio)
ffmpeg.exe -i "<INPUTFILE>" -r 24 -pix_fmt yuv420p -filter_complex "[0:a]compand=attacks=0:points=-80/-900|-45/-15|-27/-9|0/-7|20/-7:gain=0,speechnorm=e=25:r=0.0001:l=1,aresample=10000,aresample=async=1000,aresample=osf=u8,asetnsamples=n=210:p=0[a];[0:v]scale=210:135:force_original_aspect_ratio=increase,crop=210:135:exact=1,hqdn3d[v]" -map "[v]" -b:v 1500k -c:v mjpeg -map "[a]" -ac 1 -acodec pcm_u8 -y "<OUTPUTFILE>"

#Fill/Stretch (Max Audio)
ffmpeg.exe -i "<INPUTFILE>" -r 24 -pix_fmt yuv420p -filter_complex "[0:a]compand=attacks=0:points=-80/-900|-45/-15|-27/-9|0/-7|20/-7:gain=0,speechnorm=e=25:r=0.0001:l=1,aresample=10000,aresample=async=1000,aresample=osf=u8,asetnsamples=n=210:p=0[a];[0:v]scale=210:135,hqdn3d[v]" -map "[v]" -b:v 1500k -c:v mjpeg -map "[a]" -ac 1 -acodec pcm_u8 -y "<OUTPUTFILE>"

SMF spam blocked by CleanTalk