c++ - How to implement a command line of ffmpeg with ffmpeg static lib? -


i need simple ffmpeg conversion task done inside application:

ffmpeg -i input_file.m4v -vcodec copy -acodec copy -vbsf h264_mp4toannexb output_file.ts 

this works using terminal. i've compiled ffmpeg's static lib. examples work perfectly, means lib working. how implement behaviour of above command line library?

i looked ffmpeg.c. there code inside took me hours idea on how works. still don't understand whole structure.

i happy if me understanding how use library same example command line does. (at end want transmux mp4 files ts files without reencoding)

thanks in advance

jack


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -