Tags give the ability to mark specific points in history as being important
-
pr-ffstaging-19/softworkz/submit_hlspath-v1
08c53514 · ·avformat/hlsenc: Fix path handling on Windows From: softworkz <softworkz@hotmail.com> Signed-off-by: softworkz <softworkz@hotmail.com> Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.19.ffstaging.FFmpeg.1642213436395.ffmpegagent@gmail.com
-
pr-ffstaging-18/softworkz/submit_subfiltering-v1
c0011334 · ·Subtitle Filtering 2022 Subtitle Filtering 2022 ======================= This is a substantial update to the earlier subtitle filtering patch series. A primary goal has been to address others' concerns as much as possible on one side and to provide more clarity and control over the way things are working. Clarity is is specifically important to allow for a better understanding of the need for a subtitle start pts value that can be different from the frame's pts value. This is done by refactoring the subtitle timing fields in AVFrame, adding a frame field to indicate repeated subtitle frames, and finally the full removal of the heartbeat functionality, replaced by a new 'subfeed' filter that provides different modes for arbitrating subtitle frames in a filter graph. Finally, each subtitle filter's documentation has been amended by a section describing the filter's timeline behavior (in v2 update). The update also includes major improvements to graphicsub2text and lots of other details. Versioning is restarting at v1 due to the new submission procedure. All changes from previous version v24: AVFrame ======= * Removed sub_start_time The start time is now added to the subtitle start_pts during decoding The sub_end_time field is adjusted accordingly * Renamed sub_end_time to duration which it is effectively after removing the start_time * Added a sub-struct 'subtitle_timing' to av frame Contains subtitle_pts renamed to 'subtitle_timing.start_pts' and 'subtitle_timing.duration' * Change both fields to (fixed) time_base AV_TIMEBASE * add repeat_sub field provides a clear indication whether a subtitle frame is an actual subtitle event or a repeated subtitle frame in a filter graph Heartbeat Removal ================= * completely removed the earlier heartbeat implementation * filtering arbitration is now implemented in a new filter: 'subfeed' * subfeed will be auto-inserted for compatiblity with sub2video command lines * the new behavior is not exactly identical to the earlier behavior, but it basically allows to achieve the same results New 'subfeed' Filter ==================== * a versatile filter for solving all kinds of problems with subtile frame flow in filter graphs * Can be inserted at any position in a graph * Auto-inserted for sub2video command lines (in repeat-mode) * Allows duration fixup delay input frames with unknown duration and infer duration from start of subsequent frame * Provides multiple modes of operation: * repeat mode (default) Queues input frames Outputs frames at a fixed (configurable) rate Either sends a matching input frame (repeatedly) or empty frames otherwise * scatter mode similar to repeat mode, but splits input frames by duration into small segments with same content * forward mode No fixed output rate Useful in combination with duration fixup or overlap fixup ffmpeg Tool Changes =================== * delay subtitle output stream initialization (like for audio and video) This is needed for example when a format header depends on having received an initial frame to derive certain header values from * decoding: set subtitle frame size from decoding context * re-init graph when subtitle size changes * always insert subscale filter for sub2video command lines (to ensure correct scaling) Subtitle Encoding ================= * ignore repeated frames for encoding based on repeat_sub field in AVFrame * support multi-area encoding for text subtitles Subtitle OCR can create multiple areas at different positions. Previously, the texts were always squashed into a single area ('subtitle rect'), which was not ideal. Multiple text areas are now generally supported: * ASS Encoder Changed to use the 'receive_packet' encoding API A single frame with multiple text areas will create multiple packets now * All other text subtitle encoders A newline is inserted between the text from multiple areas graphicsub2text (OCR) ===================== * enhanced preprocessing * using elbg algorithm for color quantization * detection and removal of text outlines * map-based identification of colors per word (text, outline, background) * add option for duration fixup * add option to dump preprocessing bitmaps * Recognize formatting and apply as ASS inline styles * per word(!) * paragraph alignment * positioning * font names * font size * font style (italic, underline, bold) * text color, outline color Other Filter Changes ==================== * all: Make sure to forward all link properties (time base, frame rate, w, h) where appropriate * overlaytextsubs: request frames on the subtitle input * overlaytextsubs: disable read-order checking * overlaytextsubs: improve implementation of render_latest_only * overlaytextsubs: ensure equal in/out video formats * splitcc: derive framerate from realtime_latency * graphicsub2video: implement caching of converted frames * graphicsub2video: use 1x1 output frame size as long as subtitle size is unknown (0x0) Plus a dozen of things I forgot.. softworkz (24): avcodec,avutil: Move enum AVSubtitleType to avutil, add new and deprecate old values avutil/frame: Prepare AVFrame for subtitle handling avcodec/subtitles: Introduce new frame-based subtitle decoding API avfilter/subtitles: Update vf_subtitles to use new decoding api avcodec,avutil: Move ass helper functions to avutil as avpriv_ and extend ass dialog parsing avcodec/subtitles: Migrate subtitle encoders to frame-based API avcodec/subtitles: Replace deprecated enum values fftools/play,probe: Adjust for subtitle changes avfilter/subtitles: Add subtitles.c for subtitle frame allocation avfilter/avfilter: Handle subtitle frames avfilter/avfilter: Fix hardcoded input index avfilter/sbuffer: Add sbuffersrc and sbuffersink filters avfilter/overlaygraphicsubs: Add overlaygraphicsubs and graphicsub2video filters avfilter/overlaytextsubs: Add overlaytextsubs and textsubs2video filters avfilter/textmod: Add textmod, censor and show_speaker filters avfilter/stripstyles: Add stripstyles filter avfilter/splitcc: Add splitcc filter for closed caption handling avfilter/graphicsub2text: Add new graphicsub2text filter (OCR) avfilter/subscale: Add filter for scaling and/or re-arranging graphical subtitles avfilter/subfeed: add subtitle feed filter fftools/ffmpeg: Introduce subtitle filtering new frame-based subtitle encoding avutil/ass_split: Add parsing of hard-space tags (\h) avcodec/webvttenc: convert hard-space tags to doc/APIchanges: update for subtitle filtering changes configure | 7 +- doc/APIchanges | 24 + doc/filters.texi | 756 ++++++++++ fftools/ffmpeg.c | 493 +++---- fftools/ffmpeg.h | 13 +- fftools/ffmpeg_filter.c | 235 +++- fftools/ffmpeg_hw.c | 2 +- fftools/ffmpeg_opt.c | 3 +- fftools/ffplay.c | 102 +- fftools/ffprobe.c | 47 +- libavcodec/Makefile | 56 +- libavcodec/ass.h | 144 +- libavcodec/assdec.c | 4 +- libavcodec/assenc.c | 191 ++- libavcodec/avcodec.h | 32 +- libavcodec/ccaption_dec.c | 19 +- libavcodec/codec_desc.c | 11 + libavcodec/codec_desc.h | 8 + libavcodec/decode.c | 56 +- libavcodec/dvbsubdec.c | 2 +- libavcodec/dvbsubenc.c | 96 +- libavcodec/dvdsubdec.c | 2 +- libavcodec/dvdsubenc.c | 102 +- libavcodec/encode.c | 57 +- libavcodec/internal.h | 22 + libavcodec/jacosubdec.c | 2 +- libavcodec/libaribb24.c | 2 +- libavcodec/libzvbi-teletextdec.c | 14 +- libavcodec/microdvddec.c | 7 +- libavcodec/movtextdec.c | 3 +- libavcodec/movtextenc.c | 126 +- libavcodec/mpl2dec.c | 2 +- libavcodec/pgssubdec.c | 2 +- libavcodec/realtextdec.c | 2 +- libavcodec/samidec.c | 2 +- libavcodec/srtdec.c | 2 +- libavcodec/srtenc.c | 116 +- libavcodec/subviewerdec.c | 2 +- libavcodec/tests/avcodec.c | 2 - libavcodec/textdec.c | 4 +- libavcodec/ttmlenc.c | 114 +- libavcodec/utils.c | 184 +++ libavcodec/version.h | 2 +- libavcodec/webvttdec.c | 2 +- libavcodec/webvttenc.c | 100 +- libavcodec/xsubdec.c | 2 +- libavcodec/xsubenc.c | 88 +- libavfilter/Makefile | 16 + libavfilter/allfilters.c | 14 + libavfilter/avfilter.c | 30 +- libavfilter/avfilter.h | 11 + libavfilter/avfiltergraph.c | 5 + libavfilter/buffersink.c | 54 + libavfilter/buffersink.h | 7 + libavfilter/buffersrc.c | 72 + libavfilter/buffersrc.h | 1 + libavfilter/formats.c | 22 + libavfilter/formats.h | 3 + libavfilter/internal.h | 19 +- libavfilter/sf_graphicsub2text.c | 1132 +++++++++++++++ libavfilter/sf_splitcc.c | 385 +++++ libavfilter/sf_stripstyles.c | 209 +++ libavfilter/sf_subfeed.c | 366 +++++ libavfilter/sf_subscale.c | 884 ++++++++++++ libavfilter/sf_textmod.c | 710 ++++++++++ libavfilter/subtitles.c | 63 + libavfilter/subtitles.h | 44 + libavfilter/vf_overlaygraphicsubs.c | 765 ++++++++++ libavfilter/vf_overlaytextsubs.c | 671 +++++++++ libavfilter/vf_subtitles.c | 56 +- libavutil/Makefile | 4 + {libavcodec => libavutil}/ass.c | 91 +- libavutil/ass_internal.h | 135 ++ {libavcodec => libavutil}/ass_split.c | 37 +- .../ass_split_internal.h | 32 +- libavutil/frame.c | 211 ++- libavutil/frame.h | 85 +- libavutil/subfmt.c | 45 + libavutil/subfmt.h | 115 ++ libavutil/version.h | 3 +- tests/ref/fate/filter-overlay-dvdsub-2397 | 182 +-- tests/ref/fate/mov-mp4-ttml-dfxp | 8 +- tests/ref/fate/mov-mp4-ttml-stpp | 8 +- tests/ref/fate/sub-dvb | 162 ++- tests/ref/fate/sub-textenc | 10 +- tests/ref/fate/sub-ttmlenc | 8 +- tests/ref/fate/sub-webvttenc | 10 +- tests/ref/fate/sub2video | 1091 ++++++++++++++- tests/ref/fate/sub2video_basic | 1239 +++++++++++++++-- tests/ref/fate/sub2video_time_limited | 78 +- 90 files changed, 10991 insertions(+), 1366 deletions(-) create mode 100644 libavfilter/sf_graphicsub2text.c create mode 100644 libavfilter/sf_splitcc.c create mode 100644 libavfilter/sf_stripstyles.c create mode 100644 libavfilter/sf_subfeed.c create mode 100644 libavfilter/sf_subscale.c create mode 100644 libavfilter/sf_textmod.c create mode 100644 libavfilter/subtitles.c create mode 100644 libavfilter/subtitles.h create mode 100644 libavfilter/vf_overlaygraphicsubs.c create mode 100644 libavfilter/vf_overlaytextsubs.c rename {libavcodec => libavutil}/ass.c (65%) create mode 100644 libavutil/ass_internal.h rename {libavcodec => libavutil}/ass_split.c (93%) rename libavcodec/ass_split.h => libavutil/ass_split_internal.h (86%) create mode 100644 libavutil/subfmt.c create mode 100644 libavutil/subfmt.h base-commit: c936c319bd54f097cc1d75b1ee1c407d53215d71 Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.18.ffstaging.FFmpeg.1642122813.ffmpegagent@gmail.com -
pr-ffstaging-17/softworkz/submit_dvb_subs-v2
0cd2c77f · ·avcodec/dvbsubdec,dvdsubdec: don't dump images to disk based on DEBUG define It's annoying and unexpected, but still useful at times (as I've realized just recently). This is a follow-up to the earlier submission here: https://www.mail-archive.com/ffmpeg-devel@ffmpeg.org/msg128080.html There has been a comment from Anton, questioning whether the dump-feature is useful. Meanwhile I came to the conclusion that it can be useful in-fact. It just shouldn't happen automatically when DEBUG is defined. That's what these patches do. I also added fixes for the fopen() call. softworkz (2): avcodec/dvdsubdec,dvbsubdec: don't dump images to disk based on DEBUG define avcodec/dvdsubdec,dvbsubdec: fix writing ppm libavcodec/dvbsubdec.c | 20 +++++++++++++------- libavcodec/dvdsubdec.c | 11 ++++++++--- 2 files changed, 21 insertions(+), 10 deletions(-) base-commit: 6c4074e4234edacfb3f37184fd68771df3cb2b7f Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.17.v2.ffstaging.FFmpeg.1641844533.ffmpegagent@gmail.com In-Reply-To: https://master.gitmailbox.com/ffmpegdev/pull.17.ffstaging.FFmpeg.1641530966.ffmpegagent@gmail.com -
pr-ffstaging-15/softworkz/qsv_vpp_regression-v4
bf531544 · ·avfilter/vpp_qsv: fix regression on older api versions (e.g. 1.11) From: softworkz <softworkz@hotmail.com> Commit 8b83dad82512a6948b63408f964463b063ad24c9 introduced a regression in a way that scaling via vpp_qsv doesn't work any longer for devices with an MSDK runtime version lower than 1.19. This is true for older CPUs which are stuck at 1.11. The commit added checks for the compile-sdk version but it didn't test for the runtime version. Signed-off-by: softworkz <softworkz@hotmail.com> Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.15.v4.ffstaging.FFmpeg.1641538891098.ffmpegagent@gmail.com In-Reply-To: https://master.gitmailbox.com/ffmpegdev/pull.15.ffstaging.FFmpeg.1641093136327.ffmpegagent@gmail.com In-Reply-To: https://master.gitmailbox.com/ffmpegdev/pull.15.v2.ffstaging.FFmpeg.1641094910660.ffmpegagent@gmail.com In-Reply-To: https://master.gitmailbox.com/ffmpegdev/pull.15.v3.ffstaging.FFmpeg.1641527917915.ffmpegagent@gmail.com
-
pr-ffstaging-17/softworkz/submit_dvb_subs-v1
341474e3 · ·avcodec/dvbsubdec,dvdsubdec: don't dump images to disk based on DEBUG define It's annoying and unexpected, but still useful at times (as I've realized just recently). This is a follow-up to the earlier submission here: https://www.mail-archive.com/ffmpeg-devel@ffmpeg.org/msg128080.html There has been a comment from Anton, questioning whether the dump-feature is useful. Meanwhile I came to the conclusion that it can be useful in-fact. It just shouldn't happen automatically when DEBUG is defined. That's what these patches do. I also added fixes for the fopen() call. softworkz (4): avcodec/dvbsubdec: don't dump images to disk based on DEBUG define avcodec/dvbsubdec: fix writing ppm avcodec/dvdsubdec: don't dump images to disk based on DEBUG define avcodec/dvdsubdec: fix writing ppm libavcodec/dvbsubdec.c | 20 +++++++++++++------- libavcodec/dvdsubdec.c | 11 ++++++++--- 2 files changed, 21 insertions(+), 10 deletions(-) base-commit: 242ed971cb005157488b9a21942d9fb4be4d0347 Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.17.ffstaging.FFmpeg.1641530966.ffmpegagent@gmail.com
-
pr-ffstaging-15/softworkz/qsv_vpp_regression-v3
cbf53d8e · ·avfilter/vpp_qsv: fix regression on older api versions (e.g. 1.11) From: softworkz <softworkz@hotmail.com> Commit 8b83dad82512a6948b63408f964463b063ad24c9 introduced a regression in a way that scaling via vpp_qsv doesn't work any longer for devices with an MSDK runtime version lower than 1.19. This is true for older CPUs which are stuck at 1.11. The commit added checks for the compile-sdk version but it didn't test for the runtime version. Signed-off-by: softworkz <softworkz@hotmail.com> Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.15.v3.ffstaging.FFmpeg.1641527917915.ffmpegagent@gmail.com In-Reply-To: https://master.gitmailbox.com/ffmpegdev/pull.15.ffstaging.FFmpeg.1641093136327.ffmpegagent@gmail.com In-Reply-To: https://master.gitmailbox.com/ffmpegdev/pull.15.v2.ffstaging.FFmpeg.1641094910660.ffmpegagent@gmail.com
-
pr-ffstaging-16/softworkz/patch_dvdsubdec_fix-v1
7ca1383b · ·avcodec/dvdsubdec: fix incorrect yellow appearance of dvd subtitles From: softworkz <softworkz@hotmail.com> The guess_palette() implementation is questionable in itself as its results don't match those from other DVD subtitle decoders. This commit starts cleanup by fixing an obvious bug which has made certain DVD subs appear yellow instead of white or grey for more than 10 years.. Signed-off-by: softworkz <softworkz@hotmail.com> Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.16.ffstaging.FFmpeg.1641262759164.ffmpegagent@gmail.com
-
pr-ffstaging-15/softworkz/qsv_vpp_regression-v2
ccede9d8 · ·avfilter/vpp_qsv: fix regression on older api versions (e.g. 1.11) From: softworkz <softworkz@hotmail.com> Commit 8b83dad82512a6948b63408f964463b063ad24c9 introduced a regression in a way that scaling via vpp_qsv doesn't work any longer for devices with an MSDK runtime version lower than 1.19. This is true for older CPUs which are stuck at 1.11. The commit added checks for the compile-sdk version but it didn't test for the runtime version. Signed-off-by: softworkz <softworkz@hotmail.com> Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.15.v2.ffstaging.FFmpeg.1641094910660.ffmpegagent@gmail.com In-Reply-To: https://master.gitmailbox.com/ffmpegdev/pull.15.ffstaging.FFmpeg.1641093136327.ffmpegagent@gmail.com
-
pr-ffstaging-15/softworkz/qsv_vpp_regression-v1
eea966f7 · ·avfilter/vpp_qsv: fix regression on older api versions (e.g. 1.11) From: softworkz <softworkz@hotmail.com> Commit 8b83dad82512a6948b63408f964463b063ad24c9 introduced a regression in a way that scaling via vpp_qsv didn't work any longer for devices with an MSDK runtime version lower than 1.19. This is true for older CPUs which are stuck at 1.11. The commit added checks for the compile-sdk version but it didn't test for the runtime version. Signed-off-by: softworkz <softworkz@hotmail.com> Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.15.ffstaging.FFmpeg.1641093136327.ffmpegagent@gmail.com
-
pr-ffstaging-14/softworkz/qsv_vpp_regression-v1
bb3c78c8 · ·avfilter/vpp_qsv: fix regression on older api versions (e.g. 1.11) From: softworkz <softworkz@hotmail.com> Commit 8b83dad82512a6948b63408f964463b063ad24c9 introduced a regression in a way that scaling via vpp_qsv doesn't work any longer for devices with an MSDK runtime version lower than 1.19. This is true for older CPUs which are stuck at 1.11. The commit added checks for the compile-sdk version but it didn't test for the runtime version. Signed-off-by: softworkz <softworkz@hotmail.com> Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.14.ffstaging.FFmpeg.1641091210862.ffmpegagent@gmail.com
-
pr-ffstaging-12/softworkz/master-upstream_asf_4-v1
da268b90 · ·libavformat/asf: fix handling of byte array length values The spec allows attachment sizes of up to UINT32_MAX while we can handle only sizes up to INT32_MAX (in downstream code) The debug.assert in get_tag didn't really address this, and truncating the value_len in calling methods cannot be used because the length value is required in order to continue parsing. This adds a check with log message in ff_asf_handle_byte_array to handle those (rare) cases. softworkz (11): libavformat/asf: fix handling of byte array length values libavformat/asfdec: fix get_value return type and add checks for libavformat/asfdec: fix type of value_len libavformat/asfdec: fixing get_tag libavformat/asfdec: implement parsing of GUID values libavformat/asfdec: remove unused parameters libavformat/asfdec: fix macro definition and use libavformat/asfdec: remove variable redefinition in inner scope libavformat/asfdec: ensure variables are initialized libavformat/asfdec: fix parameter type in asf_read_stream_propertie() libavformat/asfdec: fix variable types and add checks for unsupported values libavformat/asf.c | 12 +- libavformat/asf.h | 2 +- libavformat/asfdec_f.c | 349 ++++++++++++++++++++++++++--------------- 3 files changed, 232 insertions(+), 131 deletions(-) base-commit: 15cfb4eee316a1d6a0764f4460409f0258fd94cb Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.12.ffstaging.FFmpeg.1640186030.ffmpegagent@gmail.com -
pr-ffstaging-11/softworkz/master-upstream_asf-v1
853ebfe9 · ·libavformat/asfdec: Fix variable types and add checks for unsupported values Fix variable types and add checks for unsupported values and fix other issues. softworkz (11): libavformat/asf: fix handling of byte array length values libavformat/asfdec: fix get_value return type and add checks for libavformat/asfdec: fix type of value_len libavformat/asfdec: fixing get_tag libavformat/asfdec: implement parsing of GUID values libavformat/asfdec: remove unused parameters libavformat/asfdec: fix macro definition and use libavformat/asfdec: remove variable redefinition in inner scope libavformat/asfdec: ensure variables are initialized libavformat/asfdec: fix parameter type in asf_read_stream_propertie() libavformat/asfdec: fix variable types and add checks for unsupported values libavformat/asf.c | 12 +- libavformat/asf.h | 2 +- libavformat/asfdec_f.c | 349 ++++++++++++++++++++++++++--------------- 3 files changed, 232 insertions(+), 131 deletions(-) base-commit: 15cfb4eee316a1d6a0764f4460409f0258fd94cb Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.11.ffstaging.FFmpeg.1640183587.ffmpegagent@gmail.com -
pr-ffstaging-10/softworkz/asf_fixes-v1
0ddb81ec · ·avcodec/vpp_qsv: copy side data from input to output frame From: softworkz <softworkz@hotmail.com> Signed-off-by: softworkz <softworkz@hotmail.com> Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.10.ffstaging.FFmpeg.1639962553801.ffmpegagent@gmail.com
-
pr-ffstaging-9/softworkz/dont_dump_subs-v2
e82eb1ee · ·Don't dump images to disk based on DEBUG define It's been a regular annoyance. Introduce a debug-only parameter for this. softworkz (3): avcodec/dvdsub: don't dump images to disk based on DEBUG define avcodec/dvbsub: don't dump images to disk based on DEBUG define avcodec/dvbsub: creating a new commit to test patchset versioning libavcodec/dvbsubdec.c | 19 ++++++++++++++----- libavcodec/dvdsubdec.c | 9 +++++++-- 2 files changed, 21 insertions(+), 7 deletions(-) base-commit: 11aa9ca153d4446887ff3ebd26e5a3c243a19d80 Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.9.v2.ffstaging.FFmpeg.1639943578.ffmpegagent@gmail.com In-Reply-To: https://master.gitmailbox.com/ffmpegdev/pull.9.ffstaging.FFmpeg.1639943023.ffmpegagent@gmail.com
-
pr-ffstaging-9/softworkz/dont_dump_subs-v1
51400657 · ·Don't dump images to disk based on DEBUG define It's been a regular annoyance. Introduce a debug-only parameter for this. softworkz (2): avcodec/dvdsub: don't dump images to disk based on DEBUG define avcodec/dvbsub: don't dump images to disk based on DEBUG define libavcodec/dvbsubdec.c | 16 +++++++++++----- libavcodec/dvdsubdec.c | 9 +++++++-- 2 files changed, 18 insertions(+), 7 deletions(-) base-commit: 11aa9ca153d4446887ff3ebd26e5a3c243a19d80 Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.9.ffstaging.FFmpeg.1639943023.ffmpegagent@gmail.com
-
pr-ffstaging-7/softworkz/myfeature-v1
48dd17cc · ·avutil/ass_split: Add parsing of hard-space tags (\h) The \h tag in ASS/SSA is indicating a non-breaking space. See https://github.com/Aegisub/aegisite/blob/master/source/docs/3.2/ASS_Tags.html.md The ass_split implementation is used by almost all text subtitle encoders and it didn't handle this tag. Interestingly, several tests are testing for \h parsing and had incorrect reference data for those tests. The \h tag is specific to ASS and doesn't have any meaning outside of ASS. Still, the reference data for ttmlenc, textenc and webvttenc were full of \h tags even though this tag doesn't have a meaning there. softworkz (2): avutil/ass_split: add parsing of hard-space tags (\h) avcodec/webvttenc: convert hard-space tags to libavcodec/ass_split.c | 7 +++++++ libavcodec/webvttenc.c | 6 ++++++ tests/ref/fate/.gitattributes | 3 +++ tests/ref/fate/mov-mp4-ttml-dfxp | 8 ++++---- tests/ref/fate/mov-mp4-ttml-stpp | 8 ++++---- tests/ref/fate/sub-textenc | 10 +++++----- tests/ref/fate/sub-ttmlenc | 8 ++++---- tests/ref/fate/sub-webvttenc | 10 +++++----- 8 files changed, 38 insertions(+), 22 deletions(-) create mode 100644 tests/ref/fate/.gitattributes base-commit: 6cf55b9da2b41d5c2b8a0b6e4405dd84858cae35 Submitted-As: https://master.gitmailbox.com/ffmpegdev/pull.7.ffstaging.FFmpeg.1639870936.ffmpegagent@gmail.com
-
-
-
-