You only have to compile huvideo_decode.c with your favorite C compiler.
gcc huvideo_decode.c -o huvideo_decodehuvideo_decode -o 0x03739450 -g 0 <image> <output_prefix>This program will extract all video frames and adpcm audio of a single HuVideo from a CDROM image and output them as PNG files and vox file (https://en.wikipedia.org/wiki/Dialogic_ADPCM).
The adpcm audio can be played or converted using sox.
play --rate 16k sample.vox
sox --rate 16k sample.vox sample.wav-o/--offset <hex>(optional) specify the offset in byte in the image file.<image>CDROM image.<output_prefix>output files prefix.
decode.sh <decoder> <img>decode.sh is a shell script that will extract all HuVideos and save them as MP4 (h264) using ffmpeg.
The CDROM image is expected to match the one from the redump project.
The result can be found here :
- https://blockos.org/releases/pcengine/HuVideo/Yuna
- http://blockos.org/releases/pcengine/HuVideo/Gulliver (⚠ spoilers)
<decoder>is the HuVideo decoder.<img>is the CDROM image.