Jump to content

Art Work is not displayed in Audiobooks (m4b)


yermak

Recommended Posts

Version 3.5.3.0

OS: Ubuntu 18.04.1 LTS hosted in Hyper-V

 

I created audiobook library using Books type for NFS mounted directory with books in m4b format. (NFS is shared from ReadyNas)

Books are displayed and i'm able to play them via Chrome and IOS app.

 

ArtWork (visible in iTunes) is not displayed for most of the m4b: niether in chrome nor in IOS app.

The only ArtWork is visible is when m4b has more then 1 video stream, which is used for ArtWork. (Those were actually created by mistake).

 

5c33cb7d8749b_Artyes.png

 

 

For files with single video stream (as it should be normally)

 

5c33cc099860d_artno.png

 

This is confirmed by multiple sample, all audiobooks with 2 and more posters are visible, with one regardless if it's mjpeg or png stream are not visible.

I tried to do full rescan of the library - no result.

 

P.S. Sorry, my audiobooks in Russian, not sure if it causes an issue.

Link to comment
Share on other sites

Happy2Play

On the beta we get an extraction error.

2019-01-08 02:07:52.975 Debug App: Running AudioImageProvider for C:\Users\Media\Desktop\Videos\AudioBooks\Gene Wolfe\The Wizard Knight Series\The Wizard The Wizard Knight Series, Book Two\The Wizard The Wizard Knight Series, Book Two.m4b
2019-01-08 02:07:52.986 Debug MediaEncoder: Ffmpeg -i file:"C:\Users\Media\Desktop\Videos\AudioBooks\Gene Wolfe\The Wizard Knight Series\The Wizard The Wizard Knight Series, Book Two\The Wizard The Wizard Knight Series, Book Two.m4b" -map 0:v:1 -threads 0 -v quiet -vframes 1 -vf "scale=600:trunc(ow/a/2)*2" -f image2 "C:\Users\Media\AppData\Roaming\Emby-Server\programdata\cache\temp\c20234d0-e1e4-4f07-8d96-f8b4affd065b.jpg"
2019-01-08 02:07:52.986 Info MediaEncoder: ProcessRun 'ffmpgeg extract-image' Execute: C:\Users\Media\AppData\Roaming\Emby-Server\system\ffmpeg.exe -i file:"C:\Users\Media\Desktop\Videos\AudioBooks\Gene Wolfe\The Wizard Knight Series\The Wizard The Wizard Knight Series, Book Two\The Wizard The Wizard Knight Series, Book Two.m4b" -map 0:v:1 -threads 0 -v quiet -vframes 1 -vf "scale=600:trunc(ow/a/2)*2" -f image2 "C:\Users\Media\AppData\Roaming\Emby-Server\programdata\cache\temp\c20234d0-e1e4-4f07-8d96-f8b4affd065b.jpg"
2019-01-08 02:07:52.991 Info MediaEncoder: ProcessRun 'ffmpgeg extract-image' Started.
2019-01-08 02:07:53.167 Info MediaEncoder: ProcessRun 'ffmpgeg extract-image' Process exited with code 1
2019-01-08 02:07:53.169 Error MediaEncoder: ffmpeg image extraction failed for file:"C:\Users\Media\Desktop\Videos\AudioBooks\Gene Wolfe\The Wizard Knight Series\The Wizard The Wizard Knight Series, Book Two\The Wizard The Wizard Knight Series, Book Two.m4b" (output file not found)
2019-01-08 02:07:53.172 Error App: Error in Image Extractor
	*** Error Report ***
	Version: 3.6.0.84
	Command line: C:\Users\Media\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: C:\Users\Media\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\Media\AppData\Roaming\Emby-Server\system
	System.Exception: System.Exception: ffmpeg image extraction failed for file:"C:\Users\Media\Desktop\Videos\AudioBooks\Gene Wolfe\The Wizard Knight Series\The Wizard The Wizard Knight Series, Book Two\The Wizard The Wizard Knight Series, Book Two.m4b" (output file not found)
	   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.ExtractImageInternal(String inputPath, String container, MediaStream videoStream, Nullable`1 imageStreamIndex, Nullable`1 threedFormat, Nullable`1 offset, Boolean useIFrame, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.ExtractImage(String inputPath, String container, MediaStream videoStream, Nullable`1 imageStreamIndex, MediaProtocol protocol, Boolean isAudio, Nullable`1 threedFormat, Nullable`1 offset, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.MediaInfo.AudioImageProvider.GetImage(Audio item, List`1 imageStreams, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.ItemImageProvider.RefreshFromProvider(BaseItem item, IDynamicImageProvider provider, ImageRefreshOptions refreshOptions, TypeOptions savedOptions, LibraryOptions libraryOptions, ICollection`1 downloadedImages, RefreshResult result, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()
	   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.ExtractImageInternal(String inputPath, String container, MediaStream videoStream, Nullable`1 imageStreamIndex, Nullable`1 threedFormat, Nullable`1 offset, Boolean useIFrame, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Encoder.MediaEncoder.ExtractImage(String inputPath, String container, MediaStream videoStream, Nullable`1 imageStreamIndex, MediaProtocol protocol, Boolean isAudio, Nullable`1 threedFormat, Nullable`1 offset, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.MediaInfo.AudioImageProvider.GetImage(Audio item, List`1 imageStreams, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.ItemImageProvider.RefreshFromProvider(BaseItem item, IDynamicImageProvider provider, ImageRefreshOptions refreshOptions, TypeOptions savedOptions, LibraryOptions libraryOptions, ICollection`1 downloadedImages, RefreshResult result, CancellationToken cancellationToken)
	

@@yermak are you seeing the same error on you stable version log?

Link to comment
Share on other sites

Hi Luke,

 

Please find few samples (books are in public domain):

Test is created for Books type

 

Original file: 

https://archive.org/download/5storiesbymackreynolds_1410_librivox/5storiesbymackreynolds_1410_librivox.m4b

5c35adeca24ec_Annotation20190109081604.j

 

 

Manually added second art work in iTunes:

https://1drv.ms/u/s!AncoxEzWDhSOjewKz_2pH4p0-Tvu5w

5c35ae1636c22_Annotation20190109081706.j

 

 

Manually removed first art work:

https://1drv.ms/u/s!AncoxEzWDhSOjewLAjWkyYzle3vG-Q

 

5c35ae52ac8d8_Annotation20190109081811.j

 

 

Please note for original file imeage ifno is not even displayed.

Edited by yermak
Link to comment
Share on other sites

Luke,

thank you!

 

As I understand there is ongoing work on improvement of Books type atm.

Are those improvements included in current Beta?

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