Wykres commitów

188 Commity (d796310285e721df7627676bc8dd3072456f0224)

Autor SHA1 Wiadomość Data
tibs 816750af15 Correct documentation to match behaviour.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4088
2008-11-04 15:52:17 +00:00
tibs e4c53fd68c [JC] Now compiles under windows and my version of continuity counter checking added to tsreport
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4087
2008-11-04 15:23:03 +00:00
tibs a390c6f52c Tidying up the PAT stuff a little
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4086
2008-11-03 11:53:19 +00:00
tibs b94eaecaf0 Basic PAT retrieval
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4085
2008-11-03 11:34:09 +00:00
tibs da13a7cf69 Update the Windows makefile to include new programs
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4084
2008-10-31 11:38:03 +00:00
tibs a4e7a9179a Correct the program name in its help.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4083
2008-10-31 11:33:36 +00:00
tibs a5c36e3f65 Initially, remove compilation warnings in tsreport.c.
In the process, tighten up command line argument handling a bit, and
improve some error messages.
Also, make the "magic number" 0x2000 a bit more obvious.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4082
2008-10-31 11:16:21 +00:00
loreg a0e4830d8c In the previous file I committed (rev 79) I messed up u_int32 with uint32_t & Co.
Now it should be better.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4081
2008-10-29 15:28:05 +00:00
loreg 448f71158f Bug 014731
Update the documentation adding information about:
-x switch in esreport and
-cnt <pid> in tsreport

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4080
2008-10-29 09:42:08 +00:00
loreg 4db8ccdef8 Now in tsreport there is a new switch.
The ``-cnt`` switch is to be followed by a PID in decimal units.
It checks the values of the field continuity_counter in the specified PID,
warns in there are discontinuities and writes the values of continuity_counter in a file called
'continuity_counter.txt'. Using this automatically turns buffering on (-b).

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4079
2008-10-28 16:04:21 +00:00
loreg 79852099d0 Revert changes of Revision: 73
If one wants to know about the presence of broken_link_flag, the thing to do is to use esdots -x.
All the recovery point SEI message are reported there (included the value of broken_link_flag)

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4078
2008-10-27 14:03:31 +00:00
tibs 0a69aabc62 Re bug 14712, on my Linux (Ubuntu Hardy thingy) box, the man page for
lseek does indeed suggest inclusion of <sys/types.h>, as well as
<unistd.h>. Experimentation showed that ading <sys/types.h> didn't
hurt on Mac OS/X, so add both into compat.h -- hopefull this will
solve the bug.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4077
2008-10-27 09:32:09 +00:00
tibs 2112c26de3 Minor change.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4076
2008-10-27 09:30:17 +00:00
tibs d8b4360196 Reinstate the u_int32 to uint32_t changes for this file, so it will
compile again.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4075
2008-10-26 15:51:08 +00:00
loreg 8cae2ae5e9 Bug# 14594
h.264 RAP as I or I + recovery_point SEI

Two changes done:
1) esdots computes the duration of GOPs, even in the h.264 case. The change made is to consider an I frame without recovery_point SEI as beginning of a new GOP. This can be changed just setting rec_point_required = TRUE in esdots.c.
In this case a new GOP is started when we found I + recovery point SEI

2) nalunit has been modified so it's able to output the information about error recovery point SEI message. Just use 'esreport -x' and SEI recovery point messages will be reported with the same syntax as all the others.

e.g.

