Jump to content

Emby server does not play some FLAC files (attached sample)


Go to solution Solved by Samardzic,

Recommended Posts

Posted

Emby server installed on Windows 10 pro (Dell optiplex 3070 mini pc with i3 and 16 Gb RAM... used only as a server). 


The problem is when come to reproduction of some files, it simply shows error message on web browser (edge or firefox), or on android phone plays music without any voice.

What is strange, on android says that piece of music has duration of billion of minutes. 

If you play the same file through EDGE (directly as a file) or using VLC on PC computer, you can hear music properly. Same file through Emby, simply provide error or not played. 

Herein attached at least one file (received from NAXOS records as free sample) which makes problems.

01.01_-_Trio_No._1_for_Clarinet,_Cello_and_Piano_Left_Hand_in_E_Minor;_I._Allegro_comodo.flac

Posted

Hello Samardzic,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

Posted

You'll have to provide your server log, I cannot reproduce an issue with this file, I don't see billions of minutes on my android device. Maybe you need to refresh metadata on the item?

image.png.e8dc461b20d9716e10a634fa1773eaae.pngimage.png.5d48e75bce5c35e39fab62a7096237ac.png

image.png.52c61bd69941eb179f9e69f9232b1a15.pngimage.png.48124043537d18b7141741eec9745a12.png

  • Like 1
Happy2Play
Posted

So if you drag and drop the file into your browser does it play?  But not seeing an issue either.

image.png.4eb53c905786c782ff014ccdf7cb0b63.png

image.png.fd4387dc68a89d8a93101e17e34d977b.png

image.png.5a3317383bf6cf4b70eec1fcf01610dd.png

Posted

Yea try the drag and drop test. Sometimes there are certain files that are encoded in such a way that the browser audio player can't handle.

Posted

Sory for my delayed response.

Actually, here is printscreen what happend if I want to reproduce file on web browser
embyserver (1).txtffmpeg-transcode-279fa2b4-3001-4e00-a8a5-bb1d38ec366a_1.txtffmpeg-transcode-ebf960e3-c5c1-4db1-a2f7-a56cfeb757ee_1.txtimage.thumb.png.456edffb784086f99e41687a1ba900da.png

 

The same playback error I am getting both from EDGE and Firefox. 

Here included LOG files... I am sure that this few log files would be enough.

 

Posted
4 hours ago, Happy2Play said:

So if you drag and drop the file into your browser does it play?  But not seeing an issue either.

image.png.4eb53c905786c782ff014ccdf7cb0b63.png

 

It works if I drag and drop file into the browser - exactly as you showed on your printscreen.

 

4 hours ago, Happy2Play said:

image.png.fd4387dc68a89d8a93101e17e34d977b.png

image.png.5a3317383bf6cf4b70eec1fcf01610dd.png

 

  • Like 1
Happy2Play
Posted
1 minute ago, Samardzic said:

The same playback error I am getting both from EDGE and Firefox. 

Did you try the drag and drop into Browser itself?  The test file plays in Edge Version 128.0.2739.22 and Firefox v129.0.1.

 

But suggest media is not probed to show media info as there is no streams or formats in ffmpeg log.  So Emby has no idea how to play it.  @Lukewill have to comment further as Emby ffprobe on this Windows setup does no like the file.  But my same Windows had no issue.

Quote

{"Protocol":"File","Id":"009e8bfc40c168bd0c99c0c8eaa2b22d","Path":"F:\\OD\\OneDrive\\Music\\Digital Classical\\CAPRICCIO 5446 -  Josef Labor - Clarinet Trio - Cello Sonata\\01.01_-_Trio_No._1_for_Clarinet,_Cello_and_Piano_Left_Hand_in_E_Minor;_I._Allegro_comodo.flac","Type":"Default","Container":"flac","Size":0,"Name":"01.01_-_Trio_No._1_for_Clarinet,_Cello_and_Piano_Left_Hand_in_E_Minor;_I._Allegro_comodo","IsRemote":false,"HasMixedProtocols":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[],"Formats":[],"RequiredHttpHeaders":{},"AddApiKeyToDirectStreamUrl":false,"ReadAtNativeFramerate":false,"ItemId":"26051"}

 

2024-08-15 08:52:18.836 Error App: Error in ffprobe
	*** Error Report ***
	Version: 4.8.8.0
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll -service
	Operating system: Microsoft Windows 10.0.19045
	Framework: .NET 6.0.30
	OS/Process: x64/x64
	Runtime: C:/Users/Administrator/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
	Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: ffprobe failed - streams and format are both null: -i file:"F:\OD\OneDrive\Music\Digital Classical\CAPRICCIO 5446 -  Josef Labor - Clarinet Trio - Cello Sonata\01.01_-_Trio_No._1_for_Clarinet,_Cello_and_Piano_Left_Hand_in_E_Minor;_I._Allegro_comodo.flac" -threads 0 -v info -print_format json -show_streams -show_format
