Commit Graph

2642 Commits

Author SHA1 Message Date
Saxon 513ac67ad9 codec/h264/h264dec: added tests for pps parsing found in pps.go and made necessary changes
Changes to get successful parsing included modification to moreRBSPData, and as a result
the Off function from the bits.BitReader. A couple of basic PPS tests have been added, but
more should be added once we know the scaling list parsing works.
2019-07-23 16:38:35 +09:30
Saxon Milton 269b607606 Merged in fix-package-import-mod (pull request #215)
codec/h264: Fix package, import paths and remove go module stuff

Approved-by: kortschak <dan@kortschak.io>
2019-07-19 10:48:14 +00:00
Saxon 3914bc1422 codec/h264/h264dec: fixed import paths 2019-07-19 15:44:45 +09:30
Saxon 5d31c49360 code/h264/h264dec: removed go module stuff 2019-07-19 15:21:17 +09:30
Saxon ce3d98bd3b codec/h264/h264dec: changed packages from h264 to h264dec 2019-07-19 15:20:39 +09:30
Saxon f7b1f2f7b8 codec/h264: decode pakage renamed to h264dec 2019-07-19 15:19:15 +09:30
Saxon Milton 38f5f983e8 Merged in fix-parse-calls (pull request #214)
codec/h264/decode: giving parsing function calls BitReaders instead of nil
2019-07-19 05:09:19 +00:00
Saxon ca717dddaf codec/h264/decode: giving parsing function calls BitReaders instead of nil 2019-07-19 14:36:50 +09:30
Saxon Milton 8a7a89d5a3 Merged in fix-merge (pull request #213)
codec/h264/decode: did not copy over most up to date version from old repo, so fixing that
2019-07-19 04:03:25 +00:00
Saxon 4a9da74ff0 codec/h264/decode: did not copy over most up to date version from old repo, so fixing that 2019-07-19 13:29:10 +09:30
Saxon Milton 6880cc3298 Merged in h264decode-move (pull request #212)
codec/h264: added mrmod h264decode pkg to our av/codec/h264 dir

Approved-by: kortschak <dan@kortschak.io>
Approved-by: Alan Noble <anoble@gmail.com>
2019-07-19 02:50:49 +00:00
Saxon 04de967aa8 h264: renamed files to make more go like 2019-07-19 12:09:30 +09:30
Saxon f856671ee7 codec/h264: added mrmod h264decode pkg to our av/codec/h264 dir 2019-07-18 14:02:42 +09:30
Saxon Milton 05f79ddbe3 revid: increase RtmpSender ring buffer size 2019-07-14 05:59:55 +00:00
scruzin e76b8b3800 Tidy up errors used by GetPTS(). 2019-07-13 09:17:44 +09:30
Alan Noble 590bdc2c2d Merged in feature/105 (pull request #211)
Feature/105

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: Alan Noble <anoble@gmail.com>
2019-07-12 06:08:03 +00:00
scruzin 9e5bc3806f Added GetPTS. 2019-07-12 14:24:30 +09:30
scruzin aa67134969 Added GetPTS() function. 2019-07-12 14:01:49 +09:30
Alan Noble 4f0a5948ed Merged feature/104 into master (with tests). 2019-07-11 10:29:48 +00:00
scruzin 01351a308b Added tests for IndexPid. 2019-07-11 19:29:46 +09:30
scruzin c717595adc Added length check to IndexPid. 2019-07-11 18:16:33 +09:30
scruzin c8a0b7df07 Fix IndexPid. 2019-07-11 17:33:16 +09:30
Alan Noble 3a96fe2bde Merged in feature/104 (pull request #210)
Feature/104

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: Alan Noble <anoble@gmail.com>
2019-07-11 07:25:34 +00:00
scruzin 4b57407e36 Don't wrap error unnecessarily. 2019-07-11 14:57:47 +09:30
scruzin b1e5890554 Update prev in IndexPid. 2019-07-11 14:54:06 +09:30
scruzin feea069758 Factored metaFromPMT out of ExtractMeta and added LastPid and IndexPid. 2019-07-11 14:51:23 +09:30
Alan Noble 44089d9c35 Merged in feature/103 (pull request #209)
Export StandardPAT, StandardPMT and MaxPTS.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: Alan Noble <anoble@gmail.com>
2019-07-10 04:15:23 +00:00
scruzin 90efebdc91 Added BasePMT which is a PMT without specific data, and removed StandardPMT. 2019-07-10 10:17:34 +09:30
scruzin 7414317429 Skip TestFromFrame if RTMP_TEST_FRAME env var not defined. 2019-07-10 09:45:55 +09:30
scruzin 1728c3a531 Export StandardPAT, StandardPMT and MaxPTS. 2019-07-10 09:26:54 +09:30
Saxon Milton aeb10e0ab7 Merged in mts-payload-extract (pull request #206)
container/mts: MTS payload extraction and further development of MTS utilities.

Approved-by: Alan Noble <anoble@gmail.com>
2019-07-05 03:00:29 +00:00
Saxon 36f1e8c78b container/mts/payload.go: fixed date in license 2019-07-04 19:48:30 +09:30
Saxon 09d772e9c3 container/mts/mpegts.go: equivalent -> identical in TrimToMetaRange error message 2019-07-04 19:47:34 +09:30
Saxon d2278cb914 container/mts/payload_test.go: corrected comment for TestExtract 2019-07-04 14:40:59 +09:30
Saxon 346dda0f4f container/mts/payload.go: corrected comment for errors used in TrimToMetaRange 2019-07-04 14:40:21 +09:30
Saxon cf600d4aa8 container/mts/payload.go: corrected comment for TimeToPTSRange 2019-07-04 14:39:38 +09:30
Saxon 081fb49d54 container/mts/payload.go: corrected comment for errors used in TrimToPTSRange 2019-07-04 14:39:07 +09:30
Saxon 0f92f7d727 container/mts/payload.go: fix spelling error in comment 2019-07-04 14:38:15 +09:30
Saxon b66f11db19 container/mts/payload.go: removed space after comment 2019-07-04 14:37:43 +09:30
Saxon ac0384127c container/mts/payload.go: removed TODO that's been resolved 2019-07-04 14:37:10 +09:30
Saxon 30dd27596b container/mts/mpegts_test.go: removed var block for single var clip 2019-07-04 14:36:26 +09:30
Saxon 5bbb8d01f2 container/mts/mpegts.go: added comment for global error vars used by FindPid 2019-07-04 14:34:34 +09:30
Saxon 866aa6bef3 container/mts/meta/meta.go: altered comment for GetAll 2019-07-04 14:33:12 +09:30
Saxon edb056d19b container/mts: not using string consts for error messages 2019-07-04 14:31:49 +09:30
Saxon 3696e353f2 container/mts: fixed conflicts 2019-07-04 09:50:46 +09:30
Saxon Milton 3e3fd39251 Merged in fix-get-pts-range (pull request #208)
container/mts: GetPTSRange checks for PUSI when looking for first PTS

Approved-by: Alan Noble <anoble@gmail.com>
2019-07-01 10:39:11 +00:00
Saxon b017e92185 container/mts: wrote more tests for GetPTSRange 2019-07-01 19:08:20 +09:30
Saxon 7bd885bcfb container/mts: fixed infinite loop 2019-07-01 14:01:49 +09:30
Saxon 0d240fa7ff container/mts: checking index so that we don't go out of bounds 2019-07-01 13:54:18 +09:30
Saxon 0497ee5302 container/mts: GetPTSRange checks for PUSI when looking for first PTS 2019-07-01 12:36:11 +09:30