[FFmpeg-devel] [FFmpeg-cvslog] fftools/ffmpeg: move stream-dependent starttime correction to transcode_init()

Michael Niedermayer michael at niedermayer.cc
Tue Aug 16 22:03:30 EEST 2022


On Sat, Aug 13, 2022 at 12:01:30PM +0000, Anton Khirnov wrote:
> ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Aug  9 09:51:25 2022 +0200| [86e9cef77ba8a1481a6b83fd73638f24b645bdb4] | committer: Anton Khirnov
> 
> fftools/ffmpeg: move stream-dependent starttime correction to transcode_init()
> 
> Currently this code is located in the discontinuity handling block,
> where it does not belong.
> 
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=86e9cef77ba8a1481a6b83fd73638f24b645bdb4
> ---
> 
>  fftools/ffmpeg.c | 40 ++++++++++++++++++++++------------------
>  1 file changed, 22 insertions(+), 18 deletions(-)

This seems to change the output between "start_at_zero" and "":
./ffmpeg -i ~/tickets/3176/copyts_pictures_dup.ts -copyts  -an -vcodec libx264 -profile:v baseline -r 25 -s 144x96 -b:v 200k -preset ultrafast -filter:v yadif  -omit_video_pes_length 0 -f mpegts /tmp/before.ts
./ffmpeg -i ~/tickets/3176/copyts_pictures_dup.ts -copyts -start_at_zero -an -vcodec libx264 -profile:v baseline -r 25 -s 144x96 -b:v 200k -preset ultrafast -filter:v yadif  -omit_video_pes_length 0 -f mpegts /tmp/before-saz.ts

3409c03a6e6554cc61afcb1f43d452fe384522e1  /tmp/after-saz.ts
3409c03a6e6554cc61afcb1f43d452fe384522e1  /tmp/after.ts
3409c03a6e6554cc61afcb1f43d452fe384522e1  /tmp/before-saz.ts
2950e5d60c2386f0b73f0f73ed1dd1dee6a2a88e  /tmp/before.ts

not sure that was intended or not

thx

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

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220816/53d1acd7/attachment.sig>


More information about the ffmpeg-devel mailing list