iLLogiCo 发表于 2017-5-17 02:47:30

这个可以搞搞 —— foobar 2000做hqplayer界面streaming [转贴]

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

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

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

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

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

iLLogiCo 发表于 2017-5-17 02:48:03

Stream to HQPlayer Desktop from foobar2000
Last change 10 Sept 2016 by bogiStream to HQPlayer Desktop
from foobar2000Easy to setup and easy to use network solution.
Convenient for one sample rate.OverviewThe 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_upnpDownload foo_upnp component from this link. In foobar2000, install the downloaded file through File > Preferences > Components > Install and restart foobar2000.2. Configure foobar2000Actions 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.
https://lh3.googleusercontent.com/mniCQziBKZeNLdoZJ0XrjO7kosctc1Nt3g_T-nNJRe8x-o3uK8WmAGodYA_0Coux0fmebnIxTTlgjvOIh8od5zwnP_Su7VzMW7LpQD7dSgv2rgr-xepuUuMQ2CKUhIT2m9MukRFuhttps://lh6.googleusercontent.com/FmEctctE2R-xuFWHYgMioIOZVYCN8KwEAPgjUUkYz3vi2-USMsTXDhObQ9Gc4Sl-A_fRQWKqom3Jrq3AVNjgKtQrx9M7SdlzEVN4W1llGjJ9EF4ry5eNBxfqZGt-gDPkzz_uRWVU
[*]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 HQPlayerOn HQPlayer computer create a m3u8 playlist file (for example f2k.m3u8) containing single line:http://<hostname>:<port>/content/psc.wavSubstitute <hostname> with network name or IP address of computer running foobar2000.Substitute <port> with value you entered in Basic Settings configuration dialog.For example: http://192.168.8.100:8000/content/psc.wavThe 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.https://lh5.googleusercontent.com/JJXMyafJ3Jbfm27VZ9Puoat_Yz-IqmflYZA6l8phj9WN5IhINOPI-QSIFZC5qeXq9WmxSO0QNxfo36H0VU1f25z9qJ0PYxRdTAVK6z6DsmrbHJtYfBvMw6OODwdFP30p-wCzP4mf4. Play any music content in Foobar2000If 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).NotesSteps 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 Foobar2000foo_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.LimitationsDSD 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 qualityThe 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.

iLLogiCo 发表于 2017-5-17 04:39:29

如果是hqplayer自身支持的格式建议还是直接播放

PCaudiophile 发表于 2017-5-17 06:32:45

iLLogiCo 发表于 2017-5-17 15:12:58

PCaudiophile 发表于 2017-5-17 06:32
点个赞。还是推荐逻辑兄早入Roon 早爽。

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

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

gebegebe 发表于 2017-5-17 15:18:01

搞搞

PCaudiophile 发表于 2017-5-17 19:15:17

SAwole7892 发表于 2017-5-17 19:41:24

iLLogiCo 发表于 2017-5-17 04:39
如果是hqplayer自身支持的格式建议还是直接播放

請問一下,Jriver也能夠像Foobar這樣做hqplayer的streaming撥放嗎

iLLogiCo 发表于 2017-5-17 20:03:31

SAwole7892 发表于 2017-5-17 19:41
請問一下,Jriver也能夠像Foobar這樣做hqplayer的streaming撥放嗎

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

coolcat197 发表于 2017-8-4 23:47:42

按照楼主的指引,一次就搞成功了,同时还发现可以用其他upnp推送到foobar。

这真是太好了,hqplayer界面难用的问题彻底解决了。

DXDXDX 发表于 2017-8-5 00:03:41

这种方式好像只能44,1的?

iLLogiCo 发表于 2017-8-5 14:51:03

DXDXDX 发表于 2017-8-5 00:03
这种方式好像只能44,1的?

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

iLLogiCo 发表于 2017-8-5 14:52:54

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

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

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

clark8888 发表于 2017-9-29 17:51:15

iLLogiCo 发表于 2017-8-5 14:52
是的,我一直在用,很方便,一些HQ不支持的格式,比如MP3和SACD ISO都可以很好的播放了

SACD必须先用foobar软解为pcm才能传送给HQplayer, 影响SACD音质

clark8888 发表于 2017-9-29 18:02:30

iLLogiCo 发表于 2017-8-5 14:51
可以设置到192K甚至更高,不过采样率越高消耗CPU资源也越高,尤其是再通过HQ升频DSD的话会导致声音中断。 ...

所以英文最后建议在另外电脑运行foobar,减轻电脑负担和foobar带来的噪音,后者不太理解
页: [1] 2
查看完整版本: 这个可以搞搞 —— foobar 2000做hqplayer界面streaming [转贴]

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