Juhan
24th February 2002, 16:05
I have created a perfect SVCD MPEG-2 MC 5.1 test clip under Windows which works 100% perfectly on my Philips DVD-752 (using analog 5.1 outputs). Multichannel decoding is done internally on my player (digital output is NOT working - only analog 5.1 outputs are working).
Tools needed:
1. SoftEncode 1.0 (for decoding AC3 to separate PCM streams)
2. Philips MPEG Audio tools (Search Google for 'philips mpeg tools bitstreams')
3. TMPGEnc (for muxing)
NB! 'pub_enc.exe' (included in MPEG Audio Tools) is exactly the same program as 'musicin' in Linux. And 'raw2audio.exe' does the same thing as 'pcm2aiff' in Linux. And Linux program called 'ch_wave' is NOT needed after all.
Job description:
1. Open AC3 file in SoftEncode (decode as PCM)
SoftEncode creates 6 temporary files (*.tmp) into TEMP directory (it depends on windows you are using - it can be '\Windows\Temp' or something else. Type 'SET' from command prompt and you can see where the variable TEMP points to). These files are pure PCM files with no headers. If you sort them by name the 1st file contains 'Left Channel' data, the 2nd is 'Center', 3rd is 'Right Ch', 4th is 'Left Surround', 5th is ' Right Surround' and the last is 'LFE' data.
2. Create one big AIFF file with 'raw2audio.exe'
Example: raw2audio.exe -s48000 -oOutput.aiff LeftPCMfile RightPCMFile CenterPCM LFEpcm LSpcm RSpcm
3. Encode the MPEG-2 5.1 MC file from AIFF file.
Example: pub_enc.exe -m s -n d -o -L Output.aiff
It creates Output.mpg
4. Mux 'output.mpg' with your video file using TMPGEnc MPEG Tools and that's it. Enjoy MPEG-2 5.1 Surround sound!
Many players with 5.1 analog outputs should play MPEG-2 5.1 audio. At least Philips players should. Do not use digital outputs because they are not working.
NB! dvd2svcd author, maybe you can add support for these programs ?
Tools needed:
1. SoftEncode 1.0 (for decoding AC3 to separate PCM streams)
2. Philips MPEG Audio tools (Search Google for 'philips mpeg tools bitstreams')
3. TMPGEnc (for muxing)
NB! 'pub_enc.exe' (included in MPEG Audio Tools) is exactly the same program as 'musicin' in Linux. And 'raw2audio.exe' does the same thing as 'pcm2aiff' in Linux. And Linux program called 'ch_wave' is NOT needed after all.
Job description:
1. Open AC3 file in SoftEncode (decode as PCM)
SoftEncode creates 6 temporary files (*.tmp) into TEMP directory (it depends on windows you are using - it can be '\Windows\Temp' or something else. Type 'SET' from command prompt and you can see where the variable TEMP points to). These files are pure PCM files with no headers. If you sort them by name the 1st file contains 'Left Channel' data, the 2nd is 'Center', 3rd is 'Right Ch', 4th is 'Left Surround', 5th is ' Right Surround' and the last is 'LFE' data.
2. Create one big AIFF file with 'raw2audio.exe'
Example: raw2audio.exe -s48000 -oOutput.aiff LeftPCMfile RightPCMFile CenterPCM LFEpcm LSpcm RSpcm
3. Encode the MPEG-2 5.1 MC file from AIFF file.
Example: pub_enc.exe -m s -n d -o -L Output.aiff
It creates Output.mpg
4. Mux 'output.mpg' with your video file using TMPGEnc MPEG Tools and that's it. Enjoy MPEG-2 5.1 Surround sound!
Many players with 5.1 analog outputs should play MPEG-2 5.1 audio. At least Philips players should. Do not use digital outputs because they are not working.
NB! dvd2svcd author, maybe you can add support for these programs ?