Jump to content

Music : flac not supported


syralk

Recommended Posts

Hi.  What did you try to play?  Exactly when?  Did you send a log from the app?  When was that?

 

Thanks.

 

Also, you are on the beta server.  Does the problem occur on the stable version?

Link to comment
Share on other sites

Hi.  What did you try to play?  Exactly when?  Did you send a log from the app?  When was that?

 

Thanks.

 

Also, you are on the beta server.  Does the problem occur on the stable version?

I try to play a audio file with a flac format

I send the debug with the app 1 hour ago on the username: kaven

I will install the stable version and try it :)

Link to comment
Share on other sites

I send the debug with the app 1 hour ago on the username: kaven

 

The only log I found from that timeframe was the attempt to play the artist Ariana Grande (the other issue you posted about) - not a flac file...

Link to comment
Share on other sites

The only log I found from that timeframe was the attempt to play the artist Ariana Grande (the other issue you posted about) - not a flac file...

just sent one right now

same user name

i played Katty Perry

Link to comment
Share on other sites

Hi.  What did you try to play?  Exactly when?  Did you send a log from the app?  When was that?

 

Thanks.

 

Also, you are on the beta server.  Does the problem occur on the stable version?

I just tested with the Server stable version 3.5.2.0 and its doing the same thing

Link to comment
Share on other sites

just sent one right now

same user name

i played Katty Perry

 

Can I please see the server log that goes with that playback?

 

Also, please try the same audio file (Witness) using the stable version of the app.

 

Thanks.

Link to comment
Share on other sites

Can I please see the server log that goes with that playback?

 

Also, please try the same audio file (Witness) using the stable version of the app.

 

Thanks.

ok I test the Emby roku app stable and it work fine with Beta server or stable server

so the issue is only with the Roku app beta 3.0.106

Link to comment
Share on other sites

Happy2Play

@@ebr

 

Do you still need logs for this?  Flac files no longer play in .106 (ignored error).

Link to comment
Share on other sites

I can tell you that the method used to play audio differs "GREATLY" from how BNN handles audio. That is likely the issue.

 

I am not at liberty to.. well.. disclose something very wonderful that will make forthcoming updates to the roku app much more like blue neon. In fact, so much so...

 

There will be an announcement soon officially. You should all be very pleased with it. 

Edited by speechles
Link to comment
Share on other sites

Happy2Play

Flac playback is back in 3.0.108.

 

As mentioned elsewhere the logic is broke as the server shows direct playing but the file is being transcoded.

http://192.168.151.16:8096/emby/Audio/172548/hls1/main/0.ts?PlaySessionId=1634454633&container=lpcm,wav|lpcm,raw|lpcm,aif|pcm,aiff|pcm,mp4|aac,mka|aac,m4a|aac,m4a|alac,mka|alac,mp2,mp3&deviceId=b9388273-430b-5e80-a4c6-f26c1e44d40f&maxStreamingBitrate=1500000&userId=39a92daf6ac74f4eab5398838083fada&transcodingContainer=ts&transcodingProtocol=hls&audioCodec=aac&enableRedirection=true&enableRemoteMedia=false&api_key=eaf96a84eed14f92aa13f97c0464eb06&SegmentContainer=ts&AudioBitrate=384000&TranscodeReasons=ContainerNotSupported,AudioCodecNotSupported


