Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VapourSynth

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th September 2019, 14:17   #3601  |  Link
Jukus
Registered User
 
Join Date: Jul 2019
Posts: 8
What is the difference between ffms2 and lsmas?
I already realized that for mpeg 2 need to use only d2v.
Jukus is offline   Reply With Quote
Old 18th September 2019, 15:31   #3602  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 965
Quote:
Originally Posted by Jukus View Post
What is the difference between ffms2 and lsmas?
I already realized that for mpeg 2 need to use only d2v.
Both are based on ffmpeg. In addition lsmash has GPU support and can open MP4, MOV, ISO Base Media without creating an extra index.
From experience I would say lsmash is more often frame accurate then ffms2.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is offline   Reply With Quote
Old 18th September 2019, 22:13   #3603  |  Link
Jukus
Registered User
 
Join Date: Jul 2019
Posts: 8
How to specify the path to create the index file for ffms2 and lsmas? That is, if I mount the ISO, then I can not write anything in the same directory.

Last edited by Jukus; 18th September 2019 at 22:21.
Jukus is offline   Reply With Quote
Old 18th September 2019, 22:43   #3604  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 965
Quote:
Originally Posted by Jukus View Post
How to specify the path to create the index file for ffms2 and lsmas? That is, if I mount the ISO, then I can not write anything in the same directory.
It's all explained in the readme https://github.com/FFMS/ffms2/blob/m...ynth.md#source

ffms2.Source("video.mp4", cachefile="video.mp4.ffindex")

I think lsmash does not support a custom cache file path.

EDIT
Seems to be supported https://github.com/HolyWu/L-SMASH-Wo...er/VapourSynth
Code:
cachefile (default : source + ".lwi")
                    The filename of the index file (where the indexing data is saved).
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is offline   Reply With Quote
Old 19th September 2019, 19:36   #3605  |  Link
Jukus
Registered User
 
Join Date: Jul 2019
Posts: 8
@ChaosKing
Unfortunately, it’s still not clear how this should work, can a specific example be provided?
Jukus is offline   Reply With Quote
Old 19th September 2019, 19:41   #3606  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 965
Quote:
Originally Posted by Jukus View Post
@ChaosKing
Unfortunately, it’s still not clear how this should work, can a specific example be provided?
Code:
import vapoursynth as vs
core = vs.core
clip = core.lsmas.LWLibavSource(source=r"D:\video.mkv", cachefile=r"C:\folderxy\myCacheFile.iwi")
clip.set_output()
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is offline   Reply With Quote
Old 19th September 2019, 19:47   #3607  |  Link
Jukus
Registered User
 
Join Date: Jul 2019
Posts: 8
@ChaosKing
Quote:
vapoursynth.Error: LWLibavSource: Function does not take argument(s) named cachefile
Jukus is offline   Reply With Quote
Old 19th September 2019, 19:56   #3608  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 965
Quote:
Originally Posted by Jukus View Post
@ChaosKing
Use this version https://github.com/HolyWu/L-SMASH-Works/releases
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is offline   Reply With Quote
Old 19th September 2019, 20:19   #3609  |  Link
Jukus
Registered User
 
Join Date: Jul 2019
Posts: 8
Quote:
Originally Posted by ChaosKing View Post
Ok, thanks. But is it possible to make an index without Vapour, as it is done for d2v?
Jukus is offline   Reply With Quote
Old 19th September 2019, 20:29   #3610  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 965
Quote:
Originally Posted by Jukus View Post
Ok, thanks. But is it possible to make an index without Vapour, as it is done for d2v?
Only ffms2 has an indexer: ffmsindex.exe
Latest version: https://forum.doom9.org/showthread.p...05#post1883905
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is offline   Reply With Quote
Old 19th September 2019, 20:56   #3611  |  Link
Jukus
Registered User
 
Join Date: Jul 2019
Posts: 8
Also, can create a label file. Only now I thought of it But not a very elegant solution, yes.
Jukus is offline   Reply With Quote
Reply

Tags
speed, vaporware, vapoursynth

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 14:23.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.