Closed PhilJenson closed 4 years ago
Hello, thank you for your question. (1) Does AVI file is created by sample program "Encode" function? or your own AVI file? (2) Always returns null? decoder.Decode(...) may return null if there is not enough data to build the Bitmap. (3) How many bitmaps you use in encode? If less than three or four, it is too less.
I am now using FFMPEG so wont be pursuing this further. But thanks for getting back to me.
Please select a lot of bitmaps, not single file. You can multi select bitmap files in encode dialog. Decord requires a lot of data.
I followed the readme instructions and I can encode an image to an AVI file using the sample program. This avi file plays ok in media player.
When I use the sample program to decode the avi file, decoder.Decode(...) always returns a null bitmap. This is on Windows 10.