Re: [Libav-user] Encoding Audio+Video : Assigning PTS value for Audio Frame ?

2012-04-23 Thread Andrey Utkin
2012/4/23 ashika umanga umanga.for...@gmail.com: But according to themuxing.c example ( http://ffmpeg.org/doxygen/trunk/muxing_8c-source.html )  , a PTS value is only assigned to the video-frames but not for audio frames. Any tips on this? BTW you look at docs from svn, svn of ffmpeg.org is

Re: [Libav-user] Fw: Fw: Getting No frame: error

2012-04-23 Thread krishnaks
Hi Alex. I thought I may need to add NAL units That why I added 0x0001. Please see the code: Let me know If I am missing.. av_register_all(); codec = avcodec_find_decoder(CODEC_ID_H264); codecCtx = avcodec_alloc_context3(codec); codecCtx-width = width;

Re: [Libav-user] Fw: Fw: Getting No frame: error

2012-04-23 Thread krishnaks
Hi, I just tried with the code in doc/Examples/decoding_encoding.c for video decoding I am getting following errors Invalid level prefix [h264 @ 0xb86b800] error while decoding MB 5 6 [h264 @ 0xb86b800] concealing 77 DC, 77 AC, 77 MV errors saving frame 0 Regards, KP Hi Alex. I thought I