耳机俱乐部论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

手机号码,快捷登录

查看: 28586|回复: 26

[pc-fi软件] 这个可以搞搞 —— foobar 2000做hqplayer界面streaming [转贴]

[复制链接]

513

主题

1万

帖子

481

积分

核心会员

Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8

积分
481
注册时间
2001-11-21

社区建设奖

发表于 2017-5-17 02:47:30 | 显示全部楼层 |阅读模式

感谢关注耳机俱乐部网站,注册后有更多权限。

您需要 登录 才可以下载或查看,没有账号?注册

x
本帖最后由 iLLogiCo 于 2017-5-17 16:19 编辑

源地址:https://docs.google.com/document/d/1gkUNvSlgV_n82izd4vggyPQRhVB4tkB4vF0kx6YUZTg/pub

相信很多朋友都对hqplayer的界面和可支持的音乐格式诟病已久,下面这个方法通过upnp协议可以把foobar作为hqplayer的界面,把音乐都转化成wav格式streaming给hqplayer。即可做到良好的操作感和格式支持,又可以获得最优的音质。

本人已经设置成功,积攒十多年的mp3终于也可以升频dsd了

虽然不是什么新东西,但是可能多数人还不知道如何设置,下面把教程内容贴出来供无法看到原帖的朋友参考。

回复

使用道具 举报

513

主题

1万

帖子

481

积分

核心会员

Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8

积分
481
注册时间
2001-11-21

社区建设奖

 楼主| 发表于 2017-5-17 02:48:03 | 显示全部楼层
Stream to HQPlayer Desktop from foobar2000
Last change 10 Sept 2016 by bogi
Stream to HQPlayer Desktop
from foobar2000
Easy to setup and easy to use network solution.
Convenient for one sample rate.
Overview
The solution uses foobar2000 component foo_upnp. foobar2000 with foo_upnp can run locally on the same computer as HQPlayer Desktop or it can run on remote computer. Only Media Server part of foo_upnp is used.
foo_upnp provides access to content currently played in foobar2000 via http port. HQPlayer connects to that content via playlist file, containing http link. When connection is established, WAV stream is transferred from foobar2000 to HQPlayer. The stream runs at speed  (44.1k to 192k) and bit depth (16 or 24) configured in foo_upnp. It is not possible to switch stream rate and bit depth automatically based on source content.
Basic Prerequisites
  • HQPlayer Desktop installed and sound output configured
  • foobar2000 installed and media library configured
Setup1. Install foo_upnp
Download foo_upnp component from this link. In foobar2000, install the downloaded file through File > Preferences > Components > Install and restart foobar2000.
2. Configure foobar2000
Actions in red marked areas are only required.
  • Go to File > Preferences > Tools > UPnP > Server > Basic Settings
    Choose some network name, http port and start Media Server.
  • Go to File > Preferences > Tools > UPnP > Server > Streaming Profiles
    Select Default profile to edit. In the red marked area: Select wav codec. Choose sample rate and bit depth according to majority of music content you want to play. For example if you want to play mainly ripped CDs, set 44100 and 16. Press OK to close the configuration dialog.
  • Go to File > Preferences > Playback > Output and set device to Null Output
