From a9454592b0fe5e315e6c01dda745d38497a6622f Mon Sep 17 00:00:00 2001 From: "lee.fordyce" Date: Fri, 16 Feb 2024 13:46:23 -0700 Subject: [PATCH] fix: remove VTT MP4 input test --- packager/live_packager_test.cc | 28 ------------------ .../timed_text_vtt_mp4/0001.m4s | Bin 1049 -> 0 bytes .../timed_text_vtt_mp4/0002.m4s | Bin 1340 -> 0 bytes .../timed_text_vtt_mp4/0003.m4s | Bin 1544 -> 0 bytes .../timed_text_vtt_mp4/0004.m4s | Bin 1716 -> 0 bytes .../timed_text_vtt_mp4/0005.m4s | Bin 2152 -> 0 bytes .../timed_text_vtt_mp4/0006.m4s | Bin 2257 -> 0 bytes .../timed_text_vtt_mp4/0007.m4s | Bin 2498 -> 0 bytes .../timed_text_vtt_mp4/0008.m4s | Bin 2625 -> 0 bytes .../timed_text_vtt_mp4/0009.m4s | Bin 2912 -> 0 bytes .../timed_text_vtt_mp4/init.mp4 | Bin 737 -> 0 bytes 11 files changed, 28 deletions(-) delete mode 100644 packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0001.m4s delete mode 100644 packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0002.m4s delete mode 100644 packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0003.m4s delete mode 100644 packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0004.m4s delete mode 100644 packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0005.m4s delete mode 100644 packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0006.m4s delete mode 100644 packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0007.m4s delete mode 100644 packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0008.m4s delete mode 100644 packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0009.m4s delete mode 100644 packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/init.mp4 diff --git a/packager/live_packager_test.cc b/packager/live_packager_test.cc index 64eb55821d9..0e8ba2cbad6 100644 --- a/packager/live_packager_test.cc +++ b/packager/live_packager_test.cc @@ -943,34 +943,6 @@ INSTANTIATE_TEST_CASE_P( LiveConfig::OutputFormat::TS, LiveConfig::TrackType::AUDIO, "audio/en/%05d.m4s", false})); -TEST_F(LivePackagerBaseTest, TestPackageTimedTextVTTMp4) { - std::vector init_segment_buffer = - ReadTestDataFile("timed_text_vtt_mp4/init.mp4"); - ASSERT_FALSE(init_segment_buffer.empty()); - - for (unsigned int i = 1; i < kNumSegments; i++) { - std::string segment_num = absl::StrFormat("timed_text_vtt_mp4/%04d.m4s", i); - std::vector segment_buffer = ReadTestDataFile(segment_num); - ASSERT_FALSE(segment_buffer.empty()); - - FullSegmentBuffer in; - in.SetInitSegment(init_segment_buffer.data(), init_segment_buffer.size()); - in.AppendData(segment_buffer.data(), segment_buffer.size()); - - FullSegmentBuffer out; - - LiveConfig live_config; - live_config.format = LiveConfig::OutputFormat::FMP4; - live_config.track_type = LiveConfig::TrackType::TEXT; - live_config.protection_scheme = LiveConfig::EncryptionScheme::NONE; - - SetupLivePackagerConfig(live_config); - // TODO: investigate failure. possibly caused by bad input - generate valid - // VTT in MP4 input - ASSERT_NE(Status::OK, live_packager_->PackageTimedText(in, out)); - } -} - struct TimedTextTestCase { const char* media_segment_format; LiveConfig::OutputFormat output_format; diff --git a/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0001.m4s b/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0001.m4s deleted file mode 100644 index 6baf376dc11b7528b4fa1eeaa2a06c3bd1f9a0d5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1049 zcmcIjyGq1B6uoX-*fO$PSOyVnb_Kyg(pgvtVq{Vb)CbFZNAc>4n1_kt&)7gk{?kDU-CH94eSI*5Oc0E?*}t(A1XwlmP+`s z)kw2?5|g9QIMy zgM;5OAcxyT2mr$2V@nVGhaSeLxet0c40<>Uz0xn((t)2n?{pB!y?n=K{Qj4)(9QTA ub^-g^#dP&c9}DOt!`;j=FI8DAt28qen-;l)My<=cI=N1qF{d&>MD+z8VX?OW diff --git a/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0002.m4s b/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0002.m4s deleted file mode 100644 index 28ef24e04eed2f4cac5d6eec33b69a38e91163dd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1340 zcmcIk%SyvQ6rDCcif)4K!sQ?ZH?|?PoIo2M6;F?gP-wy_+oMt%H zT$W<*Dk+H5dom`#+E9bN7v;A1CJkNi8fdV0w5Z|KB>@15FdXgT6C7U#%*(7AQV&9-gk3ND=;RE<2 zK8D|HQYlhMUCh8TyR)-9`3?D&F*ep_RjTsthQU%@++!$OOQDlc#TwyDoyr&5haE8H zebv*=ni<9h>(@FcRZ+y4`YKLjlZP|x!Bm3c+)%v70?a9nF<8U*G01!qOWgNkLsKnt zteRYwVeTs_D5w8yOa$-9VC&+zy}ON}hdc)cTcbmU3!eaB)Sos64>=ADwnm2x!5aa< z_F*_go&$re(ILZ>698-0{(RHkuwanm%v%sRv|R zTDEtOYb|@UPkO@t>W|=|eXoR{Vm$rQ_7oZq5g%$}<|0eyc@Rdqi7LcyOR>skg!f-qx8DIYS-l Si1z_cuj8gO|JxD!hJFK@-xyN> diff --git a/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0004.m4s b/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0004.m4s deleted file mode 100644 index 37794a6f97db5763672d3bdbd3068c8553c3cb3c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1716 zcmcJP&q@O^5XNKIKh@Jhdk{njQtU;Ff(Plb7ZKEh_yVEXZI>q9rAfuUL607N1Rudu zpU21Wo9tE=DQu1GKu9wEGPA#devGk>v5QP+*H;XYnDhoq(_IQP9_rX2ePI&$O1~p^ z7z@7g4*!N>_J!)i_UzQkFC0|k-eCYt% z=fanc3tu`zZtXQxs^mwmb|?3vfHdR@_|Ju>*x_Hn1p5H%>6bqZ;8R27+s4|FP|0Z8 zA4XFf&5%3K#6sPssqFE)u2Ni!NyG&=5DCR?${%`Ac{<$k6K^T#YpbR~4*Z8{xY`@0 Wadd(@n8KmPPBqul`2Q4~-+u!FfiD68 diff --git a/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0005.m4s b/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0005.m4s deleted file mode 100644 index beb94ab2dd2c81ac2467b5a51e28277dd8b56017..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2152 zcmcJQy-EW?5XU!(A2Bv3NnyE2z$S>Ig#-(+7Au9c%k6!^-R*I=r{)b(T3Yx3c7m0U z-~))y;A8lo%|(I)k}TZ7GP`sCo#8heJB+b@p~qR0ot-dPRH$>Tgw9eFp_}*x!h<4` zkMteZV662s-OkQTGuE9vO@lH~%E#78{7_ap++o)`7Zm53;!QThp5j>D349xi%+bC? zzCY{fyi9Sbv@FKnNu(f6`(A4g-jc!8#dVW=8AB5~3kFl8MutO&0ASRgWehE7EEr6U z8X1Pq1OQuwVFNk~22-O(h8s=*uvHi~p|fBxHELuKuZCbXhAle=Q=>+P@^}q~Z94{2 zqeh0w#~KXuZd&|HrbdknFPC!+Uvu*zUN9eapuMf;!+td%4iKBY`IKsIE|}c?>0D@$ zhTdkpeeFAV^kerFeuNeNn-e3<3m5TTp>-hQC`gB{mufFZ>>?B6_{!sg2TDmEM0q^m z52}nMAFFcE5vk-^sd?z-T%}x;S|vh9?h)=<&Y!nW+$AH1Wj*RZvqq0h?gc$+d?OEf Rv-b{9|IVyOb@j%~=wI3`g(?65 diff --git a/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0006.m4s b/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0006.m4s deleted file mode 100644 index 411b7baf7c5b590b0c0d9220dc1d6b539eb76498..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2257 zcmcJR&q~8U5XRS5Yqgg^d+@l3;H8KK57Lv~t@r?5mTb}n@{jJ;TJQmS^yt9{@a9$M zO)tKJZ{TD2%_fy1LYsvhSaxSJnU7xx`N9}GQhJsr`B{%4B9)zEC6r5{Mt%}1l)EaD z_jDbx#aR8jI4*Oh8EelUi=s@jEX2`E!jUZda1XoEV?lMUsa|7!oT-l0o?~xfQFuC( znD-kUJ)We<%3c=Z>?KlAPxDUe0J|lF(Z%g%_Bw_d`YafXhC_y9j{p$#eAY44(PP12 zG#oPYp9lc43Bxw}EEtT2LxyWk0EkT(cFAf^+#h=aWZsE^$>LGu5Ks(LBd)ZoGA28NAl1PbwO%e}@ntIcG~j+Vi6xgApGJDb1?71h@GRuRSSS^!6B3}GfgeN}hcW;F diff --git a/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0007.m4s b/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0007.m4s deleted file mode 100644 index 8066fb956bfde71989012b10674f2d303154b7ab..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2498 zcmcJRy-EW?5XV=~X#9eMq_8|Bl14?rLQy)2>KTOXLFGtf#g`Z>cUH)N=HF7!Z#l4eb1`G4_6f35)$Me9A{T$)_ zJoIkqbJ!AN*4KDDIWx&vZFDyddU2Zi*xIolctsxWuydJliaV0x%dCYx#j$E5_$n5e zEqxF5eyuLEeu7hx%OdRU*yEH_9Y`tQH5pW2TvxT{F)SlbgF*E$$k4P207mnf$6z5x zgF*E$$k4hc0N5f7E6CGeP(2JXTsQ;(TZEy4JPiib!yp5HQUr@Jtm-kS9tIiuM>oKSv1{t2;OE7HcF{mB}8Qw0Z7+$AzI+~%= zo5<}HI=xfq^e$o(?WIyv`mAa<#`vGx3RAN=ye;q?IK>!rR?%3 z>?SQ&BvNFE?e+LD>I7og%!Csrjtqp84n!6R?l~EEZw`^9Dfl0sxJyP~cHS_ykW*q9 bs`iXwR31?WL)iX?rDMC9)_5uwbaMh36#q<ZYiBEzo300{m*^BD4| zF<=l4iwvy^10WV*SVo-zgJ@V}IIl4PViAS{>I@h}!y<$GCSpBXjo);y~x0@X2u{I78%|@ zGBB*0F^GmmhOes`hL;(?r2p|t8>qcZ{nBRYm$s4Pw}l(Wj8BrY>rgbz9MZQ<~zBv2ipPKMdZRD$o)*ZLs>x8Yg7iup?ZfoF<`X{i2Zm7Jtb{vJO L(P;2NY`(q$2lc|w diff --git a/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0009.m4s b/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/0009.m4s deleted file mode 100644 index 46922fc721495146d684f2878622429b126f7f48..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2912 zcmcJRze)o^5XM*Ie~lbyVYz6)Mnu6vQYltS5DQBSm)u=)c$Dwk z65i48h$$g*U)^K>Sy&;~I``dVsO$9@$3Vx`uvdpWqGX$j^3qa%S`=}nJl0wV`vMk4 zVB-+|2C;6Nts0(swIani(4nH5gU@W`N^nP4)8IX4E@@W{~G%fK-2 z#=sgL89J{S80fp{@Gh~2M~26v3=E5I46Nai;pII8!;%{VYj|XMyU4(>?8d+v9vMD9 zGcc^UF|dY5hVSbk2E11Tzm$&fOL^2@_WaUD&o6Bv*Y`lwYRD&X??Trn<*0_d3cNsm z3p>6KbL5dqSXY01Qwjd5jQqN>wxZIcQY)6DnvI&s?KM<8JyB^YbtKP}j?At+wcAF< z$!#P<)i%=B<#DRajoL-MqX+x>!d(jb-{a=8ikb{_;oc+WGXI1=n8)%rcFbomm;amx Gd(&Ti$^`cS diff --git a/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/init.mp4 b/packager/media/test/data/live_packager_tests/timed_text_vtt_mp4/init.mp4 deleted file mode 100644 index a099b53cc52923ea6db342213d02fda0271e8fa3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 737 zcmZva%}&BV5XToZ@j{FTyciEXaPVLS5fkx5P!qWs19&kZ+ufx_y0qy|3wrPod^`lxz@H~_vntyb+3IH7gGJXuu^9aGZ}ygR`lBg)3q76IWRGMlxAb=<6( z(zijGjAaIE)=e&~(8d>jgn*9mh+7!PZP{3~MK@$MVsp8&#H~Ne3OkaIC|ZW(|F^#P z8ZX$-w+O@x^4oNgFX@E4_;MI;ax@uYuJ9!9@<3?Tp>I