Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: Rework on DTS generation

2024-08-07 Thread Zhao Zhili
> On Aug 7, 2024, at 18:18, Andreas Rheinhardt > wrote: > > Zhao Zhili: >> From: Zhao Zhili >> >> Before the patch, the method to generate DTS only works with >> timebase equal to 1/fps. With timebase like 1/1000 >> >> ./ffmpeg -i foo.mp4 -an -c:v h264_nvenc -enc_time_base 1/1000 bar.mp4 >>

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: Rework on DTS generation

2024-08-07 Thread Andreas Rheinhardt
Zhao Zhili: > From: Zhao Zhili > > Before the patch, the method to generate DTS only works with > timebase equal to 1/fps. With timebase like 1/1000 > > ./ffmpeg -i foo.mp4 -an -c:v h264_nvenc -enc_time_base 1/1000 bar.mp4 > > pts 0dts -3 > pts 160 dts 37 > pts 80 dts 77 > pts 40 dts 1

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: Rework on DTS generation

2024-08-02 Thread Timo Rothenpieler
On 02.08.2024 18:54, Dennis Mungai wrote: On Fri, 2 Aug 2024, 19:28 Timo Rothenpieler, wrote: applied, thanks This is a bugfix, can it be backported to release 6.x and 7.x? It's also a quite substantial change in behaviour, so I'd like to wait with that for a while. ___

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: Rework on DTS generation

2024-08-02 Thread Dennis Mungai
On Fri, 2 Aug 2024, 19:28 Timo Rothenpieler, wrote: > applied, thanks > This is a bugfix, can it be backported to release 6.x and 7.x? > ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubs

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: Rework on DTS generation

2024-08-02 Thread Timo Rothenpieler
applied, thanks ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: Rework on DTS generation

2024-07-17 Thread Timo Rothenpieler
On 17/07/2024 11:47, Zhao Zhili wrote: From: Zhao Zhili Before the patch, the method to generate DTS only works with timebase equal to 1/fps. With timebase like 1/1000 ./ffmpeg -i foo.mp4 -an -c:v h264_nvenc -enc_time_base 1/1000 bar.mp4 pts 0dts -3 pts 160 dts 37 pts 80 dts 77 pts 40

[FFmpeg-devel] [PATCH] avcodec/nvenc: Rework on DTS generation

2024-07-17 Thread Zhao Zhili
From: Zhao Zhili Before the patch, the method to generate DTS only works with timebase equal to 1/fps. With timebase like 1/1000 ./ffmpeg -i foo.mp4 -an -c:v h264_nvenc -enc_time_base 1/1000 bar.mp4 pts 0dts -3 pts 160 dts 37 pts 80 dts 77 pts 40 dts 117 <-- invalid pts 120 dts 157 pt