Commit Graph

3521 Commits

Author SHA1 Message Date
Saxon 0825799cfa container/mts/mpegts.go: renamed IndexPid to FindPSIs and change such that only looked for PSI
We have only ever used this function to find PSI so it makes sense to make it exclusive for this. It now also returns the streams found in the PMT. So that
we can actually retrieve the PIDs of the media and their types.
2019-07-24 12:39:18 +09:30
Saxon 4807b4fcb6 container/mts/mpegts.go: added some commenting to MediaStreams 2019-07-24 00:17:57 +09:30
Saxon bdc3b4cfc5 container/mts/mpegts.go: added Programs, Streams and MediaStreams functions 2019-07-24 00:04:10 +09:30
Trek H e23c1aac7e audio-player: wasm decoding merged with pcm player 2019-07-23 17:57:03 +09:30
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
Trek H 1842319957 audio-player: added go wasm for access to go adpcm package 2019-07-23 14:28:43 +09:30
Saxon 0240c4c5f7 codec/h264/h264dec: wrote DecRefPicMarking type with constructor and gave to SliceHeader type 2019-07-22 15:13:18 +09:30
Saxon c193853015 codec/h264/h264dec: wrote PredWeightTable type with constructor and gave to SliceHeader struct 2019-07-22 14:01:23 +09:30
Saxon 47d0c300fc codec/h264/h264dec: created RefPicListModification type with constructors and separated from SliceHeader type 2019-07-22 12:56:37 +09:30
Saxon a755ccfc58 codec/h264/h264dec: separated VUI and HRD from SPS struct
Took out all VUI and HRD parameters from the SPS struct and gave them their own structs - VUIParameters and HRDParameters, along with 'contructors'
NewVUIParameters and NewHRDParameters to parse from a bits.BitReader and populate the fields of the struct.
2019-07-21 22:11:27 +09:30
Saxon 865c1676da codec/h264/h264dec: wrote explantory comment for neglectance of io.EOF error when peeking in RBSP parsing process 2019-07-21 21:22:55 +09:30
Saxon 4d65d0d433 codec/h264/h264dec: fixed random build errors 2019-07-19 20:58:01 +09:30
Saxon 278c6f2ef1 codec/h264/h264dec/nalunit.go: added commenting 2019-07-19 20:51:48 +09:30
Saxon bdf3b37fef codec/h264/h264dec: fixed import path for bits package 2019-07-19 20:23:30 +09:30
Saxon ee12e4e90e codec/h264/h264dec: merged in master an fixed conflicts 2019-07-19 20:22:25 +09:30
Saxon f11ba2b433 codec/h264/h264dec: renamed NalUnit function to NewNALUnit and cleaned it up 2019-07-19 20:20:33 +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 24f6b2d12f codec/h264/decode: added MVCExtension type and NewMVCExtension func 2019-07-19 18:04:51 +09:30
Saxon e54bc234c8 codec/h264/decode: added ThreeDAVCExtenstion type and NewThreeDAVCExtension function 2019-07-19 17:50:45 +09:30
Saxon 0d9861c49e codec/h264/decode: added SVCExtension struct with NewSVCExtension function 2019-07-19 17:37:54 +09:30
Saxon 16b4d570b6 codec/h264/h264dec/bits/bitreader.go: added ReadBool and ReadBitsInt methods 2019-07-19 17:25:57 +09:30
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
Trek H f0b198b612 audio-player: removed unused elements 2019-07-18 16:12:31 +09:30
Trek H 99acedb343 audio-player: playing pcm in browser 2019-07-18 16:04:50 +09:30
Saxon f856671ee7 codec/h264: added mrmod h264decode pkg to our av/codec/h264 dir 2019-07-18 14:02:42 +09:30
Trek H f7e877eb0c audio-player: initial commit 2019-07-18 13:11:52 +09:30
Trek H 8518d931c6 codecutil: made zeroTicks global 2019-07-15 17:55:42 +09:30
Trek H eb4a325981 codecutil: removed unused code 2019-07-15 15:32:42 +09:30
Trek H 72d56e31ee codecutil: updated logic for 0 delay lexing 2019-07-15 15:17:16 +09:30
scruzin 4d5a5f1385 Merge branch 'master' of https://bitbucket.org/ausocean/av 2019-07-15 08:52:07 +09:30
scruzin 6efed19b7f Use ausocean/iot v1.2.5. 2019-07-15 08:50:45 +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