Proci.WindowStyle = ProcessWindowStyle.Hidden Girdi = "C:\video\ScreenCapture_ 17.16.25.xesc" 'for exampleĬikti = "C:\videokayit\output.mp4" 'for exampleĪrgs = "-i " & girdi & " -preset slow -codec:a libfdk_aac -b:a 128k -codec:v libx264 -pix_fmt yuv420p -b:v 1000k -minrate 500k -maxrate 2000k -bufsize 2000k -vf scale=854:480 " & cikti Dim proc As New Process I choose height and width for screen recorder. It can also convert between arbitrary sample rates and resize. i use ffmpeg for all jpeg files in folder to mp4 file. ffmpeg is a very fast video and audio converter that can also grab from a live audio/video source. so my output file name is date hours.xesc. i make screen recorder in vb.net only for me.
This is my personal list of functions that I wrote for converting mov files to mp4!įfmpeg -i input.mov -preset slow -codec:a libfdk_aac -b:a 128k -codec:v libx264 -pix_fmt yuv420p -b:v 4500k -minrate 4500k -maxrate 9000k -bufsize 9000k -vf scale=-1:1080 output.mp4 MP4 - 720pįfmpeg -i input.mov -preset slow -codec:a libfdk_aac -b:a 128k -codec:v libx264 -pix_fmt yuv420p -b:v 2500k -minrate 1500k -maxrate 4000k -bufsize 5000k -vf scale=-1:720 output.mp4 MP4 - 480pįfmpeg -i input.mov -preset slow -codec:a libfdk_aac -b:a 128k -codec:v libx264 -pix_fmt yuv420p -b:v 1000k -minrate 500k -maxrate 2000k -bufsize 2000k -vf scale=-1:480 output.mp4 MP4 - 360pįfmpeg -i input.mov -preset slow -codec:a libfdk_aac -b:a 128k -codec:v libx264 -pix_fmt yuv420p -b:v 750k -minrate 400k -maxrate 1000k -bufsize 1500k -vf scale=-1:360 output.mp4