Most DVDs and many other files include surround sound. MPlayer supports surround playback but does not enable it by default because stereo equipment is by far more common. To play a file that has more than two channels of audio...
See more »
Most DVDs and many other files include surround sound. MPlayer supports surround playback but does not enable it by default because stereo equipment is by far more common. To play a file that has more than two channels of audio use -channels. For example, to play a DVD with 5.1 audio: mplayer dvd://1 -channels 6 Note that despite the name "5.1" there are actually six discrete channels. If you have surround sound equipment it is safe to put the channels option in your MPlayer configuration file ~/.mplayer/config. For example, to make quadraphonic playback the default, add this line: channels=4 MPlayer will then output audio in four channels when all four channels are available. MPlayer does not duplicate any channels by default, and neither do most audio drivers. If you want to do that manually: mplayer filename -af channels=2:2:0:1:0:0 See the section on channel copying for an explanation. 3.6.1.3. AC-3/DTS Passthrough DVDs usually have surround audio encoded in AC-3 (Dolby Digital) or DTS (Digital Theater System) format. Some modern audio equipment is capable of decoding these formats internally. MPlayer can be configured to relay the audio data without decoding it. This will only work if you have a S/PDIF (Sony/Philips Digital Interface) jack in your sound card. If your audio equipment can decode both AC-3 and DTS, you can safely enable passthrough for both formats. Otherwise, enable passthrough for only the format your equipment supports. To enable passthrough on the command line: * For AC-3 only, use -ac hwac3 * For DTS only, use -ac hwdts * For both AC-3 and DTS, use -afm hwac3 * For AC-3 only, use ac=hwac3, * For DTS only, use ac=hwdts, * For both AC-3 and DTS, use afm=hwac3 Note that there is a comma (",") at the end of ac=hwac3, and ac=hwdts,. This will make MPlayer fall back on the codecs it normally uses when playing a file that does not have AC-3 or DTS audio. afm=hwac3 does not need a comma; MPlayer will fall back anyway when an audio family is specified. 3.6.1.4. MPEG audio Passthrough Digital TV transmissions (such as DVB and ATSC) and some DVDs usually have MPEG audio streams (in particular MP2). Some MPEG hardware decoders such as full-featured DVB cards and DXR2 adapters can natively decode this format. MPlayer can be configured to relay the audio data without decoding it. To use this codec: To enable passthrough in the MPlayer configuration file: 3.6.1.2. Playing stereo files to four speakers
See less »
Kaboodle will send you a newsletter and updates from your friends. You can unsubscribe at any time. Kaboodle does not sell or share your email address or personal information with anyone.
Kaboodle requires all users to provide their real date of birth as both a safety precaution and as a means
of preserving the integrity of the site. You will be able to hide this information from your profile if you wish.
Added by 1 people