3. Set up HQPlayer
On HQPlayer computer create a m3u8 playlist file (for example f2k.m3u8) containing single line:
http://<hostname>:<port>/content/psc.wav
Substitute <hostname> with network name or IP address of computer running foobar2000.
Substitute <port> with value you entered in Basic Settings configuration dialog.
The line has to be finished with newline (<Enter> on PC keyboard).
Drag the playlist file from your File Explorer and drop it on HQPlayer Desktop.
If all was correctly configured, one special track should appear in HQPlayer as on the picture.
If so, press the Play button.
4. Play any music content in Foobar2000
If all was configured correctly, music content played in foobar2000 GUI should be output through HQPlayer. Check the Format line in HQPlayer Desktop (see the above picture).
Notes
Steps 1 and 2 are one time configuration actions in foobar2000. You don’t need to repeat them when foobar2000 restarts.
Creating playlist file in Step 3 is one time configuration action on HQPlayer computer.
HQPlayer Desktop preserves the last playlist content across restarts. If you deleted the special track from HQPlayer playlist, drag & drop the playlist file again to HQPlayer. Don’t forget to press the Play button (or click on the special track) in HQPlayer.
On the above picture you can see non zero value of Limited counter. Lower volume level in HQPlayer about few dB in such a case.
DSP in Foobar2000
foo_upnp allows to use any foobar2000 compatible DSP plugin or any standard VST plugin.
For example you may want to apply headphone crossfeed, perform 5.1 to stereo conversion, apply equalization, replay gain etc.
It can be set in Streaming Profiles dialog through Audio processing button.
Limitations
DSD content cannot be streamed in native DSD format. It can be streamed in PCM format if foo_input_sacd is installed and ASIO driver mode is set to PCM in foobar2000 Preferences > Tools > SACD.
All PCM content supported by foobar2000 including lossy DTS and MP3 can be streamed.
Foo_upnp provides WAV, LPCM and MP3 streams. Only WAV stream is supported by HQPlayer Desktop. Streaming involves conversion to WAV if source file has other PCM format.
Changing stream sample rate is possible only in Streaming Profiles configuration dialog. You don’t need to restart server or playback in foobar2000, but you need to restart playback in HQPlayer (press STOP and PLAY button). Automated adaption of stream sample rate to source recording is not supported by foo_upnp.
Thoughts about sound quality
The described solution is easy to setup and use. But in comparison with pure HQPlayer playback it involves conversion to WAV in foobar2000. That’s additional processing which may be unwelcome when performed on HQPlayer computer from two reasons:
  • Computer load. Upsampling and PCM <-> DSD format conversion performed in HQPlayer may already attack performance limits of your computer. In such a case any additional load may cause troubles, for example dropouts in playback.
  • Noise. Processing performed in foobar2000 may add it’s own noise pattern.
From these reasons it may be more appropriate to run foobar2000 on different computer than HQPlayer, especially if DAC is connected directly to HQPlayer computer.


回复 支持 反对

使用道具 举报

513

主题

1万

帖子

481

积分

核心会员

Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8

积分
481
注册时间
2001-11-21

社区建设奖

 楼主| 发表于 2017-5-17 04:39:29 | 显示全部楼层
如果是hqplayer自身支持的格式建议还是直接播放

点评

同一台电脑,Foobar2000 双开streaming播放和单开自机播放,声音差别非常大,简直是两台机器  详情 回复 发表于 2021-2-12 18:40
回复 支持 反对

使用道具 举报

3

主题

625

帖子

5

积分

禁止发言

积分
5
注册时间
2017-2-12
发表于 2017-5-17 06:32:45 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

513

主题

1万

帖子

481

积分

核心会员

Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8

积分
481
注册时间
2001-11-21

社区建设奖

 楼主| 发表于 2017-5-17 15:12:58 | 显示全部楼层
PCaudiophile 发表于 2017-5-17 06:32
点个赞。还是推荐逻辑兄早入Roon 早爽。

有件事情顺便提一下,HQplayer里的DSD 升频至DSD,也就是DSD64  ...

Roon上的资源对我来说还是太少了,多数时候我更愿意购买实体唱片,到不是意识上跟不上时代,而是实体唱片发行快,市场保有量大,更可作为收藏品保留。
回复 支持 反对

使用道具 举报

104

主题

1844

帖子

28

积分

中级会员

Rank: 3Rank: 3Rank: 3

积分
28
注册时间
2016-2-15
发表于 2017-5-17 15:18:01 | 显示全部楼层
搞搞
回复 支持 反对

使用道具 举报

3

主题

625

帖子

5

积分

禁止发言

积分
5
注册时间
2017-2-12
发表于 2017-5-17 19:15:17 来自手机 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

0

主题

164

帖子

8

积分

初级会员

Rank: 2Rank: 2

积分
8
注册时间
2016-1-18
发表于 2017-5-17 19:41:24 | 显示全部楼层
iLLogiCo 发表于 2017-5-17 04:39
如果是hqplayer自身支持的格式建议还是直接播放

