Questions tagged [avisynth]

61 questions
1
vote
0 answers

avs2avi stripping audio channel?

I'm trying to build a video using a command line wizard I've written. To do this, I am constructing an AVISynth file (in this case, a huge 1,820-line, 94Kb file) and use avs2avi to render it. It works great, but for some reason it doesn't save the…
Niet the Dark Absol
  • 320,036
  • 81
  • 464
  • 592
1
vote
1 answer

Is there any helper tool for creating graphedit files "on the fly" (programmatically)

I notice that avisynth can accept as input a "live directshow source" only through a graphedit file that includes that source in it. Is there any help tool out there to create a graphedit file on the fly, given you know a capture sources name…
rogerdpack
  • 62,887
  • 36
  • 269
  • 388
0
votes
1 answer

Unable to find audio stream

I'm trying to adapt a code in order to add a sound capture feature (on a live stream), with the help of ffmpeg and directshow. When i try to play with ffplay the AVIsynth file, everything works perfectly i've got the audio and video. But when i open…
Kurt
  • 57
  • 7
0
votes
0 answers

How to make AviSynth+ plugin ffms2 transmux all streams?

I know how to transmux all streams in native FFMPEG, but sometimes some source encodings require me to use ffms2 plugin for AviSynth+. From the documentation, I assume that streams need to be selected manually there. ffms2's vtrack = -1, atrack = -1…
HCLivess
  • 1,015
  • 1
  • 13
  • 21
0
votes
1 answer

AviSynth - turn sound off

I am using AviSynth+ and I play an .avs script into VLC (I've installed the AviSynth plugin for VLC). My script is very basic and it looks like this: DirectShowSource("D:\MyVideo.asf", fps=25, convertfps=true) How can I turn off the sound of the…
Joe Jobs
  • 201
  • 1
  • 12
0
votes
0 answers

Split VFR video into CFR chunks?

Is there a good way to split a VFR video into chunks that split whenever the framerate changes? I have a video that I want to edit that is VFR but my editor doesn't support VFR. I don't want to set a constant framerate and convert it because that…
0
votes
1 answer

Imagewriter executes only last call

I have 3 imagewriter, each of it save a different frame from avi to a path. But, it is executed only the last imagewriter, so I received in test3 folder frame 4, with name: 000004.jpg Why the first 2 imagewriter aren't executed? Can I execute all…
Irina
  • 5
  • 1
  • 5
0
votes
1 answer

FFmpeg audio stream extraction on non-interleaved AVI - slow compared to AviSynth

I want to extract the audio stream of an avi file as a wav file, it works but it is really slow (~4-5fps) although I just want to copy the stream. Here is the type of stream I want to extract (ffprobe info): Stream #0:1: Audio: pcm_s16le…
LLL
  • 37
  • 1
  • 7
0
votes
2 answers

How do I batch encode hevc videos using avisynth source?

I have several videos I need to process using avisynth then encode to hevc mkv format. I can use avsproxy and open in avidemux but I can't batch it. I have a lot of videos that use basically the same script. I can easily create a script for each…
eng3
  • 431
  • 3
  • 18
0
votes
1 answer

Difference between DirectShowSource() and FFmpegSource2() in AviSynth

For non .avi A/V sources (as .mp3, .mp4, etc.) there are (at least) 2 possibilities for reading those media files in AviSynth (in Windows): The built-in media filter DirectShowSource(), using Microsoft's DirectShow media architecture. The AviSynth…
MarianD
  • 13,096
  • 12
  • 42
  • 54
0
votes
1 answer

Avisynth total frames does not equal VirtualDub total frames

It appears that Dissolve and/or Fade change the total number of frames in .avs scripts. When I add up the total number of frames in the avs script and then load the avs script in Vdub the total number of frames is different. My real world example…
Corpuscular
  • 113
  • 6
0
votes
1 answer

AviSynth script with subtitles errors

Win7 FFmpeg version: 20170223-dcd3418 win32 shared AVISynth version: 2.6 Calling ffmpeg in a Visual Studio 2015 C# Forms Application and using process.StartInfo.Arguments to pass arguments and read an avs script. Works fine. The avs…
Corpuscular
  • 113
  • 6
0
votes
0 answers

Create batch AVISynth scripts using command line

I have researched for a long time for AViSynth batch create using CMD AVISynth example : > DirectShowSource("C:\Users\...\conan848.mkv", fps=23.976, audio=false, > convertfps=true).AssumeFPS(24000,1001) > #deinterlace > #crop LanczosResize(1280,720)…
MinhLee
  • 21
  • 2
  • 9
0
votes
0 answers

Why is there (apparently) no correlation between avisynth SSIM and ffmpeg SSIM?

I used to check and adjust the quality of my video encodings with an Avisynth script calculating the SSIM index. For some reason, since moving to Windows 10, the performance is much lower. Then I found out about the ffmpeg ssim filter, which runs…
JMor
  • 47
  • 1
  • 11
0
votes
1 answer

Move an image and keep his transparency

I'm trying to move an image, and to keep his transparency. To do that, I have a transparent image, and I convert it into a video with Imagesource. I overlay it to a video made by a completely transparent image. Finally, I want the resultant video to…
Ediruth
  • 168
  • 1
  • 7