Re: [Libav-user] Problem with using libavcodec with AV_CODEC_ID_H264

2013-02-09 Thread Ashwin Chandra - SISA
12:38 AM, Ashwin Chandra - SISA wrote: > 1. Just as a sanity check, to disable b-frames, I just set the max_bframes > parameter to 0? > 2. If GOP size is 1, wouldn't that always be I frames? No predictional > ones?] You probably missed the link yesterday: http://libav-users.943

Re: [Libav-user] Problem with using libavcodec with AV_CODEC_ID_H264

2013-02-09 Thread Ashwin Chandra - SISA
Cohn Sent: Saturday, February 09, 2013 12:46 PM To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter. Subject: Re: [Libav-user] Problem with using libavcodec with AV_CODEC_ID_H264 On Sat, Feb 9, 2013 at 10:24 PM, Ashwin Chandra - SISA wrote: > Can you

Re: [Libav-user] Problem with using libavcodec with AV_CODEC_ID_H264

2013-02-09 Thread Ashwin Chandra - SISA
Can you tell me the exact options for the preset you mentioned. I want I and P frames and not B frames to reduce latency but gain better h264 compression rather than mpeg 2. Sent from my iPhone On Feb 9, 2013, at 11:38 AM, "Alex Cohn" wrote: > On Fri, Feb 8, 2013 at 8:21 PM, A

Re: [Libav-user] Problem with using libavcodec with AV_CODEC_ID_H264

2013-02-08 Thread Ashwin Chandra - SISA
av_interleaved_write_frame(oc, &pkt); stillgotframes = got_packet; } Harry Von: libav-user-boun...@ffmpeg.org<mailto:libav-user-boun...@ffmpeg.org> [mailto:libav-user-boun...@ffmpeg.org] Im Auftrag von Ashwin Chandra - SISA Gesendet: Friday, February 08, 20

Re: [Libav-user] Problem with using libavcodec with AV_CODEC_ID_H264

2013-02-08 Thread Ashwin Chandra - SISA
All those presets I tried but didn't help. From: libav-user-boun...@ffmpeg.org [mailto:libav-user-boun...@ffmpeg.org] On Behalf Of Ashwin Chandra - SISA Sent: Friday, February 08, 2013 8:39 AM To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter. Su

Re: [Libav-user] Problem with using libavcodec with AV_CODEC_ID_H264

2013-02-08 Thread Ashwin Chandra - SISA
boun...@ffmpeg.org> [mailto:libav-user-boun...@ffmpeg.org] Im Auftrag von Ashwin Chandra - SISA Gesendet: Freitag, 08. Februar 2013 00:29 An: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter. Betreff: Re: [Libav-user] Problem with using libavcodec with AV

Re: [Libav-user] Problem with using libavcodec with AV_CODEC_ID_H264

2013-02-07 Thread Ashwin Chandra - SISA
} From: libav-user-boun...@ffmpeg.org [mailto:libav-user-boun...@ffmpeg.org] On Behalf Of Ashwin Chandra - SISA Sent: Thursday, February 07, 2013 3:08 PM To: libav-user@ffmpeg.org Subject: [Libav-user] Problem with using libavcodec with AV_CODEC_ID_H264 I have some code that takes a running s

[Libav-user] Problem with using libavcodec with AV_CODEC_ID_H264

2013-02-07 Thread Ashwin Chandra - SISA
I have some code that takes a running stream of uncompressed video data and encodes it using AV_CODEC_ID_H264. The sequence I follow is 1. Call avcodec_encode_video2 on the AVFrame which contains my uncompressed frame. 2. Call avcodec_encode_video2 again passing NULL in the AVFrame parameter