On Fri, 13 Oct 2006 02:13:34 JST [EMAIL PROTECTED] (Andrew Church) wrote: > Francesco, just so you're aware--I've taken the liberty of reverting > import_ffmpeg to the pre-avformat version (your new code is still in there, > commented out with #if 0).
Of course I'm not against this if new code isn't work properly. I'd just like to point out that I've performed basic testing (and only basic testing due to lack of time :( ) without having any obvious problem. > For some reason, using avformat to demux the > input file results in some(*) input video frames being dropped, and since > they're dropped before encoding, the image is quickly corrupted. I'll do some ingestigation on my box as soon as I find some time. I've no experienced such problem (at least I haven't noticed any artifact/problem). What kind of file triggers that problem? > I'm not familiar with avformat, so if you can figure out what the problem > is, by all means fix it, but especially since demuxing will eventually be > separated from decoding anyway, I think it would be better to leave > import_ffmpeg in a functional state at least until 1.1.0, and then work > the rewrite into the NMS import framework. I mostly agree with this. But I'll like more to have avformat in, if feasible. :) I've based new code on (scarce) documentation avalaible, and furthermore ffplay works just fine here so I guess the problem is either 1) a broken libavformat snapshot 2) incorrect usage in our module. > (*) My gut instinct is that every other frame is being dropped, since the > output (corrupted) video runs twice as fast as the audio. Could that > have anything to do with the fact that I'm on a dual-core system? > I've left --threads at default, so it _should_ still be 1... Dunno yet. We'll see ASAP =) Best regards, -- Francesco Romani - Ikitt ['people always complain, no matther what you do'] IM contact : (email first, Antispam default deny!) icq://27-83-87-867 known bugs : http://www.transcoding.org/cgi-bin/transcode?Bug_Showcase tiny homepage : http://fromani.exit1.org (see IDEAS if you want send code!)
