Wykres commitów

34 Commity (master)

Autor SHA1 Wiadomość Data
John Cox 08771c6326 Add better support for H.265 2015-08-04 15:52:22 +01:00
John Cox 77f94dff7e Fix AC/3 "too short" messages
The AC/3 descriptor block can legitimately stop short of sending all fields.
This fixes that
2014-09-03 14:50:49 +01:00
John Cox 1265079d48 Fix some PCR & PTS wrap issues
Also hadd a few H265 defs
2014-08-19 16:58:29 +01:00
John Cox bd54d3fd3f Add code to parse AC3 descriptor 2013-08-14 11:57:54 +01:00
John Cox d9d3bd95e5 Fix issue with PCR calculation after the last PCR
The base for the linear interpolation was left as the previous PCR rather than
the last PCR
2013-04-30 14:08:22 +01: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 9c84909b08 Add 3D related descriptors to PMT info 2013-02-19 11:52:46 +00:00
John Cox 12b7b5c3a0 Add a -prog <n> option to tsreport -b
This lets us get reports on programs other than the 1st in the PAT.  In
the fullness of time we should report on all programs by default but for
now this will do.
2012-07-09 15:13:33 +01:00
Tony Ibbs 02ca29df00 Correct calculation of the 'reserved' bits after PMT program_number
Thanks to Алексей Мисюренко <alexey.misyurenko@gmail.com> for
pointing this out in an email message to me.
2012-03-15 11:12:43 +00:00
John Cox e45124afeb Added more registration values to print function.
Decodes registration 42 fully (AVC HRD)
DTS difference info added to tsreport -b
2012-02-16 14:10:36 +00:00
John Cox b6b7aa1c13 Merged tsdvbsub & tsfilter branches 2011-10-20 17:16:14 +01:00
John Cox f52aca0e05 Added tsdvbsub, a small utility that dumps the contents of a DVB subtitle
stream inn a TS.  This is still in the early stages of development, but may
be useful for checking that subtitles and timestamps align in an expected
manner
2011-10-20 16:43:43 +01:00
Richard Watts 1c8447e611 Add a new tsfilter utility to filter transport streams by their pids;
this is useful for extracting programmes from a multiplex.
2011-09-04 16:11:07 +01:00
John Cox 13468cba9d Fixed problem where ts.c 'read' content beyond EOF
If the source stream went empty when we tried to refil then we failed
to notice the EOF and read beyond the end of the buffer
2011-05-18 16:13:04 +01:00
John Cox 60fd634d9b Fix CC error reporting to only report things that are actual errors. Previously
tsreport would flag any non-sequential CC numbers as bad, howvever H.222 states
that CC should only increment if the TS packet has a payload.

If we do have identical CCs tsreport now checks that the contents are identical
too.

Fixed some warnings where long long != int64_t
2011-04-15 15:49:39 +01:00
jc44 6e8d2410c0 Fix spurious +1 in position tracking
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40156
2010-07-15 15:00:20 +00:00
tibs 11083ee26c Make tsplay -loop work again - it hasn't since revision 114 when I
introduced the non-static TS/PCR buffering

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40155
2010-06-09 07:47:42 +00:00
tibs 1ac499a74f Some more IO edits
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40141
2009-05-04 11:02:05 +00:00
tibs 0789bd1fa2 Another set of IO edits
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40140
2009-05-03 20:08:52 +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
tibs 6dae7d9049 Experimental: this make the TS PCR read-ahead buffer per-file (well, strictly,
per-tsreader), rather than static as it was before. This is a tentative commit,
subject to further testing, although the Python code's doctests appear to
indicate that it is probably working.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40114
2009-02-14 17:31:50 +00:00
tibs 2af44b632b As promised, add comment for new argument to find_next_pmt.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40100
2008-11-25 19:55:42 +00:00
jc44 307d5475ae Added program number checking to PMT selection in case there are multiple PMTs on the same PID (or indeed other garbage)
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4099
2008-11-25 13:47:39 +00:00
tibs e1598da9c0 Bug 14603 -- this removes the remaining compilation warnings on my Mac OS X
build, and hopefully also in Linux. Ideally, do the same sort of thing for
the other "macro returning a constant string" cases.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4070
2008-10-18 16:15:26 +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
tibs 499e7a6223 Correct stupid comment.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4024
2008-07-29 21:41:43 +00:00
tibs a1984c6e71 Definitely a bug to leave this out, since it will cause problems
when starting a new file or, presumably, rewinding.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4023
2008-07-29 21:36:10 +00:00
tibs c8e31f28d2 Increased the size of the TS PCR read-ahead buffer, to cope with a particular
file which has caused problems. No, that's not a proper solution.

Added some XXX comments discussing that.

Also, added some code to allow for reading beyond the last PCR, and using
the last-determined rate. This isn't really tested yet.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4021
2008-07-23 22:11:03 +00:00
tibs dd2f63f0b9 Some minor tidying up, mostly to make the code conform to two space
indentation, and other minor style considerations.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4013
2008-06-14 16:36:09 +00:00
tibs 4ce892d04c All C and H files annotated to tell Vim or [X]Emacs to use 2-space indentation
and not to use tabs within indentation.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4012
2008-06-14 16:05:00 +00:00
tibs 70e9b431a7 Initial import to berlios.de
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%401
2008-04-14 04:09:29 +00:00