diff --git a/docs/FreeSWITCH-Explained/Auxiliary-Knowledge-and-Utilities/13173990.mdx b/docs/FreeSWITCH-Explained/Auxiliary-Knowledge-and-Utilities/13173990.mdx index 803401cf..b522354f 100644 --- a/docs/FreeSWITCH-Explained/Auxiliary-Knowledge-and-Utilities/13173990.mdx +++ b/docs/FreeSWITCH-Explained/Auxiliary-Knowledge-and-Utilities/13173990.mdx @@ -34,26 +34,12 @@ Another method is to use the standard "record" application, added recently. The ``` -With [Mod\_mp4v2](../Modules/mod_mp4v2_13173920.mdx#about) you can also record into mp4: - -```xml - -``` - -or - -```xml - - -``` - ## Record a bridged call ```xml uuid_setvar enable_file_write_buffering false uuid_record start /tmp/testrecord.fsv - uuid_record start /tmp/testrecord.mp4 ``` record\_session should also works, but not been tested. Always disable file writing buffer before recording. @@ -64,7 +50,6 @@ If record into a video file, it record all active members voice and one member's ```xml conference 3000 record /tmp/testrecord.fsv -conference 3000 record /tmp/testrecord.mp4 ``` ## Video eavesdrop diff --git a/docs/FreeSWITCH-Explained/Codecs-and-Media/Video-Codecs_1048673.mdx b/docs/FreeSWITCH-Explained/Codecs-and-Media/Video-Codecs_1048673.mdx index c8efc1e6..67f50571 100644 --- a/docs/FreeSWITCH-Explained/Codecs-and-Media/Video-Codecs_1048673.mdx +++ b/docs/FreeSWITCH-Explained/Codecs-and-Media/Video-Codecs_1048673.mdx @@ -13,8 +13,6 @@ * Provided by mod\_h26X. * Theora passthrough. * Provided by mod\_theora. -* MP4 Video passthrough. - * Provided by mod\_mp4v. ### Comments: diff --git a/docs/FreeSWITCH-Explained/Installation/Unix/FreeBSD_1966823.mdx b/docs/FreeSWITCH-Explained/Installation/Unix/FreeBSD_1966823.mdx index 9b872477..5c1e602b 100644 --- a/docs/FreeSWITCH-Explained/Installation/Unix/FreeBSD_1966823.mdx +++ b/docs/FreeSWITCH-Explained/Installation/Unix/FreeBSD_1966823.mdx @@ -56,10 +56,10 @@ sudo -u postgres psql -c "GRANT ALL PRIVILEGES ON DATABASE freeswitch to fsuser; ./configure --prefix=/usr/local/freeswitch --disable-dependency-tracking --enable-core-pgsql-support --disable-fhs; ``` -If you want to enable mod\_av you need to install libav and mp4v2 packages: +If you want to enable mod\_av you need to install the `libav` package: ```xml -pkg install autoconf automake curl git gmake jpeg-turbo ldns libedit libtool openssl pcre pkgconf speex sqlite3 wget sudo libsndfile lua52 opus tiff libav mp4v2; +pkg install autoconf automake curl git gmake jpeg-turbo ldns libedit libtool openssl pcre pkgconf speex sqlite3 wget sudo libsndfile lua52 opus tiff libav; cd /usr/local/src/; git clone https://freeswitch.org/stash/scm/fs/freeswitch.git diff --git a/docs/FreeSWITCH-Explained/Miscellaneous/Specifications_1048680.mdx b/docs/FreeSWITCH-Explained/Miscellaneous/Specifications_1048680.mdx index f1c7abb4..9876f2ab 100644 --- a/docs/FreeSWITCH-Explained/Miscellaneous/Specifications_1048680.mdx +++ b/docs/FreeSWITCH-Explained/Miscellaneous/Specifications_1048680.mdx @@ -80,7 +80,6 @@ TODO [RFC 2833](https://tools.ietf.org/html/rfc2833) is obsoleted by [RFC 4733]( * H.261 * H.263 * H.264 - * MP4 * See also: [codecs](https://wiki.freeswitch.org/wiki/Codecs "Codecs") * Live Migration of calls from one FreeSWITCH box to another. See [Freeswitch\_HA](https://wiki.freeswitch.org/wiki/Freeswitch%5FHA "Freeswitch HA") diff --git a/docs/FreeSWITCH-Explained/Modules/mod-opus/FreeSWITCH-And-The-Opus-Audio-Codec_12517398.mdx b/docs/FreeSWITCH-Explained/Modules/mod-opus/FreeSWITCH-And-The-Opus-Audio-Codec_12517398.mdx index a3fe04db..26de038b 100644 --- a/docs/FreeSWITCH-Explained/Modules/mod-opus/FreeSWITCH-And-The-Opus-Audio-Codec_12517398.mdx +++ b/docs/FreeSWITCH-Explained/Modules/mod-opus/FreeSWITCH-And-The-Opus-Audio-Codec_12517398.mdx @@ -623,7 +623,6 @@ Ensure codecs/mod\_opus is not commented in modules.cfg, e.g.: ```xml … -#codecs/mod_mp4v codecs/mod_opus #codecs/mod_sangoma_codec … diff --git a/docs/FreeSWITCH-Explained/Modules/mod_conference_3965534.mdx b/docs/FreeSWITCH-Explained/Modules/mod_conference_3965534.mdx index c1b63e11..2ff70b80 100644 --- a/docs/FreeSWITCH-Explained/Modules/mod_conference_3965534.mdx +++ b/docs/FreeSWITCH-Explained/Modules/mod_conference_3965534.mdx @@ -234,7 +234,7 @@ You may specify the conference profile parameters listed below. Keep in mind tha | ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | ------------------------ | ---------- | ------------ | | announce-count | Requires TTS. If the number of members equals or exceeds this value, the conference will speak the count to the conference after a new member joins | 5 | \ | 0 | | | | auto-gain-level | Enables Automatic Gain Control (AGC). If the parameter is set to 'true', then the default AGC value is used. If set to a number it will override the default value | 900 | \\|true | 1100 | | | -| auto-record | Set a filename or stream value for this parameter in order to enable recording every conference call. Within mod\_conference there is a special parameter named $\{conference\_name} that can be used to form the record filename. All channel variables are accessible as well for generating a unique filename. **NOTE: auto-record doesn't begin recording until the number of conferees specified in min-required-recording-participants have joined.** | **Example 1:** /var/myNFSshare/$\{conference\_name}\_$\{strftime(%Y-%m-%d-%H-%M-%S)}.wav**Example 2:** \**Example 3:** /var/myNFSshare/$\{conference\_name}\_$\{strftime(%Y-%m-%d-%H-%M-%S)}.mp4 will give you audio and video recording. | \ | | | | +| auto-record | Set a filename or stream value for this parameter in order to enable recording every conference call. Within mod\_conference there is a special parameter named $\{conference\_name} that can be used to form the record filename. All channel variables are accessible as well for generating a unique filename. **NOTE: auto-record doesn't begin recording until the number of conferees specified in min-required-recording-participants have joined.** | **Example 1:** /var/myNFSshare/$\{conference\_name}\_$\{strftime(%Y-%m-%d-%H-%M-%S)}.wav**Example 2:** \| \ | | | | | broadcast-chat-message | Message to send in response to chat messages. | Please go away. | \ | | | | | caller-controls | Name of the caller control group to use for this profile. It must be one of those specified in the \ section | somekeys | \ | default | | | | moderator-controls | Name of the moderator control group to use for this profile. It must be one of those specified in the \ section | somekeys | \ | default | | | diff --git a/docs/FreeSWITCH-Explained/Modules/mod_mp4v2_13173920.mdx b/docs/FreeSWITCH-Explained/Modules/mod_mp4v2_13173920.mdx deleted file mode 100644 index 9238dc9c..00000000 --- a/docs/FreeSWITCH-Explained/Modules/mod_mp4v2_13173920.mdx +++ /dev/null @@ -1,85 +0,0 @@ - -# mod_mp4v2 - - - -## About - -mod\_mp4v2 implemented a record\_mp4 APP and the mp4 file format. - -Click here to expand Table of Contents - -* 1 [Configuration](#configuration) -* 2 [CPU Load](#cpu-load) -* 3 [Status](#status) -* 4 [Compile](#compile) - -## Configuration - -mod\_mp4v2 implemented a record\_mp4 APP and the mp4 file format. - -So you could do (with video echoed back like record\_fsv) - -```xml - -``` - -or the record APP (without video echoed back, and need code in the video-media-bug branch to work), be sure to disable file write buffering, needed for audio/video(ear-mouth) sync. - -```xml - - -``` - -Also uuid\_record should work - -```xml -uuid_record start /tmp/test.mp4 -``` - -## CPU Load - -A few parameters may be prepended to the record file path inside braces to indicate video encoding speed/quality and which video profile to use. This affects CPU load since slower encoding yields better video quality at the cost of greater CPU computation load. - -```xml -{vencspd=fast,vprofile=baseline}/path/to/file.mp4 -``` - -`vencspd` \- one of fast, medium, slow - -`vprofile` \- baseline, main, high - -For other parameters see `/usr/src/freeswitch/src/switch_core_file.c` - - -## Status - -It's currently in the video-media-bug branch. - -Audio codec using PCMU and video is H264 only. - -There's a mod\_mp4 which implemented play\_mp4\. However it need the mp4 file be probably "hinted". I haven't find a tool that can hint an existing mp4 file so I never get it work. - -I tried to contact the original author but got no response. And also because mod\_mp4 is C++ and I'm more happy to C, so I created mod\_mp4v2\. And also because I added the file format interface, I think it's more reasonable to put it under mod/formats. - -Video has tons of params and most are hard coded. To make everything work still need a lot of work... - -## Compile - -The current Makefile need mp4v2-2.0.0 in the current(mod\_mp4v2) directory. - -Download from [http://code.google.com/p/mp4v2/downloads/list](http://code.google.com/p/mp4v2/downloads/list) - -```xml -git checkout video-media-bug -cd src/mod/formats/mod_mp4v2 -cd mp4v2-2.0.0 -make -cd .. -make install -``` - -Have fun. - - - diff --git a/provisioning/nginx/redirects.map b/provisioning/nginx/redirects.map index e3fa6503..f2021908 100644 --- a/provisioning/nginx/redirects.map +++ b/provisioning/nginx/redirects.map @@ -1583,7 +1583,6 @@ /freeswitch/confluence-to-docs-redirector/display/FREESWITCH/mod_managed /freeswitch/FreeSWITCH-Explained/Modules/mod_managed_13173447; /freeswitch/confluence-to-docs-redirector/display/FREESWITCH/mod_memcache /freeswitch/FreeSWITCH-Explained/Modules/mod_memcache_6587131; /freeswitch/confluence-to-docs-redirector/display/FREESWITCH/mod_mongo /freeswitch/FreeSWITCH-Explained/Modules/mod_mongo_6587158; -/freeswitch/confluence-to-docs-redirector/display/FREESWITCH/mod_mp4v2 /freeswitch/FreeSWITCH-Explained/Modules/mod_mp4v2_13173920; /freeswitch/confluence-to-docs-redirector/display/FREESWITCH/mod_native_file /freeswitch/FreeSWITCH-Explained/Modules/mod_native_file_6587161; /freeswitch/confluence-to-docs-redirector/display/FREESWITCH/mod_nibblebill /freeswitch/FreeSWITCH-Explained/Modules/mod_nibblebill_3966513; /freeswitch/confluence-to-docs-redirector/display/FREESWITCH/mod_odbc_cdr /freeswitch/FreeSWITCH-Explained/Modules/mod_odbc_cdr_7143449;