VideoHelp Forum




+ Reply to Thread
Results 1 to 18 of 18
  1. 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
    Quote Quote  
  2. Originally Posted by Megafox View Post
    How do I upload videos to Avisynth (AVI) without decoding?
    What do you mean by "upload"?

    To open a video you use a source filter, e.g.:
    Code:
    ffvideosource("c:\videos\input.avi")
    When you want to open the script in VirtualDub:
    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.)
    Quote Quote  
  3. Originally Posted by sneaker View Post
    Originally Posted by Megafox View Post
    How do I upload videos to Avisynth (AVI) without decoding?
    What do you mean by "upload"?
    AVISource
    Quote Quote  
  4. 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.
    Quote Quote  
  5. Originally Posted by Megafox View Post
    How do I upload videos to Avisynth (AVI) without decoding?
    The use of AviSynth requires decoding and reencoding. You can't use DirectStreamCopy.

    I've tried everything, remultiplex mpeg2 from vob to avi, so that support was better...
    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):

    LoadPlugin("H:\AVISynth\dlls\DGDecode.dll")
    MPEG2Source("Movie.d2v")
    Quote Quote  
  6. Originally Posted by sneaker View Post
    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.
    Why can't load?Image
    [Attachment 44605 - Click to enlarge]
    Quote Quote  
  7. Since it seems you are indeed trying to open a DVD try manono's suggestion instead of ffvideosource().

    What is your OS and AviSynth version?
    Quote Quote  
  8. Originally Posted by sneaker View Post
    Since it seems you are indeed trying to open a DVD try manono's suggestion instead of ffvideosource().

    What is your OS and AviSynth version?
    Windows 7 32bit
    Avisynth 2.55
    Quote Quote  
  9. 2.55 is wayy (14 years!) outdated. Use AviSynth 2.6.0 or AviSynth+ r2580.
    Quote Quote  
  10. Originally Posted by sneaker View Post
    Since it seems you are indeed trying to open a DVD try manono's suggestion instead of ffvideosource().

    What is your OS and AviSynth version?
    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
    Quote Quote  
  11. 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.
    Quote Quote  
  12. Originally Posted by sneaker View Post
    2.55 is wayy (14 years!) outdated. Use AviSynth 2.6.0 or AviSynth+ r2580.
    I know, I test modification for this version (enable direct stream copy)
    Quote Quote  
  13. 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
    Quote Quote  
  14. No, not possible. (There are lossless encoders but the file sizes will be multiple times the source DVD's.)
    Quote Quote  
  15. Originally Posted by sneaker View Post
    No, not possible. (There are lossless encoders but the file sizes will be multiple times the source DVD's.)
    So there is no way to do this, it's a pity that there are no such codecs. Although a decrease in the frequency of interlaced video can compensate for this increase in size
    Quote Quote  
  16. Originally Posted by sneaker View Post
    No, not possible. (There are lossless encoders but the file sizes will be multiple times the source DVD's.)
    If you know the best of these codecs for encoding mpeg2 without the settings in order to preserve the quality, give me the link
    Quote Quote  
  17. 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.
    Quote Quote  
  18. Originally Posted by sneaker View Post
    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.
    I find best codecs, 100% quality (Huffyuv, PICVideo, MJPEG)
    Last edited by Megafox; 5th Feb 2018 at 16:43.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!