Giter Site home page Giter Site logo

io_flv's Introduction

IO_FLV

flv (flash video format) parser & builder

Usage

% composer require yoya/io_flv
% php vendor/yoya/io_flv/sample/flvdump.php
Usage: php flvdump.php [-h] -f <flvfile>
% php vendor/yoya/io_flv/sample/flvdump.php -f input.flv
Signature:FLV Version:1 Audio:1 Video:1 DataOffset:9
[0] PreviousTagSize:0 Filter:0 TagType:18(ScriptTag)
  DataSize:358 Timestamp:0 StreamID:0
  Type:2(String) Value:onMetaData
  Type:8(ECMA array) Length:16
  Name:duration: Value:
    Type:0(Number) Value:2.653
  Name:width: Value:
    Type:0(Number) Value:1920
(...omit...)
[1] PreviousTagSize:369 Filter:0 TagType:8(AudioTag)
  DataSize:193 Timestamp:0 StreamID:0
SoundFormat:2(MP3) SoundRate:3(44 kHz)
SoundSize:1(16-bit samples) SoundType:0(Mono sound)
             0  1  2  3  4  5  6  7   8  9  a  b  c  d  e  f  0123456789abcdef
0x00000000  ff fb 54 c4 00 00 07 5c  03 5b b4 10 80 21 9e 14    T    \ [   !
[2] PreviousTagSize:204 Filter:0 TagType:9(VideoTag)
  DataSize:147336 Timestamp:23 StreamID:0
FrameType:1(key frame (AVC, seekable)) CodecID:2(Sorenson H.263)
             0  1  2  3  4  5  6  7   8  9  a  b  c  d  e  f  0123456789abcdef
0x00000000  00 00 84 00 83 c0 02 1c  13 be 17 e2 b5 5c 1f fb               \
(...omit...)

reference

io_flv's People

Contributors

yoya avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pancts

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.