Hello,
I am currently having problems seeking to keyframe with good accuracy
(videos are h264). To calculate target time I currently use:
int seek_target = target_frame *
((float)pFormatCtx->streams[videoStreamIndex]->time_base.den /
pFormatCtx->streams[videoStreamIndex]->time_base.num) / (float)
p
First thing i would suggest doing is setting your AVCodecContext to use
more threads
for ex: videoCtx->thread_count = 4;
On Wed, Sep 7, 2016 at 3:05 PM, Simon Brown wrote:
> I'm running a decode operation using doc/examples/demuxing_decoding.c I'm
> running on an Arm A9 with Neon enabled. Send
Hello,
I am having problems trying to use "avcodec_close" on AVCodecContext that
has received packets to decode yet has not finished going though the whole
stream. Using avcodec_flush_buffers does not seem to help either. How
should I go about correctly closing and freeing up the AVCodecContext in
Hello,
I am encoding video with a new framerate expecting a slowdown or speed up
in the final result.
Odd thing is: "Videos" or ffmpeg player seems to give me expected results
while VLC plays the video at the same-ish framerate (makes no difference
what FPS I set)
Encoder setup:
out_codec = avco