Jump to content

Emby doesn't display WebP images embeded in mp3/m4a/m4b files


Recommended Posts

Pitchblack
Posted

Hello,


I'll start with my server information:

Emby 4.9.0.21 beta (latest beta at this time)

Running on Linux in a Docker Container.


 

I have noticed for a while now that WEBP is a supported format for artwork... some of my audiobook cover images are in "webp" format and show up in Emby correctly (see 1 and 3).

That is fine.

 

The issue is with covers embedded inside the .mp3/.m4a/.m4b file(s) that usually are the formats used for audiobooks.

When I add a cover to a file using the software mp3tag, the image shows up, be it jpeg, png, webp, etc... (see 2)

When the image embedded in the audio file is a JPEG or PNG, it appears in Emby correctly as well.

When the image embedded in the audio file is a WEBP, it shows up as having no image in Emby (see 4 and 5).

 

I don't understand how WEBP is supported but somehow cannot be extracted from the audio files as JPG and PNG are.


If you take a different audiobook that is also a M4B file but has a JPG image, this one is detected by Emby. (see 6)

 

 

Is there are reason behind this behaviour? Bug?

Thank you!

 

-Pitchblack



Here are the visual references:
 

1.
image.png.242af12fa1d13fe24675b2d1782b889c.png



2.

image.thumb.png.16661c92177237dd6a3037cfd83efea4.png



3.

image.png.0aa9073ac37f4c2f3e1ed56ba87f4d4e.png



4.
image.png.844d10c24d4b5fb5b1917b8690a636e9.png



5.
image.png.d8b88412217978f1dc80aa3ffce4e3f5.png



6.
image.png.f433b4592b82b5ff861e5ae3137d229e.png

Posted

Hi, please attach the emby server log from when it was imported. Thanks.

Pitchblack
Posted (edited)

Hi,
It was imported a while back so I removed it from the library, ran a library scan so that Emby deletes it from the DB, then re-added it to the library and ran a second scan.

 

attached is the server logs.

 

server.txt

Edited by Pitchblack
Pitchblack
Posted
On 5/24/2024 at 1:38 AM, Luke said:

Hi, please attach the emby server log from when it was imported. Thanks.

Hi,
done

Posted

Hi, what image fetchers are enabled on the library, and in what order?

Pitchblack
Posted (edited)
15 minutes ago, Luke said:

Hi, what image fetchers are enabled on the library, and in what order?

Hi,

The only image fetcher enabled is "embedded images" in the "song image fetchers" section.

I only depend on embedded images 

 

Edited by Pitchblack
Posted

I can't see any reason why that wouldn't extract an image unless it's just not enabled on the library.

can you provide a sample track for testing? Thanks.

Happy2Play
Posted

Not seeing an issue testing here Book shows image but internal tracks/chaptesr do not.

Quote

2024-05-28 16:05:13.272 Debug ImageProcessor: Image encoding using Skia to C:\Users\Media\AppData\Roaming\Emby-Server\programdata\cache\temp\00f14265409b4cbba6d3f6da602fb2e6.webp took 21ms for E:\Media\AudioBooks\Stephen King\You Like It Darker\cover.webp. Now moving to C:\Users\Media\AppData\Roaming\Emby-Server\programdata\cache\images\resized-images\a\abbcaa24-59ad-6ef6-7867-4b89b913d424.webp

image.thumb.png.c736a3185e63e2be161919b07e9af702.png

But your log clearly shows your image being used

Quote

2024-05-24 09:49:10.472 Info ProviderManager: Caching file from /mnt/emby/emby-b/fiction/Kitty Cat Kill Sat/cover.webp to /config/metadata/library/b3/b3b19aab17100d6dc987dfe776b961da/imagecache/cover.webp

May need to see the results from ffprobe on the media.

/bin/ffprobe -i file:"/mnt/emby/emby-b/fiction/Kitty Cat Kill Sat/Kitty Cat Kill Sat.m4b" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format

 

