GithubHelp home page GithubHelp logo

janbar / demux-mpegts Goto Github PK

View Code? Open in Web Editor NEW
73.0 73.0 26.0 106 KB

MPEG TS demuxer written in C++. Adds basic parsers for common streams: mpeg2video, mpeg2audio, AAC, AC3, h264, hevc

CMake 3.11% C++ 96.89%

demux-mpegts's People

Contributors

janbar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

demux-mpegts's Issues

`AVCONTEXT_IO_ERROR` is raised when demuxing a TS video.

Platform: iOS 8.1
Video: H.264/MPEG-4 AVC, 1920 x 1080
Audio: ACC, Mono

The audio is demuxed properly, however, not the video.

[DEMUX] dump stream infos for channel 1 PID 1011
  Codec name     : h264
  Language       : 
  Identifier     : 00000000
  FPS scale      : 33367
  FPS rate       : 1000000
  Interlaced     : false
  Height         : 1080
  Width          : 1920
  Aspect         : 1.778
  Channels       : 0
  Sample rate    : 0
  Block align    : 0
  Bit rate       : 0
  Bit per sample : 0

[DEMUX] time 00003.003 : PTS=32699667 Position=3386632
[DEMUX] time 00006.006 : PTS=32969937 Position=6560072
[DEMUX] time 00009.009 : PTS=33240207 Position=9745544
[DEMUX] Do: stopped with status -2

The error is raised at

return AVCONTEXT_IO_ERROR;
, when av_pos = 10571052 and av_pkt_size = 188.
The video in question is supplied to the author's email, [email protected] on 2015-09-09.

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.