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 14th July 2021, 11:13   #1341  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by FranceBB View Post
But the IPCM one I think can be integrated in LWLibavAudioSource.
Now, I don't know how it calls the decoding libraries, but if it's possible to include some sort of conditional to check whether it's a normal PCM or an IPCM from Sony, it would be better as it would be possible to add the relative information to the decoder so that the right library can be called.
Technically speaking, if there was a way to tell Libav what the input file is and specify a particular decoder, there would be no problems at all decoding IPCM files: https://forum.doom9.org/showthread.php?p=1942428
The check for pcm is not easy. If I well remember madshi, in eac3to, try encode to flac with many options and the most compressible is the good.

But with parameters can work fine. From NicAudio wiki:
Quote:
NicLPCMSource (string, int "samplerate", int "samplebits", int "channels")
...
int samplebits = 0

Necessary for lpcm and raw files. Valid values 8/16/24/32 (also 33 (32 float) for raw) (lpcm also accept 20 and -8/-16/-24/-32. Negative values are for BluRay lpcm (big-endian)).
BTW if you need AviSynth to open your IPCM_Sample_track2.ipcm that works:

NicLPCMSource("C:\...\IPCM_Sample_track2.ipcm", 48000, -24, 2)
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 14th July 2021 at 11:18. Reason: add info
tebasuna51 is offline   Reply With Quote
Old 14th July 2021, 14:25   #1342  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,883
Quote:
Originally Posted by tebasuna51 View Post
if you need AviSynth to open your IPCM_Sample_track2.ipcm that works:

NicLPCMSource("C:\...\IPCM_Sample_track2.ipcm", 48000, -24, 2)
Ah, so you can pass parameters to NICAudio to make it work, sweet.
That's good to know.
FranceBB is offline   Reply With Quote
Old 14th July 2021, 23:11   #1343  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,419
Does this build of FFmpeg detect it correctly? I couldn't download the sample to verify for myself.

https://www.mediafire.com/file/7ttrj..._64bit.7z/file
qyot27 is offline   Reply With Quote
Old 14th July 2021, 23:47   #1344  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by qyot27 View Post
Does this build of FFmpeg detect it correctly?
Yes work fine:

ffmpeg.exe -i IPCM.MP4 -acodec pcm_s24le out1.wav
...
Stream #0:1(und): Audio: pcm_s24be (ipcm / 0x6D637069), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)

and the output is correct.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 19th July 2021, 10:13   #1345  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by kedautinh12 View Post
Good NEWS, AkakinVS said he will update avisynth ver
https://github.com/AkarinVS/L-SMASH-...ment-879623789
Quote:
Originally Posted by JKyle View Post
Wow, that's pretty good news.
not for a long time https://github.com/AmusementClub/L-S...7fc2200ef9dcce

even if they say
Quote:
Amusement club internal L-SMASH releases. Generally for specific needs of our members, *not* for public consumption.
that not a good sign, AkakinVS repo seems not get new updates last days unlike AmusementClub one, so I think we should better depends on https://github.com/HomeOfAviSynthPlu.../L-SMASH-Works
__________________
See My Avisynth Stuff

Last edited by real.finder; 19th July 2021 at 10:15.
real.finder is offline   Reply With Quote
Old 19th July 2021, 10:31   #1346  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
btw, there are avs build here https://github.com/AkarinVS/L-SMASH-...ases/tag/vA.3b it should work with HW decoding since last update seems not work https://forum.doom9.org/showpost.php...postcount=1326

as a side note, maybe this FFmpeg https://github.com/AkarinVS/FFmpeg worth pay attention
__________________
See My Avisynth Stuff

Last edited by real.finder; 19th July 2021 at 10:50.
real.finder is offline   Reply With Quote
Old 19th July 2021, 10:57   #1347  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,153
I seen only x64 ver
kedautinh12 is offline   Reply With Quote
Old 19th July 2021, 14:27   #1348  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Quote:
Originally Posted by kedautinh12 View Post
I seen only x64 ver
Exactly says:

