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. |
2nd August 2019, 17:05 | #821 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
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 19:14. |
7th August 2019, 18:19 | #822 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
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 18:27. |
7th August 2019, 20:10 | #825 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,816
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
8th August 2019, 09:07 | #827 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
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 |
8th August 2019, 14:12 | #828 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
|
8th August 2019, 15:06 | #829 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,816
|
Quote:
Code:
LoadPlugin("LSMASHSource.dll") LWLibavVideoSource("video.mkv") Trim(0,-1)
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
9th August 2019, 07:23 | #831 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
|
Yes, I mean that only for indexing, none of the filters for the final video need to be included ("minimal" in the sense to only load the [audio and] video). Like Atak_Snajpera suggested.
|
9th August 2019, 09:25 | #832 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Right. As I mentioned, since one most likely already has a script, indexing will be triggered by using avsr with the switch "-i" which simply displays the clip properties.
__________________
Groucho's Avisynth Stuff |
9th August 2019, 19:37 | #833 | Link | |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
|
Quote:
I always use a bare source script to generate the index, and later a fully functional script to do the actual encode. Anyway, you can always use avs4x26x like I mentioned above to automatically create the script (in memory) and generate the index. |
|
13th August 2019, 13:54 | #836 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,816
|
I have another feature request.
Store index file in compressed form. Currently index file can be extremely large in comparison to .ffindex. video.mkv is remuxed Alien Covenant DVD (2h movie). Just take a look how tiny .ffindex is Large index file is not a problem if you load that file locally from SSD. Normally It should take less than 1s. However it is a different story if you have to load that file directly via network 100Mbps LAN or wi-fi n. Quote:
example Now 6 servers are downloading 200MiB index file at the same time. (1.2GiB total). Assuming that real transfer rate for LAN100Mbps is only ~10MiB/s we can easily predict that encoding process will be delayed by about 2 minutes! So my suggestion is to always compress index file with some basic zip algorithm. LZMA (normal) can compress that index file to ~5MiB while Zip to ~10MiB. Time saving will be immediately noticeable. Delay will be measured in seconds instead of minutes.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 13th August 2019 at 14:20. |
|
13th August 2019, 15:45 | #837 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,555
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
14th August 2019, 20:37 | #840 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Did you verify that it actually outputs double width? There was a patch for native high bit depth support.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
|
|