Server Version#: 1.15.4.993
Player Version#: Web Client
I am having some issues with the Plex Web Client not playing music 2.0 FLAC files directly. The server is a linux setup with Plex within a docker and I have tried playing these FLAC files both in the local network and remotely within the web client.
All times the files show as FLAC files being transcoded to AAC which you can see below:
The files play fine and direct play on other devices such as a Nvidia Shield without any issue. Any help on this issue would be greatly appreciated. If logs are needed just let me know which to gather and I can post the results.
FWIW, Iām also seeing FLAC transcoded to AAC. Running PMS 1.15.5.994 natively, no docker/vm, on a DS918+. Using Chrome/Win10 on a PC connected to same Ethernet switch as the DS918+.
In PMS Settings -> Web Client -> Debug, both Direct Play and Direct Stream are selected.
From the logs (attached):
MDE: Who Drove the Red Sports Car?: Direct Play is disabled
MDE: Who Drove the Red Sports Car?: media must be transcoded in order to use the dash protocol
MDE: Who Drove the Red Sports Car?: no direct play music profile exists for http/flac/flac
MDE: Cannot direct stream audio stream due to codec flac when profile only allows aac
Iām using app.plex.tv, v3.97.3.
I see the same results if I point Chrome directly at PMS (https://192.168ā¦), which is v3.95.2.
Auto-adjust quality is not selected.
No shenanigans, Ad blocker disabled, etc.
A bandwidth of 2147483647 bits per second for the flac container will trigger transcoding.
Can you instruct Plex to āAnalyzeā the album, wait a few minutes, then try again?
Do you let the butler āUpgrade media analysis during maintenanceā?
Plex Dance fixed it. FLAC music files are now direct playing.
Good catch on requiredBandwidths. After dancing the album that info is no longer present in Plex XML. It is also not present for the two albums I added after dancing the Van Morrison album.
Not sure why that showed up in the XML. There is no such info in the metadata in the file.
Still, it notes 1418 bps as the bandwidth for this track, which is suspiciously close to the theoretical maximum of an audio CD. Are you sure that this is a stereo recording and not one of those "DTS-CD"s, which have actually a DTS stream instead of raw PCM data in them?
If this is really stereo audio, then someone has loudness-maximized the **** out of itā¦
Thank you everyone for the help so far. It seems whatever issue I am having, itās still not the same as FordGuy.
I noticed the server only transcodes certain FLAC files yet plays others directly without issue. I followed the suggestions up above and have made sure that āUpgrade Media Analysis during Maintenanceā is checked, and I have the āWeb App Qualityā quality set to Auto (Beta).
The version of the Web App I am using is also 3.97.3 for app.plex.tv and in Chrome or Opera using a direct IP, the version is 3.95.2
Below is a screenshot of a FLAC file playing over web without needing transcode:
Also, below are two XMLās, one is the file in the image above and the other is a file from the same album as my first post which requires AAC transcode instead of direct play. Lauv - I Like Me Better.xml.txt (1.8 KB) Novo Amor - Silvery.xml.txt (1.7 KB)
Neither of these files have the RequiredBandwidth option called out as in the other posts above so I am not sure what is happening here. Also for note, I donāt have any reverse proxy, custom domain name, or other odd network setups. Itās a linux server running on a Supermicro Intel MB wired to the router.
@OttoKerner Iāll check things again after nightly maintenance. Source is a standard audio CD, ripped using dBpoweramp. There were no special loudness, etc settings in the software (That I remember, anyway. I ripped the discs several years back). Iāll dig out a couple of CDs, double check settings, re-rip, and see how Plex handles them.
@ZeroGravitas23 Thought we were experience the same problem. Wasnāt trying to hijack your thread. Will be interesting to see what is happening with your setup.
I dug into them and in the server log file it does point to a transcoder not being available for web profile flac/flac but I am not sure what or how that is set up.
Would it be possible to edit the web profile of the server and force it to direct play all FLAC files such as what FordGuy described above? Itās very odd that the server is choosing to direct play some files while transcode others even though the files use the same extension and filetype.
Alright, I wanted to follow up on this since I did find the issue out. Iām sharing this in case anyone also has the same problem.
First, it was not due to the web profile in plex. While plex doesnāt have a defined music profile in the xml for flac audio, creating one did not fix the issue.
As it turns out the issue really is the music tags on the files. While some flacs were playing perfectly fine others were always transcoding.
The solution/problem was the ID3 tag attached to the flac file itself. For flac to be recognized by plex server correctly the tag for a flac file needs to be free from any ID3 tags.
The correct tags for flac are flac tags (really Vorbis tags) only. This can be caused by programs such as EAC automatically attaching ID3 tags to files converted from disc.
I hope this helps anyone searching for issues with flac playback on plex.