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 26th March 2020, 06:11   #1261  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 468
Code:
└───╼  nm -D /usr/lib/avisynth/liblsmashsource.so | grep Avis
000000000001de70 T AvisynthPluginInit3
pkgconfig is not used to know where to install the library, it is used to find where the libraries installed on the system for build the projects

you need set manually where install the libraries in meson with `--libdir` (or `--libexecdir`) and `--prefix` if you want install in a custom path

see https://mesonbuild.com/Configuring-a...directory.html
__________________
[AUR] Vapoursynth Stuff
[AUR] Avisynth Stuff

Last edited by sl1pkn07; 26th March 2020 at 06:29.
sl1pkn07 is offline   Reply With Quote
Old 26th March 2020, 07:10   #1262  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,133
I am well aware of how pkg-config and custom prefixes and install dirs work.

That doesn't change the fact that I said 'to mirror the meson.build for VapourSynth':
https://github.com/HolyWu/L-SMASH-Wo...eson.build#L65

And that this means it goes into the same plugin directory VapourSynth itself creates and uses for the plugins that come with the upstream source. Something which the meson.build for AviSynth is not doing at the current time.
qyot27 is offline   Reply With Quote
Old 26th March 2020, 07:46   #1263  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 468
Code:
Installing liblsmashsource.so to /usr/local/lib/avisynth
without setting libdir/prefix. but my avisynth (include .pc) is installed in /usr/lib

Code:
└───╼  yay -Ql avisynthplus-git 
avisynthplus-git /etc/
avisynthplus-git /etc/avisynth/
avisynthplus-git /etc/avisynth/avisynth.conf
avisynthplus-git /usr/
avisynthplus-git /usr/include/
avisynthplus-git /usr/include/avisynth/
avisynthplus-git /usr/include/avisynth/avisynth.h
avisynthplus-git /usr/include/avisynth/avisynth_c.h
avisynthplus-git /usr/include/avisynth/avs/
avisynthplus-git /usr/include/avisynth/avs/alignment.h
avisynthplus-git /usr/include/avisynth/avs/capi.h
avisynthplus-git /usr/include/avisynth/avs/config.h
avisynthplus-git /usr/include/avisynth/avs/cpuid.h
avisynthplus-git /usr/include/avisynth/avs/minmax.h
avisynthplus-git /usr/include/avisynth/avs/posix.h
avisynthplus-git /usr/include/avisynth/avs/types.h
avisynthplus-git /usr/include/avisynth/avs/win.h
avisynthplus-git /usr/lib/
avisynthplus-git /usr/lib/libavisynth.so
avisynthplus-git /usr/lib/pkgconfig/
avisynthplus-git /usr/lib/pkgconfig/avisynth.pc
my /usr/local is complety pruned, only system directories

Code:
└───╼  LC_ALL=C pacman -Qo /usr/local
/usr/local/ is owned by filesystem 2019.10-2
in avisynth.pc
Code:
└───╼  cat /usr/lib/pkgconfig/avisynth.pc |grep ^libdir
libdir=${exec_prefix}/lib
meson not know the variable '${exec_prefix}'

so yes, i think is working
__________________
[AUR] Vapoursynth Stuff
[AUR] Avisynth Stuff

Last edited by sl1pkn07; 26th March 2020 at 09:19.
sl1pkn07 is offline   Reply With Quote
Old 27th March 2020, 15:11   #1264  |  Link
Morku
Registered User
 
Join Date: Jul 2012
Posts: 168
Quote:
Originally Posted by LigH View Post
Video: AVDH 1280x720 29.97fps 97223kbps [V: Apple Video Media Handler [eng] (dnxhd dnxhr hqx, yuv422p10le, 1280x720, 97223 kb/s)]
Audio: PCM 48000Hz stereo 1536kbps [A: Apple Sound Media Handler [eng] (pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s)]

Codec ID: sowt

My guess would be that the endianness of the PCM audio was not correctly respected.
And is there something I can change? Or just wait for a fix?
Morku is offline   Reply With Quote
Old 27th March 2020, 16:18   #1265  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 4,115
Quote:
Originally Posted by Morku View Post
And is there something I can change? Or just wait for a fix?
Use another audio source filter for now as a temporary workaround

eg
Code:
vid = LSmashVideoSource("x.mov")
aud = FFAudioSource("x.mov")

AudioDub(vid,aud)
Actually L-Smash works, if you use LWLibavAudioSource instead of LSmashAudioSource. It produces an index. But not sure why LSmashAudioSource fails


Code:
vid = LSmashVideoSource("x.mov")
aud = LWLibavAudioSource("x.mov")

AudioDub(vid,aud)

Last edited by poisondeathray; 27th March 2020 at 16:21.
poisondeathray is offline   Reply With Quote
Old 27th March 2020, 16:21   #1266  |  Link
HolyWu
Registered User
 
HolyWu's Avatar
 
Join Date: Aug 2006
Location: Taiwan
Posts: 709
Quote:
Originally Posted by Morku View Post
And is there something I can change? Or just wait for a fix?
There seems an unknown bug in liblsmash which causes wrong endianness being set. Here is a temporary fix for you.
HolyWu is offline   Reply With Quote
Old 27th March 2020, 19:35   #1267  |  Link
Morku
Registered User
 
Join Date: Jul 2012
Posts: 168
wow, I dodn't expect a solution that quick.
Yes, the new "temporary fix" build working fine No distorted audio. Thank you.

The FFAudioSource workaround is also doing the job, but indexing takes really a long time here.
Morku is offline   Reply With Quote
Old 28th March 2020, 09:35   #1268  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,038
Nice to know that I guessed well!
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH 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 14:07.


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