[Ffmpeg-devel] Lowres option problem
Santa Cruz, Diego GE Indust, Security
diego.santacruz
Fri Sep 22 09:56:28 CEST 2006
> -----Original Message-----
> From: ffmpeg-devel-bounces at mplayerhq.hu
> [mailto:ffmpeg-devel-bounces at mplayerhq.hu] On Behalf Of Roberta Weber
> Sent: Friday, September 22, 2006 3:16
> To: ffmpeg-devel at mplayerhq.hu
> Subject: [Ffmpeg-devel] Lowres option problem
>
> Hi,
>
> I used lowres = 3 in my code and this option causes
> segmentation fault in the first GetNextFrame:
>
Did you set CODEC_FLAG_EMU_EDGE in AVCodecContext->flags? It is
necessary, although I do not know what it means exactly or why it is
needed. Anybody knows?
If you are using libavcodec alone (i.e. without libavformat) be sure to
call avcodec_init() before calling avcodec_register_all() (with
libavformat they are both called from av_register_all()).
Best,
Diego
--
Diego Santa Cruz, PhD
GE Security
Engineered Systems EMEA
Research Scientist
T +41 21 695 0019
F +41 21 695 0001
E diego.santacruz at ge.com
www.gesecurity.net
Victoria House
Route de la Pierre, 22
1024 Ecublens
Switzerland
VisioWave sarl
More information about the ffmpeg-devel
mailing list