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.
Property:ffmpegconv
BoxMatrix >> Shell-Commands >> ffmpegconv | @ 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 |
AVM-Command
Command: | ffmpegconv - type Exec | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> AVM-Commands - Origin: AVM | ||||||
Path: | Release: /bin Lab+Rel: /bin | ||||||
Properties: | Size: 23.8k - 41.0k - Firmware: 5.01 - 8.00 | ||||||
Function: | Convert MP3 / WAV to various formats, FFmpeg subset. |
Goto: Examples - Source - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
ffmpegconv converts MP3 or WAV to various Telephony Codec formats.
According to AVM the supported input formats are[1]:
- WAV format: 8000 Hz, 16-bit, mono (recommended)
- MP3 format: Fixed data rate, 128 kbit/s, 44.1 kHz, stereo
ffmpegconv is an AVM enhanced stripped down FFmpeg subset and can perform Transcoding, Resampling and Normalizing.
Further stripped down FFmpeg parts used by ffmpegconv are libavcodec.so, libavformat.so and libavutil.so.
AVM added libresample.so for Resampling and Normalizing, libmscodex.so for Speex support and the *optionally loaded*
(no dependency) libceltcodec.so for CELT support.
ffmpegconv requires playerd_tables to be run once before using it. It creates the required ffmpeg_mp3.tables.
fw 7.29 help:
root@fritz2:/var/mod/root# ffmpegconv -? ffmpegconv convert MP3 / WAV to various formats -i <MP3/WAV-infile> -o <outfile> --limit <kbyte> --type 0: PCM (resampled to 16 KHz) 1: G.722 (default) 2: PCM (original) mono 3: PCM (original) 4: PCM (resampled to 8 KHz) 5: Speex (TAM-format) 6: PCMA-4kHz 0 sec Format (Header: AB AA AA AA) 7: PCMA-4Khz 1 sec-Format (Header: AA AA AA AA) 8: PCMA 0 sec-Format (Header: AB AB AA AA) 9: PCMA 1 sec-Format (Header: AA AB AA AA) 10: CELT +n/-n: normalize (default)
Output has been altered to add links.
Examples
MOH samples are used by telefon and always PCMA encoded, sample rate and limit depend on available storage space.
Simplified from moh_upload:
ffmpegconv -i <file> -o fx_moh --limit 32 --type 6 ffmpegconv -i <file> -o fx_moh --limit 480 --type 8 ffmpegconv -i <file> -o fx_moh --limit 32 --type 7 ffmpegconv -i <file> -o fx_moh --limit 480 --type 9
TAM voice prompts are used by libtam.so for telefon and always Speex encoded.
Simplified from tam_upload_voice_prompt:
ffmpegconv -i tam_upload -o tam_upload.spx --type 5
Ringtones are stored in the Phonebook for FRITZ!Fon and are either CELT or G.722 encoded.
Simplified from pbd_upload_ringtone:
ffmpegconv -i upload.mp3 -o <file>.celt --limit 240 --type 10 +n ffmpegconv -i upload.mp3 -o <file>.g722 --limit 240
dect_ringtone_conversion.sh also converts Ringtones.
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 /bin/ffmpegconv | grep -e '\.c$' -e '\.cpp$' <empty>
Dependencies
Daily updated index of all dependencies of this command. Last update: 2024-11-21 07:52 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 | libavcodec.so | 64 | 5.01 - 8.00 | FFmpeg library with audio / video Codecs | FFmpeg |
Depends on | lib | libavformat.so | 33 | 5.01 - 6.69 | FFmpeg library with (de)muxers for multimedia Containers | FFmpeg |
Depends on | lib | libavmcsock.so | 38 | 6.98 - 8.00 | Networking, I/O and helper functions | AVM |
Depends on | lib | libavutil.so | 64 | 5.01 - 8.00 | FFmpeg library with functions for simplifying programming | FFmpeg |
Depends on | lib | libbacktrace.so | 64 | 5.01 - 8.00 | Crash handler and logger | AVM |
Depends on | lib | libc.so | 64 | 5.01 - 8.00 | Standard C library | Linux |
Depends on | lib | libdl.so | 52 | 5.01 - 8.00 | Dynamic linking library | Linux |
Depends on | lib | libgcc_s.so | 29 | 5.01 - 6.110 | GCC low-level runtime library | Linux |
Depends on | lib | libmscodex.so | 63 | 5.04 - 8.00 | Audio Codec library for Speex | AVM |
Depends on | lib | libpthread.so | 52 | 5.01 - 8.00 | POSIX threading library | Linux |
Depends on | lib | libresample.so | 59 | 6.10 - 8.00 | Audio Resampling, Normalizing and conversion to Mono | Linux |
12 dependencies for this command |
Model-Matrix
Daily updated index of the presence, path and size of this command for each model. Last update: 2024-11-21 05:56 GMT.
Showing all models using this command. 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 3272 (main) | 5.50 - 6.89 | /bin | 30.4k - 34.4k |
FRITZ!Box WLAN 3370 (main) | 5.59 - 6.56 | /bin | 29.8k - 34.4k |
FRITZ!Box 3390 (main) | 5.59 - 6.56 | /bin | 29.8k - 34.4k |
FRITZ!Box 3490 (main) | 6.20 - 7.30 | /bin | 29.5k - 35.3k |
FRITZ!Box 4040 | 6.98 - 8.00 | /bin | 23.8k - 29.6k |
FRITZ!Box 4050 | 7.58 - 7.90 | /bin | 29.5k |
FRITZ!Box 4060 | 7.29 - 7.90 | /bin | 29.4k - 29.5k |
FRITZ!Box 5490 (main) | 6.51 - 7.29 | /bin | 29.5k - 35.3k |
FRITZ!Box 5491 (main) | 7.01 - 7.29 | /bin | 29.5k - 35.3k |
FRITZ!Box 5530 Fiber (main) | 7.21 - 8.00 | /bin | 31.1k - 31.3k |
FRITZ!Box 5590 Fiber (main) | 7.29 - 8.00 | /bin | 29.4k - 29.5k |
FRITZ!Box 5690 Pro (main) | 7.62 - 7.90 | /bin | 29.5k |
FRITZ!Box 6320 Cable v1 | 6.03 - 6.04 | /bin | 27.6k |
FRITZ!Box 6320 Cable v2 | 6.21 | /bin | 24.7k |
FRITZ!Box 6360 Cable | 5.05 - 6.51 | /bin | 24.7k - 27.6k |
FRITZ!Box 6430 Cable (atom) | 6.84 - 7.29 | /bin | 25.9k - 29.4k |
FRITZ!Box 6490 Cable (arm) | 6.20 - 6.64 | /bin | 24.7k |
FRITZ!Box 6490 Cable (atom) | 6.83 - 7.51 | /bin | 25.9k - 29.4k |
FRITZ!Box 6590 Cable (atom) | 6.83 - 7.51 | /bin | 25.9k - 29.4k |
FRITZ!Box 6591 Cable (arm) | 7.04 - 7.08 | /bin | 26.2k - 29.5k |
FRITZ!Box 6591 Cable (atom) | 7.04 - 8.00 | /bin | 25.8k - 33.7k |
FRITZ!Box 6660 Cable (atom) | 7.14 - 8.00 | /bin | 25.8k - 33.7k |
FRITZ!Box 6670 Cable (atom) | 7.61 - 7.90 | /bin | 29.7k - 33.6k |
FRITZ!Box 6690 Cable (atom) | 7.28 - 7.90 | /bin | 29.5k - 33.7k |
FRITZ!Box 6810 LTE | 6.35 | /bin | 30.4k - 34.4k |
FRITZ!Box 6840 LTE (main) | 5.08 - 6.88 | /bin | 29.8k - 38.6k |
FRITZ!Box 6842 LTE | /bin | 30.4k - 34.4k | |
FRITZ!Box 6850 LTE | 7.21 - 7.90 | /bin | 29.5k - 31.2k |
FRITZ!Box 6850 5G | 7.24 - 7.90 | /bin | 29.5k - 29.6k |
FRITZ!Box 6890 LTE (main) | 6.84 - 7.57 | /bin | 29.3k - 35.3k |
FRITZ!Box 6890 LTE v1 (main) | 6.84 - 7.57 | /bin | 29.3k - 35.3k |
FRITZ!Box 6890 LTE v2 (main) | 6.84 - 7.57 | /bin | 29.3k - 35.3k |
FRITZ!Box Fon WLAN 7240 | 5.04 - 6.06 | /bin | 32.8k - 37.1k |
FRITZ!Box Fon WLAN 7270 v2 | 5.01 - 6.06 | /bin | 30.5k - 41.0k |
FRITZ!Box Fon WLAN 7270 v3 | 5.01 - 6.06 | /bin | 30.5k - 41.0k |
FRITZ!Box 7272 (main) | 5.55 - 6.88 | /bin | 30.4k - 34.4k |
FRITZ!Box 7312 | 5.23 - 6.56 | /bin | 30.4k - 34.4k |
FRITZ!Box Fon WLAN 7320 | 5.09 - 6.35 | /bin | 30.4k - 34.4k |
FRITZ!Box 7330 | 5.06 - 6.56 | /bin | 30.4k - 38.6k |
FRITZ!Box 7330 SL | 5.08 - 6.56 | /bin | 30.4k - 38.6k |
FRITZ!Box Fon WLAN 7340 | 5.04 - 5.05 | /bin | 29.9k - 36.8k |
FRITZ!Box Fon WLAN 7360 SL | 5.04 - 6.34 | /bin | 30.4k - 38.6k |
FRITZ!Box Fon WLAN 7360 v1 | 5.06 - 6.36 | /bin | 30.4k - 38.6k |
FRITZ!Box Fon WLAN 7360 v2 | 5.22 - 6.88 | /bin | 29.8k - 34.4k |
FRITZ!Box 7362 SL (main) | 5.53 - 7.18 | /bin | 29.5k - 35.3k |
FRITZ!Box 7369 (main) | 6.30 - 6.32 | /bin | 30.4k |
FRITZ!Box Fon WLAN 7390 | 5.01 - 5.22 | /bin | 28.0k - 36.8k |
FRITZ!Box 7412 (main) | 6.21 - 6.88 | /bin | 29.8k - 30.4k |
FRITZ!Box 7430 (main) | 6.26 - 7.31 | /bin | 29.5k - 35.3k |
FRITZ!Box 7490 (main) | 5.57 - 7.51 | /bin | 29.4k - 35.3k |
FRITZ!Box 7510 | 7.30 - 8.00 | /bin | 29.4k - 29.5k |
FRITZ!Box 7520 | 6.98 - 8.00 | /bin | 23.8k - 29.6k |
FRITZ!Box 7520 v2 (main) | 7.30 - 8.00 | /bin | 29.5k - 29.6k |
FRITZ!Box 7530 | 6.98 - 8.00 | /bin | 23.8k - 29.6k |
FRITZ!Box 7530 AX | 7.20 - 8.00 | /bin | 29.6k - 29.7k |
FRITZ!Box 7560 (main) | 6.51 - 7.30 | /bin | 29.3k - 35.3k |
FRITZ!Box 7580 (main) | 6.53 - 7.30 | /bin | 29.3k - 35.3k |
FRITZ!Box 7581 | 6.54 - 7.18 | /bin | 24.0k - 29.6k |
FRITZ!Box 7582 | 6.83 - 7.18 | /bin | 24.0k - 29.6k |
FRITZ!Box 7583 (main) | 7.01 - 7.59 | /bin | 29.5k - 35.3k |
FRITZ!Box 7583 VDSL (main) | 7.19 - 8.00 | /bin | 31.2k - 31.3k |
FRITZ!Box 7590 (main) | 6.83 - 8.00 | /bin | 29.3k - 35.3k |
FRITZ!Box 7590 AX (main) | 7.19 - 8.00 | /bin | 31.2k - 31.3k |
FRITZ!Box 7690 | 7.61 - 7.90 | /bin | 29.5k |
Speedport W 504V MK | 5.04 | /bin | 37.1k |
65 models use this command |
Symbols
Daily updated index of all symbols of this command. Last update: 2024-11-21 07:52 GMT.
Firmware | Symbol |
---|---|
5.01 - 8.00 | CmdLine_FillValues |
5.01 - 8.00 | CmdLine_Help |
5.01 - 8.00 | CmdLine_IsDec |
5.01 - 8.00 | CmdLine_IsHex |
5.01 - 8.00 | PrintHelp |
5.01 - 6.06 | convert_to_mono |
5.01 - 8.00 | ffmpeg_conv |
5.01 - 8.00 | ffmpegconv_signalinit |
5.01 - 8.00 | g722_encode |
5.01 - 8.00 | g722_encoder_exit |
5.01 - 8.00 | g722_encoder_init |
5.01 - 8.00 | g722_file |
5.01 - 8.00 | g722_hsbcod |
5.01 - 8.00 | g722_lsbcod |
5.01 - 8.00 | g722_qmf_tx |
7.08 - 7.21 | le_be_cpy |
6.10 - 8.00 | libcelt_close |
6.10 - 8.00 | libcelt_open |
5.01 - 8.00 | main |
5.01 - 6.06 | normalizer_addstatistic |
5.01 - 6.06 | normalizer_file |
5.01 - 6.06 | normalizer_init |
7.08 - 8.00 | pcm4ALaw |
5.59 - 8.00 | pcma_conv |
5.01 - 6.06 | resample |
5.01 - 6.06 | resample_exit |
5.01 - 6.06 | resample_init |
5.04 - 8.00 | speex_codec_limit |
5.04 - 8.00 | speex_encoder |
5.04 - 8.00 | wav_conv |
5.04 - 8.00 | wavheader_fileparse |
31 symbols for this command |