I try to open a file, and i get an out of memory, when i see util.c in libavformat, i see : fmt->priv_data_size, where it assigned / defined ? i do a printf and i see fmt->priv_data_size = 615 mB, but my file do 3.6 mB
an idea ?
fmt->priv_data_size is just a wrapper size of file format context,and has no any relation to your file size fmt->priv_data_size is defined when you register a file format,for example static AVInputFormat avi_iformat = { "avi", "avi format", sizeof(AVIContext),//here is fmt->priv_data_size avi_probe, avi_read_header, avi_read_packet, avi_read_close, avi_read_seek, }; int avidec_init(void) { av_register_input_format(&avi_iformat); return 0; } Which version of FFmpeg? IMHO,it's caused by incompatible binary! Take care
brice.
-- Brice Rouanet I.N.S.A. Centre de Ressources Informatiques Complexe Scientifique 135 Avenue de Rangueil 31077 Toulouse Cedex4 (France) tel 0561559374
QuickTime wrote:
I try to open a file, and i get an out of memory, when i see util.c in libavformat, i see : fmt->priv_data_size, where it assigned / defined ? i do a printf and i see fmt->priv_data_size = 615 mB, but my file do 3.6 mB
an idea ?
fmt->priv_data_size is just a wrapper size of file format context,and has no any relation to your file size
fmt->priv_data_size is defined when you register a file format,for example static AVInputFormat avi_iformat = { "avi", "avi format", sizeof(AVIContext),//here is fmt->priv_data_size avi_probe, avi_read_header, avi_read_packet, avi_read_close, avi_read_seek, };
int avidec_init(void) { av_register_input_format(&avi_iformat); return 0; }
Which version of FFmpeg? IMHO,it's caused by incompatible binary! Take care
Hi, i use ffmpeg 0.4.9 patched for gcc 4 ( http://www.linuxfromscratch.org/patches/downloads/ffmpeg/ffmpeg-0.4.9-pre1-g... ) Brice.
brice.
-- Brice Rouanet I.N.S.A. Centre de Ressources Informatiques Complexe Scientifique 135 Avenue de Rangueil 31077 Toulouse Cedex4 (France) tel 0561559374
_______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/ffmpeg-user
-- Brice Rouanet I.N.S.A. Centre de Ressources Informatiques Complexe Scientifique 135 Avenue de Rangueil 31077 Toulouse Cedex4 (France) tel 0561559374
participants (2)
-
brouanet@insa-toulouse.fr -
ffmpeg@gmail.com