[FFmpeg-devel] [PATCH] avformat/mpegts: Only add keyframe index entries for keyframe packets

2019-08-31 Thread fumoboy007
From: fumoboy007 Signed-off-by: fumoboy007 --- libavformat/mpegts.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 47d8d5f877..a35ea65875 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -3201,8 +3201,11

[FFmpeg-devel] [PATCH 1/2] avformat/avformat: Introduced `AVInputFormat.read_timestamp2` to fix keyframe seeking for formats that rely on `read_timestamp` for seeking

2019-08-31 Thread fumoboy007
From: fumoboy007 If the user omits `AVSEEK_FLAG_ANY`, then the result of the seek should be a keyframe. `ff_gen_search` did not respect that contract because it had no good way to determine whether a timestamp returned by `read_timestamp` was for a keyframe packet. Therefore, we introduce

[FFmpeg-devel] [PATCH 2/2] avformat/mpegts: Fixed keyframe seeking by migrating from `read_timestamp` to `read_timestamp2`

2019-08-31 Thread fumoboy007
From: fumoboy007 Signed-off-by: fumoboy007 --- libavformat/mpegts.c | 46 ++-- tests/ref/fate/concat-demuxer-simple2-lavf-ts | 70 ++- tests/ref/seek/lavf-ts| 6 +- 3 files changed, 96 insertions(+), 26 deletions

[FFmpeg-devel] [PATCH] avcodec/decode: Fix missing PTS/DTS for decoders like wmapro

2019-07-14 Thread fumoboy007
From: fumoboy007 Added back comment (deleted in 061a0c14bb5767bca72e3a7227ca400de439ba09) explaining that some audio decoders like wmapro may consume partial data without returning a frame. For these cases, `decode_simple_internal` will be called several times before the frame is complete

Re: [FFmpeg-devel] [PATCH] avformat/mov: Populate packet duration using `stts` atom instead of guessing.

2019-04-30 Thread fumoboy007
Oops. Will fix. > On Apr 30, 2019, at 10:58 AM, Michael Niedermayer > wrote: > breaks "make fate" > > make: *** [fate-filter-fps-cfr] Error 1 > make: *** [fate-filter-fps-r] Error 1 > make: *** [fate-filter-fps] Error 1 > make: *** [fate-copy-trac236] Error 1 > make: ***

Re: [FFmpeg-devel] [PATCH] avcodec/h263dec: Fixed VA API, VDPAU, and VideoToolbox hardware acceleration due to missing `hw_configs` property.

2019-04-30 Thread fumoboy007
Ah, I see. > On Apr 29, 2019, at 4:52 PM, Michael Niedermayer > wrote: > > On Mon, Apr 29, 2019 at 02:16:53PM -0700, fumoboy...@me.com wrote: >> Btw, what’s the difference between `h263` and `h263p`? > > Its described probably best with the encoders: >.name = "h263p", >

[FFmpeg-devel] [PATCH] avformat/mov: Populate packet duration using `stts` atom instead of guessing.

2019-04-29 Thread fumoboy007
Fixes #7855 (“Last subtitle in MP4 is displayed forever”). --- libavformat/isom.h | 3 + libavformat/mov.c | 158 + 2 files changed, 135 insertions(+), 26 deletions(-) diff --git a/libavformat/isom.h b/libavformat/isom.h index 69452cae8e..b83744ba09

[FFmpeg-devel] [PATCH] avcodec/decode: Do not output subtitle frames if the packet is marked with `AV_PKT_FLAG_DISCARD`.

2019-04-29 Thread fumoboy007
One situation where a subtitle packet can be marked for discard is when demuxing an MOV file that has an edit list. --- libavcodec/decode.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index 6c31166ec2..204bd50fa3 100644

Re: [FFmpeg-devel] [PATCH] avcodec/h263dec: Fixed VA API, VDPAU, and VideoToolbox hardware acceleration due to missing `hw_configs` property.

2019-04-29 Thread fumoboy007
Btw, what’s the difference between `h263` and `h263p`? > On Apr 29, 2019, at 2:12 PM, fumoboy007 wrote: > > Bug originally introduced in commit 758fbc54fef2f31957b5c5f22e05e5fd9b04f631. > --- > libavcodec/h263dec.c | 27 +++ > 1 file changed, 15

[FFmpeg-devel] [PATCH] avcodec/h263dec: Fixed VA API, VDPAU, and VideoToolbox hardware acceleration due to missing `hw_configs` property.

2019-04-29 Thread fumoboy007
Bug originally introduced in commit 758fbc54fef2f31957b5c5f22e05e5fd9b04f631. --- libavcodec/h263dec.c | 27 +++ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 8385ddfe2e..6f001f6d47 100644 ---

[FFmpeg-devel] [PATCH] avcodec/h263dec: Fixed missing `hw_configs` property

2019-04-28 Thread fumoboy007
--- libavcodec/h263dec.c | 27 +++ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 8385ddfe2e..6f001f6d47 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -743,6 +743,19 @@ const enum