{"Protocol":"File","Id":"7c3dc0a1834c78af9c574b5337e33a8d","Path":"Z:\\ServerFolders\\Music\\Blake Shelton\\All About Tonight (2010)\\Blake Shelton - 01 - All About Tonight.flac","Type":"Default","Container":"flac","Size":26704852,"Name":"Blake Shelton - 01 - All About Tonight","IsRemote":false,"ETag":"48f6b072f05e975b2d961cfbdc78b486","RunTimeTicks":2071730048,"ReadAtNativeFramerate":false,"DiscardCorruptPts":false,"FillWallClockDts":false,"IgnoreDts":false,"IgnoreIndex":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"MediaStreams":[{"Codec":"flac","TimeBase":"1/44100","CodecTimeBase":"1/44100","DisplayTitle":"FLAC stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":1031208,"BitDepth":16,"Channels":2,"SampleRate":44100,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"mjpeg","ColorSpace":"bt470bg","Comment":"Cover (front)","TimeBase":"1/90000","CodecTimeBase":"0/1","IsInterlaced":false,"BitRate":1031208,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":500,"Width":500,"RealFrameRate":90000,"Profile":"192","Type":"EmbeddedImage","AspectRatio":"1:1","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuvj420p","Level":-99,"IsAnamorphic":false}],"Formats":[],"Bitrate":1031208,"RequiredHttpHeaders":{}}
 

5baaa58d651b0_active.jpg

Edited by Happy2Play
Link to comment
Share on other sites

Yeah, the caveat to this is, I think the server believes the profile fed to it in capabilities here. It sees flac works with audiovideo codec. This tells it how many channels to support.

 

I disabled the profile for audio containers that allows flac to play audio. This is how I fixed it. So you are correct, somewhere there is an issue here and in the interim the best thing to do is let you play your media until we figure it out. I apologize for the confusing dashboard display. I noticed this too, but atm this is a work-in-progress. Nothing that you will have to live with.

 

In the meantime, enjoy your audio playback. I am trying to make people happy in the interim even though this is an inconvenience. It isn't as bad as showing an ignored message and stalling any playback. You take the good. You take the bad. You take em both and there you have the facts of life. Maybe its a Roku firmware bug? RMP isn't written in pure RSGA yet. Its still using SDKA, So they still have work to do on that app. It will die soon just as blue neon will. Maybe they wont kill SDKA off in 2019? Who knows... only time...

 

<app id="2213" subtype="sdka" type="appl" version="4.1.1602">Roku Media Player</app>

 

I can also get blue neon to direct play flac. I used this same exact method to get the official app to do it, it refuses. So this may also be a firmware bug affecting RSGA and simply doesnt affect SDKA. Time will tell.

Edited by speechles
  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
Happy2Play

@@speechles

Don't know if it helps but the RMP via dlna 

2018-10-11 02:19:53.913 Info HttpServer: HTTP POST http://192.168.151.16:8096/dlna/0ad8df3d617d497385d14867eed5ab7f/contentdirectory/control. UserAgent: Roku/4400X
2018-10-11 02:19:53.913 Debug Dlna: No matching device profile found. Host=192.168.151.16:8096, Accept=*/*, user-agent=Roku/4400X, SOAPACTION="urn:schemas-upnp-org:service:ContentDirectory:1#Browse", CONTENT-TYPE=text/xml ; charset="utf-8", Content-Length=779
2018-10-11 02:19:53.913 Debug Dlna: Received control request Browse
2018-10-11 02:19:53.937 Info HttpServer: HTTP Response 200 to 192.168.151.3. Time: 24ms. http://192.168.151.16:8096/dlna/0ad8df3d617d497385d14867eed5ab7f/contentdirectory/control
2018-10-11 02:19:57.035 Info HttpServer: HTTP GET http://192.168.151.16:8096/audio/172551/stream.flac?DeviceId=0b31fda3cf2cab96850f01e4db1ee8b1&MediaSourceId=632286a2e1fdb402ac17eaf8c21346bc&Static=true&Tag=48f6b072f05e975b2d961cfbdc78b486&dlnaheaders=true. UserAgent: Roku/4400X
2018-10-11 02:19:57.036 Debug HttpResultFactory: Transmit file Z:\ServerFolders\Music\Blake Shelton\All About Tonight (2010)\Blake Shelton - 04 - Draggin' the River.flac
2018-10-11 02:19:57.396 Debug LibraryMonitor: Timer stopped.
2018-10-11 02:19:57.396 Info LibraryMonitor: Draggin' the River (Z:\ServerFolders\Music\Blake Shelton\All About Tonight (2010)\Blake Shelton - 04 - Draggin' the River.flac) will be refreshed.
2018-10-11 02:19:59.239 Info HttpServer: HTTP Response 200 to 192.168.151.3. Time: 2204ms. http://192.168.151.16:8096/audio/172551/stream.flac?DeviceId=0b31fda3cf2cab96850f01e4db1ee8b1&MediaSourceId=632286a2e1fdb402ac17eaf8c21346bc&Static=true&Tag=48f6b072f05e975b2d961cfbdc78b486&dlnaheaders=true
2018-10-11 02:19:59.239 Debug LibraryMonitor: New file refresher created for Z:\ServerFolders\Music\Blake Shelton\All About Tonight (2010)\Blake Shelton - 04 - Draggin' the River.flac
2018-10-11 02:20:59.224 Debug LibraryMonitor: Timer stopped.
2018-10-11 02:20:59.226 Info LibraryMonitor: Draggin' the River (Z:\ServerFolders\Music\Blake Shelton\All About Tonight (2010)\Blake Shelton - 04 - Draggin' the River.flac) will be refreshed.
2018-10-11 02:23:46.438 Info HttpServer: HTTP GET http://192.168.151.16:8096/audio/172552/stream.flac?DeviceId=0b31fda3cf2cab96850f01e4db1ee8b1&MediaSourceId=d8401554199b92607a30648b1b1d5aee&Static=true&Tag=187e2dc6d2553ffb6a5fd73900ebfa43&dlnaheaders=true. UserAgent: Roku/4400X
2018-10-11 02:23:46.439 Debug HttpResultFactory: Transmit file Z:\ServerFolders\Music\Blake Shelton\All About Tonight (2010)\Blake Shelton - 05 - Suffocating.flac
2018-10-11 02:23:48.644 Info HttpServer: HTTP Response 200 to 192.168.151.3. Time: 2206ms. http://192.168.151.16:8096/audio/172552/stream.flac?DeviceId=0b31fda3cf2cab96850f01e4db1ee8b1&MediaSourceId=d8401554199b92607a30648b1b1d5aee&Static=true&Tag=187e2dc6d2553ffb6a5fd73900ebfa43&dlnaheaders=true
2018-10-11 02:23:48.644 Debug LibraryMonitor: New file refresher created for Z:\ServerFolders\Music\Blake Shelton\All About Tonight (2010)\Blake Shelton - 05 - Suffocating.flac


Link to comment
Share on other sites

Roku Media Player (RMP) is using the older SDKA framework to play the audio. The same way I can get BNN to play the audio using SDKA. When using RSGA the same way all the others work, breaks FLAC/OPUS/VORBIS. It is weird. AC3 and EAC3 work the same way just fine. So it isn't a difference in how it is now done with the universal endpoint. It has something to do with SDKA vs RSGA. Ever wonder why Roku hasn't update RMP yet for RSGA. I mean, literally in less than 3 months their app just like BNN will die. Maybe they are working on something in the interim, and haven't made that knowledge public yet. Likely.

 

But it probably has more to do with the OS9 push, and getting it to work nicely with that. I doubt they will have another OS8 update that isn't just bug fixes. It doesn't make sense to divide your team. Work on the OS9 and it better work the way its supposed to. OS8 will be a bad memory just like 7.5x was. With Roku you cannot trust some parts, you must test, develop your own knowledge. Figure out how it works by trial and error. This is how I've done audio. I cannot get those other codecs to work on RSGA. Until we can figure it out, the only rational thing to do, is let the audio transcode for those codecs. Work around whatever it is causing the Roku to misbehave. None of this is guesses. Everything is tried and true.

 

I don't want to wave my own flag, but knowing all the work done and how it was done. I can safely tell you no corners were cut. Comments are in the code to explain everything. Everything happens for a reason. There are still bugs to iron out, small little glitchy things for display, but none of these bugs are in the profile or the playback and fallback mechanisms. The bones of the app are strong, the part you want to work, the playback is solid. We are doing our best to minimize transcoding in all areas. Even video recovery fallback goes through the hoops to minimize transcoding.

 

This was done to possibly keep the "FORCE" options from even being required. Make it like "magic" when errors happen, suppress them, and just fallback to what the player has to do until it can play the file. Make the user unaware of what is happening, because frankly, they don't care. They only want to see it say "ERROR" when the file cant play. They aren't interested in how it plays, why it plays that way, or what makes it play that way. The joy is in the fact it just works. They just want the app to play the file however it has to, however it has to get there. Just play the file with as much direct play/stream as possible and less bull$hit (aka files that cannot/will not play). Thats what I have done in this case.

Edited by speechles
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...