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. |
21st July 2021, 21:08 | #2661 | Link | |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,883
|
One of my colleagues reported that when Indexing a WAV which is larger than 2 GB, the audio is silent from a certain point onward even if he's using the x64 build for Avisynth.
I wonder if rf64 (which would be the extension needed to come around the original wav size limit) has been implemented in FFAudioSource(). Anyway, ffmpeg seems to support wav's bigger than 2 GB, even when the rf64 extension is not used in the source file, in fact in FFMpeg decoding works fine. Here is a way to quickly create a test wav file to reproduce the problem: Quote:
The problem doesn't occur with WAVSource(). The issue has been reported in the bug tracker here: https://github.com/FFMS/ffms2/issues/389 Last edited by FranceBB; 21st July 2021 at 21:14. |
|
21st July 2021, 23:41 | #2662 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
Does not make sense index a pcm samples wav, to locate a sample in a file you only need know the number of bytes per sample (in the header) and multiply.
The size of a index to all samples can be bigger than the WAV file. Of course WavSource don't have this problem because don't make index. BTW you can use RaWavSource from NicAudio to support WAV files bigger than 4 GB, and also RF64 or W64
__________________
BeHappy, AviSynth audio transcoder. Last edited by tebasuna51; 21st July 2021 at 23:46. |
22nd July 2021, 11:30 | #2663 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,883
|
Of course I can use NicAudio(), but the thing is that one of my colleagues used FFAudioSource() by mistake and found the issue so he reported it to me and I was like: first of all, demux with FFMpeg and use WAVSource(), second of all, thank you for letting me know, I might as well just report it to the FFAudioSource () developers to get it fixed, so here I am.
|
22nd July 2021, 12:17 | #2664 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
10th August 2021, 10:53 | #2665 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,153
|
DNX120 fixed in L-SMASH Works, need fix in ffms2. Thanks
https://forum.doom9.org/showthread.p...42#post1949542 |
14th August 2021, 18:57 | #2666 | Link |
Registered User
Join Date: Jul 2018
Posts: 447
|
ffms2_1c6169a (pass: tTnkia1ToVkw):
- ffms2@4567314; - ffmpeg 4.4@1bc1757; - zlib 1.2.11; - dav1d 0.9.1; - added FFAudioSource/FFMS2/FFmpegSource2 parameter "drc_scale" (float type, AC3 decoding). Last edited by StvG; 14th August 2021 at 19:00. |
15th August 2021, 11:55 | #2668 | Link | |
SuperVirus
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
|
Quote:
|
|
17th August 2021, 19:52 | #2669 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
A somewhat untested build with a pile of changes. This should slay most of your poor quality forks.
Code:
- 2.3000 - Added support for VapourSynth API4 (Myrsloik) - Added basic Avisynth+ frame property support (Myrsloik) - Added Rotation and Flip properties for VapourSynth (Myrsloik) - Added long path support for ffmsindex in windows (Myrsloik) - The audio gap fill logic is now optional and usually disabled by default (Myrsloik) - Allow the drc_scale option to be set when decoding audio (Myrsloik) - Allow the enable_drefs and use_absolute_path demuxer options to be used when indexing (Myrsloik)
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
17th August 2021, 22:50 | #2671 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
It's fairly easy to support both. See the FFMS2 source for an example. I'll probably improve the nfMakeLinear handling a bit before the final release so less things will be horribly slow as well.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
18th August 2021, 00:37 | #2673 | Link |
Useful n00b
Join Date: Jul 2014
Posts: 1,667
|
So, does Vapoursynth try the new API with VapourSynthPluginInit2() and if it fails tries again with VapourSynthPluginInit()?
The diff between vapoursource.cpp and vapoursource4.cpp is quite extensive and scares me a bit. Is there a comprehensive guide to things that need to be changed to use API4? Thank you. |
18th August 2021, 09:32 | #2674 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
https://github.com/vapoursynth/vapou...%20changes.txt Note that a lot of changes are mostly renaming.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
22nd August 2021, 15:26 | #2675 | Link | |
Registered User
Join Date: Apr 2016
Posts: 1
|
Quote:
|
|
10th November 2021, 14:48 | #2677 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,883
|
Opened a new bug about a ZLog2 HDR H.265 UHD file (yes, there's more than just PQ and HLG in the world ehehehe): https://github.com/FFMS/ffms2/issues/395
|
10th November 2021, 15:52 | #2678 | Link | ||
Registered User
Join Date: Sep 2007
Posts: 5,345
|
Quote:
avs+ r3482 x64 ffms2_StvG_1c6169a_20210814 (this is the one a few posts above) x64 L-SMASH-Works-20210811 x64 https://github.com/HomeOfAviSynthPlu...Works/releases I didn't test actual encode, but ran through ffmpeg rawvideo, so it goes through each frame, and completes ffmpeg -i ffms2.avs -c:v rawvideo -an -f null NUL Preview of ffms2 and lsmash scripts in avspmod looks ok, seeking to random frames Quote:
Last edited by poisondeathray; 10th November 2021 at 15:58. |
||
18th January 2022, 22:00 | #2680 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
No idea. Depends on whether or not the current index method can be adapted. Also time. I have no time.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
Thread Tools | Search this Thread |
Display Modes | |
|
|