Please let me know which compiler do u use?

On Wed, Jul 6, 2011 at 10:58 AM, 勃 王 <[email protected]> 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
> [email protected]
> http://ffmpeg.org/mailman/listinfo/libav-user
>



-- 
Amir H. Rouhi
PhD Student/ CSIT RMIT University
Room: 14-09-04
[email protected]
[email protected]
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to