mc0ne
16th July 2011, 02:49
Hello Doom9 community,
some weeks ago I started a new thread (http://doom10.org/index.php?topic=1793.0)for an open source students project in the Doom10 newbee part.
The details of the current situation can be found here (http://doom10.org/index.php?topic=1793.msg8559#msg8559).
To sum it up: We want to read 8bit grayscale PGM or 8bit grayscale BMP files, make a videostream out of them and use them for further editting and outputting via x264.
1. Question
ImageSource according to the documentation supports:
(e)bmp, dds, ebmp, jpg/jpe/jpeg, pal, pcx, png, pbm/pgm/ppm, raw, sgi/bw/rgb/rgba, tga, tif/tiff.
But our internal testings show different results. PGM, BMP does not work. If converted to PNG then all works =P
This is a little bit confusing, but it seems like ImageSource doesn't like 8bit grayscale input even though in the examples it looks like it should work:
# Read a greyscale (8-bit) BMP (using AviSynth's internal BMP reader):
ImageSource("GoldPetals-8bit.bmp")
But doesn't =P Our whole project is really dependent on this and we would be very thankful for any help.
I am also aware of other ImageReaders like FFImageReader and ImmaReader. So far I was not able to install Immavs and try out if it can handle the above mentioned formats.
Other internal tests say, that AviSynth 2.6.0 is also not able to read those PGMs natively.
I will upload 20 images of each format into Zip-archieves (Password: doom10):
PGM (http://www63.zippyshare.com/v/44015235/file.html)- Zippyshare
BMP (http://www63.zippyshare.com/v/36673817/file.html)- Zippyshare
2. Question
We are still unsure about how to interact with AviSynth via our GUI. What we want is to directly display the content of the .avs-file like in VirtualDub. A team member would like to know how this can be accomplished the optimal way. VFW as the API came up here and there. We are still in the testing and finding out how-to phase regarding this point, but are open for any input that would jump start us.
Any link to a tutorial or example that opens an avs-file on the programming language level and uses it to display it on the GUI would be perfect
If any of these two main questions are in the wrong forum-part, please let me know
Thank you all for your help.
greetings
mc0ne
some weeks ago I started a new thread (http://doom10.org/index.php?topic=1793.0)for an open source students project in the Doom10 newbee part.
The details of the current situation can be found here (http://doom10.org/index.php?topic=1793.msg8559#msg8559).
To sum it up: We want to read 8bit grayscale PGM or 8bit grayscale BMP files, make a videostream out of them and use them for further editting and outputting via x264.
1. Question
ImageSource according to the documentation supports:
(e)bmp, dds, ebmp, jpg/jpe/jpeg, pal, pcx, png, pbm/pgm/ppm, raw, sgi/bw/rgb/rgba, tga, tif/tiff.
But our internal testings show different results. PGM, BMP does not work. If converted to PNG then all works =P
This is a little bit confusing, but it seems like ImageSource doesn't like 8bit grayscale input even though in the examples it looks like it should work:
# Read a greyscale (8-bit) BMP (using AviSynth's internal BMP reader):
ImageSource("GoldPetals-8bit.bmp")
But doesn't =P Our whole project is really dependent on this and we would be very thankful for any help.
I am also aware of other ImageReaders like FFImageReader and ImmaReader. So far I was not able to install Immavs and try out if it can handle the above mentioned formats.
Other internal tests say, that AviSynth 2.6.0 is also not able to read those PGMs natively.
I will upload 20 images of each format into Zip-archieves (Password: doom10):
PGM (http://www63.zippyshare.com/v/44015235/file.html)- Zippyshare
BMP (http://www63.zippyshare.com/v/36673817/file.html)- Zippyshare
2. Question
We are still unsure about how to interact with AviSynth via our GUI. What we want is to directly display the content of the .avs-file like in VirtualDub. A team member would like to know how this can be accomplished the optimal way. VFW as the API came up here and there. We are still in the testing and finding out how-to phase regarding this point, but are open for any input that would jump start us.
Any link to a tutorial or example that opens an avs-file on the programming language level and uses it to display it on the GUI would be perfect
If any of these two main questions are in the wrong forum-part, please let me know
Thank you all for your help.
greetings
mc0ne