83644584/0036: NAL unit 0/6 (SEI)                     6: 06 06 01 a4 80 00
@@ Recovery Point SEI
   recovery_frame_cnt 0
   exact_match_flag 0
   broken_link_flag 1
   changing_slice_group_idc 0

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4074
2008-10-24 16:13:03 +00:00
loreg 7dc61bf1f9 There is a commented code that if, activated, shows whether there are broken_link_flag in a h.264 stream.
Want to use it? Find 'broken_link_flag is 1' and uncomment that part of code.
Than compile and use esdots.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4073
2008-10-24 12:16:05 +00:00
tibs d2d9099928 Oops - gcc on Ubuntu points out this mistake.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4072
2008-10-20 08:24:06 +00:00
tibs 16f6e337c0 Add (lazy) retrieval of PCR from TS packets.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4071
2008-10-19 16:15:16 +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
loreg 3579217878 correct a typo on the usage
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4068
2008-10-01 14:37:35 +00:00
tibs 66b15051d8 Make the __repr__ methods behave a bit better.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4067
2008-09-22 22:29:05 +00:00
tibs f5453d8e32 PAT -- initial ideas
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4066
2008-09-21 20:14:26 +00:00
rrw fa9a6b71ee Modify copyright notice in ac3.c (Kynesim is a trading name ..)
Initial import of yuv2.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4065
2008-09-18 20:17:54 +00:00
tibs 5e19e0782a This is believed to be a sanitised version of tsserve's -tsdirect
startup, inspired by work done by Gareth. Still to be fully tested.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4064
2008-09-18 15:13:57 +00:00
tibs 37230ea362 This is a better way of implementing TSPacket, plus the code is (erm) correct
in (for instance) __repr__. The only snag is that I've not yet figured out
how to suppress the warning because the second argument to PyObject_AsReadBuffer
is meant to be "const void **", and I can't specify "const" in Pyrex. And
warnings are not nice...

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4063
2008-09-17 20:34:42 +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
rhodri 2b3fb08215 Add AC3 support to esmerge.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4061
2008-09-09 13:45:11 +00:00
rhodri 9f0b83b97b Add m2ts2ts.
Utility to strip the timestamps off M2TS files and reorder the packets to present a normal TS file.

Known limitations: fails to detect discontinuities, and can produce bad (misordered) TS files as a result

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4060
2008-09-09 13:44:14 +00:00
tibs 21f045d8ed Thinking about array handling...
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4059
2008-09-08 20:27:13 +00:00
tibs aecc545ec8 OK, this is just pedantry
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4058
2008-09-07 19:34:36 +00:00
tibs a4c3af2bda Make the doctest slightly less interesting, but a lot faster.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4057
2008-09-07 19:33:15 +00:00
tibs a44d55f8bf Basic TS file reading now fleshed out.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4056
2008-09-07 19:00:29 +00:00
tibs 4526d13d5a Some (admittedly inefficent, but this may not matter) TS processing now added
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4055
2008-09-06 17:41:26 +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 05f19a9139 Remove spurious warnings from misc.c
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4053
2008-09-05 16:12:28 +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
tibs 1909507d9b Begin support for TS files.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4050
2008-09-04 21:20:52 +00:00
tibs 1540f806c6 Add the ability to use the "with" statement on ESFile.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4049
2008-09-03 09:22:43 +00:00
tibs 657f94b363 Update to use segment 11 of the Elephant's Dream (HD) data as test data.
Improve the reporting of ES unit data slightly.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4048
2008-09-02 12:18:15 +00:00
tibs 8be8e9acf8 Added a data directory. Nothing in it as yet, except a README pointing to some
useful sources of data. This *may* help solve the issue of what test data to
use.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4047
2008-08-29 19:44:28 +00:00
tibs c89d69b15e It looks like seeking does work.
Use of ESOffset sorted out a bit more -- I think it now makes sense.

And since I can't find any way for doctest to "see" C stdout/stderr,
just make rundoctest.py output an explanatory message (and the RED/GREEN
thing just makes it a bit quicker to ignore worrying texts).

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4046
2008-08-28 20:33:47 +00:00
tibs a5313c03ec The basics of seek now written -- yet to test it actuall goes to the right
place, though...

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4045
2008-08-27 22:16:02 +00:00
tibs 179171dcfc Add alias -i to the -mcastif switch, because the latter really is
a pain to type, and I got lazy.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4044
2008-08-27 12:57:17 +00:00
tibs fb998f5655 Start towarards seeking -- properly support ES offsets.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4043
2008-08-26 21:44:05 +00:00
tibs 2f63aad957 A little bit further -- now able to create arbitrary ES units
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4042
2008-08-26 20:37:15 +00:00
tibs da39d46655 Some ES attributes added.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4041
2008-08-25 18:22:01 +00:00
tibs cabde235d0 Gradually iterating towards the obvious -- of course I didn't need to
involve Python files.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4040
2008-08-24 18:48:40 +00:00
tibs 02f72c180d (a) learn how to do comparisons, (b) make ES units comparable
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4039
2008-08-23 21:15:29 +00:00