Good idea about muxing.c, hadn't thought about that. Did look at ffmpeg though, and quickly got lost trying to understand what happens when passing -vcodec copy on the command line :-/
R. On Nov 01, 2012, at 09:47, Tomas Härdin wrote: > On Tue, 2012-10-30 at 23:15 +0100, "René J.V. Bertin" wrote: >> Hello list, >> >> Can someone point me to a bare-bones (possibly pseudo-code) implementation >> using libavformat, libavcodec etc. of a command like >> >> ffmpeg -i somekindofIncomplete.mp4 -vcodec copy wellFormed.m4v > > See doc/examples/demuxing.c and muxing.c > > For a hackish way, assuming you want a minimal binary: Take ffmpeg.c, > strip it down until it does only what you want and ./configure > --disable-everything --enable-demuxer=mov --enable-muxer=m4v > > /Tomas _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
