[MPlayer-dev-eng] [RFC] EDL seeking and timing

Diego Biurrun diego at biurrun.de
Sat Sep 4 15:55:19 CEST 2010


On Fri, Sep 03, 2010 at 04:00:43PM -0400, Vlad Seryakov wrote:
> 
> Attached is the new patch, i ran the doc text via native speaking
> person, so at least it is not complete nonsense but style of course
> can always be challenged.
>
> --- DOCS/man/en/mplayer.1	(revision 32040)
> +++ DOCS/man/en/mplayer.1	(working copy)
> @@ -890,6 +890,22 @@
>  .
>  .TP
> +.B \-edl-start-pts
> +Adjust positions in EDL records according to file's start time.

What file?

> +Some formats, especially MPEG TS usually start with non-zero PTS
> +values and when producing EDL file with \-edlout option, EDL records

Break this sentence in two.

> +contain absolute values that are correct only to this particular file.

for this

> +If re-encoded into different format, this EDL file no longer applies.

a different

> --- mplayer.c	(revision 32040)
> +++ mplayer.c	(working copy)
> @@ -3639,6 +3639,16 @@
> +  // Adjust EDL positions with start_pts
> +  if (edl_start_pts && start_pts) {
> +      edl_record_ptr edl = edl_records;
> +      while (edl) {
> +          edl->start_sec += start_pts;
> +          edl->stop_sec += start_pts;

Align the +=.

Diego


More information about the MPlayer-dev-eng mailing list