Opened 13 years ago

Closed 13 years ago

#451 closed defect (needs_more_info)

avformat NOT creating avi file on 32 bit Mac 10.6

Reported by: Thunderbird Owned by:
Priority: normal Component: avformat
Version: 0.8.2 Keywords: avformat mac 32 bit
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

I have compiled ffmpeg on 64 bit Mac machine with following configuration.
ffmpeg version 0.8.2

./configure --enable-debug --disable-asm --disable-yasm --disable-mmx --disable-mmx2 --disable-static --enable-shared --extra-cflags="-arch i386" --extra-ldflags="-arch i386" --arch=x86 --target-os=darwin --enable-cross-compile

This libraries saves video from USB webcam fine on 64 bit machine.
but on 32 bit machine I get following errors.
I am using libavformat to create avi file

avformat_alloc_output_context2(&oc,NULL,NULL,"/Documents/temp.avi")
[NULL @ 0x3167800] Unable to find a suitable output format for '/Documents/temp.avi'
avformat_alloc_output_context2(&oc,NULL,"avi","/Documents/temp.avi")
[NULL @ 0x3163800] Requested output format 'avi' is not a suitable output format

same ffmpeg is able to convert mpeg files to avi files

Any help is appreciated.

Thanks

Change History (2)

comment:1 by Carl Eugen Hoyos, 13 years ago

Status: newopen

Could you test latest git head?
Is the problem also reproducible with ffmpeg (the application), or only if you use the library from another application?
Does "./configure --cc='cc -m32'" work with current git head and is the problem also reproducible with this configuration?

comment:2 by Carl Eugen Hoyos, 13 years ago

Resolution: needs_more_info
Status: openclosed

Please re-open if more information is available.

Note: See TracTickets for help on using tickets.