View Single Post
Old 02-15-2016, 08:13 AM   #114
traycold
Connoisseur
traycold doesn't littertraycold doesn't litter
 
Posts: 63
Karma: 196
Join Date: Oct 2010
Device: Kobo Glo Hd, Kobo H2O2
Quote:
Originally Posted by tshering View Post
I am seeing the same when I try to convert the Glo HD raw image files. I have no idea how to find the correct values for ffmpeg.
The next thing I was going to propose was using pngshow.
For Kobo Glo HD you can use these settings for ffmpeg. Have a look at attached images too as an example.

raw -> png
Code:
ffmpeg -f rawvideo -pix_fmt rgb565 -s 1088x1440 -i <(head -c 3133440 "alyssum-menu.raw") -y "alyssum-menu.png" < /dev/null
png -> raw
Code:
ffmpeg -i alyssum-menu.png -f rawvideo -pix_fmt rgb565 -s 1088x1440 -y alyssum-menu-new.raw < /dev/null
Attached Thumbnails
Click image for larger version

Name:	alyssum-menu.png
Views:	314
Size:	84.8 KB
ID:	146375  
Attached Files
File Type: gz alyssum-menu.raw.gz (68.0 KB, 174 views)
traycold is offline   Reply With Quote