1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

tests/fate/subtitles: add test for LRC with milliseconds timestamp

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
Kacper Michajłow
2025-07-23 20:06:43 +02:00
parent bc3cc0a6af
commit a29aeee37e
2 changed files with 52 additions and 0 deletions

View File

@ -29,6 +29,9 @@ fate-sub-jacosub-remux: CMP = diff
FATE_SUBTITLES-$(call DEMMUX, LRC, LRC) += fate-sub-lrc-remux FATE_SUBTITLES-$(call DEMMUX, LRC, LRC) += fate-sub-lrc-remux
fate-sub-lrc-remux: CMD = fmtstdout lrc -i $(TARGET_SAMPLES)/sub/test-lrc.lrc fate-sub-lrc-remux: CMD = fmtstdout lrc -i $(TARGET_SAMPLES)/sub/test-lrc.lrc
FATE_SUBTITLES-$(call DEMMUX, LRC, LRC) += fate-sub-lrc-ms-remux
fate-sub-lrc-ms-remux: CMD = fmtstdout lrc -i $(TARGET_SAMPLES)/sub/test-lrc-ms.lrc
FATE_SUBTITLES_ASS-$(call DEMDEC, MICRODVD, MICRODVD) += fate-sub-microdvd FATE_SUBTITLES_ASS-$(call DEMDEC, MICRODVD, MICRODVD) += fate-sub-microdvd
fate-sub-microdvd: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/MicroDVD_capability_tester.sub fate-sub-microdvd: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/MicroDVD_capability_tester.sub

View File

@ -0,0 +1,49 @@
[ti:Swansong]
[al:Breadcrumbs]
[ar:Josh Woodward]
[length:04:21]
[by:StarBrilliant]
[-00:01.02](This is a negative timestamp which should not make program crash)
[00:35.62]I never thought I'd see the day
[00:38.43]I thought that I had finally moved along
[00:43.81]And I had let you go so long ago, so long
[00:49.27]This is not, this is not where I belong
[00:57.38]So I wait for this shallow itch to pass
[01:05.98]And I wait, yeah I wait
[01:12.14]Hey hey, I'm ok
[01:15.18]I don't need this anyway, I'm fine
[01:19.83]What's yours and mine
[01:23.65]Oh oh, I don't know
[01:26.45]What I was ever hoping I would find
[01:31.67]But it's time for me to leave this all behind
[01:35.74]
[01:46.21]I don't regret a single thing
[01:48.99]I couldn't say it didn't feel alright
[01:54.10]But I don't want to stay and I don't want to fight
[01:59.76]All alone, with my foolish appetite
[02:07.94]So I wait for this shallow itch to pass
[02:16.52]And I wait, yeah I wait
[02:22.73]Hey hey, I'm ok
[02:25.69]I don't need this anyway, I'm fine
[02:30.38]What's yours and mine
[02:34.13]Oh oh, I don't know
[02:36.99]What I was ever hoping I would find
[02:42.29]But it's time for me to leave this all behind
[02:45.37]I don't have the heart to give away to you again
[02:51.09]I don't have the stomach for it, no one ever wins
[02:56.71]We had our fun but I have sung this song to you before
[03:01.69]Here's my last refrain
[03:08.06]Hey hey, I'm ok
[03:10.81]I don't need this anyway, I'm fine
[03:15.50]What's yours and mine
[03:19.31]Oh oh, I don't know
[03:22.11]What I was ever hoping I would find
[03:27.34]But it's time for me to leave this all behind
[03:30.82]Hey hey, I'm ok
[03:32.99]I don't need this anyway, I'm fine
[03:38.03]What's yours and mine
[03:41.92]Oh oh, I don't know
[03:44.55]What I was ever hoping I would find
[03:50.04]But it's time for me to leave this all behind
[03:54.82]