How to convert this curl command in c#?

What are the best command lines for ffmpeg to convert videos to be HTML5 ready?

  • And I mean definitive answers. Like what to put in command line to get results like Vimeo. WebM and H.264 support needed for HTML5.

  • Answer:

    ffmpeg -i inputfile.avi -vcodec libx264 -vprofile baseline -preset slow -b:v 500k -maxrate 500k -bufsize 500k -vf scale=-1:360 -threads 0 -acodec libfdk_aac -b:a 96k output.mp4 This profile is h264, multiscreen compatible, even on the old smartphones (maybe on the premium other phones). with 360p resolution. this is a basic line, we could do best if we know what type of content, quality and resolution you want. ffmpeg -i input.mp4 -c:v libvpx -b:v 1M -c:a libvorbis output.webm you an change -b:v value to adapt quality. Same remarks : we could do best if we know what type of content, quality and resolution you want.

Ludovic Bostral at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.