Search found 2 matches

by ffpmegguy
Mon Jun 25, 2012 3:34 pm
Forum: Developement with FFmpeg
Topic: Help with encoding and understanding avcodec_encode_video2
Replies: 3
Views: 6961

Re: Help with encoding and understanding avcodec_encode_vide

Hi, what I mean is that gotPacket is set to 0, which means empty. Until about the 14th frame or so. After that, each frame returns a packet. Im new to this so I was just wondering if that can happen or there is some error in my code. Maybe the frames are empty? I don't know. Also on top of my previo...
by ffpmegguy
Mon Jun 25, 2012 11:39 am
Forum: Developement with FFmpeg
Topic: Help with encoding and understanding avcodec_encode_video2
Replies: 3
Views: 6961

Help with encoding and understanding avcodec_encode_video2

Hello, I recently started working with ffmpeg libraries and I'm kind of stuck. Basiclly my code opens a .FLV file. Decodes packets into frames. Then its supposed to encode it to .MP4(H264). Everything seems to run fine up to the encoding, first of I dont get a complete packet until after around 14 f...