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 27th May 2020, 18:08   #1301  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,025
Quote:
Originally Posted by leon View Post
@groucho2004

i don't really know whether it's related, but what's your nvidia driver version?
436.48
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 27th May 2020, 19:29   #1302  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,912
Quote:
Originally Posted by stax76 View Post
Somebody has to build and maintain this for avisynth and for vapoursynth and for x86 and for x64, a lot of work...

Piping tools might support this or accept feature requests.
or better it work with the video directly and only need LSMASHSource.dll so then no need to update it every time
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 28th May 2020, 19:35   #1303  |  Link
leon
Registered User
 
Join Date: Nov 2013
Posts: 134
Well, that version is not available for my card. Thanks anyway.
leon is offline   Reply With Quote
Old 30th May 2020, 00:24   #1304  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 190
L-Smash Source meet error
https://forum.doom9.org/showthread.p...21#post1914021
kedautinh12 is offline   Reply With Quote
Old 31st May 2020, 14:28   #1305  |  Link
HolyWu
Registered User
 
HolyWu's Avatar
 
Join Date: Aug 2006
Location: Taiwan
Posts: 754
https://github.com/HolyWu/L-SMASH-Wo...ks_20200531.7z
  • Update to FFmpeg-20200530-4391289.
  • Update to dav1d 0.7.0.
  • AviSynth: Properly handle libdir in meson and plugin's entry point for non-Windows.
  • VideoSource: Try to fix more dropped frame cases in H.264 stream.
HolyWu is offline   Reply With Quote
Old 31st May 2020, 14:36   #1306  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,457
Quote:
Originally Posted by HolyWu View Post
https://github.com/HolyWu/L-SMASH-Wo...ks_20200531.7z
  • Update to FFmpeg-20200530-4391289.
  • Update to dav1d 0.7.0.
  • AviSynth: Properly handle libdir in meson and plugin's entry point for non-Windows.
  • VideoSource: Try to fix more dropped frame cases in H.264 stream.
Thank you! Wonky_monkey's sample is now correctly decoded in non-linear mode
Atak_Snajpera is offline   Reply With Quote
Old 31st May 2020, 17:07   #1307  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 190
Thanks
kedautinh12 is offline   Reply With Quote
Old 20th July 2020, 07:52   #1308  |  Link
edison
Registered User
 
Join Date: Dec 2005
Posts: 98
Does L-SMASH Source support 8K HEVC hw decoding on NVIDIA Turing GPU now?

Ok, I had the answer: yes.

but its speed is very slow( 3.x fps in AVSPMod, nvidia rtx 2070, the GPU video decoder usage is about 5%).

Last edited by edison; 21st July 2020 at 13:17.
edison is offline   Reply With Quote
Old 24th July 2020, 12:35   #1309  |  Link
HolyWu
Registered User
 
HolyWu's Avatar
 
Join Date: Aug 2006
Location: Taiwan
Posts: 754
Could someone prodive a short video sample with alpha channel in MP4 or MOV? I'm adding support for alpha channel formats and hence needing a valid sample for testing.
HolyWu is offline   Reply With Quote
Old 24th July 2020, 15:22   #1310  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,255
This may require a MOV container with a video codec actually supporting an alpha channel. I doubt any common video codec supported in MP4 does (maybe x265 if encoded not in YUV but in GBRA based profiles, if they exist).

Please check if Videezy really provides "Transparent footage Stock Video Footage" as the page title claims.

PS: "walking couple" and "girl biking" are stored in ProRes 4444 with alpha channel.

Someone with Blender experience could probably produce transparent videos.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 24th July 2020 at 15:35.
LigH is offline   Reply With Quote
Old 24th July 2020, 15:42   #1311  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 4,367
Quote:
Originally Posted by HolyWu View Post
Could someone prodive a short video sample with alpha channel in MP4 or MOV? I'm adding support for alpha channel formats and hence needing a valid sample for testing.
Thanks for adding alpha support

PNG in mov (12.1MB)

http://www.mediafire.com/file/h4e0fc...n_PNG.mov/file
poisondeathray is offline   Reply With Quote
Old 26th July 2020, 13:49   #1312  |  Link
HolyWu
Registered User
 
HolyWu's Avatar
 
Join Date: Aug 2006
Location: Taiwan
Posts: 754
https://github.com/HolyWu/L-SMASH-Wo...ks_20200726.7z
  • Update to FFmpeg 4.3.1.
  • Update to dav1d 0.7.1.
  • Update to libvpx 1.9.0-rc1.
  • Update to nv-codec-headers 10.0.26.0.
  • VapourSynth: Add support for YUVA, RGBA, and GBRA formats. The alpha channel is automatically outputted as a second clip.
  • AviSynth: Add support for YUVA and GBR(A) formats.
