Code Monkey home page Code Monkey logo

mpeg2ts's People

Contributors

wmspanel avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

mpeg2ts's Issues

RunTimeError during analysis of hls .ts chunk

/mpeg2ts.rb:207:in `processAdaptationField': not supported adaptation field (RuntimeError)

from /mpeg2ts/mpeg2ts.rb:418:in `processMPEG2TSBlock'
from /mpeg2ts/mpeg2ts.rb:450:in `block in <main>'
from /mpeg2ts/mpeg2ts.rb:443:in `open'
from /mpeg2ts/mpeg2ts.rb:443:in `<main>'

I'm running on OSX 10.9.5 and trying to analyze a .ts file from an instance of wowza 4.1.x.

$ ruby -v
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]

The rest of the output looks sane as it seems to be describing the details of the PES and related fields successfully.

`processElementaryStreams': Incorrect PES package (RuntimeError)

Hopefully this debug info should be helpful:

"PUSI=1 PID=0 AFC=1 CC=3"
"Program map PID = 480"
"PUSI=1 PID=480 AFC=1 CC=3"
"pcr_pid=481"
"Elementary Stream Description {"
" PID=256"
" TYPE=27"
" TYPE_DESC=AVC video stream as defined in ITU-T Rec. H.264 | ISO/IEC 14496-10 Video"
"}"
"Elementary Stream Description {"
" PID=257"
" TYPE=15"
" TYPE_DESC=ISO/IEC 13818-7 Audio with ADTS transport syntax"
"}"
"PUSI=0 PID=481 AFC=2 CC=0"
"PUSI=1 PID=256 AFC=1 CC=4"
"pid=256 pts=2700000"
mpeg2ts.rb:333:in `processElementaryStreams': Incorrect PES package (RuntimeError)
    from mpeg2ts.rb:393:in `processMPEG2TSBlock'
    from mpeg2ts.rb:421:in `block in <main>'
    from mpeg2ts.rb:414:in `open'
    from mpeg2ts.rb:414:in `<main>'

The command I run is: ruby mpeg2ts.rb SOME.ts -v --output pes_packets. I get a file containing packets created in pes_packets/256/0 and that's it.

Hope that helps.

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.