mp4box.js | JavaScript version of GPAC 's MP4Box tool | Audio Utils library

 by   gpac JavaScript Version: v0.5.2 License: BSD-3-Clause

kandi X-RAY | mp4box.js Summary

kandi X-RAY | mp4box.js Summary

mp4box.js is a JavaScript library typically used in Audio, Audio Utils, Nodejs applications. mp4box.js has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can install using 'npm i videostream-mp4box' or download it from GitHub, npm.

JavaScript version of GPAC's MP4Box tool
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mp4box.js has a medium active ecosystem.
              It has 1497 star(s) with 271 fork(s). There are 64 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 47 open issues and 192 have been closed. On average issues are closed in 100 days. There are 12 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of mp4box.js is v0.5.2

            kandi-Quality Quality

              mp4box.js has 0 bugs and 0 code smells.

            kandi-Security Security

              mp4box.js has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              mp4box.js code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              mp4box.js is licensed under the BSD-3-Clause License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              mp4box.js releases are available to install and integrate.
              Deployable package is available in npm.
              Installation instructions are not available. Examples and code snippets are available.
              mp4box.js saves you 1301 person hours of effort in developing the same functionality from scratch.
              It has 2921 lines of code, 0 functions and 269 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mp4box.js
            Get all kandi verified functions for this library.

            mp4box.js Key Features

            No Key Features are available at this moment for mp4box.js.

            mp4box.js Examples and Code Snippets

            No Code Snippets are available at this moment for mp4box.js.

            Community Discussions

            QUESTION

            reencode non-fragmented mp4 into fragmented mp4
            Asked 2021-Jan-14 at 22:42

            I'm using MediaSource extension to play videos. However,MediaSource only supports fragmented MP4 videos.

            How can I convert a non-fragmented MP4 video into a fragmented MP4 video in JavaScript so that I can use MediaSource to play the video?

            MP4Box's isFragmented boolean returns false on non-fragmented videos:

            ...

            ANSWER

            Answered 2021-Jan-14 at 22:42

            You could use ffmpeg.wasm, it's basically ffmpeg for the browser but with native performance. This way you could integrate the fragmentation into your front end which is what you are trying to do, if I understand correctly.

            ffmpeg.wasm

            I am afraid I can't help you with the actual fragmentation part using ffmpeg, but this post discusses it for normal ffmpeg.

            Source https://stackoverflow.com/questions/65533864

            QUESTION

            Which npm package can get video information
            Asked 2021-Jan-13 at 16:26

            I want to find a npm package, or a tool for getting information such as mp4 video frame rate on the front end. Then introduce the npm package into the vue project. This tool should look like this. It gets the address of the video, and outputs information such as the frame rate of the video (this information must be present). The more other information, the better. I have found a map4box.js, "https://github.com/gpac/mp4box.js/". But I can't find the frame rate information I want on his official website. So I want to ask if anyone knows about this tool. It would be better if there is a demo code.thank you all.

            ...

            ANSWER

            Answered 2021-Jan-13 at 14:34

            I would try doing it myself like shown in this Stackoverflow article. In my opinion an npm package would be overkill.

            Source https://stackoverflow.com/questions/65703581

            QUESTION

            Using MP4box.js and onSegment callback is not called
            Asked 2020-Feb-09 at 15:37

            Base problem: display a H264 live stream in a browser.

            Solution: let's just convert it to fragmented mp4 and load chunk-by-chunk via websocket (or XHR) into MSE.

            Sounds too easy. But I want to do the fragmentation on client side with pure JS.

            So I'm trying to use MP4Box.js. On its readme page it states: it has a demo: "A player that performs on-the-fly fragmentation".

            That's the thing I need!

            However the onSegment callbacks which should feed MSE are not called at all:

            ...

            ANSWER

            Answered 2020-Feb-09 at 15:37

            The problem was using the nextBufferStart in a wrong way.

            This should be the correct one:

            Source https://stackoverflow.com/questions/60135685

            QUESTION

            Encoding raw h.264 data to browser via Dash
            Asked 2017-Apr-03 at 21:22

            I have a live stream of raw h264 (no container) coming from a remote webcam. I wanna stream it live in browser using DASH. DASH requires creating mpd file (and segmentation). I found tools (such as mp4box) that accomplish that in static files, but i'm struggling to find a solution for live streams. any suggestions - preferably using node.js modules?

            Threads i have checked:

            1. mp4box - from one hand i saw this comment that states " You cannot feed MP4Box with some live content. You need to feed MP4Box -live with pre-segmented chunks." on the other hand there's a lot of people directing to this bitmovin tutorial which does implement a solution using mp4box. In the toturial they are using mp4box (which has a node.js api implementation) and x264 (which doesn't have node.js module? or is contained in ffmpeg/mp4box?)
            2. ngnix - ngnix has a module that support streaming to DASH using rtmp. for exemple in this toturial. I prefer not to go this path - as mention i'm trying to do it all in node.js.

            Although i read couple of posts with similar problem, I couldn't find a suitable solution. Help would be much appreciated!

            ...

            ANSWER

            Answered 2017-Apr-03 at 21:22

            The typical architecture is to send your live stream to a streaming server which will then do the heavy lifting to make the stream available to other devices, using streaming protocols such as HLS and DASH.

            So the client devices connect to the server rather than to your browser.

            This allows the video to be encoded and packaged to reach as many devices as possible with the server doing any transcoding necessary and potentially also creating different bit rate versions of your stream to allow for different network conditions, if you want to provide this level of service.

            The typical structure is encoded stream (e.g. h.264 video), packaged into a container (e.g. mp4 fragmented) and delivered via a streaming protocol such as HLS or DASH.

            Source https://stackoverflow.com/questions/43180020

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mp4box.js

            You can install using 'npm i videostream-mp4box' or download it from GitHub, npm.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Audio Utils Libraries

            howler.js

            by goldfire

            fingerprintjs

            by fingerprintjs

            Tone.js

            by Tonejs

            AudioKit

            by AudioKit

            sonic-pi

            by sonic-pi-net

            Try Top Libraries by gpac

            gpac

            by gpacC

            node-gpac-dash

            by gpacJavaScript

            mp4box-sw

            by gpacJavaScript

            tile-player

            by gpacJavaScript

            testsuite

            by gpacShell