Quote:
All the released binaries are for Windows/x64.
Experimental AviSynth+ plugin is also included, but it does not include any of the VS only changes mentioned above.
Hopefully this is temporary.
__________________
By law and justice!

GMJCZP's Arsenal
GMJCZP is offline   Reply With Quote
Old 19th July 2021, 16:30   #1349  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,153
X86 here
https://github.com/AkarinVS/L-SMASH-...ment-882612464

Only me can't test everything about format video, audio. Need everyone test with me to development L-SMASH of AkarinVS
kedautinh12 is offline   Reply With Quote
Old 19th July 2021, 23:14   #1350  |  Link
GMJCZP
Registered User
 
GMJCZP's Avatar
 
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
Quote:
Originally Posted by kedautinh12 View Post
X86 here
https://github.com/AkarinVS/L-SMASH-...ment-882612464

Only me can't test everything about format video, audio. Need everyone test with me to development L-SMASH of AkarinVS
I am getting this error message: "Script error: There is no function named 'LWLibavVideoSource'".
__________________
By law and justice!

GMJCZP's Arsenal
GMJCZP is offline   Reply With Quote
Old 20th July 2021, 01:06   #1351  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,419
As I commented over there, what probably happened is that it got built using meson with g++. It works, but only with a GCC build of AviSynth+.
qyot27 is offline   Reply With Quote
Old 28th July 2021, 13:24   #1352  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by tebasuna51 View Post
Added feature request to HomeOfAviSynthPlusEvolution/L-SMASH-Works

We hope than this fork continue the job.
https://github.com/HomeOfAviSynthPlu...ment-887420681

also everyone, Asd-g made release https://github.com/HomeOfAviSynthPlu...Works/releases don't know if HW decode work or not in this build
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 28th July 2021, 14:42   #1353  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,883
Lovely. Thanks for the heads up.
FranceBB is offline   Reply With Quote
Old 28th July 2021, 16:26   #1354  |  Link
JKyle
App Digger
 
JKyle's Avatar
 
Join Date: Sep 2018
Posts: 411
I've just confirmed that the new release, 20210728, works nicely with NVIDIA CUVID acceleration on both AviSynth+(3.7.0) and VapourSynth(R54).
for the wonderful job!
JKyle is offline   Reply With Quote
Old 28th July 2021, 19:51   #1355  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
And the new release have the drc_scale parameter working fine for me. Thanks.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 28th July 2021, 22:07   #1356  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 996
Can't play MPEG-TS AVC video files with it, with all previous versions there are no problems with these files.
__________________
Live and let live
gispos is offline   Reply With Quote
Old 29th July 2021, 00:09   #1357  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,153
You need report to developer
https://github.com/HomeOfAviSynthPlu...H-Works/issues
kedautinh12 is offline   Reply With Quote
Old 29th July 2021, 00:46   #1358  |  Link
JKyle
App Digger
 
JKyle's Avatar
 
Join Date: Sep 2018
Posts: 411
Quote:
Originally Posted by gispos View Post
Can't play MPEG-TS AVC video files with it, with all previous versions there are no problems with these files.
I've experienced a similar phenomenon with an MPEG-TS HEVC video file (HDR10).

For reference, here's the issue I submitted on the GitHub repo.
JKyle is offline   Reply With Quote
Old 29th July 2021, 13:35   #1359  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,153
Quote:
Originally Posted by gispos View Post
Can't play MPEG-TS AVC video files with it, with all previous versions there are no problems with these files.
Check new ver
https://github.com/HomeOfAviSynthPlu...s/tag/20210729
kedautinh12 is offline   Reply With Quote
Old 29th July 2021, 15:28   #1360  |  Link
gispos
Registered User
 
Join Date: Oct 2018
Location: Germany
Posts: 996
Quote:
Originally Posted by kedautinh12 View Post
Yes, it works now
__________________
Live and let live
gispos 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 00:39.


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