My custom device has an H264 encoder(it's a MDVR). I just put the Audio en Video ES into an AVI. I guess I can create a MP4 container file - guess_format( "mp4" instead of guess_format( "avi" - but the problem will still be the same. The last frames added to the file before power loss will be there, but not available as the container headers have not be updated.
On Wed, Aug 13, 2008 at 10:51 AM, Robert Kalwaitis <[EMAIL PROTECTED]> wrote: > What are you exactly trying to do copy files from the internet? > > If so an AVI container isn't really suited for that. Have other types of > containers worked, ie MP4?K > > > >> Date: Wed, 13 Aug 2008 10:29:19 -0400> From: [EMAIL PROTECTED]> To: >> [email protected]> Subject: [libav-user] container file >> 'finalization'> > Hi,> > I am using ffmpeg to build an AVI container file on >> an embedded system.> Basically my sequence of operations are:> url_fopen and >> av_write_header to create the file> av_write_frame for each Audio and Video >> frames I am adding into the> file container> av_write_trailer and url_fclose >> when I am finished with the file.> > Is there any way that I can 'finalize' >> the avi file without closing it ?> Basically, I'd like to perform this kind >> of operation periodically> (say each 5 seconds or so), so if the device >> would> lose power or if the user would remove the SD card, the AVI file >> would> still be usable up to the last point of 'finalization'.> > Thank you >> in advance.> ~Olivier> _______________________________________________> >> libav-user mailing list> [email protected]> >> https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _________________________________________________________________ > Get Windows Live and get whatever you need, wherever you are. Start here. > http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home_082008 > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
