Tom Finegan
bb8cefd516
webm2ts: Converts WebM VPx video to a MPEG TS.
...
Built atop webm2pes, takes the output from webm2pes and packetizes it
into MPEG TS.
Change-Id: Ia122479ee91a112ad7fe223a571ca6d7ba66d406
2016-01-22 20:28:04 +00:00
Tom Finegan
453bf44d32
webm2pes: Begin addition of tests.
...
Just the basics:
- Some new test utilities.
- Basic setup for webm2pes testing.
Change-Id: I16bf0f5ef36e7c01f2788b2c92600d6a936bbd40
2016-01-22 11:02:34 -08:00
Tom Finegan
be35869ce3
libwebm_utils: Add FileDeleter.
...
Put the FILE clean up functor in a common place to avoid duplication.
Change-Id: I7bcb5b3e4df7aa37bb90920ecb8acccf94eeaa57
2015-12-17 08:50:23 -08:00
Tom Finegan
d6db1e1960
webm2pes: Add a WebM parser init method.
...
Pre-refactor a little to avoid some code duplication.
Change-Id: I8ce733be0c9e07544fc25bd9890d68fb14a7e84d
2015-12-17 08:50:23 -08:00
Tom Finegan
aa3593ec36
webm2pes: Rename Convert to ConvertToFile().
...
Change-Id: I98a928ff5b00e8961183136316be3615fd7462fe
2015-12-17 08:50:23 -08:00
Tom Finegan
3cb96b6e33
webm2pes: Move main() and helper functions into their own files.
...
- main() and Usage() to webm2pes_main.cc
- Other helpers to common/libwebm_utils.{cc,h}
Change-Id: I59e45f0e63449066b493c4e536e0be001372504c
2015-12-17 08:38:13 -08:00
Tom Finegan
852e1733a8
webm2pes: Split super frames and packetize large frames.
...
- PES depacketizers don't want anything but simple encoded frames.
- Large in this case means frame size + size of PES header
is > UINT16_MAX.
Change-Id: Ifb76caaa97a0dcf3600228a0cbc4d4f2533027a7
2015-12-07 20:14:53 -08:00
Tom Finegan
faf85c227d
webm2pes: Refactor header/optional header writing.
...
- Move class declarations to webm2pes.h.
- Add some visual demarcation between the method definitions for each
class in webm2pes.cc.
- Reorganize the output code to make further development simpler.
- Also, clang format noise.
Change-Id: Id6d156e1f255cefe30a62784a3eadde6b93ae614
2015-12-03 14:42:37 -08:00