Wykres commitów

33 Commity (master)

Autor SHA1 Wiadomość Data
John Cox f1d24ff47e Build man pages
And add install targets for them
Also fix a few small documentation issues in the source
2015-10-29 18:23:25 +00:00
John Cox 15a7be8f75 Add primative ability to extract RTP payloads from pcap
and also convert RTP to 264
2014-08-19 14:57:51 +01:00
John Cox 581cbb754c Add ability for pcapreport to split files by section
This can make it easier to get the bit you were after.  Enabled by the
--split-section command line switch.
2014-03-11 15:32:57 +00:00
John Cox edd40fc9c0 Refine section discontinuity detection in pcapreport
Instead of having a fixed skew at which we say "new section" we look for
a skew, pcr, or packet_time discontinuity to define the break.  This allows
more plausible handling of sections that are deliberately fast/slow
2013-10-07 15:02:38 +01:00
John Cox 1298ac7d6d Various minor changes to pcapreport
Will now strip off .cap & .pcapng from name to generate base name
Will add .ts to extracted filename even if we have a complete filter (but
  not if the -o option is used)
Sorts the output sections into section number order before display
Has option to ignore skew discontinuities when breaking streams into sections
Has option to pretend all packets are good (which occurred previously if
  a complete filter was given on the command line)
2013-10-03 13:32:11 +01:00
John Cox c053a1eddd Add ability for pcapreport to take apart .pcapng files too 2013-09-03 16:48:26 +01:00
John Cox 3f294891ad Add handy fast/slow description to the drift value
As I could never remember whether +ve or -ve was fast
2013-04-30 14:11:24 +01:00
John Cox 0e1e1b02e0 Fix TS bytes/section in pcapreport
Could be out by up to a packet.  Also tweak report to clarify the fact that
these are TS bytes (not including RTP headers etc)
2013-04-10 18:28:32 +01:00
John Cox eeab436ddd Fix pcapreport jitter reporting
Previously the 10s cirecular jitter history buffer was completely broken
which meant that the reported jitter value had very little relation to truth.
2013-04-08 14:41:56 +01:00
John Cox d796310285 Fix pts_diff in pcapreport to allow signed answer
Bug introduced in my previous 33-bit wrap fix
2013-03-22 11:26:28 +00:00
John Cox be0e65f5c6 Fix pcapreport to show true start of section not 1st PCR 2013-03-18 14:21:21 +00:00
John Cox 2a2dea9b28 Fix PCR wrap in pcapreport 2013-03-15 16:40:16 +00:00
John Cox dc279e6a84 Fix warning about sprintf not being safe
Now use snprintf throughout.  Old code was probably fine but this might
be safer
2013-03-14 13:28:55 +00:00
John Cox 6bd2819144 Fix broken execute permissions
Probably my fault for editing in Windows without core.filemode false
2013-02-19 13:05:58 +00:00
John Cox dbb3ce681d Added RTP-TS support. It is enough to extract the TS from inside an RTP
wrapper and report some trivial info, but is by no means the full job if
we want to properly analyse the RTP performance.
2011-07-18 10:44:01 +01:00
John Cox 6a09371666 pcapreport: Fix worst case filename string allocation (now vlans
can be part of the name)
2011-07-06 13:03:51 +01:00
John Cox 04116869d9 Added ability to take apart Vlan tagged packets and report on QoS parameters 2011-07-06 12:30:23 +01:00
John Cox eb5558f9e7 Silence some warnings 2011-04-15 16:10:29 +01:00
jc44 864e515dee Add a good-ts-only filter for extraction and warn if we are writing dodgy packets
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40154
2010-04-29 16:29:39 +00:00
jc44 b844aaf880 Add time formatting options and trivial fragment reassembly code to pcapreport
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40151
2009-11-27 15:07:44 +00:00
jc44 4d1c00f033 Fix pcapreport issues where only one PCR found in a stream and UDP packet contains extra bytes
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40150
2009-10-27 17:29:04 +00:00
jc44 535913d5d5 Pcapreport now has a write .csv file option
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40149
2009-10-26 16:21:42 +00:00
jc44 e5d4b4a86e New analyse mode for pcapreport in an effort to produce useful summary info. Part 1 of an ongoing effort to inprove pcapreport
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40148
2009-10-26 11:56:18 +00:00
tibs 32fec829b2 Amendments suggested by alexw, to whom thanks:
1. Fix some print_msg to be print_err
2. Rename the function to make error messages go to stderr to
   redirect_output_stderr, which is more sensible.
3. Make the -stdout switch always force error messages to stderr
4. Add the "-err" switch to all programs, which allows the user
   to choose whether they prefer errors to go to stdout or stderr

That last is something I meant to do as part of the stdout/stderr
changes - thanks again to alexw for causing me to get round to it.

This now allows:

  cat data/ed24p_11.ts | ts2ps -stdin -stdout | ps2ts -stdin -stdout | mplayer -

to work -- it didn't before.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40145
2009-06-16 20:27:25 +00:00
tibs 9005adfebf This may be the last edits for IO
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40143
2009-05-04 21:21:17 +00:00
tibs 574a59f25c More transfer to the new IO model -- especially, misc.c and its implications.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40136
2009-05-03 15:57:22 +00:00
rhodri f16d7ed982 Fix command-line parsing of -output and -skew
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4096
2008-11-18 15:49:35 +00:00
tibs 0b7868f9ca Make command line handling more commensurate with the other tools.
Despite the command line, retain  the "--" forms for switches, as
well as the documented "-" forms. Provide "-skew" as a shorter
synonym for the very-long-switch - hope that makes sense.
Make command line handling more robust.
Correct the error handling if an input file is not given.
Give the -dest switch a default port (0 seems most sensible).

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4091
2008-11-11 19:45:13 +00:00
tibs 3ab74526ff Bug 14602: move to using <stdint.h> types for integers.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4069
2008-10-18 15:04:34 +00:00
tibs 223c96020a Fix continuation lines in the Makefile so it works.
Fix "if (err = EOF)", which should be a comparison.

Various pedantries (petty stuff):
* Remove compiler warning on use of build_TS_reader_with_fns - this was because
  "char *" is signed on my Mac, whilst "byte *" is not. Fixed by making it
  exepct "byte *", and whilst I'm at it make pcapreport.c use the datatypes from
  compat.h -- not because they're better than the stdint.h type, because they
  clearly aren't, but purely for consistancy (long term, I still want to move
  to stdint types - it should be easier now as we don't need to support ancient
  compilers))
* Reformat pcapreport.c (this is going to make for a big difference, oh well)
  to standard tstools indentation patterns.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4062
2008-09-09 19:01:50 +00:00
rrw aa08148c62 pcapreport can now report on disparities between PCR and
recorded packet times.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4054
2008-09-05 18:06:52 +00:00
rrw ed1c6f0783 Add licence blocks.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4052
2008-09-05 16:11:56 +00:00
rrw 025d598651 You can now run pcapreport to report on a pcap file (in a very limited
way!). Next step is to analyse PCR against the pcap timestamps.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4051
2008-09-05 16:09:58 +00:00