Hello,
I use virtualdub 64bit + x265 encoding + avisynth.
When opening the file with virtualdub i have no issue.
When opening the avs, if i play the video in virtual dub or seek somewhere, when i start the encoding process the last position few frame are
added to the start of the video after encoding.
You see it by virtualdub preview.
Seeking to something black or just open encode without seeking help, but there is audio is always unsync.
Can help?
Here is the script:
Video=Avisource("F:\test.avi")
TextSub(Video, "F:\test.srt")
Video is x265+ac3, just two stream.
Ps: It's avisynth+
Thanks in advance,
Have a good day,
Rgds,
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 5 of 5
Thread
-
Last edited by anonyme-x22; 23rd Oct 2024 at 04:24.
-
Try something other than Avisource.
http://avisynth.nl/index.php/LSMASHSource
To open just the video
LWLibavVideoSource("F:\test.avi")
or to open video and audio
V = LWLibavVideoSource("F:\test.avi")
A = LWLibavAudioSource("F:\test.avi")
AudioDub(V, A)
http://avisynth.nl/index.php/FFmpegSource
latest version
https://github.com/FFMS/ffms2/
To open just the video
FFVideoSource("F:\test.avi")
or to open video and audio
FFmpegSource2("F:\test.avi", atrack=-1)
The first time you open a file with one of the above source filters it'll be indexed so it might seem a bit slow. After that it'll be quite fast as long as you don't delete the index file. If either have a problem with your AVI, try remuxing it as an MKV with MKVToolNix first, then open the MKV instead.
This one's apparently very reliable, but also very slow to index files.
https://github.com/vapoursynth/bestsourceAvisynth functions Resize8 Mod - Audio Speed/Meter/Wave - FixBlend.zip - Position.zip
Avisynth/VapourSynth functions CropResize - FrostyBorders - CPreview (Cropping Preview) -
thanks i will try, ffmpegsource2 to see if better.
i prefer avi to mkv, much more compatible and don't require system muxer/demuxer add-on.
I think the issue is related to virtual audio/video buffer, which isn't reset when using avisynth script...
I have set them to max (256Mo), perhaps will also try default settings...
Also it is possible that the script use avisynth+ 32bit into vdub 64 causing this issue.
by the way if some know a correct (like vobsub with gui for font format) vdub64 subtitle plugin that would definitively be better...Last edited by anonyme-x22; 23rd Oct 2024 at 05:09.
-
Your source video has some leading B-frames that cannot be decoded (the file was presumably trimmed from a longer open GOP source). Some source filters return the first I-frame in place of the bad B-frames. Some just start with the I frame. Some return whatever junk is in the frame buffer (so if you seek forward, then back to the start, you'll get that later frame).
Try LSMASH in addition to ffmpeg source filters.
Also, one shouldn't use AVI for inter-frame codecs like x265. Especially with open GOPs. -
Well bad b-frames, when using just virtual that's works, so it's avisynth + which do bad frame.
Anyway all back to source filter apparently.
Last test i opened the script into virtual dub without doing any play/seek, and that's ok, buffer clear. (Another solution; anyway that means testing subtitle, closing and reopening virtual dub)
Also, one shouldn't use AVI for inter-frame codecs like x265. Especially with open GOPs.
There is absolutely no reason to use a mkv just because people thinks it's better and new players tend to not test avi with those stream just to get chapter whose no one is using!
MP4, MKV, etc , trouble in perspective... (naver had to use mkvtoonix , avidemux, etc before those new container) again just to add chapter, and so because player never finished/normalized any avi chapter implementation)
Why by the hell everyone want me to use mkv!!!
digital video was much better without all those new container just for, in fact what for, just for changing multiplying containers uselessly because people where bored of .avi and .mov, and wanted to have there own container!
Is it the same stupid idea like with coding language, os, etc ?????
ASM, C, what else, they do all...
windows 1-18 why there are all the same, linux , bsd, lubuntu, rch linux, toto linux, what for just making new bugs and issue
changing everything every times lead no where!!!Last edited by anonyme-x22; 24th Oct 2024 at 15:33.
Similar Threads
-
"Start Time" errors in Subtitle Edit, and "End Time" correct
By Frank_VH in forum SubtitleReplies: 11Last Post: 25th Mar 2024, 09:42 -
Change start time in Subtitle Edit
By loninappleton in forum SubtitleReplies: 3Last Post: 20th Jan 2023, 01:27 -
set download start time in streamlink
By filipino in forum Video Streaming DownloadingReplies: 2Last Post: 19th Mar 2022, 03:24 -
Trimming or setting start time to video does not work.
By TheParanoia in forum Newbie / General discussionsReplies: 3Last Post: 24th Jun 2021, 01:08 -
MiniDV tapes loses sound 2nd time it's played
By daffydaffy3 in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 0Last Post: 11th Apr 2020, 20:02