Jump to content

Web app fails to play some flac medias


Recommended Posts

Posted (edited)

Hello,

 

Emby web app on Sony TV, and also on Windows, fails to play specific flac files. The log is attached, look at the timing around 20:3x on Nov17, on both Chrome and Chrome Windows.

The flac files are available from this link:

https://drive.google.com/drive/folders/1ITcuNFo6uQcbLaOdT6MDDH7l4-ih0bu2?usp=sharing

 

a few examples are shown here:

 

Quote

 

>>>>> Windows - Browser:
Playback stopped reported by app Emby Web 4.8.10.0 on Chrome Windows playing Ali Charkhab - Hayedeh
2024-11-17 20:39:27.998 Info SessionManager: PlaySession 1731893867474 has gone idle while playing
2024-11-17 20:39:27.769 Info SessionManager: Playback stopped reported by app Emby Web 4.8.10.0 on Chrome Windows playing Ali Charkhab - Ey Yare Man (Piano Cover). Stopped at 1275 ms. PlaySessionId: 1731893867514

>>>>> Sony TV (Google TV)- Browser:
2024-11-17 20:36:10.889 Info Server: http/1.1 POST http://192.168.1.3:8096/emby/Sessions/Playing/Stopped?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=2fed4b01-0896-4d48-83b6-48e582070d8a&X-Emby-Client-Version=4.8.10.0&X-Emby-Token=x_secret1_x&X-Emby-Language=en-us&reqformat=json. Source Ip: host1, UserAgent: Mozilla/5.0 (Linux; Andr0id 12; BRAVIA 4K AE2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.6533.120 Safari/537.36 OMI/4.25.1.92.StableAVB.5
2024-11-17 20:36:10.890 Info SessionManager: Playback stopped reported by app Emby Web 4.8.10.0 on Chrome playing Ali Charkhab - Shame Mahtab (Piano Cover). Stopped at 4381 ms. PlaySessionId: 1731893757681
2024-11-17 20:36:10.891 Info SessionManager: Removing playSession 1731893757681 from session 916e68ede8fe47ab25df3fca62531d45
2024-11-17 20:36:10.891 Info Server: http/1.1 Response 204 to host1. Time: 2ms. POST http://192.168.1.3:8096/emby/Sessions/Playing/Stopped?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome&X-Emby-Device-Id=2fed4b01-0896-4d48-83b6-48e582070d8a&X-Emby-Client-Version=4.8.10.0&X-Emby-Token=x_secret1_x&X-Emby-Language=en-us&reqformat=json
2024-11-17 20:36:10.911 Info Server: http/1.1 GET http://192.168.1.3:8096/emby/Audio/6045/universal?UserId=67245ef0b49b43ff9916a3618c990ba9&DeviceId=2fed4b01-0896-4d48-83b6-48e582070d8a&MaxStreamingBitrate=200000000&Container=opus,mp3|mp3,mp2,mp3|mp2,aac|aac,m4a|aac,mp4|aac,flac,alac,m4a|alac,webma,webm,wma,asf,wav|PCM_S16LE,wav|PCM_S24LE,ogg,oga&TranscodingContainer=aac&TranscodingProtocol=hls&AudioCodec=aac&api_key=x_secret1_x&PlaySessionId=1731893757682&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false. Source Ip: host1, Connection=keep-alive, Host=host2, User-Agent=Mozilla/5.0 (Linux; Andr0id 12; BRAVIA 4K AE2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.6533.120 Safari/537.36 OMI/4.25.1.92.StableAVB.5, Accept-Encoding=identity;q=0.9, gzip;q=0.1, *;q=0, Accept-Language=en-US,en;q=0.9, Range=bytes=0-, Referer=host3
2024-11-17 20:36:10.915 Info App: User policy for public. EnableAudioPlaybackTranscoding: True
2024-11-17 20:36:10.915 Info SessionManager: Adding playSession 1731893757682 to session 916e68ede8fe47ab25df3fca62531d45
2024-11-17 20:36:11.049 Info Server: http/1.1 GET

 

 

 

When I play the same files on emby app on my Andriod phone, there is no issue and everything works perfectly. When I play on Windows, there only a few files that cannot be played. When I play on Sony TV (web app - browser), there are many files that cannot be played.

 

embyserver_Nov17.txt

Edited by Nimasa
minor adjustments
Posted

Emby server: 4.8.10.0

Emby Web (TV and Windows): 4.8.10.0

Emby for Android (Phone): 3.4.20

 

A screenshot of the issue on the TV is attached.

20241118_213545.jpg

Posted (edited)

Following link is a short clip showing how desktop web app fails to play some Flac files and skips them (Windows - x64, Chrome 131.0.6778.86). The Android app can play the same files with no issue. 

https://drive.google.com/file/d/1TDXTwXDzC5HrIx-nogz4g061mNSr-uFO/view?usp=sharing

 

Edited by Nimasa
Posted

Hi, if you drag the file onto a browser tab in Chrome, what happens? does it play?

  • Thanks 1
Posted
7 hours ago, Luke said:

Hi, if you drag the file onto a browser tab in Chrome, what happens? does it play?

Good point. Chrome does not play when I drag the file onto in. However, Firefox can easily play the file and Emby on Firefox can also play the file easily. 

On Windows, it's a Chrome browser issue that needs to be fixed. And I assume it's the same story about the browser on Sony TV since it's also Chrome based.

 

Thanks for the good catch. I reported the issue to Chrome team.

  • Thanks 1
Happy2Play
Posted (edited)

Odds are it will probably come back to the files themselves as I am having issues reencoding ones that don't drag n drop. @Nimasa

example from one file 4_5778342128367176949.flac

image.png.b09639e86f60987703b93d890e3e9a80.png

and one that drag n drops 4_5767309701708517805.flac

image.png.4fb03a53d6f7c1ec736eade790af5ea2.png

Edited by Happy2Play
  • Like 1
  • Agree 1
Posted

I used the following online service to reencode the files to flac and it fixed the issue. Now the files can be played on Chrome. I agree with you that most probably the issue was within the files, however, the codec that Firefox and other media players (such as Pot Player) are using is able to handle such files unlike what Chrome is using.

https://convertio.co/

 

  • Thanks 1
Happy2Play
Posted

Yes similar has been seen before of how reliable the browser players tolerance of files with issues are.  But really don't see them changing anything but you never know.

 

image.png.bceb62c4f16d3dfe1f9dad85fcb8fd39.png

 

 

  • Like 1
  • Agree 1

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...