Icontem

JavaScript FLV Parser: Parse and extract information from FLV video files

Recommend this page to a friend!
  Info   View files Example   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-05-07 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 1 This week: 1All time: 446 This week: 29Up
Version License JavaScript version Categories
flvinfo 1.0Custom (specified...5Audio, Video, Parsers
Description Author

This object can parse and extract information from FLV video files.

It can take the URL or selected file of a FLV video and read it to parse its information.

The object takes a callback function to handle errors, or if it succeed it calls another callback function passing the parse information in easy to process data structure.

It returns information about the audio and video streams like the format, compatibility, duration, bitrate, creator, codecs, size, samples, language, frame rate, width, height, etc..

Picture of Dantigny francois
  Performance   Level  
Name: Dantigny francois <contact>
Classes: 5 packages by
Country: France France
Innovation award
Innovation award
Nominee: 4x

Details

FLVInfo.js

Sort of "Mediainfo" for FLV Files - little FLVParser (just for main technics information about the file)

Dependances : null

Usage :

<script src="FLVInfo.js" type="text/javascript" charset="utf-8"></script> <-- or FLVInfo_min.js -->
(in single file .html)

importScripts('FLVInfo.js');                                              <-- or FLVInfo_min.js -->                                        
(in worker)

How use it :

 
        flv(this.files[0], function(err, info) {
            if (err) {
                .....
            } else {
                sortie_texte = human_reading(info);
                ....
            }
        }); 

FLVInfo return an object structured (named 'info') wich contains a lot of technicals information about the file. If we want to read this informations, we need to make them readable. So human_reading is here ! Try with short files because FLV parse the totality of the file. So, more big is the fie, more time to do the job !

Examples :


for a single file and no worker : index.html
for multiple files and worker   : indexw.html

Try it ?

http://aroug.eu/FLVInfo/   (multiple + worker + use FLVInfo.min.js)    
  Files folder image Files  
File Role Description
Plain text file FLVInfo.js Class Main Class
Plain text file FLVInfo_min.js Class Main class minified
Accessible without login Plain text file index.html Example Example single file
Accessible without login Plain text file indexw.html Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file workerFLV.js Example Main class worker

 Version Control Unique User Downloads Download Rankings  
 100%
Total:1
This week:1
All time:446
This week:29Up