HolyWu is offline   Reply With Quote
Old 27th July 2020, 10:01   #1313  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,255
Success
Code:
crowd_run = RawSource("crowd_run_2160p50.y4m").ConvertToRGB32()
walking_couple = LSMASHVideoSource("walking_Couple.mov").ConvertToRGB32().AssumeFPS(crowd_run.FrameRate)
crowd_run.Trim(0, walking_couple.FrameCount)
layer(crowd_run.Spline16Resize(1280,720), walking_couple.Spline16Resize(1280,720)).ConvertToYV12()
Using AviSynth+ r2772 and RawSourcePlus v0.01; script ran out of memory in 32-bit VirtualDub2, but 64-bit worked.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 27th July 2020 at 10:04.
LigH is offline   Reply With Quote
Old 27th July 2020, 12:59   #1314  |  Link
HolyWu
Registered User
 
HolyWu's Avatar
 
Join Date: Aug 2006
Location: Taiwan
Posts: 754
Quote:
Originally Posted by LigH View Post
Using AviSynth+ r2772 and RawSourcePlus v0.01; script ran out of memory in 32-bit VirtualDub2, but 64-bit worked.
Cannot reproduce, albeit I happen to find out I didn't handle YUVA properly in VapourSynth filters from this sample.

HolyWu is offline   Reply With Quote
Old 27th July 2020, 14:31   #1315  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 8,456
trim past end of clip [ie last frame + 1, assuming should both be same length for Layer, probably dont cause error but could have some consequence later in script]
Code:
crowd_run.Trim(0, walking_couple.FrameCount)
maybe either
Code:
crowd_run.Trim(0, walking_couple.FrameCount - 1)
or
Code:
crowd_run.Trim(0, - walking_couple.FrameCount)
EDIT:
Ignore me, below line in BLUE does nothing [ maybe should also be crowd_run=... ]
Code:
crowd_run = RawSource("crowd_run_2160p50.y4m").ConvertToRGB32()
walking_couple = LSMASHVideoSource("walking_Couple.mov").ConvertToRGB32().AssumeFPS(crowd_run.FrameRate)
crowd_run.Trim(0, walking_couple.FrameCount)  # Assign to last and then ignore as assigns below Layer line to last
layer(crowd_run.Spline16Resize(1280,720), walking_couple.Spline16Resize(1280,720)).ConvertToYV12()
__________________
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 July 2020 at 14:52.
StainlessS is offline   Reply With Quote
Old 28th July 2020, 01:34   #1316  |  Link
HolyWu
Registered User
 
HolyWu's Avatar
 
Join Date: Aug 2006
Location: Taiwan
Posts: 754
https://github.com/HolyWu/L-SMASH-Wo...ks_20200728.7z
  • VapourSynth: Fix alpha support.
HolyWu is offline   Reply With Quote
Old 28th July 2020, 07:40   #1317  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,255
@StainlessS: OK, I did a mistake, and it didn't even matter...

@HolyWu: I didn't mean it's your fault that I ran out of RAM. May be caused by processing 4K UHD videos as source and the x264 encoder requesting several frames at once before starting to encode.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 28th July 2020 at 07:46.
LigH is offline   Reply With Quote
Old 11th August 2020, 15:30   #1318  |  Link
outhud
Registered User
 
Join Date: Aug 2018
Posts: 9
On building for VapourSynth, I get:

Code:
../video_output.c: In function ‘determine_colorspace_conversion’:
../video_output.c:613:15: error: ‘AV_PIX_FMT_Y210LE’ undeclared (first use in this 
function); did you mean ‘AV_PIX_FMT_P010LE’?
  613 |             { AV_PIX_FMT_Y210LE,       pfYUV422P10, 1 },
      |               ^~~~~~~~~~~~~~~~~
      |               AV_PIX_FMT_P010LE
Any hint to what I'm missing?

I didn't see an L-SMASH thread for Vapoursynth. Sorry if this is in the wrong place.

Last edited by outhud; 11th August 2020 at 15:38.
outhud is offline   Reply With Quote
Old 11th August 2020, 16:44   #1319  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 254
Most likely your build environment lacks libavutil includes or so (libavutil/pixfmt.h)
__________________
Me on GitHub
PC Specs: Ryzen 3900X, 64 GB RAM, RTX 2070
DJATOM is offline   Reply With Quote
Old 12th August 2020, 08:42   #1320  |  Link
outhud
Registered User
 
Join Date: Aug 2018
Posts: 9
Quote:
Originally Posted by DJATOM View Post
Most likely your build environment lacks libavutil includes or so (libavutil/pixfmt.h)
Thanks, just needed to update my libavutil as AV_PIX_FMT_Y210LE was added in February. Seems the default Ubuntu 20.04 focal repository doesn't have it.
outhud 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 16:03.


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