Jump to content


Photo

Art Work is not displayed in Audiobooks (m4b)

m4b audiobook artwork

  • Please log in to reply
8 replies to this topic

#1 yermak OFFLINE  

yermak

    Member

  • Members
  • 19 posts
  • Local time: 01:14 AM

Posted 07 January 2019 - 06:04 PM

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.



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 126619 posts
  • Local time: 09:14 PM

Posted 08 January 2019 - 01:53 AM

Hi there, can you provide one of these files for testing? thanks.



#3 yermak OFFLINE  

yermak

    Member

  • Members
  • 19 posts
  • Local time: 01:14 AM

Posted 08 January 2019 - 04:27 AM

I will create smaller version and share the link.

BTW, found source code, so more likely will debug myself first.



#4 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 14051 posts
  • Local time: 06:14 PM
  • LocationWashington State

Posted 08 January 2019 - 06:12 AM

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?



#5 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 126619 posts
  • Local time: 09:14 PM

Posted 08 January 2019 - 02:07 PM

If you could provide a sample file that would be great, thanks.

#6 yermak OFFLINE  

yermak

    Member

  • Members
  • 19 posts
  • Local time: 01:14 AM

Posted 09 January 2019 - 04:19 AM

Hi Luke,

 

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

Test is created for Books type

 

Original file: 

https://archive.org/...10_librivox.m4b

5c35adeca24ec_Annotation20190109081604.j

 

 

Manually added second art work in iTunes:

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

5c35ae1636c22_Annotation20190109081706.j

 

 

Manually removed first art work:

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

 

5c35ae52ac8d8_Annotation20190109081811.j

 

 

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


Edited by yermak, 09 January 2019 - 04:25 AM.


#7 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 126619 posts
  • Local time: 09:14 PM

Posted 10 January 2019 - 02:07 AM

Great, thanks, we're looking into this.



#8 yermak OFFLINE  

yermak

    Member

  • Members
  • 19 posts
  • Local time: 01:14 AM

Posted 10 January 2019 - 06:52 AM

Luke,

thank you!

 

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

Are those improvements included in current Beta?



#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 126619 posts
  • Local time: 09:14 PM

Posted 10 January 2019 - 12:50 PM

Yes they are.







Also tagged with one or more of these keywords: m4b, audiobook, artwork

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users