請問一下,Jriver也能夠像Foobar這樣做hqplayer的streaming撥放嗎
回复 支持 反对

使用道具 举报

513

主题

1万

帖子

481

积分

核心会员

Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8

积分
481
注册时间
2001-11-21

社区建设奖

 楼主| 发表于 2017-5-17 20:03:31 | 显示全部楼层
SAwole7892 发表于 2017-5-17 19:41
請問一下,Jriver也能夠像Foobar這樣做hqplayer的streaming撥放嗎

不清楚,主观判定,如果支持upnp协议streaming的话应该都是可以的
回复 支持 反对

使用道具 举报

18

主题

641

帖子

42

积分

中级会员

Rank: 3Rank: 3Rank: 3

积分
42
注册时间
2004-10-29
发表于 2017-8-4 23:47:42 | 显示全部楼层
按照楼主的指引,一次就搞成功了,同时还发现可以用其他upnp推送到foobar。

这真是太好了,hqplayer界面难用的问题彻底解决了。
回复 支持 反对

使用道具 举报

177

主题

3608

帖子

68

积分

高级会员

Rank: 4Rank: 4Rank: 4Rank: 4

积分
68
注册时间
2008-7-26
发表于 2017-8-5 00:03:41 | 显示全部楼层
这种方式好像只能44,1的?
个人公众号:LM叨叨叨,聊聊hifi,嘎嘎塞胡
回复 支持 反对

使用道具 举报

513

主题

1万

帖子

481

积分

核心会员

Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8

积分
481
注册时间
2001-11-21

社区建设奖

 楼主| 发表于 2017-8-5 14:51:03 | 显示全部楼层
DXDXDX 发表于 2017-8-5 00:03
这种方式好像只能44,1的?

可以设置到192K甚至更高,不过采样率越高消耗CPU资源也越高,尤其是再通过HQ升频DSD的话会导致声音中断。根据自己硬件能力设置吧。
回复 支持 反对

使用道具 举报

513

主题

1万

帖子

481

积分

核心会员

Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8Rank: 8

积分
481
注册时间
2001-11-21

社区建设奖

 楼主| 发表于 2017-8-5 14:52:54 | 显示全部楼层
coolcat197 发表于 2017-8-4 23:47
按照楼主的指引,一次就搞成功了,同时还发现可以用其他upnp推送到foobar。

这真是太好了,hqplayer界面 ...

是的,我一直在用,很方便,一些HQ不支持的格式,比如MP3和SACD ISO都可以很好的播放了
回复 支持 反对

使用道具 举报

21

主题

456

帖子

4

积分

初级会员

Rank: 2Rank: 2

积分
4
注册时间
2016-5-22
发表于 2017-9-29 17:51:15 | 显示全部楼层
iLLogiCo 发表于 2017-8-5 14:52
是的,我一直在用,很方便,一些HQ不支持的格式,比如MP3和SACD ISO都可以很好的播放了

SACD必须先用foobar软解为pcm才能传送给HQplayer, 影响SACD音质
HQPlayer群号:582595340
Daphile/LMS群号:83637091
回复 支持 反对

使用道具 举报

21

主题

456

帖子

4

积分

初级会员

Rank: 2Rank: 2

积分
4
注册时间
2016-5-22
发表于 2017-9-29 18:02:30 | 显示全部楼层
iLLogiCo 发表于 2017-8-5 14:51
可以设置到192K甚至更高,不过采样率越高消耗CPU资源也越高,尤其是再通过HQ升频DSD的话会导致声音中断。 ...

所以英文最后建议在另外电脑运行foobar,减轻电脑负担和foobar带来的噪音,后者不太理解
HQPlayer群号:582595340
Daphile/LMS群号:83637091
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

耳机俱乐部微信
耳机俱乐部微信

联系我们|有害信息举报:010-60152166 邮箱:zx@jd-bbs.com|手机版|Archiver|黑名单|中国耳机爱好者俱乐部 ( 京ICP备09075138号 )

GMT+8, 2024-3-29 22:27 , Processed in 0.096705 second(s), 41 queries , Gzip On.

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