Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail Validation for Music APP #231

Open
fn1232 opened this issue Feb 8, 2021 · 14 comments
Open

Fail Validation for Music APP #231

fn1232 opened this issue Feb 8, 2021 · 14 comments

Comments

@fn1232
Copy link

fn1232 commented Feb 8, 2021

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?

@mill1000
Copy link
Contributor

mill1000 commented Feb 8, 2021

You can manually register support for a mime type with the --mime-filter argument. Like so

gmediarender --mime-filter +audio/flac

@fn1232
Copy link
Author

fn1232 commented Feb 8, 2021

You can manually register support for a mime type with the --mime-filter argument. Like so

gmediarender --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:)

@mill1000
Copy link
Contributor

mill1000 commented Feb 8, 2021

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: #182

@fn1232
Copy link
Author

fn1232 commented Feb 9, 2021

Thank you so much for your suggestion,I will try it.:)

@fn1232
Copy link
Author

fn1232 commented Feb 9, 2021

If I want make this two --mime-filter config,what should I do?
gmediarender --mime-filter +audio/flac --mime-filter audio
inoperative.

@mill1000
Copy link
Contributor

mill1000 commented Feb 9, 2021

Use a comma to separate the arguments like so

--mime-filter audio,+audio/flac

@fn1232
Copy link
Author

fn1232 commented Feb 9, 2021

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?

@fn1232
Copy link
Author

fn1232 commented Feb 9, 2021

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

@mill1000
Copy link
Contributor

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.

@fn1232
Copy link
Author

fn1232 commented Feb 10, 2021

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?

@mill1000
Copy link
Contributor

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.

@fn1232
Copy link
Author

fn1232 commented Feb 12, 2021

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.

OK,I will try it,when I come back. Thank you very much.

@fn1232
Copy link
Author

fn1232 commented Feb 20, 2021

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: dc:titleEVERYTHING HAPPENS TO ME</dc:title>dc:creatorSCOTT HAMILTON</dc:creator>dc:date2016-01-11T00:00:00Z</dc:date>upnp:artistSCOTT HAMILTON</upnp:artist>upnp:actorSCOTT HAMILTON</upnp:actor>upnp:authorSCOTT HAMILTON</upnp:author>upnp:albumBALLADS FOR AUDIOPHILES</upnp:album>upnp:genreJazz</upnp:genre>upnp:originalTrackNumber1</upnp:originalTrackNumber>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.dsfupnp:classobject.item.audioItem.musicTrack</upnp:class>
INFO [2021-02-20 01:41:49.174260 | transport] LastChange:









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?

@mill1000
Copy link
Contributor

I'm confident it's a Gstreamer issues not a gmrender-resurrect issue as I showed here: #213 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants