ffmpeg -i input.ts -c copy output.mp4
ffmpeg -i input.avi -c:v libx264 -preset slow -crf 23 -pix_fmt yuvj420p -c:a aac -b:a 160k output.mp4
ffmpeg -i input.avi -c:v libx265 -preset slow -crf 28 -x265-params range=full -vf scale=-1:1080 -c:a aac -b:a 128k output.mp4
ffmpeg -i input.avi -c:v hevc_nvenc -preset slow -rc vbr_hq -cq 28 -tier high -dst_range 1 -c:a copy output.mp4
haha, so true! I am glad that someone finally said this! Also, without looking at the documentation, even as a somewhat savvy user, I have no idea what this means:
ffmpeg -i input.avi -pix_fmt yuvj422p -c:v libx265 -preset fast -crf 26 -c:a aac -b:a 128k output.mp4
Shame on you ffmpeg... But also as developers its sad that Ffmpeg is the only option out there.
Big thank you for the scripts! I have not tried them, i will let you know how it works for me!
For my business logic, I have some very large
.flv
files that I have to compress in a lossless manner. I found some scripts here and they were definitely not lossless..Thanks!