[FFmpeg-devel] [PATCH 2/9] ffmpeg: do packet ts rescaling in write_packet()

wm4 nfxjfg at googlemail.com
Mon Feb 13 07:27:50 EET 2017


On Fri, 10 Feb 2017 22:43:26 +0100
Michael Niedermayer <michael at niedermayer.cc> wrote:

> On Fri, Feb 10, 2017 at 01:35:34PM +0100, wm4 wrote:
> > From: Anton Khirnov <anton at khirnov.net>
> > 
> > This will be useful in the following commit, after which the muxer
> > timebase is not always available when encoding.
> > 
> > This merges Libav commit 3e265ca. It was previously skipped.
> > 
> > There is a minor change with setting the mux_timebase field only after
> > the muxer's write_header function has been called, because it can
> > readjust the timebase.
> > 
> > Includes a minor merge fix by Mark Thompson.
> > 
> > Signed-off-by: wm4 <nfxjfg at googlemail.com>
> > ---
> >  ffmpeg.c | 39 ++++++++++++++++++++++-----------------
> >  ffmpeg.h |  2 ++
> >  2 files changed, 24 insertions(+), 17 deletions(-)  
> 
> Is this intended to result in no changes ?
> 
> ./ffmpeg -ss 15 -i ~/tickets/1332/Starship_Troopers.vob  -scodec dvbsub  -vcodec copy -t 4 -r 24000/1001 -an aaa.ts
> differs from before and after this patch
> 
> [...]

Is it different in a good or a bad way?


More information about the ffmpeg-devel mailing list