Commit Graph

175 Commits

Author SHA1 Message Date
Saxon Nelson-Milton dddfcc256b vidforward & codecutil & mts & device & revid: improved Noop lexer code using ring buffer structure and improved overall commenting and code 2022-09-21 16:47:58 +09:30
Saxon Nelson-Milton 46e97debd5 cmd/vidforward & revid: initial implementation of vidforwarding software 2022-09-09 11:24:29 +09:30
Saxon Nelson-Milton 5eb5992f15 using latest version of utils and using latest logging package 2022-05-27 15:42:58 +09:30
Saxon Nelson-Milton e894abe339 improved container/mts/encoder.go error wrapping and checking errors from encoder write in revid/senders_test.go 2022-05-27 11:58:53 +09:30
Trek H 98e925b23b mts: remove gots packet conversion func, moved to iotsvc for local use 2021-04-08 17:58:49 +09:30
Trek H 624bf79a6e mts: expand on comment 2021-03-31 21:00:00 +10:30
Trek H a8e65bfa7b mts: updated authors 2021-03-31 20:40:40 +10:30
Trek H 5dac5f952c mts: small style/syntax changes 2021-03-31 20:33:51 +10:30
Trek H ed40392bb5 mts: add function for converting byte slice to packet.Packet 2021-03-31 20:31:16 +10:30
Trek H 6d5cfb5337 meta: use specific metadata keys in tests, not main package 2021-02-22 16:45:11 +10:30
Trek H fdf17f3a97 meta: add consts for metadata keys 2021-02-22 16:37:13 +10:30
Trek H 357cb196b9 mts: change meta const names eg. WriteRateStr to WriteRateKey 2021-02-22 16:17:36 +10:30
Trek H 3ec7201d9c mts: updated tests to use metadata key string consts 2021-02-22 15:50:54 +10:30
Trek H 9211ae4338 codecutil, revid: make codec a type and make const strings for metadata keys 2021-02-22 14:16:41 +10:30
Trek H bbd779d28e revid: update tests to include writeRate metadata 2021-02-17 10:35:48 +10:30
Trek H 8529caacca revid: put writeRate into metadata for mts 2021-02-16 14:57:47 +10:30
Saxon Nelson-Milton fa4713f8fd device/raspistill & revid & container/mts: fixed issues with raspistill test implementations and made slight logging improvements in mts encoder and revid. 2021-02-03 12:17:23 +10:30
Saxon Nelson-Milton 0148c89c7b container/mts/encoder.go & revid: adressing PR feedback 1 2021-01-29 11:18:19 +10:30
Saxon Nelson-Milton b077752462 revid & device/raspistill & container/mts: integrating device/raspistill functionality into revid 2021-01-27 16:49:17 +10:30
Saxon Nelson-Milton 45c019a062 device: add raspistill package housing release and testing implementations 2021-01-20 14:33:47 +10:30
Saxon Nelson-Milton af519d61fa codec: renmaed mjpeg package to jpeg and alter terminology throughout av repo to use mjpeg and jpeg terms appropriately. 2021-01-18 15:29:21 +10:30
Trek H ba8050f66f pes: PCM is SID 192, ADPCM 193 2020-12-22 13:05:11 +10:30
Trek H 236d2c5f48 pes/codecutils: move SID functionality to pes from codecutils, add PCM and ADPCM encoding options 2020-12-22 12:51:20 +10:30
Trek H 5ad8a6ed2d revid: update encder test to use Rate() with float argument 2020-08-14 13:07:03 +09:30
Trek H cc8d205d67 revid: simplify write rate 2020-08-14 11:32:32 +09:30
Saxon Milton 5f5a1d03a1 Merged in psi-field-naming (pull request #414)
container/mts/psi: improved PSI structs field naming

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-05-19 12:28:28 +00:00
Saxon a96f805e35 container/mts: add constructors for standard PAT and PMT PSI tables in psi package and have MTS encoder use these. 2020-05-12 18:15:37 +09:30
Saxon fb04d23822 container/mts/psi/helpers.go: removed TimeFrom and usage in psi_test.go 2020-05-06 22:39:46 +09:30
Saxon d17880714e container/mts: make rate and media type encoder parameters option functions 2020-05-06 20:10:55 +09:30
Saxon 13ce7cdba0 container/mts: doing logging in encoder code now 2020-05-03 16:54:12 +09:30
Saxon 18ffefd7cb give container/mts NewEncoder(...) log parameter and update code around repo accordingly 2020-05-03 14:14:31 +09:30
Ella Pietraroia 149f95af84 no package level comments in test files 2020-04-23 12:34:11 +09:30
Ella Pietraroia 945bc61a26 comtainer: mts: package level comments 2020-03-12 15:36:28 +10:30
Scott Barnard d996635232 Merged in meta-more-unit-tests (pull request #381)
add unit tests for NewFromMap and EncodeAsString methods

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-02-29 05:29:54 +00:00
Scott 48a3aea7f4 container: add package comments to flv, pes, meta and psi packages 2020-02-26 14:32:08 +10:30
Scott 7ae9f265e0 add TestDeleteOrder to check that the order of keys is correct after deletion 2020-02-26 10:57:48 +10:30
Scott 9a9dba0cd2 add unit tests for NewFromMap and EncodeAsString methods 2020-02-26 10:57:48 +10:30
Scott 813c1d38e7 container/mts/meta: make Delete method correctly update order field 2020-02-26 10:53:22 +10:30
Scott cca292ea17 mts/meta: created EncodeAsString and GetAllFromString methods 2020-02-19 13:10:05 +10:30
Scott 6855244424 mts/meta: created NewFromMap method 2020-02-19 12:57:25 +10:30
Scott d0adae710e PR fixes 2019-12-19 14:21:32 +10:30
Ella Pietraroia 0ec0a08e0e comments and some other small changes made to revid.go encoder.go and config.go 2019-12-19 11:15:47 +10:30
Ella Pietraroia 222864108f making a time based psi method for when to send packets
Added a case that allows packets to be sent by unit of time (in seconds) rather than by number of packets or nal methods. Also made a variable that can be changed in vidgrinder to choose the amount of time, called PsiTime
2019-12-19 09:56:24 +10:30
Scott e116e197ae Changed all %v's to %w's where appropriate 2019-12-04 14:12:20 +10:30
Saxon d554173d7c container/mts/encoder.go: fixed typo in comment for global Meta var 2019-09-24 12:57:38 +09:30
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
Dan Kortschak 8a9d914283 container/mts: use uint16 for media PID 2019-09-15 09:27:26 +09:30
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