Wykres commitów

5 Commity (4ce892d04c41b63c7710e14fed8d040f671d8b4d)

Autor SHA1 Wiadomość Data
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