[FFmpeg-devel] [PATCH] camtasia colorspace
Loren Merritt
lorenm
Fri Sep 28 08:38:31 CEST 2007
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.
--Loren Merritt
More information about the ffmpeg-devel
mailing list