softvelum / mpeg2ts Goto Github PK
View Code? Open in Web Editor NEWThis tool analyses HLS *.ts files to get containing streams' info
License: MIT License
This tool analyses HLS *.ts files to get containing streams' info
License: MIT License
/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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.