Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Exception: Language code IT isn't supported... #76

Closed
steven52880 opened this issue Dec 31, 2022 · 2 comments
Closed

System.Exception: Language code IT isn't supported... #76

steven52880 opened this issue Dec 31, 2022 · 2 comments

Comments

@steven52880
Copy link

GICutscenes demuxUsm ".\input\Cs_Inazuma_EQ_4009004_DYG1.usm" --merge --output .\output -e ffmpeg --subs


Output folder : G:\Genshin\GICutscenes-0.4.0\output
Finding encryption key for Cs_Inazuma_EQ_4009004_DYG1.usm...
key1=B0E1E6F8 key2=47C61000
Demuxing Cs_Inazuma_EQ_4009004_DYG1.usm : extracting video and audio...
Converting Cs_Inazuma_EQ_4009004_DYG1_3.hca to wav...
Converting Cs_Inazuma_EQ_4009004_DYG1_1.hca to wav...
Converting Cs_Inazuma_EQ_4009004_DYG1_0.hca to wav...
Converting Cs_Inazuma_EQ_4009004_DYG1_2.hca to wav...
Extraction completed !
Merging using ffmpeg.
Subtitles name found: Cs_Inazuma_EQ_4009004_DYG1
Using subs file Cs_Inazuma_EQ_4009004_DYG1_CHS.ass
Using subs file Cs_Inazuma_EQ_4009004_DYG1_CHT.ass
Using subs file Cs_Inazuma_EQ_4009004_DYG1_DE.ass
Using subs file Cs_Inazuma_EQ_4009004_DYG1_EN.ass
Using subs file Cs_Inazuma_EQ_4009004_DYG1_ES.ass
Using subs file Cs_Inazuma_EQ_4009004_DYG1_FR.ass
Using subs file Cs_Inazuma_EQ_4009004_DYG1_ID.ass
Using subs file Cs_Inazuma_EQ_4009004_DYG1_IT.ass
Unhandled exception: System.Exception: Language code IT isn't supported...
   at GICutscenes.Mergers.FFMPEG.AddSubtitlesTrack(String subFile, String language)
   at GICutscenes.Program.MergeFiles(String outputPath, String basename, String engine, Boolean subs)
   at GICutscenes.Program.DemuxUsmCommand(FileInfo file, String key1, String key2, DirectoryInfo output, String engine, Boolean merge, Boolean subs, Boolean noCleanup)
   at GICutscenes.Program.<>c.<<Main>b__1_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext )
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass18_0.<<UseParseErrorReporting>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass13_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass20_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__19_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__6_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass9_0.<<UseExceptionHandler>b__0>d.MoveNext()
@letheriver2007
Copy link

I found a temporary solution , you can leave only CHS and EN in the Subtitle folder . I hope it can help you .

@ToaHartor
Copy link
Owner

Added with #68, will close on the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants