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 > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd November 2019, 15:12   #1061  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,964
Not to forget typographic single quotes in nationally specific styles...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 22nd November 2019, 17:10   #1062  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 139
Quote:
Originally Posted by HolyWu View Post
Cannot reproduce.

AVS:


VS:
Thanks for your fast reply. The failure was in call of the file. Thanks again.

Quote:
Originally Posted by Stainless
EDIT: Patman, post your actual problem filename.
The Redwood's - single quote
__________________
My Builds
Patman is offline   Reply With Quote
Old 22nd November 2019, 21:17   #1063  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,266
Quote:
The Redwood's - single quote
So I'm assuming that its "The Redwood's" with ordinary single quote & without a path, and also without relative path ie not ".\The Redwood's".
SPACE in filename can also be a problem for some tools, HASH(#) used to be problem in MeGUI input filename,
used to interpret it as part of some kind of command, no longer a problem for quite some time.
Assuming that problem exists without using eg MeGUI, and only load into Avsinth (or avs+).
Does it work OK when single quote stripped from filename (and of course the call to src filter).

EDIT: Some commands/calls to functions/filters fail on W7+ where used to work on XP (dont know about Vista),
M$ did something that no longer converts eg "name.xxx" to a proper relative path, used to work fine on XP.

EDIT: IIRC, W7+ can interpret filename without path/relative path, to "C:\"+Filename, which then re-targets to Virtualstore (or something like that).
__________________
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; 23rd November 2019 at 00:46.
StainlessS is offline   Reply With Quote
Old 22nd November 2019, 22:25   #1064  |  Link
Patman
Registered User
 
Patman's Avatar
 
Join Date: Jan 2015
Posts: 139
Quote:
Originally Posted by StainlessS View Post
So I'm assuming that its "The Redwood's" with ordinary single quote & without a path, and also without relative path ie not ".\The Redwood's".
SPACE in filename can also be a problem for some tools, HASH(#) used to be problem in MeGUI input filename,
used to interpret it as part of some kind of command, no longer a problem for quite some time.
Assuming that problem exists without using eg MeGUI, and only load into Avsinth (or avs+).
Does it work OK when single quote stripped from filename (and of course the call to src filter).

EDIT: Some commands/calls to functions/filters fail on W7+ where used to work on XP (dont know about Vista),
M$ did something that no longer converts eg "name.xxx" to a proper relative path, used to work fine on XP.
Hi StainlessS,

there was a failure in the code structure of my command. I used vapoursynth to test some plugins and functions. The full path is E:\x264\test\The Redwood's.mp4. After i corrected the code in the command line, everything works fine. Thanks for the help.
__________________
My Builds
Patman is offline   Reply With Quote
Old 25th November 2019, 03:36   #1065  |  Link
Rumbah
Registered User
 
Join Date: Mar 2003
Posts: 466
I noticed that using the cache file option with version 20191116 and Vapoursynth 64bit results in two lwi files being created.

Using the code line below results in the file creation at Q:\%folder%\video.lwi and the standard file at source + ".lwi" as well.
Code:
core.lsmas.LWLibavSource(source=r"%Source%", cachefile=r"Q:\%folder%\video.lwi")
Or do I use the option wrong?
__________________
x264 full help - x264 --fullhelp r2345
Cuttermaran HCEnc provider - Support for HCEnc in Cuttermaran
DualDVDRB - Dual core support for DVD-RB free
Rumbah is offline   Reply With Quote
Old 25th November 2019, 04:16   #1066  |  Link
HolyWu
Registered User
 
HolyWu's Avatar
 
Join Date: Aug 2006
Location: Taiwan
Posts: 666
Quote:
Originally Posted by Rumbah View Post
I noticed that using the cache file option with version 20191116 and Vapoursynth 64bit results in two lwi files being created.
Cannot reproduce.
HolyWu is offline   Reply With Quote
Old 25th November 2019, 04:24   #1067  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,266
Quote:
Originally Posted by HolyWu View Post
Cannot reproduce.
I'm guessin' that Rumbah did not delete existing files beforehand [just a silly faux pas - suggest Rumbah retries after delete both].
__________________
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; 25th November 2019 at 04:28.
StainlessS is offline   Reply With Quote
Old 25th November 2019, 17:40   #1068  |  Link
Rumbah
Registered User
 
Join Date: Mar 2003
Posts: 466
I just tested again with fresh files an folders and got the same result. Will try to get a reproducible test case to share.
__________________
x264 full help - x264 --fullhelp r2345
Cuttermaran HCEnc provider - Support for HCEnc in Cuttermaran
DualDVDRB - Dual core support for DVD-RB free
Rumbah is offline   Reply With Quote
Old 25th November 2019, 18:06   #1069  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 41
Quote:
Originally Posted by HolyWu View Post
Your build very good with many .ts but with some .ts duration of video doesn't match with duration of audio
Example:
https://drive.google.com/a/my.smccd....w?usp=drivesdk
kedautinh12 is offline   Reply With Quote
Old 25th November 2019, 21:47   #1070  |  Link
Rumbah
Registered User
 
Join Date: Mar 2003
Posts: 466
Well, sorry for the false alarm, it works now, I had an mistake in my program.
__________________
x264 full help - x264 --fullhelp r2345
Cuttermaran HCEnc provider - Support for HCEnc in Cuttermaran
DualDVDRB - Dual core support for DVD-RB free

Last edited by Rumbah; 25th November 2019 at 21:49.
Rumbah is offline   Reply With Quote
Old 26th November 2019, 03:11   #1071  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,266
Rumbah, can you enlighten us on what the mistake was, might give a clue for some other problem in future [also we like a good giggle ].
__________________
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 ???
StainlessS is offline   Reply With Quote
Old 26th November 2019, 10:35   #1072  |  Link
Rumbah
Registered User
 
Join Date: Mar 2003
Posts: 466
I have a script that converts a video with x264 and splits the source to X parts to encode the parts in parallel.
I found the performance to be better with less threads and more parts than with straight 36 threads per encode (a Ryzen 3900X with 12cores/24threads).

So I create the parts via Vapoursynth and L-Smash to get the cutting frame accurate so I have
Code:
video = core.lsmas.LWLibavSource(source=r"%Source%", cachefile=r"Q:\%directory%\video.lwi")
in more than one part of the script.

First it was just
Code:
video = core.lsmas.LWLibavSource(source=r"%Source%")
but I wanted all the temp files in one directory for easier cleaning after finishing. And I just forgot one place to change it so the lwi file got created in both places.
__________________
x264 full help - x264 --fullhelp r2345
Cuttermaran HCEnc provider - Support for HCEnc in Cuttermaran
DualDVDRB - Dual core support for DVD-RB free
Rumbah is offline   Reply With Quote
Old 26th November 2019, 11:04   #1073  |  Link
fg118942
Registered User
 
Join Date: Aug 2018
Posts: 9
Quote:
Originally Posted by kedautinh12 View Post
Your build very good with many .ts but with some .ts duration of video doesn't match with duration of audio
Example:
https://drive.google.com/a/my.smccd....w?usp=drivesdk
Not patched FFmpeg, the Repeat First Field flags will not work, so you need to use the following patch.
https://gist.github.com/maki-rxrz/5a...853b5358fb8a29
__________________
I use machine translation because I am not good at English.
fg118942 is offline   Reply With Quote
Old 26th November 2019, 12:35   #1074  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,266
Rumbah, thanx for the explanation.
__________________
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 ???
StainlessS is offline   Reply With Quote
Old 26th November 2019, 13:55   #1075  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 41
Quote:
Originally Posted by fg118942 View Post
Not patched FFmpeg, the Repeat First Field flags will not work, so you need to use the following patch.
https://gist.github.com/maki-rxrz/5a...853b5358fb8a29
Oh, but how i can use this??
kedautinh12 is offline   Reply With Quote
Old 26th November 2019, 15:27   #1076  |  Link
fg118942
Registered User
 
Join Date: Aug 2018
Posts: 9
Quote:
Originally Posted by kedautinh12 View Post
Oh, but how i can use this??
We'll have to wait for HolyWu to upload a new version with this patch applied.
After that, write the following avs.

LWLibavVideoSource("***.ts",repeat=true)
__________________
I use machine translation because I am not good at English.
fg118942 is offline   Reply With Quote
Old 27th November 2019, 00:51   #1077  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 41
Quote:
Originally Posted by fg118942 View Post
We'll have to wait for HolyWu to upload a new version with this patch applied.
After that, write the following avs.

LWLibavVideoSource("***.ts",repeat=true)
Nice, waiting for HolyWu
kedautinh12 is offline   Reply With Quote
Old 27th November 2019, 18:01   #1078  |  Link
HolyWu
Registered User
 
HolyWu's Avatar
 
Join Date: Aug 2006
Location: Taiwan
Posts: 666
https://github.com/HolyWu/L-SMASH-Wo...ks_20191127.7z
  • Fix MPEG-2 decoding issue with RFF flags. (maki-rxrz)
  • Fix interlaced H.264 decoding issue in some files.
HolyWu is offline   Reply With Quote
Old 27th November 2019, 22:20   #1079  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe
Posts: 387
Thanks HolyWu.
Forteen88 is offline   Reply With Quote
Old 28th November 2019, 09:39   #1080  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 41
Quote:
Originally Posted by HolyWu View Post
https://github.com/HolyWu/L-SMASH-Wo...ks_20191127.7z
  • Fix MPEG-2 decoding issue with RFF flags. (maki-rxrz)
  • Fix interlaced H.264 decoding issue in some files.
Wow, thanks so much
kedautinh12 is offline   Reply With Quote
Reply

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 08:10.


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