Commit Graph

617 Commits

Author SHA1 Message Date
Dan Kortschak 5d8eca850c mts: rename encoder type 2018-08-19 20:39:57 +09:30
Dan Kortschak c0f9f7bf7b encoding: restructure packages handling stream encoding 2018-08-19 20:29:22 +09:30
kortschak 9e28fd45fd Merged in gardening/tsgen (pull request #44)
generator: clean up MPEG-TS encoding

Approved-by: Alan Noble <anoble@gmail.com>
2018-08-19 08:45:29 +00:00
Dan Kortschak 7ee79ad0be generator: update copyright dates 2018-08-19 13:34:33 +09:30
Dan Kortschak b036517329 generator: add CRC32 calculation
This uses a big-endian CRC32 algorithm rather than the hash/crc32
package's little-endian implementation.
2018-08-19 10:25:37 +09:30
Dan Kortschak 9a73d00fff generator: disect and annotate pat and pmt tables 2018-08-18 23:28:26 +09:30
Dan Kortschak 3279a4746d generator: refactor main processing loop and improve commentary 2018-08-18 17:19:26 +09:30
Dan Kortschak 7d1bfcefe9 generator: merge PTS and PCR clocks 2018-08-18 13:36:14 +09:30
Dan Kortschak 1fb325314d generator: clean up time 2018-08-18 13:21:50 +09:30
Dan Kortschak 15d2fc6afe generate: remove sdtPid map entry 2018-08-18 12:06:34 +09:30
Dan Kortschak ddb78a6234 generator: clean up MPEG-TS encoding
This deletes or marks unused cruft, removes internal chans and makes
interface chans single item long to make way for removal.
2018-08-18 11:27:39 +09:30
saxon 05b9416aa4 Simplified code 2018-08-18 01:00:51 +09:30
saxon 6b2644a517 Fixed problems with mpegts generator 2018-08-18 00:48:13 +09:30
Raul Vera e3fbe17ba2 Merged in argTweak (pull request #42)
Separate the revid -t argument from the raspivid -t argument.

Approved-by: Alan Noble <anoble@gmail.com>
2018-08-10 07:09:10 +00:00
Raul Vera dc1d09f8ae Separate the revid -t argument from the raspivid -t argument. 2018-08-10 04:37:54 +00:00
saxon.milton@gmail.com 5861fe64d0 Merged in revidTestingImrpovement (pull request #37)
RevidTestingImprovement

Approved-by: kortschak <dan@kortschak.io>
2018-07-10 03:15:13 +00:00
Dan Kortschak 372c42d5aa flv,generator: clean up FLV handling 2018-07-07 15:27:59 +09:30
Dan Kortschak d7525e0a47 cmd/revid-cli: add profiling support 2018-07-05 20:54:10 +09:30
Dan Kortschak db6ca2922a revid,parse: wire parse.H264 to revid
Through experimentation I have realised the previous ordering of NALU
types does not work with YouTube. I have also exhaustively checked the
requirement for each of the 3 NALU types that are checked and all are
needed. Finally, I have checked whether 7 is needed because of its
inclusion in a parallel branch; checking for this type prevents this
code from working.
2018-07-05 19:10:17 +09:30
Dan Kortschak 353d2cfcc7 revid,revid-cli: remove non-functional RTP mention and add MPEGTS config option 2018-06-30 21:50:55 +09:30
Dan Kortschak 3990482ac4 rtmp: actually use our rtmp
Previously ld was linking with the system-wide lib, which is a
dependency of apt, and so present on the system by default. We could
drop our code here, but at the moment it is convenient to leave for
devugging purposes.
2018-06-28 21:09:21 +09:30
Alan Noble dd9e7751e5 Skip looping for X23 when rv is nil. 2018-06-28 16:13:06 +09:30
Alan Noble 796aaa9d95 Start revid if !paused. 2018-06-28 16:01:15 +09:30
Alan Noble 0daaf89154 Defend against nil rv in send(). 2018-06-28 15:31:34 +09:30
Alan Noble 9dd53b58a0 Initialize vs by calling VarSum() before looping. 2018-06-28 14:34:05 +09:30
Alan Noble 5ff305e71a Merged in netsender-sharing (pull request #36)
Added ns to Revid struct, so it could be exposed as a httpSender, and refactored revid-cli accordingly.

Approved-by: kortschak <dan@kortschak.io>
2018-06-27 02:05:17 +00:00
Alan Noble 99ef1d0727 PR feedback and some other clean-up. 2018-06-27 07:50:05 +09:30
Alan Noble 1645b759f1 Added ns to Revid struct, so it could be exposed as a httpSender, and refactored revid-cli accordingly. 2018-06-26 15:53:55 +09:30
Dan Kortschak 62147e160d parse: new package to replace parser
This package provides stateless parsing, simplifying inclusing in
concurrent use and reducing synchronisation.

Use depends on a chan writer type until the generator package is
simplified.
2018-06-25 23:22:38 +09:30
Alan Noble 1383fd8b91 Ignore system params in updateRevid(). 2018-06-25 11:26:08 +09:30
Alan Noble 1e2396716e Removed all command-line params but -NetSender so that all (non-default) params are taken from NetReceiver. 2018-06-25 11:17:57 +09:30
Alan Noble 904fa6d7dc Added "Output" case to updateRevid() plus better error checking. 2018-06-25 11:09:56 +09:30
Alan Noble 9d113cc498 Renamed NativeRtmp to just Rtmp - since it is exposed to clients. FfmpegRtmp should be deprecated. 2018-06-25 10:53:26 +09:30
Alan Noble 72d7dc3991 GetConfigParam() renamed Param(). 2018-06-25 10:10:37 +09:30
Alan Noble 41282aa2b4 Merge branch 'master' of https://bitbucket.org/ausocean/av 2018-06-24 22:02:03 +09:30
Alan Noble 3396b12ade @echo => echo 2018-06-24 22:01:32 +09:30
Dan Kortschak 647641bed6 revid: clean up input handling 2018-06-24 21:31:09 +09:30
Alan Noble 4fc6e69b12 Call Log() _after_ initializing Logger. 2018-06-24 19:52:46 +09:30
Alan Noble df36237c22 Log when running in NetSender mode. 2018-06-24 18:31:33 +09:30
Alan Noble 48aa73be9c Show IP addresses. 2018-06-23 15:35:53 +09:30
Alan Noble 75235f3d82 Initial revision. 2018-06-22 20:56:42 +09:30
Alan Noble c01300eef6 Check for "Paused" mode when starting. 2018-06-22 20:09:03 +09:30
Alan Noble 590136197b Remove compiled objects and binaries. 2018-06-22 18:18:46 +09:30
Alan Noble 2cd154e769 Checkout forcibly. 2018-06-22 18:14:07 +09:30
Alan Noble 82977fba23 Added clean target. 2018-06-22 16:01:13 +09:30
Alan Noble 60c09c2800 Merge branch 'master' of https://bitbucket.org/ausocean/av 2018-06-22 15:57:33 +09:30
Alan Noble a8b56ddb19 Moved test data to test repo. 2018-06-22 15:53:13 +09:30
Dan Kortschak fba613ab60 revid: make FramesPerClip an int 2018-06-20 14:38:34 +09:30
Dan Kortschak 2dda2cfac9 rtmp: commit changes missed in 3a3181 2018-06-20 14:32:50 +09:30
Dan Kortschak ec3eefeb37 revid: do not double report returned error 2018-06-20 13:59:38 +09:30