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. |
![]() |
#821 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,253
|
Quote:
Code:
00000100 16:28:48.211 GetSeq: Multi-SourceFilter Attempt open of Video File 00000101 16:28:48.211 GetSeq: 'D:\GetSeq_Test\TEST\elephants_dream_480p24.y4m' 00000102 16:28:48.398 GetSeq: Has 1 Video streams. 00000103 16:28:48.398 GetSeq: Has 0 Audio streams. 00000104 16:28:48.398 GetSeq: Attempt Open Video with RawSourcePlus. 00000105 16:28:48.414 GetSeq: *** Catch *** Evaluate: Unrecognized exception! 00000106 16:28:48.414 GetSeq: ([GScript], line 83) 00000107 16:28:48.414 GetSeq: ([GScript], line 86) 00000108 16:28:48.414 GetSeq: 00000109 16:28:48.414 GetSeq: !!! Set !!! ... FFMS CacheFile = C:\Users\root\AppData\Local\Temp\elephants_dream_480p24.y4m.ffindex 00000110 16:28:48.414 GetSeq: Attempt Index Video for FFVideoSource. 00000111 16:28:52.142 GetSeq: Attempt Open Video with FFVideoSource. 00000112 16:28:52.158 GetSeq: OK ... FFVideoSource opened Video. 00000113 16:28:52.158 GetSeq: Time taken to Open clip = 3.952888 Seconds(0.065881 Mins)
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
|
![]() |
![]() |
![]() |
#822 | Link |
Cantankerous Fossil
Join Date: Mar 2006
Location: A wretched hive of scum and villainy
Posts: 4,470
|
Script?
__________________
Groucho's Avisynth Stuff |
![]() |
![]() |
![]() |
#823 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,253
|
Code:
c = vFn.RawSourcePlus(fpsnum=num,fpsden=den)
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
![]() |
![]() |
![]() |
#824 | Link |
Cantankerous Fossil
Join Date: Mar 2006
Location: A wretched hive of scum and villainy
Posts: 4,470
|
I don't get what GScript and FFVideoSource have to do with it...
__________________
Groucho's Avisynth Stuff |
![]() |
![]() |
![]() |
#825 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,253
|
I'm using it in GetSeq(), via this lot
Code:
# END OF GetSeq.avsi #Import(".\GetSeq.avsi") #FN="E:\Starwars\SW.avi" #FN="D:\Parade.avi" #FN=".\TEST\10Bit_Standard8_Scan_16FPS.avi" # This 10 bit dont load with Avisource(), [and no audio] #FN=".\TEST\ALTEST2.mp4" #FN=".\TEST\heima_720p_500.mp4" #FN=".\TEST\tears_of_steel_1080pwebm.webm" #FN=".\TEST\1.wmv" #FN=".\TEST\2018_0525_135958_020.MOV" #FN=".\TEST\1.flv" #FN=".\TEST\CrowdRun_2160p50.x264.CRF25.mkv" #FN=".\TEST\DJI Inspire Drone Video Long GOP Jerkiness .MOV" FN=".\TEST\elephants_dream_480p24.y4m" #FN=".\TEST\1.mpg" PREF="R" ] order of sourcefilters tried Getseq(FN,Pref=Pref,fpsnum=33000,fpsden=1001,Debug=True) # Test 33000/1001 Code:
RawSoucePlus(FN,fpsnum=33000,fpsden=1001) Code:
/* Req:- RT_Stats, FFMS, LSmash. CallCmd, MediaInfo CLI v0.7.83+ (may work with later versions) Function GetSeq(String "vFn",String "aFn",String "Pref"="",Val "fpsNum",Val "fpsDen",bool "Debug"=False,Bool "Verbose"=False) Pref, Default "" {Same as "AIFLDR"). Order in which source filters are tried. "A" = AviSource() (Only if extension is *.AVI). "I" = LSmashVideoSource() (Only if extension is an ISO type file, ie mov, mp4, m4v, 3gp, 3g2, mj2, dvb, dcf, m21.). "F" = FFVideoSource(). "L" = LWLibavVideoSource(), from LSMash. "D" = DSS2() "R" = RawSourcePlus(). Specify FrameRate using fpsnum (Numerator) and fpsden (Denominator) # *** INGNORED if AVI *** num only, eg fpsnum=25.0, FrameRate = 25.0 FPS num & den, eg fpsnum=24000 fpsden=1001, FrameRate = 23.976 FPS (Both should be type Int). neither specified FrameRate = UnDefined, ie whatever source filter thinks it is. ALWAYS:- use named args if using fpsnum/fpsden, argument order may change. FFMS Cachefile (used for .ffindex file) directory can be set using global variable GLB_GETSEQ_FFMS_CACHE_DIR, NO trailing backslash. Global GLB_GETSEQ_FFMS_CACHE_DIR = RT_GetSystemEnv("TEMP") # Set to the Current User's Temp directory. If Global variable GLB_GETSEQ_DEL_INDEX_ON_CLOSE is True, then will auto Delete both FFMS and LSMash indexes on clip closure. Global GLB_GETSEQ_DEL_INDEX_ON_CLOSE = True # If true, Auto delete indexes on clip closure. # Could create stub which sets True/False depending upon your own arg. */ EDIT: Under Avs v2.60 Standard with GScript. (thats why GScript flagged). [RawSourcePlus works fine under AVS+, where using GetSeq() without GScript] EDIT: Its a bit big to post GetSeq.avsi and the required MIFO_LIB.avsi. (MediaInfo Library of script functions) EDIT: Tests only done on Win7 not XP.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 30th July 2019 at 19:17. |
![]() |
![]() |
![]() |
#826 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,223
|
Is this known issue that VC-1 decoding is totally broken with this plugin?
![]()
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
![]() |
![]() |
![]() |
#828 | Link |
Registered User
Join Date: Apr 2017
Posts: 2
|
Why LSMASHVideoSource displays/decodes inmediatly on my PC while LSMASHAudioSource takes more time? If i load an only-video AVS it takes a split-second to load the player, but if i add LSMASHAudioSource it takes like 4 or 5 seconds to load.
I'm working with Apple ProRes, sound is PCM. Not a big deal but i'm curious about that. |
![]() |
![]() |
![]() |
#829 | Link | |
Registered User
Join Date: Sep 2007
Posts: 3,982
|
Quote:
LSmashVideoSource does not require indexing for ISO Base formats (MP4, MOV) |
|
![]() |
![]() |
![]() |
#830 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,253
|
PDR, confirmation please,
LSMASHAudioSource will sometimes index audio [EDIT: in an ISO container] (as well as LWLibavAudioSource), and not just fail on that audio. [EDIT: Something I may need to anticipate in multi-source script function] EDIT: Are there any circumstances in which LSmashVideoSource will index video ?
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 2nd August 2019 at 20:14. |
![]() |
![]() |
![]() |
#832 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,253
|
Thanks HolyWu.
ChaosKing, I think you were keeping list of file extensions that LSmashVideoSource could deal with. Playing with MediaInfo 19.07, I noticed this Code:
00000108 07:25:42.729 MIFO_Get: General 00000109 07:25:42.729 MIFO_Get: Count : 322 00000110 07:25:42.729 MIFO_Get: StreamCount : 1 00000111 07:25:42.729 MIFO_Get: StreamKind : General 00000112 07:25:42.729 MIFO_Get: StreamKind/String : General 00000113 07:25:42.729 MIFO_Get: StreamKindID : 0 00000114 07:25:42.729 MIFO_Get: VideoCount : 3 00000115 07:25:42.729 MIFO_Get: AudioCount : 3 00000116 07:25:42.729 MIFO_Get: Video_Format_List : AVC / AVC / AVC 00000117 07:25:42.729 MIFO_Get: Video_Format_WithHint_List : AVC / AVC / AVC 00000118 07:25:42.729 MIFO_Get: Video_Codec_List : AVC / AVC / AVC 00000119 07:25:42.729 MIFO_Get: Audio_Format_List : AAC / AAC / AAC 00000120 07:25:42.729 MIFO_Get: Audio_Format_WithHint_List : AAC / AAC / AAC 00000121 07:25:42.729 MIFO_Get: Audio_Codec_List : AAC LC / AAC LC / AAC LC-SBR 00000122 07:25:42.729 MIFO_Get: CompleteName : D:\MintSource\TEST\VAVAVA.mp4 00000123 07:25:42.729 MIFO_Get: FolderName : D:\MintSource\TEST 00000124 07:25:42.729 MIFO_Get: FileName : VAVAVA 00000125 07:25:42.729 MIFO_Get: FileExtension : mp4 00000126 07:25:42.729 MIFO_Get: Format : MPEG-4 00000127 07:25:42.729 MIFO_Get: Format/String : MPEG-4 00000128 07:25:42.729 MIFO_Get: Format/Extensions : mp4 m4v m4a m4b m4p 3gpp 3gp 3gpp2 3g2 k3g jpm jpx mqv ismv isma f4v 00000129 07:25:42.729 MIFO_Get: Format_Commercial : MPEG-4 00000130 07:25:42.729 MIFO_Get: Format_Profile : Base Media 00000131 07:25:42.729 MIFO_Get: InternetMediaType : video/mp4 00000132 07:25:42.729 MIFO_Get: CodecID : isom 00000133 07:25:42.729 MIFO_Get: CodecID/String : isom (isom/avc1) Complete list. Code:
Function IsISOFileName(String s) {s=RT_GetFileExtension(s) Return(s==".mov"||s==".mp4"||s==".m4v"||s==".3gp"||s==".3gpp2"||s==".3g2"||s==".mj2"||s==".dvb"|| \ s==".dcf"||s==".m21"||s==".m4a"||s==".m4b"||s==".m4p"||s==".k3g"||s==".jpm"||s==".jpx"||s==".mqv"||s==".ismv"||s==".isma"||s==".f4v")} Code:
mov, mp4, m4v, 3gp, 3gpp2, 3g2, mj2, dvb, dcf, m21, m4a, m4b, m4p, k3g, jpm, jpx, mqv, ismv, isma, f4v
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 7th August 2019 at 19:27. |
![]() |
![]() |
![]() |
#835 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,223
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
![]() |
![]() |
![]() |
#837 | Link |
Cantankerous Fossil
Join Date: Mar 2006
Location: A wretched hive of scum and villainy
Posts: 4,470
|
What do you mean by "minimal script"? All you have to do is use the "-i" switch with avsr and the cache/index file will be created. There's no progress indicator though...
__________________
Groucho's Avisynth Stuff |
![]() |
![]() |
![]() |
#839 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,223
|
Quote:
Code:
LoadPlugin("LSMASHSource.dll") LWLibavVideoSource("video.mkv") Trim(0,-1)
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|