It is currently Wed Jan 16, 2019 1:39 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Jan 02, 2019 10:48 pm 
Offline

Joined: Wed Jan 02, 2019 10:37 pm
Posts: 1
I recorded a short movie in FCEUX using the movie recorder feature and then recorded it using the built in AVI recording feature. Some of the colors in the recording are wrong. Check the screenshot I attached for a comparison. You can clearly see the boxes are a different color in the capture (left) than the emulator (right). The codec setting I used was "Full Frames (Uncompressed). Why did this happen?


Attachments:
fceux_avi_color_compare.png
fceux_avi_color_compare.png [ 205.99 KiB | Viewed 982 times ]
Top
 Profile  
 
PostPosted: Wed Jan 02, 2019 11:20 pm 
Online

Joined: Sun Apr 13, 2008 11:12 am
Posts: 7963
Location: Seattle
I'd guess it's "full uncompressed frames" stored YUV420, or maybe YUV411. You want YUV444 in order to retain all the color information.


Top
 Profile  
 
PostPosted: Wed Jan 02, 2019 11:23 pm 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 20995
Location: NE Indiana, USA (NTSC)
Most video codecs break each pixel down into luma (lightness) and chroma (color), in a format called YUV, and then shrink the chroma by a factor of 2 because the eye is on the whole less sensitive to fine chroma detail. This technique is called YUV420: for each 4 luma (Y) samples, you get 2 chroma (UV) samples on even lines and no chroma samples on odd lines. To avoid loss of chroma detail due to YUV420, you'll need to save the AVI as uncompressed RGB or YUV444 or using a lossless codec such as Huffyuv or ZMBV. Later, you can scale the AVI up by a factor of 2 and convert it to YUV420 afterward, as YUV420 won't distort video that has already been upscaled.


Top
 Profile  
 
PostPosted: Thu Jan 03, 2019 12:09 am 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 7105
Location: Canada
I don't get the same result when I use "full frames (uncompressed)" in FCEUX. The resulting video comes out with an "RV24" FourCC, and perfectly matches the original output. Your picture looks like something that has lower resolution chroma (some sort of YUV?), and also there is a resizing of the image that confuses things more. Are you sure you selected "full frames (uncompressed)"? What version of FCEUX is this? (Maybe try 2.2.3?)

However, I don't normally use that option because you can get perfect lossless with a much smaller file.

I recommend using the Lagarith codec for lossless RGB:
https://lags.leetcode.net/codec.html

ZMBV also works pretty well for similar purposes (though lately it seems to crash when I use it with FCEUX), it comes with DOSBox:
https://www.dosbox.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group