My test

Spoiler

C:\Users\Media>C:\Users\Media\AppData\Roaming\Emby-Server\system\ffprobe.exe -i file:"E:\Media\AudioBooks\Stephen King\You Like It Darker\Stephen King - You Like It Darker .m4b" -threads 0 -v info -print_format json -show_streams -show_chapters -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)
{
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000022d50064e00] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:E:\Media\AudioBooks\Stephen King\You Like It Darker\Stephen King - You Like It Darker .m4b':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isom
    creation_time   : 2024-05-21T09:00:16.000000Z
    gapless_playback: 1
    description     : From legendary storyteller and master of short fiction Stephen King comes an extraordinary new collection of twelve short stories, many never-before-published, and some of his best EVER. \u201CYou like it darker? Fine, so do I,\u201D writes Stephen King i
    genre           : Literature & Fiction
    media_type      : 2
    date            : 2024
    WWWAUDIOFILE    : https://www.audible.com/pd/You-Like-It-Darker-Audiobook/B0CMF7YJL9?ipRedirectOverride=true&overrideBaseCountry
    TMP_GENRE1      : Literature & Fiction
    title           : You Like it Darker
    RELEASETIME     : 2024
    RATING WMP      : 0.2
    album           : You Like It Darker
    comment         : From legendary storyteller and master of short fiction Stephen King comes an extraordinary new collection of twelve short stories, many never-before-published, and some of his best EVER. \u201CYou like it darker? Fine, so do I,\u201D writes Stephen King i
    ASIN            : B0CMF7YJL9
    artist          : Stephen King; Will Patton
    sort_album      : You Like It Darker
    album_artist    : Stephen King
    composer        :
  Duration: 20:12:26.91, start: 0.000000, bitrate: 60 kb/s
  Stream #0:0[0x1](eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 58 kb/s (default)
    Metadata:
      creation_time   : 2024-05-21T09:00:16.000000Z
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](und): Data: bin_data (text / 0x74786574)
    Metadata:
      creation_time   : 2024-05-21T09:00:17.000000Z
  Stream #0:2[0x0]: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 500x500, 90k tbr, 90k tbn (attached pic)

 

Pitchblack
Posted
19 minutes ago, Happy2Play said:

Not seeing an issue testing here Book shows image but internal tracks/chaptesr do not.

image.thumb.png.c736a3185e63e2be161919b07e9af702.png

But your log clearly shows your image being used

May need to see the results from ffprobe on the media.

/bin/ffprobe -i file:"/mnt/emby/emby-b/fiction/Kitty Cat Kill Sat/Kitty Cat Kill Sat.m4b" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format

 

My test

  Hide contents

C:\Users\Media>C:\Users\Media\AppData\Roaming\Emby-Server\system\ffprobe.exe -i file:"E:\Media\AudioBooks\Stephen King\You Like It Darker\Stephen King - You Like It Darker .m4b" -threads 0 -v info -print_format json -show_streams -show_chapters -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)
{
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000022d50064e00] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:E:\Media\AudioBooks\Stephen King\You Like It Darker\Stephen King - You Like It Darker .m4b':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isom
    creation_time   : 2024-05-21T09:00:16.000000Z
    gapless_playback: 1
    description     : From legendary storyteller and master of short fiction Stephen King comes an extraordinary new collection of twelve short stories, many never-before-published, and some of his best EVER. \u201CYou like it darker? Fine, so do I,\u201D writes Stephen King i
    genre           : Literature & Fiction
    media_type      : 2
    date            : 2024
    WWWAUDIOFILE    : https://www.audible.com/pd/You-Like-It-Darker-Audiobook/B0CMF7YJL9?ipRedirectOverride=true&overrideBaseCountry
    TMP_GENRE1      : Literature & Fiction
    title           : You Like it Darker
    RELEASETIME     : 2024
    RATING WMP      : 0.2
    album           : You Like It Darker
    comment         : From legendary storyteller and master of short fiction Stephen King comes an extraordinary new collection of twelve short stories, many never-before-published, and some of his best EVER. \u201CYou like it darker? Fine, so do I,\u201D writes Stephen King i
    ASIN            : B0CMF7YJL9
    artist          : Stephen King; Will Patton
    sort_album      : You Like It Darker
    album_artist    : Stephen King
    composer        :
  Duration: 20:12:26.91, start: 0.000000, bitrate: 60 kb/s
  Stream #0:0[0x1](eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 58 kb/s (default)
    Metadata:
      creation_time   : 2024-05-21T09:00:16.000000Z
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](und): Data: bin_data (text / 0x74786574)
    Metadata:
      creation_time   : 2024-05-21T09:00:17.000000Z
  Stream #0:2[0x0]: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 500x500, 90k tbr, 90k tbn (attached pic)

 

Yes, the cover.webp on the filesystem is used for the cover image in the library and that works, but the embedded image is not being retrieved for the actual media media file in the library ONLY when it's a WEBP format... embedded JPEG and PNG have no issues.

also, I can't help but notice that the image stream in your example is a JPG (mjpeg) and not a WEBP.

I will try the ffprobe command and report back.

Pitchblack
Posted

It would seem that the compiled ffprobe version for emby doesn't support WEBP format.

 

/ # /bin/ffprobe -i file:"/mnt/emby/emby-b/fiction/Kitty Cat Kill Sat/Kitty Cat Kill Sat.m4b" -threads 0 -v info -print_
format json -show_streams -show_chapters -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 10.3.0 (crosstool-NG 1.25.0)
{
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xfe9d40] Unknown cover type: 0x0.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:/mnt/emby/emby-b/fiction/Kitty Cat Kill Sat/Kitty Cat Kill Sat.m4b':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: iso2mp41M4A M4B
    creation_time   : 2023-05-30T20:16:51.000000Z
    date            : 2023
    comment         : End Credits
    disc            : 1
    title           : Kitty Cat Kill Sat
    composer        : Argus
    artist          : Argus
    album_artist    : Argus; Eva Kaminsky (Narrator)
    album           : Kitty Cat Kill Sat, Book 1
  Duration: 19:37:20.02, start: 0.000000, bitrate: 127 kb/s
  Stream #0:0[0x1](eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
    Metadata:
      creation_time   : 2023-05-30T20:16:51.000000Z
      handler_name    : ?Apple Sound Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:1[0x2](eng): Data: bin_data (text / 0x74786574) (default)
    Metadata:
      creation_time   : 2023-05-30T20:16:51.000000Z
      handler_name    : ?Apple Text Media Handler
Unsupported codec with id 98314 for input stream 1
    "streams": [
        {
            "index": 0,
            "codec_name": "aac",
            "codec_long_name": "AAC (Advanced Audio Coding)",
            "profile": "LC",
            "codec_type": "audio",
            "codec_tag_string": "mp4a",
            "codec_tag": "0x6134706d",
            "sample_fmt": "fltp",
            "sample_rate": "44100",
            "channels": 2,
            "channel_layout": "stereo",
            "bits_per_sample": 0,
            "id": "0x1",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/44100",
            "start_pts": 0,
            "start_time": "0.000000",
            "duration_ts": 3115223412,
            "duration": "70639.986667",
            "bit_rate": "125588",
            "nb_frames": "3042212",
            "extradata_size": 2,
            "disposition": {
                "default": 1,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0,
                "timed_thumbnails": 0,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "creation_time": "2023-05-30T20:16:51.000000Z",
                "language": "eng",
                "handler_name": "\u0019Apple Sound Media Handler",
                "vendor_id": "[0][0][0][0]"
            }
        },
        {
            "index": 1,
            "codec_name": "bin_data",
            "codec_long_name": "binary data",
            "codec_type": "data",
            "codec_tag_string": "text",
            "codec_tag": "0x74786574",
            "id": "0x2",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/44100",
            "start_pts": 0,
            "start_time": "0.000000",
            "duration_ts": 3115223412,
            "duration": "70639.986667",
            "nb_frames": "66",
            "extradata_size": 43,
            "disposition": {
                "default": 1,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0,
                "timed_thumbnails": 0,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "creation_time": "2023-05-30T20:16:51.000000Z",
                "language": "eng",
                "handler_name": "\u0018Apple Text Media Handler"
            }
        }
    ],
    "chapters": [
        {
            "id": 0,
            "time_base": "1/44100",
            "start": 0,
            "start_time": "0.000000",
            "end": 613254,
            "end_time": "13.905986",
            "tags": {
                "title": "Opening Credits"
            }
        },
        {
            "id": 1,
            "time_base": "1/44100",
            "start": 613254,
            "start_time": "13.905986",
            "end": 50537408,
            "end_time": "1145.972971",
            "tags": {
                "title": "Chapter 1"
            }
        },
        {
            "id": 2,
            "time_base": "1/44100",
            "start": 50537408,
            "start_time": "1145.972971",
            "end": 99976109,
            "end_time": "2267.031950",
            "tags": {
                "title": "Chapter 2"
            }
        },
        {
            "id": 3,
            "time_base": "1/44100",
            "start": 99976109,
            "start_time": "2267.031950",
            "end": 150057877,
            "end_time": "3402.672948",
            "tags": {
                "title": "Chapter 3"
            }
        },
        {
            "id": 4,
            "time_base": "1/44100",
            "start": 150057877,
            "start_time": "3402.672948",
            "end": 185233315,
            "end_time": "4200.301927",
            "tags": {
                "title": "Chapter 4"
            }
        },
        {
            "id": 5,
            "time_base": "1/44100",
            "start": 185233315,
            "start_time": "4200.301927",
            "end": 224537484,
            "end_time": "5091.552925",
            "tags": {
                "title": "Chapter 5"
            }
        },
        {
            "id": 6,
            "time_base": "1/44100",
            "start": 224537484,
            "start_time": "5091.552925",
            "end": 267137863,
            "end_time": "6057.547914",
            "tags": {
                "title": "Chapter 6"
            }
        },
        {
            "id": 7,
            "time_base": "1/44100",
            "start": 267137863,
            "start_time": "6057.547914",
            "end": 334461760,
            "end_time": "7584.166893",
            "tags": {
                "title": "Chapter 7"
            }
        },
        {
            "id": 8,
            "time_base": "1/44100",
            "start": 334461760,
            "start_time": "7584.166893",
            "end": 377940787,
            "end_time": "8570.085873",
            "tags": {
                "title": "Chapter 8"
            }
        },
        {
            "id": 9,
            "time_base": "1/44100",
            "start": 377940787,
            "start_time": "8570.085873",
            "end": 431571767,
            "end_time": "9786.207868",
            "tags": {
                "title": "Chapter 9"
            }
        },
        {
            "id": 10,
            "time_base": "1/44100",
            "start": 431571767,
            "start_time": "9786.207868",
            "end": 477637392,
            "end_time": "10830.779864",
            "tags": {
                "title": "Chapter 10"
            }
        },
        {
            "id": 11,
            "time_base": "1/44100",
            "start": 477637392,
            "start_time": "10830.779864",
            "end": 522346236,
            "end_time": "11844.585850",
            "tags": {
                "title": "Chapter 11"
            }
        },
        {
            "id": 12,
            "time_base": "1/44100",
            "start": 522346236,
            "start_time": "11844.585850",
            "end": 571103945,
            "end_time": "12950.202834",
            "tags": {
                "title": "Chapter 12"
            }
        },
        {
            "id": 13,
            "time_base": "1/44100",
            "start": 571103945,
            "start_time": "12950.202834",
            "end": 621634254,
            "end_time": "14096.014830",
            "tags": {
                "title": "Chapter 13"
            }
        },
        {
            "id": 14,
            "time_base": "1/44100",
            "start": 621634254,
            "start_time": "14096.014830",
            "end": 669474463,
            "end_time": "15180.826825",
            "tags": {
                "title": "Chapter 14"
            }
        },
        {
            "id": 15,
            "time_base": "1/44100",
            "start": 669474463,
            "start_time": "15180.826825",
            "end": 717088395,
            "end_time": "16260.507823",
            "tags": {
                "title": "Chapter 15"
            }
        },
        {
            "id": 16,
            "time_base": "1/44100",
            "start": 717088395,
            "start_time": "16260.507823",
            "end": 761659030,
            "end_time": "17271.179819",
            "tags": {
                "title": "Chapter 16"
            }
        },
        {
            "id": 17,
            "time_base": "1/44100",
            "start": 761659030,
            "start_time": "17271.179819",
            "end": 808986223,
            "end_time": "18344.358798",
            "tags": {
                "title": "Chapter 17"
            }
        },
        {
            "id": 18,
            "time_base": "1/44100",
            "start": 808986223,
            "start_time": "18344.358798",
            "end": 884176458,
            "end_time": "20049.352789",
            "tags": {
                "title": "Chapter 18"
            }
        },
        {
            "id": 19,
            "time_base": "1/44100",
            "start": 884176458,
            "start_time": "20049.352789",
            "end": 937385489,
            "end_time": "21255.906780",
            "tags": {
                "title": "Chapter 19"
            }
        },
        {
            "id": 20,
            "time_base": "1/44100",
            "start": 937385489,
            "start_time": "21255.906780",
            "end": 982569511,
            "end_time": "22280.487778",
            "tags": {
                "title": "Chapter 20"
            }
        },
        {
            "id": 21,
            "time_base": "1/44100",
            "start": 982569511,
            "start_time": "22280.487778",
            "end": 1054521836,
            "end_time": "23912.059773",
            "tags": {
                "title": "Chapter 21"
            }
        },
        {
            "id": 22,
            "time_base": "1/44100",
            "start": 1054521836,
            "start_time": "23912.059773",
            "end": 1090140656,
            "end_time": "24719.742766",
            "tags": {
                "title": "Chapter 22"
            }
        },
        {
            "id": 23,
            "time_base": "1/44100",
            "start": 1090140656,
            "start_time": "24719.742766",
            "end": 1158630866,
            "end_time": "26272.808753",
            "tags": {
                "title": "Chapter 23"
            }
        },
        {
            "id": 24,
            "time_base": "1/44100",
            "start": 1158630866,
            "start_time": "26272.808753",
            "end": 1212703154,
            "end_time": "27498.937732",
            "tags": {
                "title": "Chapter 24"
            }
        },
        {
            "id": 25,
            "time_base": "1/44100",
            "start": 1212703154,
            "start_time": "27498.937732",
            "end": 1255785855,
            "end_time": "28475.869728",
            "tags": {
                "title": "Chapter 25"
            }
        },
        {
            "id": 26,
            "time_base": "1/44100",
            "start": 1255785855,
            "start_time": "28475.869728",
            "end": 1311482258,
            "end_time": "29738.826712",
            "tags": {
                "title": "Chapter 26"
            }
        },
        {
            "id": 27,
            "time_base": "1/44100",
            "start": 1311482258,
            "start_time": "29738.826712",
            "end": 1349798234,
            "end_time": "30607.669705",
            "tags": {
                "title": "Chapter 27"
            }
        },
        {
            "id": 28,
            "time_base": "1/44100",
            "start": 1349798234,
            "start_time": "30607.669705",
            "end": 1396438349,
            "end_time": "31665.268685",
            "tags": {
                "title": "Chapter 28"
            }
        },
        {
            "id": 29,
            "time_base": "1/44100",
            "start": 1396438349,
            "start_time": "31665.268685",
            "end": 1450060112,
            "end_time": "32881.181678",
            "tags": {
                "title": "Chapter 29"
            }
        },
        {
            "id": 30,
            "time_base": "1/44100",
            "start": 1450060112,
            "start_time": "32881.181678",
            "end": 1514656072,
            "end_time": "34345.942676",
            "tags": {
                "title": "Chapter 30"
            }
        },
        {
            "id": 31,
            "time_base": "1/44100",
            "start": 1514656072,
            "start_time": "34345.942676",
            "end": 1559377176,
            "end_time": "35360.026667",
            "tags": {
                "title": "Chapter 31"
            }
        },
        {
            "id": 32,
            "time_base": "1/44100",
            "start": 1559377176,
            "start_time": "35360.026667",
            "end": 1608618265,
            "end_time": "36476.604649",
            "tags": {
                "title": "Chapter 32"
            }
        },
        {
            "id": 33,
            "time_base": "1/44100",
            "start": 1608618265,
            "start_time": "36476.604649",
            "end": 1666685220,
            "end_time": "37793.315646",
            "tags": {
                "title": "Chapter 33"
            }
        },
        {
            "id": 34,
            "time_base": "1/44100",
            "start": 1666685220,
            "start_time": "37793.315646",
            "end": 1718676738,
            "end_time": "38972.261633",
            "tags": {
                "title": "Chapter 34"
            }
        },
        {
            "id": 35,
            "time_base": "1/44100",
            "start": 1718676738,
            "start_time": "38972.261633",
            "end": 1762488544,
            "end_time": "39965.726621",
            "tags": {
                "title": "Chapter 35"
            }
        },
        {
            "id": 36,
            "time_base": "1/44100",
            "start": 1762488544,
            "start_time": "39965.726621",
            "end": 1815349405,
            "end_time": "41164.385601",
            "tags": {
                "title": "Chapter 36"
            }
        },
        {
            "id": 37,
            "time_base": "1/44100",
            "start": 1815349405,
            "start_time": "41164.385601",
            "end": 1859023002,
            "end_time": "42154.716599",
            "tags": {
                "title": "Chapter 37"
            }
        },
        {
            "id": 38,
            "time_base": "1/44100",
            "start": 1859023002,
            "start_time": "42154.716599",
            "end": 1896722592,
            "end_time": "43009.582585",
            "tags": {
                "title": "Chapter 38"
            }
        },
        {
            "id": 39,
            "time_base": "1/44100",
            "start": 1896722592,
            "start_time": "43009.582585",
            "end": 1935309959,
            "end_time": "43884.579569",
            "tags": {
                "title": "Chapter 39"
            }
        },
        {
            "id": 40,
            "time_base": "1/44100",
            "start": 1935309959,
            "start_time": "43884.579569",
            "end": 1973006418,
            "end_time": "44739.374558",
            "tags": {
                "title": "Chapter 40"
            }
        },
        {
            "id": 41,
            "time_base": "1/44100",
            "start": 1973006418,
            "start_time": "44739.374558",
            "end": 2013783130,
            "end_time": "45664.016553",
            "tags": {
                "title": "Chapter 41"
            }
        },
        {
            "id": 42,
            "time_base": "1/44100",
            "start": 2013783130,
            "start_time": "45664.016553",
            "end": 2042776675,
            "end_time": "46321.466553",
            "tags": {
                "title": "Chapter 42"
            }
        },
        {
            "id": 43,
            "time_base": "1/44100",
            "start": 2042776675,
            "start_time": "46321.466553",
            "end": 2080387139,
            "end_time": "47174.311542",
            "tags": {
                "title": "Chapter 43"
            }
        },
        {
            "id": 44,
            "time_base": "1/44100",
            "start": 2080387139,
            "start_time": "47174.311542",
            "end": 2129297434,
            "end_time": "48283.388526",
            "tags": {
                "title": "Chapter 44"
            }
        },
        {
            "id": 45,
            "time_base": "1/44100",
            "start": 2129297434,
            "start_time": "48283.388526",
            "end": 2177908731,
            "end_time": "49385.685510",
            "tags": {
                "title": "Chapter 45"
            }
        },
        {
            "id": 46,
            "time_base": "1/44100",
            "start": 2177908731,
            "start_time": "49385.685510",
            "end": 2231943138,
            "end_time": "50610.955510",
            "tags": {
                "title": "Chapter 46"
            }
        },
        {
            "id": 47,
            "time_base": "1/44100",
            "start": 2231943138,
            "start_time": "50610.955510",
            "end": 2274198479,
            "end_time": "51569.126508",
            "tags": {
                "title": "Chapter 47"
            }
        },
        {
            "id": 48,
            "time_base": "1/44100",
            "start": 2274198479,
            "start_time": "51569.126508",
            "end": 2317010847,
            "end_time": "52539.928503",
            "tags": {
                "title": "Chapter 48"
            }
        },
        {
            "id": 49,
            "time_base": "1/44100",
            "start": 2317010847,
            "start_time": "52539.928503",
            "end": 2334605203,
            "end_time": "52938.893492",
            "tags": {
                "title": "Chapter 49"
            }
        },
        {
            "id": 50,
            "time_base": "1/44100",
            "start": 2334605203,
            "start_time": "52938.893492",
            "end": 2376314762,
            "end_time": "53884.688481",
            "tags": {
                "title": "Chapter 50"
            }
        },
        {
            "id": 51,
            "time_base": "1/44100",
            "start": 2376314762,
            "start_time": "53884.688481",
            "end": 2419381102,
            "end_time": "54861.249478",
            "tags": {
                "title": "Chapter 51"
            }
        },
        {
            "id": 52,
            "time_base": "1/44100",
            "start": 2419381102,
            "start_time": "54861.249478",
            "end": 2490800963,
            "end_time": "56480.747460",
            "tags": {
                "title": "Chapter 52"
            }
        },
        {
            "id": 53,
            "time_base": "1/44100",
            "start": 2490800963,
            "start_time": "56480.747460",
            "end": 2540798720,
            "end_time": "57614.483447",
            "tags": {
                "title": "Chapter 53"
            }
        },
        {
            "id": 54,
            "time_base": "1/44100",
            "start": 2540798720,
            "start_time": "57614.483447",
            "end": 2588855019,
            "end_time": "58704.195442",
            "tags": {
                "title": "Chapter 54"
            }
        },
        {
            "id": 55,
            "time_base": "1/44100",
            "start": 2588855019,
            "start_time": "58704.195442",
            "end": 2637740795,
            "end_time": "59812.716440",
            "tags": {
                "title": "Chapter 55"
            }
        },
        {
            "id": 56,
            "time_base": "1/44100",
            "start": 2637740795,
            "start_time": "59812.716440",
            "end": 2698019541,
            "end_time": "61179.581429",
            "tags": {
                "title": "Chapter 56"
            }
        },
        {
            "id": 57,
            "time_base": "1/44100",
            "start": 2698019541,
            "start_time": "61179.581429",
            "end": 2752466591,
            "end_time": "62414.208413",
            "tags": {
                "title": "Chapter 57"
            }
        },
        {
            "id": 58,
            "time_base": "1/44100",
            "start": 2752466591,
            "start_time": "62414.208413",
            "end": 2818474677,
            "end_time": "63910.990408",
            "tags": {
                "title": "Chapter 58"
            }
        },
        {
            "id": 59,
            "time_base": "1/44100",
            "start": 2818474677,
            "start_time": "63910.990408",
            "end": 2856583824,
            "end_time": "64775.143401",
            "tags": {
                "title": "Chapter 59"
            }
        },
        {
            "id": 60,
            "time_base": "1/44100",
            "start": 2856583824,
            "start_time": "64775.143401",
            "end": 2888825422,
            "end_time": "65506.245397",
            "tags": {
                "title": "Chapter 60"
            }
        },
        {
            "id": 61,
            "time_base": "1/44100",
            "start": 2888825422,
            "start_time": "65506.245397",
            "end": 2929295947,
            "end_time": "66423.944376",
            "tags": {
                "title": "Chapter 61"
            }
        },
        {
            "id": 62,
            "time_base": "1/44100",
            "start": 2929295947,
            "start_time": "66423.944376",
            "end": 2997750348,
            "end_time": "67976.198367",
            "tags": {
                "title": "Chapter 62"
            }
        },
        {
            "id": 63,
            "time_base": "1/44100",
            "start": 2997750348,
            "start_time": "67976.198367",
            "end": 2998848041,
            "end_time": "68001.089365",
            "tags": {
                "title": "Chapter 62.5"
            }
        },
        {
            "id": 64,
            "time_base": "1/44100",
            "start": 2998848041,
            "start_time": "68001.089365",
            "end": 3112873486,
            "end_time": "70586.700363",
            "tags": {
                "title": "Finale"
            }
        },
        {
            "id": 65,
            "time_base": "1/44100",
            "start": 3112873486,
            "start_time": "70586.700363",
            "end": 3115223412,
            "end_time": "70639.986667",
            "tags": {
                "title": "End Credits"
            }
        }
    ],
    "format": {
        "filename": "file:/mnt/emby/emby-b/fiction/Kitty Cat Kill Sat/Kitty Cat Kill Sat.m4b",
        "nb_streams": 2,
        "nb_programs": 0,
        "format_name": "mov,mp4,m4a,3gp,3g2,mj2",
        "format_long_name": "QuickTime / MOV",
        "start_time": "0.000000",
        "duration": "70640.023333",
        "size": "1121901799",
        "bit_rate": "127055",
        "probe_score": 100,
        "tags": {
            "major_brand": "isom",
            "minor_version": "512",
            "compatible_brands": "iso2mp41M4A M4B ",
            "creation_time": "2023-05-30T20:16:51.000000Z",
            "date": "2023",
            "comment": "End Credits",
            "disc": "1",
            "title": "Kitty Cat Kill Sat",
            "composer": "Argus",
            "artist": "Argus",
            "album_artist": "Argus; Eva Kaminsky (Narrator)",
            "album": "Kitty Cat Kill Sat, Book 1"
        }
    }
}

 

Happy2Play
Posted
6 minutes ago, Pitchblack said:

Yes, the cover.webp on the filesystem is used for the cover image in the library and that works, but the embedded image is not being retrieved for the actual media media file in the library ONLY when it's a WEBP format... embedded JPEG and PNG have no issues.

also, I can't help but notice that the image stream in your example is a JPG (mjpeg) and not a WEBP.

I will try the ffprobe command and report back.

Guess I need to find a different image as it is the cover.webp image from the folder unless mp3tag did something when I embedded the image.

Happy2Play
Posted

But yes taking a jpg and converting it to webp and reembedding no long read the embedded image.  So yes this is currently a limitation of ffprobe. @Luke

Pitchblack
Posted

Additionally to my previous results showing that WEBP doesn't seem supported by ffprobe 5.1 (compiled for Emby), I have tried running ffprobe (ffprobe v7.0.1-full_build-www.gyan.dev Copyright (c) 2007-2024 the FFmpeg developers) from my Windows machine and it states the exact same thing.

Posted

OK i see what you're saying. It was never detected and therefore the server never attempted to extract it. therefore no error. Well the good news is that as soon as ffmpeg supports it, then we should be able to as well.

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