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

Add IMF Support inside LWLibavVideoSource() and LWLibavAudioSource() #16

Closed
FranceBB opened this issue Apr 9, 2022 · 10 comments
Closed

Comments

@FranceBB
Copy link

FranceBB commented Apr 9, 2022

Hi there,
essentially, FFMpeg supports IMF which is basically an xml file with the CPL describing which audio and which video should be taken and from where. In other words, if in FFMpeg someone does like ffmpeg -f imf -i "CPL.xml" etc it will decode video and audio correctly.

My proposal is to use the FFMpeg IMF decoder whenever an ".xml" file is passed to the indexer, hence adding the ability to index IMF packages inside Avisynth and VapourSynth.
If the .xml file is just an xml, it will fail and you can parse the ffmpeg error or return whatever error you like.

I can provide a sample if needed.

@Asd-g
Copy link
Contributor

Asd-g commented Apr 14, 2022

Would you provide a sample?

@FranceBB
Copy link
Author

Sure, there you go: IMF Sample

For more info, check this discussion on Doom9 https://forum.doom9.org/showthread.php?t=173372

@kedaitinh12
Copy link

43,12 gb??? Can you upload small sample with hundreds mb??

@FranceBB
Copy link
Author

FranceBB commented Apr 16, 2022

Sure, but it's gonna take much longer 'cause I'm gonna have to create an IMF from scratch using Colorfront Transcoder here at work and we're all in Easter Break till Tuesday at the earliest. The thing with IMF is that if you trim the video you also gotta change the CPL.xml

P.s I've been generous here, real master files are like 800+ GB eheheheh

@Asd-g
Copy link
Contributor

Asd-g commented Apr 28, 2022

Try the attached version.

LSMASHSource.zip

Edit: try the latest version.

@FranceBB
Copy link
Author

FranceBB commented May 5, 2022

Sorry, I've been a bit overwhelmed. Testing first thing tomorrow, I promise.

@kedaitinh12
Copy link

I think it's work check here @Asd-g
https://forum.doom9.org/showthread.php?p=1968687#post1968687

@FranceBB
Copy link
Author

FranceBB commented May 6, 2022

Works like a charm, thanks @Asd-g ! 🗡️

image
image
image
image
image
image

@FranceBB FranceBB closed this as completed May 6, 2022
@Asd-g
Copy link
Contributor

Asd-g commented May 6, 2022

I have to mention that ASSETMAP.xml must be in the same place as the input CPL.

@FranceBB
Copy link
Author

FranceBB commented May 6, 2022

No problem. IMF packages always come as one big folder with all the files in it. ;)

afontenot pushed a commit to afontenot/L-SMASH-Works that referenced this issue Nov 2, 2022
…orRange property for _Alpha clips

Updates HomeOfAviSynthPlusEvolution#11.
Fixes HomeOfAviSynthPlusEvolution#16.

Signed-off-by: akarin <i@akarin.info>
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