yermak 1 Posted January 7, 2019 Posted January 7, 2019 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). For files with single video stream (as it should be normally) 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.
Luke 39306 Posted January 8, 2019 Posted January 8, 2019 Hi there, can you provide one of these files for testing? thanks.
yermak 1 Posted January 8, 2019 Author Posted January 8, 2019 I will create smaller version and share the link. BTW, found source code, so more likely will debug myself first.
Happy2Play 9289 Posted January 8, 2019 Posted January 8, 2019 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?
Luke 39306 Posted January 8, 2019 Posted January 8, 2019 If you could provide a sample file that would be great, thanks.
yermak 1 Posted January 9, 2019 Author Posted January 9, 2019 (edited) 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 Manually added second art work in iTunes: https://1drv.ms/u/s!AncoxEzWDhSOjewKz_2pH4p0-Tvu5w Manually removed first art work: https://1drv.ms/u/s!AncoxEzWDhSOjewLAjWkyYzle3vG-Q Please note for original file imeage ifno is not even displayed. Edited January 9, 2019 by yermak
yermak 1 Posted January 10, 2019 Author Posted January 10, 2019 Luke, thank you! As I understand there is ongoing work on improvement of Books type atm. Are those improvements included in current Beta?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now