Wykres commitów

12 Commity (master)

Autor SHA1 Wiadomość Data
loreg d9192e46f8 Adding a new line in the final report on esdots.
This new line says how many items are I, P, B (or IDR in case of H.264).
This new line is not present if the video is in AVS format.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40153
2010-02-02 09:27:25 +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 87addc998a Next set of files converted.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40138
2009-05-03 16:40:57 +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
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 7fa75f036a The frame rate can be given in input using the -fr switch.
Default value is 25.00, so if no value is given the code computes everything exacly as before.
The value of the frame rate is used to compute the gop duration.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4033
2008-08-19 10:46:56 +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
loreg 24485ea59f Esdots now finds random access points in H.264 streams. These are defined as : IDR pic OR I pic with SEI unit with recovery_point.
In choose_nal_type in esdotc.c there is a boolean value rec_point_required. It you set it to FALSE any I pic is considered a random access point.
The field recovery_frame_cnt is not used (as if it was 0). If it is != 0 a warning message is printed.
The fields broken_link_flag, exact_match_flag and changing_slice_group_idc are not considered (as 0).

In the final message the max, min and mean duration of a GOP are shown. For H.264 streams this is defined as the distance between 2 random access points. If no full GOP is found this info is not displayed.

The -gop switch works as before.

In esdots a function choose_nal_type has been added.
In nalunit.c a function read_SEI_recovery_point has been added.
The structure nal_SEI_recovery_data has been added, in order to cope with the recovery_point message. It's added to nal_innards too. See nalunit_defns.h

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%409
2008-05-22 14:19:02 +00:00
loreg b029421ff0 + esdots has been modified as follow:
- For MPEG-2 streams it outputs informations about the size of a Gropu Of Pictures (GOP): min, max and average duration in sec. Video is supposed to be @25fps.
- For AVC streams, where the GOP is not formally defined, it computes the same date looking at the interval between two I or IDR frames (whichever comes first).

Using the switch -gop display the duration of each GOP (or pseudo-GOP fir AVC)

NOTE that a new function hab been added:
static char choose_nal_type(access_unit_p access_unit, int verbose);

Called by dots_by_access_unit, it returns a single character which specifies the type of the access unit.

+ tools.txt has been modified describing this new functionality and switch.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%408
2008-05-09 15:25:18 +00:00
tibs 001f5d39d6 An initial attempt to mend the (previously broken) esdots for H.264 -- the documentation
(with -v) didn't match the code, and the whole thing was rather wrong.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%404
2008-04-29 11:41:23 +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