[FFmpeg-devel] Muxing to MP4 in H264/AAC with libavformat

Benoit Fouet benoit.fouet
Fri Feb 15 08:58:45 CET 2008


Netex wrote:
> Hi,
> I'm trying to use libavcodec and libavformat to mux to a MP4 file. But
> it seems that movenc.c doesn't come with a configuration of muxing
> H264+AAC to a MP4 file. I tried to modify video_codec to CODEC_ID_H264
> but the result MP4 file cannot be recognized by QuickTime.

this is the list for development *of* ffmpeg, not *with* it
please try libav-user instead

and a tip: try to do what you want to do by using ffmpeg command and
breaking in the code to see what configuration is given to the encoder +

> I use MP4Box to view its structure, MP4Box told me the aacC tag size
> is invalid (size is 8).
> Did I miss something when using the libraries? Thanks.

Benoit Fouet
Purple Labs S.A.

More information about the ffmpeg-devel mailing list