Commit Graph

22 Commits

Author SHA1 Message Date
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
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 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
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 e0509e7e61 codec/containter/mts/encoder_test.go: fixed bug in test 2019-09-11 09:57:45 +09:30
Trek H 3f29f0c84e Merge branch 'master' into revid-audio 2019-08-02 23:32:21 +09:30
Saxon edb056d19b container/mts: not using string consts for error messages 2019-07-04 14:31:49 +09:30
Trek H 95fc69b3c5 audio: syntax and error checking 2019-06-20 18:04:58 +09:30
Saxon 513e9d06ff container/mts: moved contents of metaEncode_test.go to encoder_test.go and deleted metaEncode_test.go
The contents within metaEncode_test.go were strongly related to the contents
in encoder.go, so the code was moved and the file was deleted.
2019-06-15 02:13:49 +09:30
Trek H d23f40c85d mts: updated reference to old pid vars 2019-06-06 02:54:00 +09:30
Saxon d29141cf05 container/mts: changed consts H264, H265 and Audio to EncodeH264, EncodeH265 and EncodeAudio 2019-05-21 16:57:17 +09:30
Saxon 548b7caa81 revid: fixed rtpPort and rtcpPort parsing and added H264 and H265 IDs
Added H264ID and H265ID consts and added logic to select this const for use in encoder based on mediaType param in NewEncoder. Also now
declaring PMT in NewEncoder so that we can set streamID correctly based on mediaType.
2019-05-16 13:57:10 +09:30
Saxon 51f4d123bf container/mts: using MPEG-TS in comments rather than MPEGTS or mpegts 2019-05-11 21:14:28 +09:30
Saxon 1e7d3508e3 container/mts/encoder_test.go: simplified some code and improved commenting 2019-05-08 00:03:44 +09:30
Saxon a0e2360f2b container/mts/encoder_test.go: corrected typo in comment for expectedHeaders 2019-05-07 23:57:48 +09:30
Saxon 977dab9673 container/mts/encoder_test.go: finished writing test TestEncodeVideo
Test is also now checking payload data as well as MPEGTS headers.
2019-05-07 23:49:31 +09:30
Saxon 3292ce0506 container/mts: simplified Packet.Bytes(), and tested 2019-05-07 23:10:03 +09:30
Saxon 0e362e6056 container/mts: wrote test TestEncodeVideo
Wrote a test to check mts encoding of video to validate packet creation etc. Test is failing because how I did mts
encoding is interesting, thinking about changing.
2019-05-07 21:22:57 +09:30
Saxon dbec11f3b4 container/mts: renamed audio_test.go to encoder_test.go
This file will now contain any tests pertinent to the mts encoder.
2019-05-07 13:20:06 +09:30