[FFmpeg-devel] [PATCH] libswscale: do not use rgb2rgbWrapper() for high-res

Vitor Sessak vitor1001
Sat Jun 13 16:27:25 CEST 2009


Kostya wrote:
> On Sat, Jun 13, 2009 at 01:00:01PM +0200, Vitor Sessak wrote:
>> $subj, fixes the following error:
>>
> [...]
>> [swscaler @ 0x89762d0]internal error rgb48be -> rgb48le converter
> 
> Does it make it convert though?

No. If I try to convert it to bmp with unpatched ffmpeg I have a black 
picture:

vitor at vitor-laptop:/tmp$ ffmpeg -i lighthouse_rgb30.dpx tmp.bmp
FFmpeg version SVN-r19182, Copyright (c) 2000-2009 Fabrice Bellard, et al.
   configuration: --cc='ccache gcc' --disable-mmx --disable-mmx2 
--disable-sse --disable-ssse3
   libavutil     50. 3. 0 / 50. 3. 0
   libavcodec    52.31. 2 / 52.31. 2
   libavformat   52.34. 0 / 52.34. 0
   libavdevice   52. 2. 0 / 52. 2. 0
   libswscale     0. 7. 1 /  0. 7. 1
   built on Jun 13 2009 12:33:31, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
Input #0, image2, from 'lighthouse_rgb30.dpx':
   Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
     Stream #0.0: Video: dpx, rgb48le, 768x512, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'tmp.bmp':
     Stream #0.0: Video: bmp, bgr24, 768x512, q=2-31, 200 kb/s, 90k tbn, 
25 tbc
Stream mapping:
   Stream #0.0 -> #0.0
Press [q] to stop encoding
[swscaler @ 0x896f960]internal error rgb48le -> bgr24 converter
frame=    1 fps=  0 q=0.0 Lsize=      -0kB time=0.04 bitrate= 
-4.4kbits/s
video:1152kB audio:0kB global headers:0kB muxing overhead -100.001865%


-Vitor



More information about the ffmpeg-devel mailing list