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

r1147. [Fatal]: Failed to avformat_open_input #49

Closed
pr0zitiv opened this issue Nov 11, 2023 · 16 comments
Closed

r1147. [Fatal]: Failed to avformat_open_input #49

pr0zitiv opened this issue Nov 11, 2023 · 16 comments

Comments

@pr0zitiv
Copy link

Windows 10
AviSynthPlus_3.7.2_20220317
AvsPmod v2.7.4.6 (Windows x86-64)

The error appears if there are Cyrillic characters in the file path or file name.
r1144 works fine

@Asd-g
Copy link
Contributor

Asd-g commented Nov 11, 2023

Use the latest AvsPmod.

@kedaitinh12
Copy link

Use the latest AvsPmod.

In megui, i can index utf 8 filename without error with DGDecNV and ffms2

@kedaitinh12
Copy link

And I tried with latest AvsPmod, the error still continues

@pr0zitiv
Copy link
Author

Use the latest AvsPmod.

This is bug r1147, reproduced also on AvsPmod_v2.7.5.5

@Asd-g
Copy link
Contributor

Asd-g commented Nov 12, 2023

Actually it's still AvsPmod issue.

Until AvsPmod is fixed you have few options:

  • Use another app for previewing like VirtualDub2.
  • Do not use Cyrillic characters.
  • Enable UTF-8 code pages in Windows - Windows Settings > Time & language > Language & region > Administrative language settings > Change system locale, and check Beta: Use Unicode UTF-8 for worldwide language support.

@Asd-g Asd-g closed this as completed Nov 12, 2023
@pr0zitiv
Copy link
Author

pr0zitiv commented Nov 13, 2023

I'll stay with version r1144
clipboard

@kedaitinh12
Copy link

kedaitinh12 commented Nov 13, 2023

@pr0zitiv AvsPmod work with latest L-Smash-Works now with enable UTF-8 code pages in Windows - Windows Settings > Time & language > Language & region > Administrative language settings > Change system locale, and check Beta: Use Unicode UTF-8 for worldwide language support.

@Asd-g
Copy link
Contributor

Asd-g commented Nov 13, 2023

@pr0zitiv, make sure you saved the avs script as UTF-8 and not ANSI.

@kedaitinh12
Copy link

gispos explain about AvsPmod 2.7.5.5
https://forum.doom9.org/showthread.php?p=1993861#post1993861

@gispos
Copy link

gispos commented Nov 16, 2023

Uhhhm...
1147 only works with UTF-8. If a program can't handle system languages, that's very bad.
For example, I want to see my German umlauts displayed correctly in Subtitle and this is not possible with Avisynth and UTF-8.
And this is not due to AvsPmod, VirtualDub also only outputs one character garbage.

@kedaitinh12
Copy link

kedaitinh12 commented Nov 16, 2023

@gispos Did you check with latest ffms2?
https://forum.doom9.org/showthread.php?p=1993748#post1993748

@gispos
Copy link

gispos commented Nov 17, 2023

Just found the Utf8 option in Subtitle (embarrassing), but the source filters should still be able to use the system language.
Thanks kedaitinh12, I will test it.

@Asd-g
Copy link
Contributor

Asd-g commented Nov 17, 2023

Try the new version r1156.

@gispos
Copy link

gispos commented Nov 17, 2023

"Try the new version r1156."

Just as it should be ,) Thank you!
I also had private reasons for this, I have programs that I wrote almost 15 years ago and that can only do ANSI.
Changes are only possible with effort: Virtual machine with Win7 and then install old programmer IDE.

@pr0zitiv
Copy link
Author

@pr0zitiv AvsPmod work with latest L-Smash-Works now with enable UTF-8 code pages in Windows - Windows Settings > Time & language > Language & region > Administrative language settings > Change system locale, and check Beta: Use Unicode UTF-8 for worldwide language support.

Unfortunately, this breaks the display of local fonts

@pr0zitiv
Copy link
Author

Try the new version r1156.

thanks, everything is working again )

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

4 participants