Jump to content

Alexa might have a newish flac problem


Recommended Posts

ginjaninja
Posted (edited)

Emby Server 4.11.0.19

Alexa dots various versions.

 

Ive seen 3 instances this morning of Alexa music playback working for mp3 and failing for flac, seems like a pattern to me..

 

 

2026-11-25 08:43:09.568 Info PlaystateService-0HNQ998MP89OU:00000001: http/1.1 POST https://‌‍‍xxx.xxx.xxx‌/emby/Users/6cc6d0fa039849af8147592f5da46188/PlayedItems/234104?api_key=‌80e48b9071b7464192a39616c76106be‌&DatePlayed=. Source Ip: ‌‍‍3.93.58.108‌, UserAgent: node
2026-11-25 08:43:09.569 Debug AuthenticationRepository: GetInternalId reportedDeviceId: 0fe9d3f28b5c0248f0a15e0018033f22
2026-11-25 08:43:09.570 Info RecommendMe: SessionActivity fired: SessionId=22f708ea5948df5d065485a3733997fc, UserId=1, UserName=Cartman, Client=Alexa, IsActive=True
2026-11-25 08:43:09.571 Debug SqliteItemRepository: GetitemById Audio 234104 Private\Paul Simon\[2004] The Paul Simon Songbook\03. A Church Is Burning.mp3
2026-11-25 08:43:09.576 Info PlaystateService-0HNQ998MP89OU:00000001: http/1.1 Response 200 to ‌‍‍3.93.58.108‌. Time: 8ms. POST https://‌‍‍xxx.xxx.xxx‌/emby/Users/6cc6d0fa039849af8147592f5da46188/PlayedItems/234104?api_key=‌80e48b9071b7464192a39616c76106be‌&DatePlayed=. 
2026-11-25 08:43:09.586 Debug SqliteItemRepository: GetitemById BoxSet 451414 _For_Cartman
2026-11-25 08:43:09.588 Debug RecommendMe: Membership check - item 234104 in Cartman's collection 451414: False.
2026-11-25 08:43:09.588 Debug RecommendMe: Watched item 234104 is not in Cartman's registered recommendation collection; no cleanup required.
2026-11-25 08:43:09.850 Debug ItemsService-0HNQ998MP89OV:00000001: http/1.1 GET https://‌‍‍xxx.xxx.xxx‌/emby/Users/6cc6d0fa039849af8147592f5da46188/Items?api_key=‌80e48b9071b7464192a39616c76106be‌&Fields=Id,Name,AlbumArtist,MediaType&SortBy=ListItemOrder&IncludeItemTypes=Audio&Recursive=true&Limit=1&EnableImages=false&EnableUserData=false&ParentId=290177&IsFavorite=&StartIndex=557&EnableTotalRecordCount=false. Source Ip: ‌‍‍3.93.58.108‌, UserAgent: node
2026-11-25 08:43:09.852 Debug AuthenticationRepository: GetInternalId reportedDeviceId: 0fe9d3f28b5c0248f0a15e0018033f22
2026-11-25 08:43:09.853 Debug SqliteItemRepository: GetitemById Playlist 290177 Private\AppData\Roaming\Emby-Server\programdata\data\userplaylists\Car [playlist]\Car.m3u
2026-11-25 08:43:09.874 Debug ItemsService-0HNQ998MP89OV:00000001: http/1.1 Response 200 to ‌‍‍3.93.58.108‌. Time: 24ms. GET https://‌‍‍xxx.xxx.xxx‌/emby/Users/6cc6d0fa039849af8147592f5da46188/Items?api_key=‌80e48b9071b7464192a39616c76106be‌&Fields=Id,Name,AlbumArtist,MediaType&SortBy=ListItemOrder&IncludeItemTypes=Audio&Recursive=true&Limit=1&EnableImages=false&EnableUserData=false&ParentId=290177&IsFavorite=&StartIndex=557&EnableTotalRecordCount=false. 
2026-11-25 08:43:10.938 Info UniversalAudioService-0HNQ998MP89P0:00000001: http/1.1 GET https://‌‍‍xxx.xxx.xxx‌/emby/Audio/236240/universal?api_key=‌80e48b9071b7464192a39616c76106be‌&DeviceId=0fe9d3f28b5c0248f0a15e0018033f22&StartTimeTicks=0&MaxStreamingBitrate=384000&Container=mp3|mp3,m4a|aac,mp4|aac&TranscodingContainer=aac&TranscodingProtocol=http&AudioCodec=aac&MaxAudioSampleRate=48000&MaxAudioBitDepth=16. Source Ip: ‌‍‍192.168.4.2‌, Accept=*/*, Host=xxx.xxx.xxx, User-Agent=Echo/1.0(APNG), UniqueIdentifier=55443, Icy-MetaData=1
2026-11-25 08:43:10.941 Info RecommendMe: SessionActivity fired: SessionId=eeedb39cd838da97259a53876bcaad44, UserId=1, UserName=Cartman, Client=Alexa, IsActive=True
2026-11-25 08:43:10.942 Debug UniversalAudioService-0HNQ998MP89P0:00000001: GetPostedPlaybackInfo request: {"Id":"236240","MaxStreamingBitrate":384000,"StartTimeTicks":0,"DeviceProfile":{"SupportedMediaTypes":"Audio,Photo,Video","MaxStreamingBitrate":8000000,"MusicStreamingTranscodingBitrate":256000,"DeclaredFeatures":[],"DirectPlayProfiles":[{"Container":"mp3","AudioCodec":"mp3","Type":"Audio"},{"Container":"m4a","AudioCodec":"aac","Type":"Audio"},{"Container":"mp4","AudioCodec":"aac","Type":"Audio"}],"TranscodingProfiles":[{"Container":"aac","Type":"Audio","AudioCodec":"aac","Protocol":"http","EstimateContentLength":false,"EnableMpegtsM2TsMode":false,"TranscodeSeekInfo":"Auto","CopyTimestamps":false,"Context":"Streaming","MinSegments":0,"SegmentLength":0,"BreakOnNonKeyFrames":false,"AllowInterlacedVideoStreamCopy":false,"MaxManifestSubtitles":0,"MaxWidth":0,"MaxHeight":0,"FillEmptySubtitleSegments":false}],"ContainerProfiles":[],"CodecProfiles":[{"Type":"Audio","Conditions":[{"Condition":"LessThanEqual","Property":"AudioSampleRate","Value":"48000","IsRequired":false},{"Condition":"LessThanEqual","Property":"AudioBitDepth","Value":"16","IsRequired":false}],"ApplyConditions":[],"Container":"mp3|mp3,m4a|aac,mp4|aac"}],"ResponseProfiles":[],"SubtitleProfiles":[]},"EnableDirectPlay":true,"EnableDirectStream":true,"EnableTranscoding":true,"AllowInterlacedVideoStreamCopy":false,"AllowVideoStreamCopy":true,"AllowAudioStreamCopy":true,"IsPlayback":true,"AutoOpenLiveStream":false}
2026-11-25 08:43:10.942 Info UniversalAudioService-0HNQ998MP89P0:00000001: GetPostedPlaybackInfo request. IsPlayback: true, isInLocalNetwork: True
2026-11-25 08:43:10.943 Debug SqliteItemRepository: GetitemById Audio 236240 Private\R.E.M\[1986] Lifes Rich Pageant\07. The Flowers of Guatemala.flac
2026-11-25 08:43:10.950 Info UniversalAudioService-0HNQ998MP89P0:00000001: User policy for Cartman. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True EnableTranscodingQuality: True
2026-11-25 08:43:10.950 Info SessionManager: Setting _lastPlaySessionId for session eeedb39cd838da97259a53876bcaad44 to A3F344D9275E-0
2026-11-25 08:43:10.951 Debug SqliteItemRepository: GetitemById Audio 236240 Private\R.E.M\[1986] Lifes Rich Pageant\07. The Flowers of Guatemala.flac
2026-11-25 08:43:10.958 Debug UniversalAudioService-0HNQ998MP89P0:00000001: CodecValidation: No video encoder is needed for this operation; configuration graph was not evaluated.
2026-11-25 08:43:10.972 Info UniversalAudioService-0HNQ998MP89P0:00000001: ProcessRun 'StreamTranscode A3F344D9275E-0__J1' Execute: Private\AppData\Roaming\Emby-Server\system\ffmpeg.exe -loglevel +time -y -print_graphs_file "Private\AppData\Roaming\Emby-Server\programdata\logs\ffmpeg-transcode-A3F344D9275E-0__J1_1graph.txt" -f flac -c:v:0 mjpeg -i "Private\R.E.M\[1986] Lifes Rich Pageant\07. The Flowers of Guatemala.flac" -map 0:0 -vn -sn -c:a:0 aac -ab:a:0 384000 -ar:a:0 44100 -ac:a:0 2 "Private\AppData\Roaming\Emby-Server\programdata\transcoding-temp\A3F34-0\A3F34-0.aac"
2026-11-25 08:43:10.984 Debug UniversalAudioService-0HNQ998MP89P0:00000001: ProcessRun 'StreamTranscode A3F344D9275E-0__J1' Started.
2026-11-25 08:43:23.842 Info UniversalAudioService-0HNQ998MP89P0:00000001: AppendExtraLogData - Read graph file: Private\AppData\Roaming\Emby-Server\programdata\logs\ffmpeg-transcode-A3F344D9275E-0__J1_1graph.txt
2026-11-25 08:43:23.842 Info UniversalAudioService-0HNQ998MP89P0:00000001: AppendExtraLogData - Deserialized GraphData fileStream: 8,986.00 bytes Graph Count: 1
2026-11-25 08:43:23.842 Info UniversalAudioService-0HNQ998MP89P0:00000001: AppendExtraLogData - File Deleted
2026-11-25 08:43:23.843 Info UniversalAudioService-0HNQ998MP89P0:00000001: ProcessRun 'StreamTranscode A3F344D9275E-0__J1' Process exited with code 0
2026-11-25 08:43:23.855 Debug EncodingManager: KillTranscodingJob - JobId A3F344D9275E-0__J1 PlaySessionId A3F344D9275E-0. Killing transcoding
2026-11-25 08:43:24.370 Info EncodingManager: Deleting temp folder Private\AppData\Roaming\Emby-Server\programdata\transcoding-temp\A3F34-0
2026-11-25 08:43:24.373 Error UniversalAudioService-0HNQ998MP89P0:00000001: Error processing request
	*** Error Report ***
	Version: 4.11.0.18
	Command line: Private\AppData\Roaming\Emby-Server\system\EmbyServer.dll Private\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 10.0.19045
	OS/Process: x64/x64
	Framework: .NET 8.0.34
	Runtime: Private/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 12
	Data path: Private\AppData\Roaming\Emby-Server\programdata
	Application path: Private\AppData\Roaming\Emby-Server\system
	‏‎‪‪‬‏‭‮‭‬‪‬‍‮‎‍‫‫‌‪‍‭‮: ‏‎‪‪‬‏‭‮‭‬‪‬‍‮‎‍‫‫‌‪‍‭‮: Error starting ffmpeg
