[FFmpeg-devel] [PATCH] fftools/ffplay.c: fix rotate error when displaymatrix contains flip

2023-03-09 Thread 1035567130
From: Wang Yaqiang The angle is calculated by the get_rotation function, but it needs to be combined with the displaymatrix to determine whether flip or rotate, which is consistent with the processing logic in ffmpeg_filter.c Signed-off-by: Wang Yaqiang --- fftools/ffplay.c | 16 -

[FFmpeg-devel] [PATCH] libavcodec/libwebpenc_animencoder.c: support ICCP when the source material contains the icc profile

2023-03-09 Thread 1035567130
From: Wang Yaqiang when the source material contains the icc profile, the AVFrame have side_data with type AV_FRAME_DATA_ICC_PROFILE, write the ICCP chunk make sure the colors are displayed correctly. Signed-off-by: Wang Yaqiang --- libavcodec/libwebpenc_animencoder.c | 39

[FFmpeg-devel] [PATCH v2] libavformat/img2dec: fix unable to find svg format when the svg resources start with "

2023-03-09 Thread 1035567130
From: Wang Yaqiang svg is xml, but --- libavformat/img2dec.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index 5a63d7c81d..3488600400 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -964,8 +964,13 @

[FFmpeg-devel] [PATCH] libavformat/img2dec: fix unable to find svg format when the svg resources start with "

2023-03-07 Thread 1035567130
From: Wang Yaqiang svg is xml, but --- libavformat/img2dec.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index 5a63d7c81d..448a574b59 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -25,6 +25,7 @@

[FFmpeg-devel] [PATCH v3] lavc/hevc_ps: fix process failed when SPS before VPS in hvcC

2022-10-25 Thread 1035567130
From: Wang Yaqiang In some videos, SPS will be stored before VPS in hvcC box, parse SPS does not depend on VPS, so the video is expected to be processed normally. Added "parsed_vps" parameter to indicate whether VPS have been parsed. Only VPS have been parsed can be verified during SPS parsing.

[FFmpeg-devel] [PATCH v2] lavc/hevc_ps: fix process failed when SPS before VPS in hvcC

2022-09-26 Thread 1035567130
From: Wang Yaqiang In some videos, SPS will be stored before VPS in hvcC box, parse SPS does not depend on VPS, so the video is expected to be processed normally. Added "parsed_vps" parameter to indicate whether VPS have been parsed. Only VPS have been parsed can be verified during SPS parsing.

[FFmpeg-devel] [PATCH v3] fftools/ffplay: fix rotation incorrect when frame contains the displaymatrix

2022-09-05 Thread 1035567130
From: Wang Yaqiang For example, if the jpeg contains exif information and the rotation direction is included in the exif, the displaymatrix will be set on the side_data of the frame when decoding. However, when ffplay is used to play the image, only the side data in the stream will be determined.