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 years. Please use hippie2000@webnmail.de instead.

0
U

Property:libmediautils.so

From BoxMatrix
(Redirected from libmediautils.so)


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 Media

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: 2024-11-15 07:54 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 - 8.00 Dynamic linker / loader Linux
Depends on lib libavmcsock.so 62 5.06 - 8.00 Networking, I/O and helper functions AVM
Depends on lib libavmid3tag.so 62 5.06 - 8.00 ID3 tag Metadata reading library (3rd gen.) AVM
Depends on lib libc.so 62 5.06 - 8.00 Standard C library Linux
Depends on lib libewnwnet.so 62 5.06 - 8.00 Internet helper functions AVM
Depends on lib libexif.so 62 5.06 - 8.00 EXIF Metadata parsing, editing, and saving Linux
Depends on lib libgcc_s.so 28 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 38 6.35 - 8.00 C math library Linux
Depends on lib libpthread.so 50 5.06 - 8.00 POSIX threading library Linux
Required by lib libcloudcds.so 41 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 61 5.06 - 8.00 UPnP-AV plugin for upnpd AVM
Required by lib librendercli.so 27 7.51 - 8.00 UPnP-Renderer support for upnpbrd AVM
Required by lib libtcloud.so 54 5.50 - 7.39 T-Cloud plugin for libavmupnp.so / libavmupnpbig.so / libctlusb.so AVM
Required by lib libupnpav.so 59 5.55 - 8.00 UPnP-AV support API AVM
Required by cmd fritznasdb (avmcmd) 61 5.06 - 8.00 Daemon maintaining a Metatdata database of all files on the NAS. AVM
Required by cmd mediasrv (avmcmd) 61 5.06 - 8.00 UPnP-AV media server daemon. AVM
Required by cmd upnpbrd 27 7.51 - 8.00 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: 2024-11-15 05:54 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/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
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 (main) 5.50 - 6.89 /lib 29.8k - 31.3k, Link
FRITZ!Box WLAN 3370 (main) 5.09 - 6.56 /lib 29.1k - 33.1k, Link
FRITZ!Box 3390 (main) 5.50 - 6.56 /lib 29.1k - 30.3k, Link
FRITZ!Box 3490 (main) 6.20 - 7.30 /lib 29.1k - 36.8k, Link
FRITZ!Box 4020 /lib 29.1k - 29.5k, Link
FRITZ!Box 4040 6.52 - 8.00 /lib 23.1k - 26.6k, Link
FRITZ!Box 4050 7.58 - 7.90 /lib 26.5k, Link
FRITZ!Box 4060 7.29 - 7.90 /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 - 8.00 /lib 36.7k - 36.8k, Link
FRITZ!Box 5590 Fiber (main) 7.29 - 8.00 /lib 26.5k, Link
FRITZ!Box 5690 Pro (main) 7.62 - 7.90 /lib 26.5k, Link
FRITZ!Box 6360 Cable 5.09 - 6.51 /lib 27.1k, Link
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /lib 27.2k - 30.5k, Link
FRITZ!Box 6490 Cable (arm) 6.20 - 6.64 /lib 27.1k, Link
FRITZ!Box 6490 Cable (atom) 6.20 - 7.51 /lib 27.1k - 30.5k, Link
FRITZ!Box 6590 Cable (atom) 6.83 - 7.51 /lib 27.1k - 30.5k, Link
FRITZ!Box 6591 Cable (arm) 7.04 - 7.08 /lib 28.6k - 30.6k, Link
FRITZ!Box 6591 Cable (atom) 7.04 - 8.00 /lib 28.6k - 34.7k, Link
FRITZ!Box 6660 Cable (atom) 7.14 - 8.00 /lib 30.5k - 34.7k, Link
FRITZ!Box 6670 Cable (atom) 7.61 - 7.90 /lib 34.6k - 34.7k, Link
FRITZ!Box 6690 Cable (atom) 7.28 - 7.90 /lib 30.5k - 34.7k, Link
FRITZ!Box 6840 LTE (main) 5.08 - 6.88 /lib 29.1k - 33.4k, Link
FRITZ!Box 6842 LTE /lib 29.8k - 30.3k, Link
FRITZ!Box 6850 LTE 7.21 - 7.90 /lib 26.5k - 36.7k, Link
FRITZ!Box 6850 5G 7.24 - 7.90 /lib 26.5k - 26.6k, Link
FRITZ!Box 6890 LTE (main) 6.84 - 7.57 /lib 32.8k - 36.8k, Link
FRITZ!Box 6890 LTE v1 (main) 6.84 - 7.57 /lib 32.8k - 36.8k, Link
FRITZ!Box 6890 LTE v2 (main) 6.84 - 7.57 /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 (main) 5.55 - 6.88 /lib 29.8k - 31.3k, Link
FRITZ!Box Fon WLAN 7320 5.09 - 6.35 /lib 29.8k - 33.1k, Link
FRITZ!Box 7330 5.06 - 6.56 /lib 29.8k - 33.4k, Link
FRITZ!Box 7330 SL 5.08 - 6.56 /lib 29.8k - 33.4k, Link
FRITZ!Box Fon WLAN 7340 /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.36 /lib 29.8k - 33.4k, Link
FRITZ!Box Fon WLAN 7360 v2 5.22 - 6.88 /lib 29.1k - 33.1k, Link
FRITZ!Box 7362 SL (main) 5.53 - 7.18 /lib 29.1k - 32.8k, Link
FRITZ!Box 7369 (main) 6.30 - 6.32 /lib 30.3k, Link
FRITZ!Box Fon WLAN 7390 5.07 - 5.22 /lib 29.8k - 33.4k, Link
FRITZ!Box 7430 (main) 6.26 - 7.31 /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 - 8.00 /lib 26.5k, Link
FRITZ!Box 7520 6.98 - 8.00 /lib 23.5k - 26.6k, Link
FRITZ!Box 7520 v2 (main) 7.30 - 8.00 /lib 26.5k - 26.6k, Link
FRITZ!Box 7530 6.98 - 8.00 /lib 23.5k - 26.6k, Link
FRITZ!Box 7530 AX 7.20 - 8.00 /lib 30.6k - 30.7k, Link
FRITZ!Box 7560 (main) 6.51 - 7.30 /lib 32.8k - 36.8k, Link
FRITZ!Box 7580 (main) 6.53 - 7.30 /lib 32.8k - 36.8k, Link
FRITZ!Box 7581 6.54 - 7.18 /lib 27.1k - 30.6k, Link
FRITZ!Box 7582 6.83 - 7.18 /lib 27.1k - 30.6k, Link
FRITZ!Box 7583 (main) 7.01 - 7.59 /lib 32.9k - 36.8k, Link
FRITZ!Box 7583 VDSL (main) 7.19 - 8.00 /lib 36.7k - 36.8k, Link
FRITZ!Box 7590 (main) 6.83 - 8.00 /lib 32.8k - 36.8k, Link
FRITZ!Box 7590 AX (main) 7.19 - 8.00 /lib 36.7k - 36.8k, Link
FRITZ!Box 7690 7.61 - 7.90 /lib 26.5k, Link
63 models use this library

Symbols

Daily updated index of all symbols of this library. Last update: 2024-11-15 07:54 GMT.

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

SMW-Browser

Information is currently being retrieved from the backend.