[FFmpeg-devel] [PATCH] camtasia colorspace

Kostya kostya.shishkov
Fri Sep 28 10:20:52 CEST 2007


On Fri, Sep 28, 2007 at 12:38:31AM -0600, Loren Merritt wrote:
> On Fri, 28 Sep 2007, Kostya wrote:
> > On Thu, Sep 27, 2007 at 09:22:13PM -0600, Loren Merritt wrote:
> >
> >> I have exactly one sample of the Camtasia format. It plays with swapped
> >> R/B planes in ffplay, but plays correctly in mplayer. AFAICT, ffmpeg says
> >> its outupt is rgb, but mplayer ignores that and treats it as bgr as
> >> written in codecs.conf. Was this a typo, or are some samples actually rgb?
> >
> > Samples from MPHQ are decoded without colour swap. Have you tried transcoding
> > it with ffmpeg?
> 
> Transcoding with ffmpeg produces the same result as ffplay.
> Of the samples from MPHQ, 2004-12-17-uebung9.avi (rgb32) and tscc.avi 
> (bgr24) work here, but TI_1_Einfuehrung.avi and oneminute.avi (bgr555) 
> are colorswapped the same way as my sample.
> So I revise the patch to change only 15bit.

I gather it's something wrong with colorspace conversion at your side.
15bpp samples are decoded properly on my PPC and here on Core2.
I use default imgconvert though, will try swscale.
 
> --Loren Merritt




More information about the ffmpeg-devel mailing list