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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1521 | Link |
|
Registered User
Join Date: Nov 2009
Posts: 2,300
|
I know FFMS2 can't but does LSMASH support image batch loading? something like IMG_%04d.JPG?
The only image loader that I know that does this is ImageSource, but that one converts the images to RGB internally.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
|
|
|
|
|
#1522 | Link |
|
Registered User
Join Date: Jan 2018
Posts: 2,170
|
You can try ImageSequence
http://avisynth.nl/index.php/ImageSequence |
|
|
|
|
|
#1523 | Link |
|
Registered User
Join Date: Nov 2009
Posts: 2,300
|
CoronaSequence outputs RGB, I tried RawSequence() but it gives an error:
Code:
Error requesting frame 0 Cache: Filter returned invalid response to CACHE_GETCHILD_AUDIO_MODE.10
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
|
|
|
|
|
#1524 | Link |
|
Registered User
Join Date: Jan 2018
Posts: 2,170
|
You can try JpegSource too
http://avisynth.nl/index.php/JpegSource |
|
|
|
|
|
#1525 | Link |
|
Registered User
Join Date: Nov 2009
Posts: 2,300
|
JpegSource can load image sequences? Anyway it's an outdated (x86) closed source plugin, it's the best jpeg decoder quality wise but no help there.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
|
|
|
|
|
#1526 | Link | |
|
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,515
|
Quote:
I output a sequence of PNG files as well as a sequence of JPGs, and LwLibavVideoSource was totally cool opening the entire sequence using: Code:
LwLibavVideoSource("output_%02d.jpg") # or output_%02d.png
|
|
|
|
|
|
|
#1527 | Link | |
|
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,498
|
Quote:
create_RGB.avs Code:
# Export "Image Sequence" to ".\PIC_RGB" existing directory via VDUB2, png with basename="RGBIMAGE_" and 6 digits Colorbars(Pixel_Type="RGB24") ShowFrameNumber Trim(0,-100) Code:
LwLibavVideoSource(".\PIC_RGB\RGBIMAGE_%06d.png") # "PIC_RGB" directory within the current directory.
########### create_YUV.avs Code:
# Export "Image Sequence" to ".\PIC_YUV" existing directory via VDUB2, jpeg with basename="YUVIMAGE_" and 6 digits Colorbars(Pixel_Type="YV12") ShowFrameNumber Trim(0,-100) Code:
LwLibavVideoSource(".\PIC_YUV\YUVIMAGE_%06d.jpg") # "PIC_YUV" directory within the current directory.
[Fatal]: Failed to avformat_open_input. EDIT: Oops, WORKS (returned as YV24, pre save source was YV12 [VDUB may have changed for save]) YuvIn.avs Code:
LwLibavVideoSource(".\PIC_YUV\YUVIMAGE_%06d.jpeg") # VDub2 exported with 'jpeg' extension
__________________
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; 21st December 2023 at 15:47. |
|
|
|
|
|
|
#1528 | Link | |
|
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,687
|
It cannot. SEt had it on his todo list but never happened.
Quote:
------------- Another method of opening up image sequences is ImageSourceNV but requires an NVidia GPU and it converts YUV images to 4:4:4. |
|
|
|
|
|
|
#1529 | Link |
|
Registered User
Join Date: Aug 2016
Posts: 465
|
I am confused about drc_scale:
Code:
0.0 : DRC disabled. Produces full range audio. # ok I understand this 0.0 < drc_scale <= 1.0 : DRC enabled. Applies a fraction of the stream DRC value. Audio reproduction is between full range and full compression. # ok so 0.5 gives half compression, 1.0 gives full compression, understood > 1.0 : DRC enabled. Applies drc_scale asymmetrically. Loud sounds are fully compressed. Soft sounds are enhanced. # I thought 1.0 was already fully compressed? What is meant by "asymmetrically"?
|
|
|
|
|
|
#1530 | Link |
|
Moderator
![]() Join Date: Feb 2005
Location: Spain
Posts: 7,457
|
You can read this thread about DRC and see the attached image with the volume amplify/ attenuation values (the most common is Film Standard) applied to the audio.
With drc=0 the 'None' curve is applied, with drc=1 the showed curve is applied and with drc>1 a more agresive (plane) curve must be applied with all sounds at same volume. Of course apply drc is only recommended at play time, never when you want recode or recover the original audio. |
|
|
|
|
|
#1531 | Link | |
|
Registered User
Join Date: Aug 2016
Posts: 465
|
Quote:
I can now try to emulate these in soxfilter as well - great!
|
|
|
|
|
|
|
#1532 | Link | |
|
Moderator
![]() Join Date: Feb 2005
Location: Spain
Posts: 7,457
|
Quote:
|
|
|
|
|
|
|
#1533 | Link |
|
Registered User
Join Date: Jan 2018
Posts: 2,170
|
L-SMASH-Works 1161.0.0.0 (info in this link, just click. If you confused, don't use it)
https://github.com/HomeOfAviSynthPlu...Works/releases |
|
|
|
|
|
#1535 | Link | |
|
Registered User
Join Date: Aug 2016
Posts: 465
|
Quote:
|
|
|
|
|
|
|
#1536 | Link | |
|
Registered User
Join Date: Nov 2009
Posts: 2,300
|
Quote:
Explicitly loading by the filename opens it but the sprint syntax calls that error. Tried with "P1000%03d.JPG", on Win11 x64.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
|
|
|
|
|
|
#1537 | Link | |
|
Registered User
Join Date: Sep 2007
Posts: 5,669
|
Quote:
If "gap" / "gapless" isn't supported maybe you can request that feature What should it return ? Black "placeholder" frames inbetween ? Or just the frames present ? |
|
|
|
|
|
|
#1538 | Link | ||
|
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,498
|
Quote:
EDIT: Maybe the literal "000" of "P1000%03d.JPG" is confusing the code, somehow. EDIT: Also if prob try, ".\P1%06d.JPG" or ".\P1%06d.JPEG", or full path in place of current directory relative ".\". EDIT: OK, maybe I misunderstood, looks like PDR got it. EDIT: LWLibavVideoSource seems not to have equivalent to ImageSource("...",end=100) Quote:
__________________
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; 27th January 2024 at 17:43. |
||
|
|
|
|
|
#1539 | Link | |
|
Registered User
Join Date: Nov 2009
Posts: 2,300
|
Thanks StainlessS, tried P1%06d.JPG, no dice.
Quote:
I just tested renaming them to P1000000.JPG and P1000001.JPG and they load (both) fine. Also starting from P1000001, and so on. So the only problem it has is the numbering gaps. I can rename them to sequential temporally but could great to have this feature embedded.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
|
|
|
|
|
|
#1540 | Link |
|
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,498
|
Doggy, loads all files matching, "P1??????.JPG|JPEG" # "P1" + 6 characters (hopefully Digits) + "." + ("JPG" OR "JPEG")
Untested. Code:
IN_FILES = "P1??????.JPG|JPEG" # "P1" + 6 characters (hopefully Digits) + "." + ("JPG" OR "JPEG")
OUT_FILE = "FILE.List"
result = RT_WriteFileList(IN_FILES,OUT_FILE) # Create a listing file of Pic filenames
Assert((result!=0), "No files found")
FILELIST = RT_ReadTxtFromFile(OUT_FILE) # Get list of files
#RT_FileDelete(OUT_FILE) # we are done with the temp file
NFILES = RT_TxtQueryLines(FILELIST) # Query Number of lines in String ie number of files.
RT_Debug("Found files = " + String(NFILES))
C=0 # Dummy clip
For(i=0,NFILES-1) {
FN=RT_TxtGetLine(FILELIST,i) # Filename
tmpC = ImageSource(FN,end=0)
# tmpC = LwLibavVideoSource(FN)
C = (C.IsInt) ? TmpC : C + TmpC # All clips must be same size.
}
C # EDIT: OOps, forgot this
__________________
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; 28th January 2024 at 17:23. |
|
|
|
![]() |
|
|