+ 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
issue20
loreg 2008-05-09 15:25:18 +00:00
rodzic aeb2f6a963
commit b029421ff0
2 zmienionych plików z 836 dodań i 739 usunięć

Wyświetl plik

@ -279,13 +279,22 @@ For instance::
[E>iEUUbEUbEUpEUbEUbEUpEUbEUbEUpEUbEUbEU[E>iEUUbEUbEUpEUbEUbEUpEUbEUbEU
pEUbEUbEU[E>iEUUbEU
Found 1000 MPEG2 items
GOP times (s): max=0.4800, min=0.1200, mean=0.448125
If the ``-v`` switch is used, then an explanation of the meaning of the
If the ``-v'' switch is used, then an explanation of the meaning of the
characters output will be prepended (it is slightly different depending on
whether the input is MPEG-2 or MPEG-4/AVC).
If the ``-gop'' switch is used, then each GOP duration is displayed. For H.264, where the GOP is not defined, we retrive this data by measuring the time between to I or IDR frames.
It looks like this::
[E>iEbEbEpEbEbEpEbEbEpEbEbE: 0.4800s
[E>iEbEbE: 0.1200s
[E>iEbEbEpEbEbEpEbEbEpEbEbE: 0.4800s
...
esfilter
========
Reads an input video stream and outputs it to another file, possibly filtering

1562
esdots.c

Plik diff jest za duży Load Diff