Opened 3 years ago
Closed 3 years ago
#9302 closed defect (invalid)
FFmpeg failed to run sub-ttmlenc test on release and debug configuration with MSVC on windows
Reported by: | KarenHuang | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
Summary of the bug:
FFmpeg failed to run sub-ttmlenc test on release|x64 and debug|x64 configuration with MSVC on windows. This issue can be reproduced from master revision 81bad08. Could you please help take a look at this? Thank you!
Steps to reproduce:
- git clone https://github.com/FFmpeg/FFmpeg.git F:\gitP\FFmpeg\FFmpeg
- Open a VS 2019 x64 prompt and browse to F:\gitP\FFmpeg
- set FFMPEG_FATE_PATH=../fate-suite/
- set path=F:\gitP\FFmpeg\FFmpeg\..\tools;%PATH%
- set MSYS2_PATH_TYPE=inherit
- .\tools\msys32\usr\bin\sh.exe --login -i -c "/F/gitP/ffmpeg/tools/build.sh"
- set FFMPEG_SRC_PATH=F:\gitP\FFmpeg\FFmpeg
- .\tools\msys32\usr\bin\sh.exe --login -i -c "/F/gitP/ffmpeg/tools/test.sh"
Actual result:
--- ./tests/ref/fate/sub-ttmlenc 2021-06-24 23:52:10.328450000 -0700 +++ tests/data/fate/sub-ttmlenc 2021-06-25 00:54:22.436141500 -0700 @@ -1,136 +1,136 @@ -<?xml version="1.0" encoding="utf-8"?> -<tt - xmlns="http://www.w3.org/ns/ttml" - xmlns:ttm="http://www.w3.org/ns/ttml#metadata" - xmlns:tts="http://www.w3.org/ns/ttml#styling" - xmlns:ttp="http://www.w3.org/ns/ttml#parameter" - ttp:cellResolution="384 288" - xml:lang=""> - <head> - <layout> - <region xml:id="Default" - tts:origin="3% 0%" - tts:extent="97% 97%" - tts:displayAlign="after" - tts:textAlign="center" - tts:fontSize="16c" - tts:fontFamily="Arial" - tts:overflow="visible" /> - </layout> - </head> - <body> - <div> - <p - begin="00:00:00.000" - end="00:00:00.000"><span region="Default">Don't show this text it may be used to insert hidden data</span></p> - <p - begin="00:00:01.500" - end="00:00:04.500"><span region="Default">SubRip subtitles capability tester 1.3o by ale5000<br/>Use VLC 1.1 or higher as reference for most things and MPC Home Cinema for others<br/>This text should be blue<br/>This text should be red<br/>This text should be black<br/>If you see this with the normal font, the player don't (fully) support font face</span></p> - <p - begin="00:00:04.500" - end="00:00:04.500"><span region="Default">Hidden</span></p> - <p - begin="00:00:04.501" - end="00:00:07.500"><span region="Default">This text should be small<br/>This text should be normal<br/>This text should be big</span></p> - <p - begin="00:00:07.501" - end="00:00:11.500"><span region="Default">This should be an E with an accent: È<br/>日本語<br/>This text should be bold, italics and underline<br/>This text should be small and green<br/>This text should be small and red<br/>This text should be big and brown</span></p> - <p - begin="00:00:11.501" - end="00:00:14.500"><span region="Default">This line should be bold<br/>This line should be italics<br/>This line should be underline<br/>This line should be strikethrough<br/>Both lines<br/>should be underline</span></p> - <p - begin="00:00:14.501" - end="00:00:17.500"><span region="Default">><br/>It would be a good thing to<br/>hide invalid html tags that are closed and show the text in them<br/>but show un-closed invalid html tags<br/>Show not opened tags<br/><</span></p> - <p - begin="00:00:17.501" - end="00:00:20.500"><span region="Default">and also<br/>hide invalid html tags with parameters that are closed and show the text in them<br/>but show un-closed invalid html tags<br/>This text should be showed underlined without problems also: 2<3,5>1,4<6<br/>This shouldn't be underlined</span></p> - <p - begin="00:00:20.501" - end="00:00:21.500"><span region="Default">This text should be in the normal position...</span></p> - <p - begin="00:00:21.501" - end="00:00:22.500"><span region="Default">This text should NOT be in the normal position</span></p> - <p - begin="00:00:22.501" - end="00:00:24.500"><span region="Default">Implementation is the same of the ASS tag<br/>This text should be at the<br/>top and horizontally centered</span></p> - <p - begin="00:00:22.501" - end="00:00:24.500"><span region="Default">This text should be at the<br/>middle and horizontally centered</span></p> - <p - begin="00:00:22.501" - end="00:00:24.500"><span region="Default">This text should be at the<br/>bottom and horizontally centered</span></p> - <p - begin="00:00:24.501" - end="00:00:26.500"><span region="Default">This text should be at the<br/>top and horizontally at the left</span></p> - <p - begin="00:00:24.501" - end="00:00:26.500"><span region="Default">This text should be at the<br/>middle and horizontally at the left<br/>(The second position must be ignored)</span></p> - <p - begin="00:00:24.501" - end="00:00:26.500"><span region="Default">This text should be at the<br/>bottom and horizontally at the left</span></p> - <p - begin="00:00:26.501" - end="00:00:28.500"><span region="Default">This text should be at the<br/>top and horizontally at the right</span></p> - <p - begin="00:00:26.501" - end="00:00:28.500"><span region="Default">This text should be at the<br/>middle and horizontally at the right</span></p> - <p - begin="00:00:26.501" - end="00:00:28.500"><span region="Default">This text should be at the<br/>bottom and horizontally at the right</span></p> - <p - begin="00:00:28.501" - end="00:00:31.500"><span region="Default">This could be the most difficult thing to implement</span></p> - <p - begin="00:00:31.501" - end="00:00:50.500"><span region="Default">First text</span></p> - <p - begin="00:00:33.500" - end="00:00:35.500"><span region="Default">Second, it shouldn't overlap first</span></p> - <p - begin="00:00:35.501" - end="00:00:37.500"><span region="Default">Third, it should replace second</span></p> - <p - begin="00:00:36.501" - end="00:00:50.500"><span region="Default">Fourth, it shouldn't overlap first and third</span></p> - <p - begin="00:00:40.501" - end="00:00:45.500"><span region="Default">Fifth, it should replace third</span></p> - <p - begin="00:00:45.501" - end="00:00:50.500"><span region="Default">Sixth, it shouldn't be<br/>showed overlapped</span></p> - <p - begin="00:00:50.501" - end="00:00:52.500"><span region="Default">TEXT 1 (bottom)</span></p> - <p - begin="00:00:50.501" - end="00:00:52.500"><span region="Default">text 2</span></p> - <p - begin="00:00:52.501" - end="00:00:54.500"><span region="Default">Hide these tags:<br/>also hide these tags:<br/>but show this: {normal text}</span></p> - <p - begin="00:00:54.501" - end="00:01:00.500"><span region="Default"><br/>\ N is a forced line break<br/>\ h is a hard space<br/>Normal spaces at the start and at the end of the line are trimmed while hard spaces are not trimmed.<br/>The\hline\hwill\hnever\hbreak\hautomatically\hright\hbefore\hor\hafter\ha\hhard\hspace.\h:-D</span></p> - <p - begin="00:00:54.501" - end="00:00:56.500"><span region="Default"><br/>\h\h\h\h\hA (05 hard spaces followed by a letter)<br/>A (Normal spaces followed by a letter)<br/>A (No hard spaces followed by a letter)</span></p> - <p - begin="00:00:56.501" - end="00:00:58.500"><span region="Default">\h\h\h\h\hA (05 hard spaces followed by a letter)<br/>A (Normal spaces followed by a letter)<br/>A (No hard spaces followed by a letter)<br/>Show this: \TEST and this: \-)</span></p> - <p - begin="00:00:58.501" - end="00:01:00.500"><span region="Default"><br/>A letter followed by 05 hard spaces: A\h\h\h\h\h<br/>A letter followed by normal spaces: A<br/>A letter followed by no hard spaces: A<br/>05 hard spaces between letters: A\h\h\h\h\hA<br/>5 normal spaces between letters: A A<br/><br/>^--Forced line break</span></p> - <p - begin="00:01:00.501" - end="00:01:02.500"><span region="Default">Both line should be strikethrough,<br/>yes.<br/>Correctly closed tags<br/>should be hidden.</span></p> - <p - begin="00:01:02.501" - end="00:01:04.500"><span region="Default">It shouldn't be strikethrough,<br/>not opened tag showed as text.<br/>Not opened tag showed as text.</span></p> - <p - begin="00:01:04.501" - end="00:01:06.500"><span region="Default">Three lines should be strikethrough,<br/>yes.<br/>Not closed tags showed as text</span></p> - <p - begin="00:01:06.501" - end="00:01:08.500"><span region="Default">Both line should be strikethrough but<br/>the wrong closing tag should be showed</span></p> - </div> - </body> -</tt> +<?xml version="1.0" encoding="utf-8"?> +<tt + xmlns="http://www.w3.org/ns/ttml" + xmlns:ttm="http://www.w3.org/ns/ttml#metadata" + xmlns:tts="http://www.w3.org/ns/ttml#styling" + xmlns:ttp="http://www.w3.org/ns/ttml#parameter" + ttp:cellResolution="384 288" + xml:lang=""> + <head> + <layout> + <region xml:id="Default" + tts:origin="3% 0%" + tts:extent="97% 97%" + tts:displayAlign="after" + tts:textAlign="center" + tts:fontSize="16c" + tts:fontFamily="Arial" + tts:overflow="visible" /> + </layout> + </head> + <body> + <div> + <p + begin="00:00:00.000" + end="00:00:00.000"><span region="Default">Don't show this text it may be used to insert hidden data</span></p> + <p + begin="00:00:01.500" + end="00:00:04.500"><span region="Default">SubRip subtitles capability tester 1.3o by ale5000<br/>Use VLC 1.1 or higher as reference for most things and MPC Home Cinema for others<br/>This text should be blue<br/>This text should be red<br/>This text should be black<br/>If you see this with the normal font, the player don't (fully) support font face</span></p> + <p + begin="00:00:04.500" + end="00:00:04.500"><span region="Default">Hidden</span></p> + <p + begin="00:00:04.501" + end="00:00:07.500"><span region="Default">This text should be small<br/>This text should be normal<br/>This text should be big</span></p> + <p + begin="00:00:07.501" + end="00:00:11.500"><span region="Default">This should be an E with an accent: È<br/>日本語<br/>This text should be bold, italics and underline<br/>This text should be small and green<br/>This text should be small and red<br/>This text should be big and brown</span></p> + <p + begin="00:00:11.501" + end="00:00:14.500"><span region="Default">This line should be bold<br/>This line should be italics<br/>This line should be underline<br/>This line should be strikethrough<br/>Both lines<br/>should be underline</span></p> + <p + begin="00:00:14.501" + end="00:00:17.500"><span region="Default">><br/>It would be a good thing to<br/>hide invalid html tags that are closed and show the text in them<br/>but show un-closed invalid html tags<br/>Show not opened tags<br/><</span></p> + <p + begin="00:00:17.501" + end="00:00:20.500"><span region="Default">and also<br/>hide invalid html tags with parameters that are closed and show the text in them<br/>but show un-closed invalid html tags<br/>This text should be showed underlined without problems also: 2<3,5>1,4<6<br/>This shouldn't be underlined</span></p> + <p + begin="00:00:20.501" + end="00:00:21.500"><span region="Default">This text should be in the normal position...</span></p> + <p + begin="00:00:21.501" + end="00:00:22.500"><span region="Default">This text should NOT be in the normal position</span></p> + <p + begin="00:00:22.501" + end="00:00:24.500"><span region="Default">Implementation is the same of the ASS tag<br/>This text should be at the<br/>top and horizontally centered</span></p> + <p + begin="00:00:22.501" + end="00:00:24.500"><span region="Default">This text should be at the<br/>middle and horizontally centered</span></p> + <p + begin="00:00:22.501" + end="00:00:24.500"><span region="Default">This text should be at the<br/>bottom and horizontally centered</span></p> + <p + begin="00:00:24.501" + end="00:00:26.500"><span region="Default">This text should be at the<br/>top and horizontally at the left</span></p> + <p + begin="00:00:24.501" + end="00:00:26.500"><span region="Default">This text should be at the<br/>middle and horizontally at the left<br/>(The second position must be ignored)</span></p> + <p + begin="00:00:24.501" + end="00:00:26.500"><span region="Default">This text should be at the<br/>bottom and horizontally at the left</span></p> + <p + begin="00:00:26.501" + end="00:00:28.500"><span region="Default">This text should be at the<br/>top and horizontally at the right</span></p> + <p + begin="00:00:26.501" + end="00:00:28.500"><span region="Default">This text should be at the<br/>middle and horizontally at the right</span></p> + <p + begin="00:00:26.501" + end="00:00:28.500"><span region="Default">This text should be at the<br/>bottom and horizontally at the right</span></p> + <p + begin="00:00:28.501" + end="00:00:31.500"><span region="Default">This could be the most difficult thing to implement</span></p> + <p + begin="00:00:31.501" + end="00:00:50.500"><span region="Default">First text</span></p> + <p + begin="00:00:33.500" + end="00:00:35.500"><span region="Default">Second, it shouldn't overlap first</span></p> + <p + begin="00:00:35.501" + end="00:00:37.500"><span region="Default">Third, it should replace second</span></p> + <p + begin="00:00:36.501" + end="00:00:50.500"><span region="Default">Fourth, it shouldn't overlap first and third</span></p> + <p + begin="00:00:40.501" + end="00:00:45.500"><span region="Default">Fifth, it should replace third</span></p> + <p + begin="00:00:45.501" + end="00:00:50.500"><span region="Default">Sixth, it shouldn't be<br/>showed overlapped</span></p> + <p + begin="00:00:50.501" + end="00:00:52.500"><span region="Default">TEXT 1 (bottom)</span></p> + <p + begin="00:00:50.501" + end="00:00:52.500"><span region="Default">text 2</span></p> + <p + begin="00:00:52.501" + end="00:00:54.500"><span region="Default">Hide these tags:<br/>also hide these tags:<br/>but show this: {normal text}</span></p> + <p + begin="00:00:54.501" + end="00:01:00.500"><span region="Default"><br/>\ N is a forced line break<br/>\ h is a hard space<br/>Normal spaces at the start and at the end of the line are trimmed while hard spaces are not trimmed.<br/>The\hline\hwill\hnever\hbreak\hautomatically\hright\hbefore\hor\hafter\ha\hhard\hspace.\h:-D</span></p> + <p + begin="00:00:54.501" + end="00:00:56.500"><span region="Default"><br/>\h\h\h\h\hA (05 hard spaces followed by a letter)<br/>A (Normal spaces followed by a letter)<br/>A (No hard spaces followed by a letter)</span></p> + <p + begin="00:00:56.501" + end="00:00:58.500"><span region="Default">\h\h\h\h\hA (05 hard spaces followed by a letter)<br/>A (Normal spaces followed by a letter)<br/>A (No hard spaces followed by a letter)<br/>Show this: \TEST and this: \-)</span></p> + <p + begin="00:00:58.501" + end="00:01:00.500"><span region="Default"><br/>A letter followed by 05 hard spaces: A\h\h\h\h\h<br/>A letter followed by normal spaces: A<br/>A letter followed by no hard spaces: A<br/>05 hard spaces between letters: A\h\h\h\h\hA<br/>5 normal spaces between letters: A A<br/><br/>^--Forced line break</span></p> + <p + begin="00:01:00.501" + end="00:01:02.500"><span region="Default">Both line should be strikethrough,<br/>yes.<br/>Correctly closed tags<br/>should be hidden.</span></p> + <p + begin="00:01:02.501" + end="00:01:04.500"><span region="Default">It shouldn't be strikethrough,<br/>not opened tag showed as text.<br/>Not opened tag showed as text.</span></p> + <p + begin="00:01:04.501" + end="00:01:06.500"><span region="Default">Three lines should be strikethrough,<br/>yes.<br/>Not closed tags showed as text</span></p> + <p + begin="00:01:06.501" + end="00:01:08.500"><span region="Default">Both line should be strikethrough but<br/>the wrong closing tag should be showed</span></p> + </div> + </body> +</tt> TEST sub-microdvd Test sub-ttmlenc failed. Look at tests/data/fate/sub-ttmlenc.err for details. make: *** [tests/Makefile:255: fate-sub-ttmlenc] Error 1 make: *** Waiting for unfinished jobs.... Failed FATE test suite!
Attachments (1)
Change History (2)
by , 3 years ago
Attachment: | test.log.6.out added |
---|
comment:1 by , 3 years ago
Component: | fate → undetermined |
---|---|
Description: | modified (diff) |
Resolution: | → invalid |
Status: | new → closed |
Please understand that external build scripts are not supported by us, works fine here with MSVC 19 building for x86_32 and x86_64.
Note:
See TracTickets
for help on using tickets.
test_log