Commit Graph

183 Commits

Author SHA1 Message Date
saxon 19821553e8 cmd/ts-repair: added required consts and undid changes to mts pkg 2019-02-08 18:07:59 +10:30
saxon e98d7bb62e created experimentation dir under av, and moved flac package here.
created experimentation dir under av, and moved flac pkg here.

experimentation/flac: removed wav file
2019-02-08 18:07:59 +10:30
saxon 5b131c80f6 av/stream/flac: updated test file directory 2019-02-08 18:07:59 +10:30
saxon 3f41c7b72b av/stream/flac: cleaned up testing file 2019-02-08 18:07:59 +10:30
saxon 1104c96a2f av/stream/flac: saving progress 2019-02-08 18:07:59 +10:30
saxon e557734c83 av/stream/flac: added writeseeker tests 2019-02-08 18:07:59 +10:30
saxon da5e13bb5d av/stream/flac: finished cleaning up decode 2019-02-08 18:07:59 +10:30
saxon 3ee56bff1a av/stream/flac: working on cleaning up decode code 2019-02-08 18:07:59 +10:30
saxon 3773fc79fa av/stream/flac/decode.go: wrote func headers 2019-02-08 18:07:59 +10:30
saxon 40ed9fcee1 av/stream/flc: using my own writeSeeker implementation - working 2019-02-08 18:07:59 +10:30
saxon 670ebfeaf8 av/stream/flac: moved readAll to after loop 2019-02-08 18:07:59 +10:30
saxon 05f5a967fe av/stream/flac: using writerseeker to pass to wav.NewEncoder because I don't want to give it a file, but it's not working 2019-02-08 18:07:59 +10:30
saxon 631b3a27f2 av/stream/flac: wrote decode function and test to see if we can get wav. 2019-02-08 18:07:59 +10:30
saxon dda6602a47 av/stream/flac: added decode.go and flac_test.go 2019-02-08 18:07:59 +10:30
saxon a6d02a2e02 stream/mts: adding some constants 2019-02-08 18:06:47 +10:30
saxon cdd6703930 } 2019-02-06 15:45:14 +10:30
saxon 31b9ec07e9 stream/mts/encoder.go: no need to have a now field to capture current time - this can be local to encode function 2019-01-24 14:39:14 +10:30
saxon 42c9fb1d09 stream/mts/encoder.go: writing psi based on time interval rather than number of packets interval 2019-01-24 14:33:22 +10:30
Saxon Milton 286ae4334b Merged in psi-at-start (pull request #127)
stream/mts/encoder.go: writing psi at start of stream

Approved-by: Alan Noble <anoble@gmail.com>
2019-01-24 02:53:53 +00:00
saxon df146cfb17 stream/mts/encoder.go: writing psi at start of stream 2019-01-23 15:50:25 +10:30
saxon 6b4e0946dd stream/mts/mpegts.go: updated FindPMT comment 2019-01-22 11:27:24 +10:30
saxon ba209a1d7c mts/mpegts.go: FindPMT now also returns index 2019-01-22 11:21:12 +10:30
saxon bc3a73bedc av/stream/psi/psi_test.go: updated comment for buildPmtWithMeta() 2019-01-21 18:25:06 +10:30
saxon 67d952c6a7 psi/psi_test.go: made buildPmtWithMeta() safer and readable 2019-01-20 21:58:23 +10:30
saxon a24e4ecb81 psi/psi_test.go: not making it look like I'm appending directly to a global 2019-01-20 21:48:34 +10:30
saxon c4990c946f psi/psi_test.go: not wrapp tstStr in []byte 2019-01-20 21:39:07 +10:30
saxon 239cebe347 psi/psi_test.go: made location tsts const 2019-01-20 21:12:26 +10:30
saxon 3835ff7ce1 psi/psi_test.go: made location tsts strings again and have buildPmtWithMeta take a string instead of []byte 2019-01-20 21:11:09 +10:30
saxon b69c990b21 psi/psi_test.go: got rid of bytes declaration for location strigns 2019-01-20 21:04:27 +10:30
saxon 1a966e8f9b psi/psi_test.go: improved some naming 2019-01-20 20:43:00 +10:30
saxon 5c4795786e psi/helpers.go: modified UpdateLocation() to make updating of location in pmt cleaner, and also removed redundant conversion of string to byte slice 2019-01-20 20:14:27 +10:30
saxon 98d89a4e4e mts: got rid of LocationStrBytes func 2019-01-18 13:21:35 +10:30
Saxon Milton a76be1fd5b Merged in single-frame-h264 (pull request #108)
av: allow for single h264 frame streaming

Approved-by: kortschak <dan@kortschak.io>
2019-01-16 05:28:20 +00:00
saxon ae4d052a9f need to update with master
Merge branch 'master' into fix-psi-bug
2019-01-13 20:13:42 +10:30
saxon 1ae261dce4 psi: return t instead of d in addPadding() func 2019-01-13 20:13:35 +10:30
saxon 7f140baf22 rtp: corrected error in comment 2019-01-13 16:42:30 +10:30
saxon cb762c04c6 rtp: set defPayloadSIze to sendLen which is 7 *188 and also commented consts 2019-01-13 16:40:25 +10:30
saxon efbc2a1a77 revid: fixed conflict with master regarding fatal log when raspivid doesn't start successfully 2019-01-13 14:36:49 +10:30
saxon c4e2ca64a9 psi: modified addPadding to only do one resize 2019-01-12 17:51:39 +10:30
saxon 46f5ffd6f2 mts: PktSize to PacketSize 2019-01-12 17:36:35 +10:30
saxon 010abcfd0c mts: ccMask to continuityCounterMask in encoder.go 2019-01-12 17:34:43 +10:30
saxon 662d71bf54 mts+psi: fixed conflicts with master 2019-01-12 17:03:55 +10:30
saxon 1e1a6bf0eb rtmp: re-added blank line in rtmp_test.go and renamed sei to suppEnhInfo 2019-01-11 23:43:54 +10:30
saxon 27081e1ea9 flv: added back dans NewEncoder write fail code 2019-01-11 23:39:49 +10:30
Dan Kortschak 65e2ab3f6a stream/mts{,psi}: fix comments 2019-01-11 22:29:48 +10:30
saxon b63c55ae48 flv: fixed NewEncoder so that we still create encoder even if the HeaderByte write fails 2019-01-11 18:09:32 +10:30
saxon 83f5e9e68d rtmp: no longer hardcoding frame test file path 2019-01-11 18:03:07 +10:30
saxon 10860e4e48 lex: modified h264 lexer to consider nal type 6 packets, i.e. sei packets, which seem important fro repeating single frames 2019-01-11 17:20:56 +10:30
Dan Kortschak 9d70949e2e stream/flv: write first previous tag size 2019-01-11 14:55:05 +10:30
Dan Kortschak 7f07c4cb20 revid,stream/flv: add back initial header write 2019-01-11 13:53:05 +10:30