Short: RiVA MPEG player Author: Stephen Fellner, Henryk Richter Uploader: Henryk Richter Type: gfx/show Version: 0.54 Replaces: gfx/show/RiVA-0.52.lha; gfx/show/RiVA-0.53.lha Architecture: m68k-amigaos Distribution: Aminet Date: 2019-10-15 This is the latest update to the fastest MPEG player available on the classic 68k Amiga platform. It is based on the work of Stephen Fellner and L?szl? T?r?k, extended by a lot of additional improvements in terms of runtime performance and audio/visual quality. RiVA served as the prominent testcase in the development cycle of the Apollo Core AMMX instruction set extension. Two binaries are provided in this archive, a classic m68k compatible build (68040+) and an AMMX build, exclusive to Apollo Core Gold 2 and newer. Please note that mpega.library is required for audio decoding. Changes since 0.53 - fixed DHAM6 and DHAM8 modes in 68k build - optimized DHAM8 as a little apology for breaking it in the first place (significantly higher speed) - added 14 Bit audio output option (HQAUDIO) - added 16 Bit PAMELA audio output on Vampire V4 (HQAUDIO) - fixed and improved A/V sync - moved video timing relevant flag handling to safer places Input steams / Quickstart: The input format supported by RiVA is MPEG-1 program streams. Modern video formats can be converted to MPEG-1 using tools like ffmpeg or mencoder. Examples (assuming 16:9 aspect ratio content): ffmpeg -i source.mp4 -vcodec mpeg1video -filter:v scale=640:360 -b:v 1500k -maxrate 2200k -bf 3 -ac 2 -acodec mp2 -b:a 128k dest_640x360.mpg mencoder -of mpeg -mpegopts format=mpeg1:tsaf:muxrate=1500 -o dest_640x360.mpg -aid 1 -vf scale=640:360 -ofps 24 -oac lavc -ovc lavc -lavcopts acodec=mp2:abitrate=128:vcodec=mpeg1video:vbitrate=1500:keyint=15:mbd=2:aspect=16/9:vmax_b_frames=3 source.mp4 RiVA should work well with default settings and the aforementioned encoding parameters on Apollo Core Gold2 and later. For optimal runtime performance, use full screen on SAGA RTG (make sure, you have active screenmodes with 16 Bit depth), along with Paula audio output. AHI sound output will slow down the playback significantly. Windowed mode on Workbench will also be much slower than the fullscreen mode. Some additional performance improvement is possible by lower audio quality (e.g. commandline arguments AUDIOFREQDIV=2 AUDIOQUALITY=0). Source code, licensing and building notes: The full source code is included, covered by the GNU general public license. The AGA and CGX renderers (unused in Apollo build) are available with dual licensing (GPL or MIT). The only assembler supporting the extended Apollo instruction set is VASM. At least version 1.7h of VASM is required. Use the -devpac mode of VASM. Selection between the pure 68k build and the apollo build can be done with the APOLLO_CLIP master switch (0/1).