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

Michael Niedermayer michael at niedermayer.cc
Fri Feb 10 23:43:26 EET 2017


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170210/a7d992c6/attachment.sig>


More information about the ffmpeg-devel mailing list