-loglevel +time -y -print_graphs_file "Private\AppData\Roaming\Emby-Server\programdata\logs\ffmpeg-transcode-A3F344D9275E-0__J1_1graph.txt" -f flac -c:v:0 mjpeg -i "Private\R.E.M\[1986] Lifes Rich Pageant\07. The Flowers of Guatemala.flac" -map 0:0 -vn -sn -c:a:0 aac -ab:a:0 384000 -ar:a:0 44100 -ac:a:0 2 "Private\AppData\Roaming\Emby-Server\programdata\transcoding-temp\A3F34-0\A3F34-0.aac"

08:43:11.018 ffmpeg version 8.0-emby_2026_11_06_r1 Copyright (c) 2000-2026 the FFmpeg developers and softworkz for Emby LLC
	08:43:11.019   built with clang version 22.1.8
	08:43:11.036 Input #0, flac, from 'Private\R.E.M\[1986] Lifes Rich Pageant\07. The Flowers of Guatemala.flac':
	08:43:11.036   Metadata:
	08:43:11.036     MUSICBRAINZ_RELEASEGROUPID: 8b6b2628-7bd4-3fed-9d65-cf4e5dc45939
	08:43:11.036     ORIGINALDATE    : 1986-07-28
	08:43:11.036     ORIGINALYEAR    : 1986
	08:43:11.036     MUSICBRAINZ_ALBUMID: 95af5680-503e-49cc-b035-b8cf9f1e2ab2
	08:43:11.036     ALBUM           : Lifes Rich Pageant
	08:43:11.036     MUSICBRAINZ_ALBUMARTISTID: ea4dfa26-f633-4da6-a52a-f49ea4897b58
	08:43:11.036     album_artist    : R.E.M.
	08:43:11.036     MUSICBRAINZ_TRACKID: 6f22dbbd-daa8-4dcb-a8f0-c4f099c10210
	08:43:11.036     TITLE           : The Flowers of Guatemala
	08:43:11.036     PERFORMER       : Bill Berry (drums (drum set));Peter Buck (guitar);Mike Mills (bass guitar);Michael Stipe (lead vocals)
	08:43:11.036     PRODUCER        : Don Gehman
	08:43:11.036     MUSICBRAINZ_WORKID: cdf4aba0-3d04-43f1-b70e-604783a8bcc0
	08:43:11.036     WORK            : The Flowers of Guatemala
	08:43:11.036     WRITER          : Bill Berry;Peter Buck;Mike Mills;Michael Stipe
	08:43:11.036     MUSICBRAINZ_ARTISTID: ea4dfa26-f633-4da6-a52a-f49ea4897b58
	08:43:11.036     ARTIST          : R.E.M.
	08:43:11.036     ARTISTS         : R.E.M.
	08:43:11.036     MUSICBRAINZ_RELEASETRACKID: 252243ae-fdcd-4c72-9e92-77a99cede3d0
	08:43:11.036     GENRE           : Alternative Rock
	08:43:11.036     ALBUMARTISTS    : R.E.M.
	08:43:11.036     DATE            : 1986
	08:43:11.036     track           : 7
	08:43:11.036   Duration: 00:03:56.93, start: 0.000000, bitrate: 807 kb/s
	08:43:11.036   Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
	08:43:11.037   Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 500x500 [SAR 96:96 DAR 1:1], 90k tbr, 90k tbn (attached pic)
	08:43:11.037     Metadata:
	08:43:11.037       comment         : Cover (front)
	08:43:11.038 Stream mapping:
	08:43:11.038   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
	08:43:11.038 Press [q] to stop, [?] for help
	08:43:11.041 Output #0, adts, to 'Private\AppData\Roaming\Emby-Server\programdata\transcoding-temp\A3F34-0\A3F34-0.aac':
	08:43:11.041   Metadata:
	08:43:11.041     MUSICBRAINZ_RELEASEGROUPID: 8b6b2628-7bd4-3fed-9d65-cf4e5dc45939
	08:43:11.041     ORIGINALDATE    : 1986-07-28
	08:43:11.041     ORIGINALYEAR    : 1986
	08:43:11.041     MUSICBRAINZ_ALBUMID: 95af5680-503e-49cc-b035-b8cf9f1e2ab2
	08:43:11.041     ALBUM           : Lifes Rich Pageant
	08:43:11.042     MUSICBRAINZ_ALBUMARTISTID: ea4dfa26-f633-4da6-a52a-f49ea4897b58
	08:43:11.042     album_artist    : R.E.M.
	08:43:11.042     MUSICBRAINZ_TRACKID: 6f22dbbd-daa8-4dcb-a8f0-c4f099c10210
	08:43:11.042     TITLE           : The Flowers of Guatemala
	08:43:11.042     PERFORMER       : Bill Berry (drums (drum set));Peter Buck (guitar);Mike Mills (bass guitar);Michael Stipe (lead vocals)
	08:43:11.042     PRODUCER        : Don Gehman
	08:43:11.042     MUSICBRAINZ_WORKID: cdf4aba0-3d04-43f1-b70e-604783a8bcc0
	08:43:11.042     WORK            : The Flowers of Guatemala
	08:43:11.042     WRITER          : Bill Berry;Peter Buck;Mike Mills;Michael Stipe
	08:43:11.042     MUSICBRAINZ_ARTISTID: ea4dfa26-f633-4da6-a52a-f49ea4897b58
	08:43:11.042     ARTIST          : R.E.M.
	08:43:11.042     ARTISTS         : R.E.M.
	08:43:11.042     MUSICBRAINZ_RELEASETRACKID: 252243ae-fdcd-4c72-9e92-77a99cede3d0
	08:43:11.042     GENRE           : Alternative Rock
	08:43:11.042     ALBUMARTISTS    : R.E.M.
	08:43:11.042     DATE            : 1986
	08:43:11.042     track           : 7
	08:43:11.042     encoder         : Lavf62.3.100
	08:43:11.042   Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp, 384 kb/s
	08:43:11.042     Metadata:
	08:43:11.042       encoder         : Lavc62.11.100 aac
	08:43:11.544 size=     181KiB time=00:00:04.92 bitrate= 300.8kbits/s throttle=off speed=9.74x elapsed=0:00:00.50    
	08:43:12.053 size=     256KiB time=00:00:10.44 bitrate= 200.7kbits/s throttle=off speed=10.3x elapsed=0:00:01.01    
	08:43:12.553 size=     512KiB time=00:00:16.62 bitrate= 252.3kbits/s throttle=off speed=  11x elapsed=0:00:01.51    
	08:43:13.070 size=     768KiB time=00:00:22.87 bitrate= 275.1kbits/s throttle=off speed=11.3x elapsed=0:00:02.03    
	08:43:13.570 size=    1024KiB time=00:00:27.79 bitrate= 301.8kbits/s throttle=off speed=  11x elapsed=0:00:02.53    
	08:43:14.086 size=    1280KiB time=00:00:34.36 bitrate= 305.1kbits/s throttle=off speed=11.3x elapsed=0:00:03.04    
	08:43:15.086 size=    1792KiB time=00:00:47.02 bitrate= 312.2kbits/s throttle=off speed=11.6x elapsed=0:00:04.04    
	08:43:16.087 size=    2816KiB time=00:01:11.47 bitrate= 322.8kbits/s throttle=off speed=14.2x elapsed=0:00:05.04    
	08:43:16.603 size=    3328KiB time=00:01:20.31 bitrate= 339.4kbits/s throttle=off speed=14.4x elapsed=0:00:05.56    
	08:43:17.103 size=    3584KiB time=00:01:29.11 bitrate= 329.5kbits/s throttle=off speed=14.7x elapsed=0:00:06.06    
	08:43:17.604 size=    3840KiB time=00:01:36.31 bitrate= 326.6kbits/s throttle=off speed=14.7x elapsed=0:00:06.56    
	08:43:18.104 size=    4352KiB time=00:01:48.62 bitrate= 328.2kbits/s throttle=off speed=15.4x elapsed=0:00:07.06    
	08:43:18.604 size=    5376KiB time=00:02:04.69 bitrate= 353.2kbits/s throttle=off speed=16.5x elapsed=0:00:07.56    
	08:43:19.104 size=    6144KiB time=00:02:19.92 bitrate= 359.7kbits/s throttle=off speed=17.3x elapsed=0:00:08.06    
	08:43:19.620 size=    6912KiB time=00:02:34.87 bitrate= 365.6kbits/s throttle=off speed=  18x elapsed=0:00:08.58    
	08:43:20.120 size=    7424KiB time=00:02:49.78 bitrate= 358.2kbits/s throttle=off speed=18.7x elapsed=0:00:09.08    
	08:43:20.620 size=    8192KiB time=00:03:04.78 bitrate= 363.2kbits/s throttle=off speed=19.3x elapsed=0:00:09.58    
	08:43:21.121 size=    8704KiB time=00:03:15.76 bitrate= 364.2kbits/s throttle=off speed=19.4x elapsed=0:00:10.08    
	08:43:21.636 size=    9472KiB time=00:03:28.93 bitrate= 371.4kbits/s throttle=off speed=19.7x elapsed=0:00:10.59    
	08:43:22.137 size=    9728KiB time=00:03:37.43 bitrate= 366.5kbits/s throttle=off speed=19.6x elapsed=0:00:11.09    
	08:43:22.637 size=   10240KiB time=00:03:47.74 bitrate= 368.3kbits/s throttle=off speed=19.6x elapsed=0:00:11.59    
	08:43:23.137 size=   10240KiB time=00:03:51.75 bitrate= 362.0kbits/s throttle=off speed=19.2x elapsed=0:00:12.09    
	08:43:23.638 size=   10496KiB time=00:03:55.47 bitrate= 365.2kbits/s throttle=off speed=18.7x elapsed=0:00:12.59    
	08:43:23.829 [out#0/adts @ 00000195998c9180] video:0KiB audio:10497KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.664568%
	08:43:23.829 size=   10567KiB time=00:03:56.93 bitrate= 365.4kbits/s throttle=off speed=18.5x elapsed=0:00:12.79    
	08:43:23.830 [aac @ 0000019599903e80] Qavg: 35682.902
	08:43:23.832 
	08:43:23.832 Exiting with exit code 0
	
	

	
	   at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, CancellationToken cancellationToken, Boolean acquireResources)
	   at Emby.Server.MediaEncoding.Api.Progressive.BaseProgressiveStreamingService.‭‮‬‪‎‮‏‮‏‌‫‏‍‬‮‌‮‍‬‬‬‭‭‮(StreamState , IDictionary`2 , Boolean , CancellationToken )
	   at Emby.Server.MediaEncoding.Api.Progressive.BaseProgressiveStreamingService.ProcessRequest(StreamRequest request, Boolean isHeadRequest)
	   at Emby.Server.MediaEncoding.Api.UniversalAudioService.‮‎‮‮‪‌‎‪‍‏‭‏‬‭‭‪‍‮‎‫‪‮(GetUniversalAudioStream , Boolean , CancellationToken )
	   at Emby.Server.Implementations.Services.ServiceController.‮‭‪‎‫‪‍‭‭‫‬‮‏‏‎‭‬‬‫‫‪‭‪‏‏‏‮(Task )
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.‎‭‏‬‫‫‎‏‎‎‭‪‏‌‫‍‫‭‬‮‭‫‮(IRequest , RestPath , String , String , String , CancellationToken )
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()

My transcoding configuration is auto on an nvidia gpu but i dont think thats relevant to flac.

Edited by ginjaninja

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