Le 16 janv. 08 à 14:11, Burkhard Plaum a écrit : > Hi, > > Hervé Flores schrieb: >> Le 16 janv. 08 à 04:40, Steven M. Schultz a écrit : >> >>> On Wed, 16 Jan 2008, Christian Ebert wrote: >> >> >> [...] >> mjpeg tools too can do the trick ;-) >> >> decode DV with ffmpeg | yuvdenoise ... | mpeg2enc >> or (bad soluce) >> decode DV with movtoy4m (lose of one field, gamma garbage due >> QuickTime.framework) | yuvdenoise ... | yuvcorrect for gamma >> correction | mpeg2enc > > Why loose one field?
movtoy4m does not decode interlaced streams (only half of the stream = one field, or blend the 2 fields with some parameter) due the great apple's quickTime automatisms. To preserve CPU cunsumption, Apple (=QuickTime) has 3 levels of displays: quarter, half and full image(you can see them selecting the video track in QuickTime player and plays with). The API and documentation fom apple to display interlaced files is buggy, Johan code is OK (theoricaly) but it only manages to blend the 2 fields (complain to Apple ;-)) > Why gamma garbage? QT player displays a darker image than input file (and all quicktime calls from QuickTime.framework do the same) > movtoy4m uses exactly the same code (libavcodec) for DV decoding > as ffmpeg, so the output should be identical. If it's not, there > is something wrong. no, movtoy4m is a tool from Johan Lindstrom, based on QuickTime API for Mac by Apple (different from libavcodec) It has the same defaults as QuickTime Player (displays chroma as progressive instead of interlaced with DV, etc), but it's a very cool tool. (this thread begins to be a Mac-only thread ;-)) sorry for my great level of english... bye Hervé ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users