LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1305|回复: 0

成功搞定X-FI的AC3/DTS PassThrough

[复制链接]
发表于 2010-7-20 01:53:52 | 显示全部楼层 |阅读模式
$aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: XFi [Creative X-Fi], device 0: ctxfi [Front/WaveIn]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: XFi [Creative X-Fi], device 1: ctxfi [Surround]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: XFi [Creative X-Fi], device 2: ctxfi [Center/LFE]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: XFi [Creative X-Fi], device 3: ctxfi [Side]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: XFi [Creative X-Fi], device 4: ctxfi [IEC958 Non-audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
传说中的IEC958居然在X-FI上是0,4的位置,不知道为什么要打个Non-audio,不解.....


$mplayer -ac hwdts -ao alsa:device=hw=0.4 14*
MPlayer SVN-r30166-4.3.0 (C) 2000-2009 MPlayer Team
136 audio & 285 video codecs
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick

Playing 14.相思.wav.
Audio only file format detected.
==========================================================================
Forced audio codec: hwdts
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to DTS, 1411200 bps, 44100 Hz
AUDIO: 44100 Hz, 2 ch, ac3, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [hwdts] afm: hwac3 (DTS through S/PDIF)
==========================================================================
[AO_ALSA] alsa-lib: conf.c:3843parse_args) Unknown parameter AES0
[AO_ALSA] alsa-lib: conf.c:3969snd_config_expand) Parse arguments error: No su              ch file or directory
[AO_ALSA] alsa-lib: pcm.c:2184snd_pcm_open_noupdate) Unknown PCM hw:0,4,AES0=6
AO: [alsa] 44100Hz 2ch ac3 (1 bytes per sample)
Video: no video
Starting playback...
按照LINUX DTS/AC3 PassThrough操作指南一路弄下来,成功搞定!看到解码器上的DTS的图标,感觉爽透,终于有了WIN下常用的解码器硬解功能了,偶的解码器在LINUX下面也能大放异彩了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表