search for: avcodec_open

Displaying 2 results from an estimated 2 matches for "avcodec_open".

2009 Feb 20
2
segfault on amd64 with ffmpeg
...ib/libtheora.so.0.3.4) ==12051== by 0x64E6722: InitFrameDetails (in /usr/local/lib/libtheora.so.0.3.4) ==12051== by 0x64D9F2E: theora_encode_init (in /usr/local/lib/libtheora.so.0.3.4) ==12051== by 0x762874: (within /home/pub/apps/ffmpeg_dev/ffmpeg_svn/ffmpeg) ==12051== by 0x4E38FE: avcodec_open (in /home/pub/apps/ffmpeg_dev/ffmpeg_svn/ffmpeg) ==12051== by 0x4292DB: (within /home/pub/apps/ffmpeg_dev/ffmpeg_svn/ffmpeg) ==12051== by 0x42A97B: main (in /home/pub/apps/ffmpeg_dev/ffmpeg_svn/ffmpeg) ==12051== ==12051== Invalid write of size 4 ==12051== at 0x64D14AC: PickIntra (in /...
2004 Nov 20
0
ffmpeg2theora start and end time support
...text->streams[this->video_index]; venc = &this->context->streams[this->video_index]->codec; vcodec = avcodec_find_decoder (venc->codec_id); fps = (double) venc->frame_rate / venc->frame_rate_base; if (fps > 10000) fps /= 1000; if (vcodec == NULL || avcodec_open (venc, vcodec) < 0) this->video_index = -1; this->fps = fps; if(info.preset == V2V_PRESET_PREVIEW){ // possible sizes 384/288,320/240 int pal_width=384; int pal_height=288; int ntsc_width=320; int ntsc_height=240; if(this->fps==25 && (venc->width!=...