How do I upload videos to Avisynth (AVI) without decoding? I've tried everything, remultiplex mpeg2 from vob to avi, so that support was better, installed dsynth, put direct stream copy everywhere, but I get an error when running the script that there is no codec for mpg. What codec ?! I turned off the decoding. The initial quality is very important to me, and I would like to know how to get around this? And will Decomb work with a direct stream?
Translated from Google Translate
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 18 of 18
			
		- 
	
- 
	What do you mean by "upload"? 
 
 To open a video you use a source filter, e.g.:
 When you want to open the script in VirtualDub:Code:ffvideosource("c:\videos\input.avi")
 1. Make sure you use 32 bit VirtualDub for 32 bit AviSynth.
 2. "File"->"Open video file". In that dialog select the "AVI input driver" "file type" at the bottom. Then select the AviSynth script you want to open.
 
 Note:
 - AVI and AviSynth are not the same. What do you mean exactly?
 - There is no "Direct Stream Copy" for compressed video/audio in AviSynth. Everything is going to be decompressed and has to be compressed again (unless you want huuuuuge files.)
- 
	AVISource() needs a suitable VfW Codec installed on the system. Try ffvideosource() instead, it has lots of decoders inbuilt and is not relying on the OS. 
- 
	The use of AviSynth requires decoding and reencoding. You can't use DirectStreamCopy. 
 
 You're trying to open a DVD or some other MPEG source? Then you make a D2V project file using DGIndex and use the DGDecode.dll together with MPEG2Source to open it. It's thoroughly explained in the docs included in the DGMPGDec package. You can't use AviSource on an MPEG, even if you repackaged it as an AVI. A sample script might go (if you load everything necessary in a script, rather than autoloading it):I've tried everything, remultiplex mpeg2 from vob to avi, so that support was better...
 
 LoadPlugin("H:\AVISynth\dlls\DGDecode.dll")
 MPEG2Source("Movie.d2v")
- 
	Why can't load? 
 [Attachment 44605 - Click to enlarge]
- 
	I know how to work with d2v files, but I need output without reencoding. It takes a long time, the size is lost and, most importantly, quality. I do not think that there is an ideal codec that will make a video with the same parameters. That's why I want to do it directly 
- 
	You cannot go through AviSynth and not re-encode. Not possible. 
 
 Since your file is named "Deinterlace DVD.avs" I assume you want to use AviSynth for de-interlacing? Deinterlacing is not possible without re-encoding except if you let the player do it every time you play the file.
- 
	
- 
	Is it possible to encode the same way as decoding? Without any settings, for example a decoder saves a file with data about what it did for decoding, and a special codec encodes the video back, as if it was not touched? Archives do not lose bytes in such actions 
- 
	No, not possible. (There are lossless encoders but the file sizes will be multiple times the source DVD's.) 
- 
	
- 
	
- 
	Both x264 and x265 can create "transparent" (not 100% lossless but visually indiscernible from the source in normal viewing conditions) encodes at reasonable file sizes. (They also have lossless modes but as I said they aren't very useful.) 
 
 You can use them through e.g. HandBrake (incl. deinterlacing), or MeGUI if you want to use your AviSynth script.
Similar Threads
- 
  Looking for a nonlinear editor for h246, capable of direct stream copyBy Vane in forum EditingReplies: 2Last Post: 23rd Feb 2015, 20:19
- 
  Direct stream copy for mp4?By supercain in forum EditingReplies: 56Last Post: 6th May 2014, 13:51
- 
  direct stream copy not with ffmpegBy marcorocchini in forum Newbie / General discussionsReplies: 6Last Post: 26th Nov 2013, 11:00
- 
  SWF to FLV without reencoding (direct stream copy)By Stears555 in forum Video ConversionReplies: 2Last Post: 10th Nov 2013, 20:03
- 
  Is direct-stream-copy possible in Adobe Premiere Pro?By Stears555 in forum Video ConversionReplies: 1Last Post: 11th Mar 2013, 10:51


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote
