[Ffmpeg-devel] Convert issue with RGB565, again

Yannick Bétemps arkhee
Wed Dec 6 11:17:01 CET 2006


Hello all,
I followed with great interest the discussion "Convert failure with RGB565".
It end on nov 10th, by a modification of the raw.c source file.
Unfortunatelly it seems I still encounter the same problem.
I checked out the latest version from svn and ran an conversion from
Camstudio compressed AVI to FLV, and from AVI to MPG, same problem : video
has ugly colors.

Heres is the ffmpeg output :
FFmpeg version SVN-r7231, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --enable-mp3lame
  libavutil version: 49.1.0
  libavcodec version: 51.25.0
  libavformat version: 51.6.0
  built on Dec  6 2006 09:28:55, gcc: 4.1.2 20060928 (prerelease) (Ubuntu
4.1.1-13ubuntu5)
Input #0, avi, from '/var/www/videos/01_dec_02interface01.avi':
  Duration: 00:02:38.4, start: 0.000000, bitrate: 378 kb/s
  Stream #0.0: Video: camstudio, rgb565, 1024x768, 25.00 fps(r)
  Stream #0.1: Audio: mp3, 22050 Hz, mono, 32 kb/s
File '/var/www/videos/01_dec_02interface01-ffmpeg3.mpg' already exists.
Overwrite ? [y/N] y
Output #0, mpeg, to '/var/www/videos/01_dec_02interface01-ffmpeg3.mpg':
  Stream #0.0: Video: mpeg1video, yuv420p, 1024x768, q=2-31, 200 kb/s, 25.00
fps(c)
  Stream #0.1: Audio: mp2, 22050 Hz, mono, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1

Files can be found at :
http://www.toumail.com/videos/
The AVI I used is :
http://www.toumail.com/videos/01_dec_02interface01.avi

Input is RGB565 and output is yuv420p
I tried changing the raw.c back to it's pre-nov 10th state, no change.
Ffplay outputs the avi file with bad colors too. I checked it on Windows
with a build made with a nov 24th extract.

Thanks for your help
Yannick





More information about the ffmpeg-devel mailing list