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

ImageSource() as Input Type #214

Closed
JonathonSunshine opened this issue May 29, 2020 · 4 comments
Closed

ImageSource() as Input Type #214

JonathonSunshine opened this issue May 29, 2020 · 4 comments
Assignees

Comments

@JonathonSunshine
Copy link

Is your feature request related to a problem? Please describe.
I am encoding from numeric image sequences, 000.tif, 001.tif, 002..etc .etc

Currently, I have to (manually) create an AVS, with the image sequence and then import that. It's hard to automate as well, because you have to specify the first and last images. Currently I write a script that looks lllike
ImageSource("M:\folder with image sequence\%d.tif",0,10814) AssumeFPS(30000, 1001) ConvertToYV16() Prefetch(12)
(where 10814.tif is the last in the sequence and 0.tif is the first)

And then open that AVS in Staxrip.

Describe the solution you'd like
image
5th option, "open image sequence", and then in the filechooser, show jpg and tif bmp etc, png, maybe throw an error if the filename isn't numeric? then count to the end of that numeric filesequence and create the input "ImageSource()" as in the example above. All the other stuff (in the script) doesn't matter. ImageSource(0,5789) will work just fine without framerate, it just uses a default fps (that escapes me).

Another important thing to know if you are not familiar with ImageSource(), if you specify an image sequence 0 to 100, and images are missing, ImageSource() will insert blankframes, even if it is missing everything from 2-99. So, hayhaps, you would do this by opening a folder as source instead, enter first image in sequenc, and then the last, do not check for missing frames, just go straight from first to last. I think it is safe to assume people would only have one video in each folder.

I presume there is away to open filename0001.tif, filename0002.tif, but i haven't found it :(

Describe alternatives you've considered
A batch file that will create AVS scripts for me

Explain why the feature matters to you
AI enhancement softwares best quality output is tif or png image sequences, it uses a really ugly, really shitty avc encoder at a superhighbitrate. But it still doesn't look as good as the tif, and is too big to use without reencoding. And when i encoded it myself in HEVC, it looks way better than the default avc output and a quarter the size.

Thank you for your consideration.

@stax76
Copy link
Contributor

stax76 commented May 29, 2020

There are possibilities like powershell or vapoursynth and python. I don't have a lot of time for special requests and I think it does not fit well into the current design, maybe somebody else can help. The vapoursynth filter seem to be more convenient:

https://forum.doom9.org/showthread.php?t=170981

@JonathonSunshine
Copy link
Author

That's ok. VS solution looks great if I don't have to specify the last frame. Am I the only one that can close a thread that I start?

@stax76
Copy link
Contributor

stax76 commented May 29, 2020

Admins can also close it.

@stax76
Copy link
Contributor

stax76 commented Jun 23, 2020

There is now ImageSource for sequences support in the last beta, just open the first image like it would be a video file.

@stax76 stax76 closed this as completed Jun 23, 2020
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

2 participants