[FFmpeg-devel] libavformat file handling

Michael Niedermayer michaelni
Fri Nov 12 19:32:31 CET 2010

On Thu, Nov 11, 2010 at 03:59:16PM +0100, Peter Staab wrote:
> Hello,
> I am porting ffmpeg to Symbian OS, including libavcodec, libavutil, and libavformat (libswscale comes later; I could not make it work yet). Now, Symbian seems to need different file handling than currently implemented in libavformat. 
> For first tests I am using "output_example.c" included in the ffmpeg package. The code fails exactly in "url_fopen(&(ByteIOContext), const char* filename, URL_WRONLY)". I tried to track down the exact location where the file is opened, but without success.
> First, in "aviobuf.c" the function "url_fopen(ByteIOContext *s, const char *filename, int flags)" is called, which calls "int url_open(URLContext **puc, const char *filename, int flags)" in "avio.c". How does it continue? Where is the file actually created/opened for writing?

your favorit debugger with a breakpoint set on one of these functions and the
steping through the code should show that
its libavformat/file.c

also, patches, which are clean enough that make us symbian OS compatible are


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101112/fd3673e0/attachment.pgp>

More information about the ffmpeg-devel mailing list