[Libav-user] 转发: ask for help
wb4701 at yahoo.com.cn
Wed Jul 6 02:58:26 CEST 2011
Hello, I'm a new user of FFMPEG. It's
a such strong program. When I use it, I meet a problem. I
want to create a file with H264(video encoder) and MP3(audio
encoder) using C language. I made use of part of code in
output_example, but it didn't work. The file created only
had video iformation without audio information. I think
there must be some problem here.
AVOutputFormat *fmt=guess_format ("h264", NULL, NULL);
pFormatCtx-> oformat = fmt;
Could you help me solve this problem? Thanks a lot!
More information about the Libav-user