ffprobe version 5.1-emby_2023_06_25 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
	  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
	file:F:\OD\OneDrive\Music\Digital Classical\CAPRICCIO 5446 -  Josef Labor - Clarinet Trio - Cello Sonata\01.01_-_Trio_No._1_for_Clarinet,_Cello_and_Piano_Left_Hand_in_E_Minor;_I._Allegro_comodo.flac: Invalid argument
	
	
{
	
	}
	

	   at Emby.Server.MediaEncoding.Probing.MediaProbeManager.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, String userAgent, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean hasMixedProtocols, CancellationToken cancellationToken)
	   at Emby.Providers.MediaInfo.FFProbeAudioInfo.Probe[T](MetadataResult`1 metadataResult, MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken)
	   at Emby.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, MetadataResult`1 itemResult, String logName, MetadataRefreshOptions options, LibraryOptions libraryOptions, RefreshResult refreshResult, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()

I guess a side not does the same thing happen if you do not run Emby as a Service?

Posted
2 minutes ago, Happy2Play said:

Did you try the drag and drop into Browser itself?  The test file plays in Edge Version 128.0.2739.22 and Firefox v129.0.1.

 

But suggest media is not probed to show media info as there is no streams or formats in ffmpeg log.  So Emby has no idea how to play it.  @Lukewill have to comment further as Emby ffprobe on this Windows setup does no like the file.  But my same Windows had no issue.

 

2024-08-15 08:52:18.836 Error App: Error in ffprobe
	*** Error Report ***
	Version: 4.8.8.0
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll -service
	Operating system: Microsoft Windows 10.0.19045
	Framework: .NET 6.0.30
	OS/Process: x64/x64
	Runtime: C:/Users/Administrator/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 4
	Data path: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
	Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: ffprobe failed - streams and format are both null: -i file:"F:\OD\OneDrive\Music\Digital Classical\CAPRICCIO 5446 -  Josef Labor - Clarinet Trio - Cello Sonata\01.01_-_Trio_No._1_for_Clarinet,_Cello_and_Piano_Left_Hand_in_E_Minor;_I._Allegro_comodo.flac" -threads 0 -v info -print_format json -show_streams -show_format
ffprobe version 5.1-emby_2023_06_25 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
	  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
	file:F:\OD\OneDrive\Music\Digital Classical\CAPRICCIO 5446 -  Josef Labor - Clarinet Trio - Cello Sonata\01.01_-_Trio_No._1_for_Clarinet,_Cello_and_Piano_Left_Hand_in_E_Minor;_I._Allegro_comodo.flac: Invalid argument
	
	
{
	
	}
	

	   at Emby.Server.MediaEncoding.Probing.MediaProbeManager.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, String userAgent, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean hasMixedProtocols, CancellationToken cancellationToken)
	   at Emby.Providers.MediaInfo.FFProbeAudioInfo.Probe[T](MetadataResult`1 metadataResult, MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken)
	   at Emby.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, MetadataResult`1 itemResult, String logName, MetadataRefreshOptions options, LibraryOptions libraryOptions, RefreshResult refreshResult, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()

I guess a side not does the same thing happen if you do not run Emby as a Service?

I tired drag and drop into EDGE or Firefox and it works fine.

If you want, i can make "guest" account on my Emby server so you can try to connect and see alive what is going on.

Happy2Play
Posted
Just now, Samardzic said:

I tired drag and drop into EDGE or Firefox and it works fine.

If you want, i can make "guest" account on my Emby server so you can try to connect and see alive what is going on.

I saw you post at the same time I did.  I think the devs will have to comment as ffprobe is failing you your setup.  Can you test not running Emby as a Service and launch the app regularly to see if it is a service issue?

Posted

I see in that JSON that it reports the size as 0. What metadata is shown for the item when viewing the item detail page? Are there any NFOs in the folder that contains the item and/or do you save NFOs alongside the media?

Posted

Very strange!

 

Now, the files were synchronized newly and all songs works properly!!!!!!!!!

Sorry for the incorrect alarm.

Thank you for your attempts to help me solving the problem

 

Anyhow, you are welcome to login (in next 1 hour) on next site:

http://178.221.122.196:8096

user: luke
pass: luke-test

Choose folder image.png.657337beed957e77e31bd8f2665ded1a.png and try.

 

Posted

Just to inform you I did access and tried to play the first item and the folder with both play and shuffle so I concur that it's working now. My only guess is the metadata was not correct and it got refreshed. :) I figured I could answer my own question about the media info that way but I wouldn't know if it was updated or not.

  • Solution
Posted

After all... I believe that problem was in file synchronisation.

i am keeping all files in OneDrive (for safety reason), and synchronizing with Emby server machine once I upload something to One Drive. Most likely, synchronization was not performed fully and this was triggering such Error message.

 

Sorry for inconvenience and thank you all!

Happy2Play
Posted

All appear to play fine now.  Was going to suggest checking media info in Emby

If you go to the album in Emby and right click on the track and click the super secret info button at top right, what shows for media info?

image.thumb.png.9f782a13fa48fad524fb355adcea68bc.png

Happy2Play
Posted (edited)

In the end if media does not show media info in Emby is can not be played and will show "no compatible streams" do to lack of information at the time.

Edited by Happy2Play
Posted
2 minutes ago, Happy2Play said:

All appear to play fine now.  Was going to suggest checking media info in Emby

If you go to the album in Emby and right click on the track and click the super secret info button at top right, what shows for media info?

image.thumb.png.9f782a13fa48fad524fb355adcea68bc.png

This is what I see as info:

image.thumb.png.5bc6314ba415317bd3e785390624755e.png

Happy2Play
Posted (edited)

Yes I will assume you will see a ffprobe success in your server log track where previously it failed.

Edited by Happy2Play

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