Commit Graph

3088 Commits

Author SHA1 Message Date
Saxon 4ecd99b0f5 container/mts/encoder.go: gave MJPEG stream ID unique value 2019-09-24 12:54:12 +09:30
Saxon 191be04b11 revid: added support for MJPEG packetisation
Changes included adding support for variable InputCodec that may be set via netreceiver/vidgrind to set to H264/MJPEG. Also setting revid's lexTo
function to mjpeg.Lex in the case of an MJPEG InputCodec. Added options parameter to mts.NewEncoder function so that we can change options of the
encoder, namely whether it bases PSI interval on NAL type, or number of frames - in the case of MJPEG we based PSI interval on number of frames.
2019-09-24 07:42:26 +09:30
Saxon Milton f8f78947f9 Merged in picture-order-count (pull request #249)
codec/h264/h264dec/decode.go: decoding process for picture order count

Approved-by: Alan Noble <anoble@gmail.com>
2019-09-20 02:37:33 +00:00
Saxon Milton 1fba7556dd Merged in total-coeff-and-trailing-ones (pull request #243)
codec/h264/h264dec: parsing process for TotalCoeff and TrailingOnes

Approved-by: Alan Noble <anoble@gmail.com>
2019-09-20 00:38:58 +00:00
Trek H 1a8493853e Merge branch 'master' into audio-player 2019-09-19 12:44:25 +09:30
Saxon 4c7f36ee36 codec/h264/h264dec/decode.go: slightly simplified if-else statements regarding BottomField and FieldPic 2019-09-18 19:41:32 +09:30
Trek Hopton a48cc37132 Merged in move-audio-netsender (pull request #253)
Move audio-netsender from iot

Approved-by: kortschak <dan@kortschak.io>
2019-09-16 13:07:07 +00:00
Saxon 117a75ae55 codec/h264/h264dec: simplified logic where there are things applicable to non-IDRs, which we don't handle yet. 2019-09-16 22:07:57 +09:30
Dan Kortschak 8a9d914283 container/mts: use uint16 for media PID 2019-09-15 09:27:26 +09:30
Trek H 7ed73f3301 audio-player: fixed conflict 2019-09-14 22:35:37 +09:30
Trek H f46282ea15 Merge branch 'master' into audio-player 2019-09-14 22:33:57 +09:30
Trek H 64febc479b audio-player: log request status on error 2019-09-14 22:21:52 +09:30
Trek H d0e5fd954f audio-netsender: changed rac back to how it was 2019-09-14 22:05:51 +09:30
Trek H cf4d89c3f8 Merge branch 'master' into move-audio-netsender 2019-09-14 21:53:48 +09:30
Trek Hopton bfcd2607c7 Merged in adpcm-mts (pull request #252)
Small fixes for mts encoder handling audio

Approved-by: kortschak <dan@kortschak.io>
2019-09-14 12:02:38 +00:00
Trek H 4d50bbefca updated makefile 2019-09-14 21:10:30 +09:30
Trek H 49c5584179 audio-netsender: updated makefile to build audio ns 2019-09-14 21:05:58 +09:30
Trek H 9805506cf2 audio-player: changed syntax 2019-09-14 20:28:59 +09:30
Trek H bec24b684e Merge branch 'master' into adpcm-mts 2019-09-14 20:03:30 +09:30
Trek H 751ee29c79 removed audio-player files 2019-09-14 20:01:44 +09:30
Trek H 83a425ce2b audio-netsender: fixed type and netsender errors 2019-09-14 19:24:47 +09:30
Trek H 3bd3e52371 audio-netsender: moved audio-netsender from iot to av 2019-09-14 19:23:44 +09:30
scruzin f32ef80247 Use ausocean/utils v1.2.9. 2019-09-14 11:59:17 +09:30
scruzin 6f6f24b841 Use ausocean/utils v1.2.9. 2019-09-13 17:32:23 +09:30
Saxon 89452d55d3 codec/h264/h264dec/cavlc.go: simplified logic in loop to count leading zeros in formCoeffTokenMap 2019-09-13 11:21:00 +09:30
Saxon Milton 8adcd94f33 Merged in zombie-routine-fix (pull request #251)
revid: setup pipeline when revid.Start() is called, not on call to revid.New()

Approved-by: Alan Noble <anoble@gmail.com>
2019-09-12 23:52:57 +00:00
Trek H c3df750175 mts: set nalbasedpsi to false for audio 2019-09-12 23:12:55 +09:30
Trek H e7a02a818f mts: fixed type conversion 2019-09-12 21:29:40 +09:30
Trek H 2c7e28206d Merge branch 'master' into adpcm-mts 2019-09-12 21:11:50 +09:30
Trek H 96035f6d8b adpcm and mts: comments and pid change 2019-09-12 19:16:11 +09:30
Saxon Milton fe49be41ad revid: setting revid's config in revid.New 2019-09-12 07:47:46 +00:00
Saxon 9769a3c4a9 revid: not setting up pipeline until we start 2019-09-12 17:08:22 +09:30
Saxon 0fd56675d5 updating go mod 2019-09-12 13:24:44 +09:30
Saxon Milton 04fa5c1e2b Merged in http-post-fix (pull request #250)
codec/h264/parse.go: skip over access unit delimiters when getting nalType

Approved-by: Alan Noble <anoble@gmail.com>
2019-09-12 01:39:59 +00:00
Saxon e0509e7e61 codec/containter/mts/encoder_test.go: fixed bug in test 2019-09-11 09:57:45 +09:30
Saxon ecdaab175b codec/h264/parse.go: skip over access unit delimiters when getting nalType 2019-09-11 09:47:37 +09:30
Alan Noble 54fb4a551e Make up-to-date. 2019-09-10 09:54:54 +01:00
Saxon 5939db6f1b codec/h264/h264dec/decode.go: using if else structures for topFieldOrderCnt/bottomFieldOrderCnt value derivations in decodePicOrderCntType2 2019-09-10 12:12:08 +09:30
Saxon 40fa50d4f0 codec/h264/h264dec/decode.go: using if else structure for derivation of topFieldOrderCnt and bottomFieldOrderCnt in decodePicOrderCntType1 function 2019-09-10 12:06:35 +09:30
Saxon 0df182018a codec/h264/h264dec/decode.go: using else if structure instead of switch to derive value of vid.picOrderCntMsb 2019-09-10 11:32:46 +09:30
Saxon 88857ec5b9 codec/h264/h264dec/cavlc.go: fixed error message that's returned on failure to read coeffTokenTable string 2019-09-10 11:22:25 +09:30
Saxon Milton 2f6649b1f3 Merged in combine-information (pull request #246)
codec/h264/h264dec/cavlc.go: added process to comgine level and run information

Approved-by: Alan Noble <anoble@gmail.com>
2019-09-10 01:45:12 +00:00
Saxon 445649311b codec/h264/h264dec/cavlc.go: added process to comgine level and run information 2019-09-09 17:05:22 +09:30
Saxon 05e16ec260 codec/h264/h2646dec/cavlc.go: fixed build error caused by rebase 2019-09-09 16:48:10 +09:30
Saxon d78ca2d2d2 codec/h264/h264dec/cavlctab.go: commented const string representation of table 9-5. 2019-09-09 16:41:26 +09:30
Saxon 42a1918c0d codec/h264/h264dec: using const string instead of CSV file to hold table 9-5. Also made some other minor improvements 2019-09-09 16:41:26 +09:30
Saxon 92eb3e85a5 codec/h264/h264dec: created tokenMap type to make things more readable 2019-09-09 16:41:26 +09:30
Saxon 8316a621b9 codec/h264/h264dec/cavlc.go: fix comment inside parseTotalCoeffAndTrailingOnes 2019-09-09 16:41:26 +09:30
Saxon 4aa71e901c codec/h264/h264dec: put function parameters on one line for parseTotalCoeffAndTrailingOnes 2019-09-09 16:41:26 +09:30
Saxon 61a5065556 codec/h264/h264dec: added functions to get TrailingOnes and TotalCoeff as well as testing
The functions firstly derive the value of nC and then read the value of coeff_token from the BitReader. The table read prior and loaded into
a 'map' is then used to get the corresponding values of TrailingOnes and TotalCoef.
2019-09-09 16:41:26 +09:30