Load Riva FLV Encoder
Browse for the FLV file you are going to convert

In order to minimize quality loss during conversion, change the bitrates as shown in the highlighted areas in the screenshot to the maximum values
Set the Output directory and change the extension to avi
Hit FLV Encode button and wait until the AVI file is created
Open AVI FourCC Code Changer and load the AVI file

Change FMP4 to DX50
Hit Apply and quit the program
Set the Output directory and change the extension to mpg
Hit FLV Encode button and wait until the MPG file is created
AVI file is encoded using DivX. To convert the AVI file or MPG please follow DivX to WMV guide