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
Post a Comment