Open fn1232 opened 3 years ago
You can manually register support for a mime type with the --mime-filter
argument. Like so
gmediarender --mime-filter +audio/flac
You can manually register support for a mime type with the
--mime-filter
argument. Like sogmediarender --mime-filter +audio/flac
Thank you very much.It's managed. And I use gmediarender build hifi system,Could you give me some argument suggestion? Thank you:)
The other options I run with my HiFi are these:
--mime-filter audio --gstout-buffer-duration=0
The first limits the MIME types that are advertised to be audio only since it's headless. The second is to address this issue: https://github.com/hzeller/gmrender-resurrect/issues/182
Thank you so much for your suggestion,I will try it.:)
If I want make this two --mime-filter config,what should I do?
gmediarender --mime-filter +audio/flac --mime-filter audio
inoperative.
Use a comma to separate the arguments like so
--mime-filter audio,+audio/flac
Thank you so much.The problem below is ok.But new problem is coming when I play DSD there is an error: ERROR [2021-02-09 12:46:26.525476 | gstreamer] avdemux_dsf0: Error: Internal data stream error. (Debug: gstavdemux.c(1597): gst_ffmpegdemux_loop (): /GstPlayBin:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/avdemux_dsf:avdemux_dsf0: streaming stopped, reason error (-5)) Could you help me?
I make this gst-play-1.0 --audiosink='alsasink device=hw:2,0' --volume=-1 /root/1.dsf is ok But I use dlna make error
Another user reported issues with DSD here: #213
They weren't even able to play the DSD file locally with gst-play-1.0
so you've already made more progress then them.
My version of gst-libav (1.10.4) predates the addition of DSD support so I'm afraid I won't be of much use.
Another user reported issues with DSD here: #213
They weren't even able to play the DSD file locally with
gst-play-1.0
so you've already made more progress then them.My version of gst-libav (1.10.4) predates the addition of DSD support so I'm afraid I won't be of much use.
Thanks for your reply,that post forum I have read,ffmpeg -decoders | grep DSD result is same as your result.I find that if minimserver transcode to dopwav,it can play well. I use squeezelie can recieve and play native.because dop can't play dsd128+ so I want native dsd dlna surport.Could you give me some suggestion?
You could try enabling debug messages with the GST_DEBUG environment variable for both gst-play-1.0
and gmrenderer
and compare the messages when trying to play your DSD files.
That might provide some clues as to why your DSD files fail.
You could try enabling debug messages with the GST_DEBUG environment variable for both
gst-play-1.0
andgmrenderer
and compare the messages when trying to play your DSD files.That might provide some clues as to why your DSD files fail.
OK,I will try it,when I come back. Thank you very much.
When I Play dsf message is:
INFO [2021-02-20 01:41:49.173828 | transport] TransportState: PLAYING
INFO [2021-02-20 01:41:49.173908 | transport] CurrentTransportActions: PAUSE,STOP,SEEK
INFO [2021-02-20 01:41:49.173947 | transport] CurrentTrack: 1
INFO [2021-02-20 01:41:49.173982 | transport] CurrentTrackURI: http://192.168.9.223:9790/minimserver/*/opera/*e6*96*b0*e5*8a*a0*e5*8d*b7/Music/DSD/JAZZ/B*20FONE*20*20*e7*bb*8f*e5*85*b8*e7*9b*98*e6*bc*94*e5*a5*8f*e7*88*b5*e5*a3*ab*20*e8*90*a8*e5*85*8b*e6*96*af*20*e9*92*a2*e7*90*b4*20*e5*a4*a7*e6*8f*90*e7*90*b4*20*e9*bc*93*20SACD/01*20-*20SCOTT*20HAMILTON*20-*20EVERYTHING*20HAPPENS*20TO*20ME.dsf
INFO [2021-02-20 01:41:49.174025 | transport] CurrentTrackMetaData:
ERROR [2021-02-20 01:41:49.566713 | gstreamer] avdemux_dsf0: Error: Internal data stream error. (Debug: gstavdemux.c(1597): gst_ffmpegdemux_loop (): /GstPlayBin:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/avdemux_dsf:avdemux_dsf0: streaming stopped, reason error (-5)) Could you give some suggestion?
I'm confident it's a Gstreamer issues not a gmrender-resurrect issue as I showed here: https://github.com/hzeller/gmrender-resurrect/issues/213#issuecomment-781578852
Music APP need verify Registering support Message,such as Play FLAC need dmr return Registering support for 'audio/flac' . but gmrender-resurrect just only return Registering support for 'audio/x-flac', could you help me?