[Libav-user] 转发: ask for help

Amir Rouhi-Rmit amir.rouhi at rmit.edu.au
Thu Jul 7 09:40:13 CEST 2011

Please let me know which compiler do u use?

On Wed, Jul 6, 2011 at 10:58 AM, 勃 王 <wb4701 at yahoo.com.cn> wrote:

>  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);
>  fmt->audio_codec=CODEC_ID_MP3;
>  AVFormatContext pFormatCtx=av_alloc_format_contex();
>  pFormatCtx-> oformat = fmt;
>  Could you help me solve this problem? Thanks a lot!
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

Amir H. Rouhi
PhD Student/ CSIT RMIT University
Room: 14-09-04
rouhi_amirhossein at student.rmit.edu.au
amir.rouhi at rmit.edu.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110707/1508c890/attachment.html>

More information about the Libav-user mailing list