c++ - I am using ffmpeg library in my program to record video and audio -


i want record video coming camcorder wmv file. using ffmpeg libraries , have saving video "avi" file. requirements of project output wmv file. can me discover how set video , audio codecs?

you can configure video codec mpeg4 , audio codec windows media audio 2 .wmv file format.

 ffmpeg -i input.mp4 -b:v 2m -vcodec msmpeg4 -acodec wmav2 output.wmv 

when use ffmpeg generate wmv format output video quality may less other format. better set qscale value better quality video.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -