If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since september. Please use hippie2000@webnmail.de instead.

0
U

Property:libmediautils.so

From BoxMatrix


BoxMatrix >> Shell-Commands >> libmediautils.so @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Gallery

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Shared-Library

Goto:   Formats  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

libmediautils.so is the second generation media type detection and Thumbnail generation library.
It is the successor of libimageutils.so, which was used for the same job in early FRITZ!OS 5.x.

Besides detecting the Formats listed below libmediautils can create Thumbnails from JPG, which may also come from
Albumart. First djpeg decompresses the image, then pnmscale resizes it, then cjpeg recompresses it again.
Metadata from JPG files is gathered using rdjpgcom and libexif.so.

Since scaling and (de-)compression are CPU and memory intense an asynchronous job dispatcher queue is implemented.

See also the AVM knowledge document about the File formats supported by the media server.

Formats

libmediautils can detect audio / playlist / video / image / doc formats by File-Extensions or MIME-Types and classify them into:

audio, playlist, video, image, doc
asf, flac, gif, jpeg, mp3, mp4, mpeg, png, ts, wma, wmv

Besides this it could return the correct MIME type of detected audio / video / image formats.

File-Extensions

Firmware 7.39:

123, 3gp, 602, aac, ac3, aif, aifc, aiffc, amr, asf, avi, bmp, cgm, cvs, dbf, dif, divx, doc, docm,
docx, dot, dotm, dotx, dvr-ms, dxf, emf, eps, gif, htm, html, hwp, jfif, jif, jpe, jpeg, m1v, m2ts,
m3u, m4a, mid, midi, mka, mkv, mml, mov, mp1, mp2, mp3, mp4, mp4a, mpa, mpc, mpe, mpeg, mpega, mpg, 
mpv2, mts, nsa, nsv, nuv, odb, odf, odg, odm, odp, ods, odt, oga, ogv, otg, oth, otp, ots, ott, 
pbm, pcd, pct, pcx, pgm, pls, pnm, pot, potm, potx, ppm, pps, ppt, pptm, pptx, ps, psd, qt, ra, 
ram, raw, rmi, rtf, sda, sdc, sdd, sdp, sdw, sgl, slk, smf, spx, stc, sti, stw, swa, sxc, sxd, sxg,
sxi, sxm, sxw, tif, tiff, ts, txt, vob, vor, wb2, wk1, wks, wma, wmv, wpd, wpl, wv, xbm, xlc, xlm, 
xls, xlsb, xlsm, xlsx, xlt, xltm, xltx, xlw, xpm, xvid, xwd

MIME-Types

Firmware 7.39:

application/ogg
application/pdf
application/xml
application/x-pc-paintbrush
application/x-winamp
audio/3gpp
audio/midi
audio/mp4
audio/mpeg
audio/vnd.dolby.dd-raw
audio/vnd.ms-wpl
audio/x-aiff
audio/x-ape
audio/x-flac
audio/x-matroska
audio/x-mpegurl
audio/x-ms-wma
audio/x-musepack
audio/x-pn-realaudio
audio/x-scpls
audio/x-wav
audio/x-wavpack
image/bmp
image/gif
image/tiff
image/x-photo-cd
image/x-photoshop
image/x-pict
image/x-portable-anymap
image/x-portable-bitmap
image/x-portable-graymap
image/x-portable-pixmap
image/x-ras
image/x-rgb
image/x-tga
image/x-wmf
image/x-xbitmap
image/x-xpixmap
image/x-xwindowdump
text/html
text/plain
video/avi
video/mp2t
video/mp4
video/mpeg
video/mpeg2
video/nupplevideo
video/ogg
video/x-flv
video/x-m4v
video/x-matroska
video/x-ms-asf
video/x-ms-dvr
video/x-msvideo
video/x-ms-wmv
video/x-ogm
video/x-sgi-movie
video/x-vdr

Source

The names of source files compiled into an executable often help to understand function blocks (and show gaps in the docs).
fw 7.39 source files:

$ strings /lib/libmediautils.so | grep -e '\.c$' -e '\.cpp$'

jpeg_scale.c
jpeg_resolution.c
mp3_albumart.c
imageutils_job_queue.c
mediautils_content_type.c  

Dependencies

Daily updated index of all dependencies of this library. Last update: 2023-02-02 07:26 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Depends on lib ld.so 22 7.08 - 7.51 Dynamic linker / loader Linux
Depends on lib libavmcsock.so 63 5.06 - 7.51 Networking, I/O and helper functions AVM
Depends on lib libavmid3tag.so 63 5.06 - 7.51 ID3 tag Metadata reading library (3rd gen.) AVM
Depends on lib libc.so 63 5.06 - 7.51 Standard C library Linux
Depends on lib libewnwnet.so 63 5.06 - 7.51 Internet helper functions AVM
Depends on lib libexif.so 63 5.06 - 7.51 EXIF Metadata parsing, editing, and saving Linux
Depends on lib libgcc_s.so 31 5.06 - 6.110 GCC low-level runtime library Linux
Depends on lib libintl.so 10 6.36 - 6.60 GNU gettext Internationalisation Linux
Depends on lib libm.so 42 6.35 - 7.50 C math library Linux
Depends on lib libpthread.so 54 5.06 - 7.50 POSIX threading library Linux
Required by lib libcloudcds.so 44 5.29 - 6.110 Online-Storage (WebDAV) plugin for libavmupnp.so / libavmupnpbig.so AVM
Required by lib libgpmsrv.so 26 5.58 - 6.36 Google Play-Music plugin for libavmupnp.so / libavmupnpbig.so / gpmdb AVM
Required by lib libmediasrv.so 62 5.06 - 7.51 UPnP-AV plugin for upnpd AVM
Required by lib librendercli.so 2 7.51 TODO Linux
Required by lib libtcloud.so 59 5.50 - 7.39 T-Cloud plugin for libavmupnp.so / libavmupnpbig.so / libctlusb.so AVM
Required by lib libupnpav.so 59 5.55 - 7.51 TODO Linux
Required by cmd fritznasdb (avmcmd) 62 5.06 - 7.51 Daemon maintaining a Metatdata database of all files on the NAS. AVM
Required by cmd mediasrv (avmcmd) 62 5.06 - 7.51 UPnP-AV media server daemon. AVM
Required by cmd upnpbrd 2 7.51 UPnP browse daemon. AVM
19 dependencies for this library

Model-Matrix

Daily updated index of the presence, path and size of this library for each model. Last update: 2023-02-02 06:02 GMT.
Showing all models using this library. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box WLAN 3270 5.21 - 5.54 /lib 33.1k - 33.2k, Link
FRITZ!Box WLAN 3270 v3 5.21 - 5.54 /lib 33.1k - 33.2k, Link
FRITZ!Box WLAN 3270 IT 5.23 - 5.52 /lib 33.1k - 33.2k, Link
FRITZ!Box 3272 5.50 - 6.88 /lib 29.8k - 31.3k, Link
FRITZ!Box WLAN 3370 5.09 - 6.55 /lib 29.1k - 33.1k, Link
FRITZ!Box 3390 5.50 - 6.55 /lib 29.1k - 30.3k, Link
FRITZ!Box 3490 (main) 6.20 - 7.30 /lib 29.1k - 36.8k, Link
FRITZ!Box 4020 6.27 - 7.02 /lib 29.1k - 29.5k, Link
FRITZ!Box 4040 6.50 - 7.39 /lib 23.1k - 26.6k, Link
FRITZ!Box 4060 7.26 - 7.39 /lib 26.5k, Link
FRITZ!Box 5490 (main) 6.51 - 7.29 /lib 29.1k - 36.8k, Link
FRITZ!Box 5491 (main) 7.01 - 7.29 /lib 29.3k - 36.8k, Link
FRITZ!Box 5530 Fiber (main) 7.21 - 7.30 /lib 36.7k, Link
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.39 /lib 26.5k, Link
FRITZ!Box 6360 Cable 5.09 - 6.51 /lib 27.1k, Link
FRITZ!Box 6430 Cable (arm) 6.84 - 7.29 /lib 27.2k - 30.5k, Link
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /lib 27.2k - 30.5k, Link
FRITZ!Box 6490 Cable (arm) 6.20 - 7.39 /lib 27.1k - 30.5k, Link
FRITZ!Box 6490 Cable (atom) 6.20 - 7.39 /lib 27.1k - 30.5k, Link
FRITZ!Box 6590 Cable (arm) 6.83 - 7.39 /lib 27.1k - 30.5k, Link
FRITZ!Box 6590 Cable (atom) 6.83 - 7.39 /lib 27.1k - 30.5k, Link
FRITZ!Box 6591 Cable (arm) 7.04 - 7.39 /lib 28.6k - 34.6k, Link
FRITZ!Box 6591 Cable (atom) 7.04 - 7.39 /lib 28.6k - 34.6k, Link
FRITZ!Box 6660 Cable (arm) 7.14 - 7.39 /lib 30.5k - 34.6k, Link
FRITZ!Box 6660 Cable (atom) 7.14 - 7.39 /lib 30.5k - 34.6k, Link
FRITZ!Box 6690 Cable (arm) 7.28 - 7.50 /lib 30.5k - 34.6k, Link
FRITZ!Box 6690 Cable (atom) 7.28 - 7.50 /lib 30.5k - 34.6k, Link
FRITZ!Box 6840 LTE 5.08 - 6.87 /lib 29.1k - 33.4k, Link
FRITZ!Box 6842 LTE 6.01 - 6.34 /lib 29.8k - 30.3k, Link
FRITZ!Box 6850 LTE 7.21 - 7.39 /lib 26.5k - 36.7k, Link
FRITZ!Box 6850 5G 7.24 - 7.39 /lib 26.5k - 26.6k, Link
FRITZ!Box 6890 LTE 6.84 - 7.39 /lib 32.8k - 36.8k, Link
FRITZ!Box 6890 LTE v1 6.84 - 7.39 /lib 32.8k - 36.8k, Link
FRITZ!Box 6890 LTE v2 6.84 - 7.39 /lib 32.8k - 36.8k, Link
FRITZ!Box Fon WLAN 7240 5.09 - 6.06 /lib 33.1k - 33.2k, Link
FRITZ!Box Fon WLAN 7270 v2 5.07 - 6.06 /lib 33.1k - 33.3k, Link
FRITZ!Box Fon WLAN 7270 v3 5.07 - 6.06 /lib 33.1k - 33.3k, Link
FRITZ!Box 7272 5.55 - 6.88 /lib 29.8k - 31.3k, Link
FRITZ!Box Fon WLAN 7320 5.09 - 6.34 /lib 29.8k - 33.1k, Link
FRITZ!Box 7330 5.06 - 6.55 /lib 29.8k - 33.4k, Link
FRITZ!Box 7330 SL 5.08 - 6.55 /lib 29.8k - 33.4k, Link
FRITZ!Box Fon WLAN 7340 5.22 - 6.06 /lib 29.9k - 33.1k, Link
FRITZ!Box Fon WLAN 7360 SL 5.07 - 6.34 /lib 29.8k - 33.4k, Link
FRITZ!Box Fon WLAN 7360 v1 5.06 - 6.35 /lib 29.8k - 33.4k, Link
FRITZ!Box Fon WLAN 7360 v2 5.22 - 6.87 /lib 29.1k - 33.1k, Link
FRITZ!Box 7362 SL 5.53 - 7.13 /lib 29.1k - 32.8k, Link
FRITZ!Box 7369 6.30 - 6.32 /lib 30.3k, Link
FRITZ!Box Fon WLAN 7390 5.07 - 6.87 /lib 29.8k - 33.4k, Link
FRITZ!Box 7430 6.26 - 7.29 /lib 29.1k - 36.8k, Link
FRITZ!Box 7490 (main) 5.57 - 7.51 /lib 29.1k - 36.9k, Link
FRITZ!Box 7510 7.30 - 7.39 /lib 26.5k, Link
FRITZ!Box 7520 6.98 - 7.50 /lib 23.5k - 26.6k, Link
FRITZ!Box 7520 v2 (arm) 7.30 - 7.50 /lib 26.5k - 26.6k, Link
FRITZ!Box 7530 6.93 - 7.51 /lib 23.5k - 26.6k, Link
FRITZ!Box 7530 AX 7.20 - 7.39 /lib 30.6k, Link
FRITZ!Box 7560 6.51 - 7.29 /lib 32.8k - 36.8k, Link
FRITZ!Box 7580 6.51 - 7.29 /lib 32.8k - 36.8k, Link
FRITZ!Box 7581 6.54 - 7.16 /lib 27.1k - 30.6k, Link
FRITZ!Box 7582 6.83 - 7.16 /lib 27.1k - 30.6k, Link
FRITZ!Box 7583 7.01 - 7.31 /lib 32.9k - 36.8k, Link
FRITZ!Box 7583 VDSL 7.19 - 7.31 /lib 36.7k, Link
FRITZ!Box 7590 6.83 - 7.51 /lib 32.8k - 36.8k, Link
FRITZ!Box 7590 AX 7.19 - 7.39 /lib 36.7k, Link
63 models use this library

Symbols

Daily updated index of all symbols of this library. Last update: 2023-02-02 07:26 GMT.

Firmware Symbol
5.06 - 7.51 extract_albumart
5.06 - 7.51 get_file_extension
5.06 - 7.51 get_image_async
5.06 - 7.51 get_image_async_cancel_all
5.06 - 7.51 get_image_async_failed
5.06 - 7.51 get_jpeg_resolution_of_file
5.27 - 7.51 get_resolution_from_string
5.06 - 7.51 libmediautils_get_albumart_path_async
5.06 - 7.51 libmediautils_get_albumart_path_sync
5.06 - 7.51 libmediautils_get_mimetype
5.06 - 7.51 libmediautils_get_scaledimg_path_async
5.06 - 7.51 libmediautils_get_scaledimg_path_sync
5.06 - 7.51 libmediautils_is_asf_file
5.06 - 7.51 libmediautils_is_audio_file
6.50 - 7.51 libmediautils_is_audio_mime_type
5.06 - 7.51 libmediautils_is_avi_file
5.06 - 7.51 libmediautils_is_doc_file
5.27 - 6.110 libmediautils_is_flac_file
5.06 - 7.51 libmediautils_is_gif_file
5.06 - 7.51 libmediautils_is_image_file
6.50 - 7.51 libmediautils_is_image_mime_type
5.06 - 7.51 libmediautils_is_jpeg_file
5.06 - 7.51 libmediautils_is_mp3_file
5.06 - 7.51 libmediautils_is_mp4_file
5.06 - 7.51 libmediautils_is_mpeg_file
5.06 - 7.51 libmediautils_is_playlist_file
5.06 - 7.51 libmediautils_is_png_file
5.06 - 7.51 libmediautils_is_ts_file
5.06 - 7.51 libmediautils_is_video_file
6.50 - 7.51 libmediautils_is_video_mime_type
5.06 - 7.51 libmediautils_is_wma_file
5.06 - 7.51 libmediautils_is_wmv_file
5.06 - 7.51 libmediautils_remove_all_files
5.06 - 7.51 libmediautils_remove_file
5.06 - 7.51 replace_first_char
5.06 - 7.51 replace_last_char
5.06 - 7.51 scale_jpeg
5.06 - 7.51 tmp_file_created
38 symbols for this library

SMW-Browser

Information is currently being retrieved from the backend.