VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    May 2016
    Location
    United States
    Search Comp PM
    AC3ACM64 & AC3ACM "plugins" installed; and Virtualdub still do not recognize ".ac3 audio" or more specifically, an .avs avisynth script that have .ac3 are part of the code. I think I'm saying it correct.

    I'm out of ideas. I've installed each plugin into their respective plugins folder (64 bit vs 32 bit virtualdub), restarted the computer, adjusted the .avs code multiple ways, and I simply cannot open the .avs file in virtualdub. I've check the path for and it matches the location path.

    I am following along with this introductory webpage to try to get better a understanding for Avisynth
    http://www.avisynth.org.ru/docs/english/externalfilters/dgmpgdec_quickstart.htm

    This is one of the many pages that recommends installing AC3ACM64 , AC3ACM. Right click on "Install the 32-bit codec" and still doesn't work.
    https://forum.videohelp.com/threads/330711-SOLVED-Can-t-Import-AC3-audio-in-Virtual-Dub-1-9-Stable


    .avs file Does not work
    Code:
    LoadPlugin("C:\Program Files\AviSynth+\plugins64\DGDecode.dll")
    video=MPEG2Source("Hey Arnold Ep6 (S1D2).D2V")
    audio=AC3Source("Hey Arnold Ep6 (S1D2) T80 2_0ch 192Kbps DELAY 0ms.ac3")
    AudioDub(video,audio)
    .avs file Does not work
    Code:
    LoadPlugin("C:\Program Files\AviSynth+\plugins64\DGDecode.dll")
    MPEG2Source("Hey Arnold Ep6 (S1D2).D2V")
    AC3Source("Hey Arnold Ep6 (S1D2) T80 2_0ch 192Kbps DELAY 0ms.ac3")
    AudioDub(video,audio)
    .avs file Does not work
    Code:
    LoadPlugin("C:\Program Files\AviSynth+\plugins64\DGDecode.dll")
    video=MPEG2Source("Hey Arnold Ep6 (S1D2).D2V")
    AC3Source("Hey Arnold Ep6 (S1D2) T80 2_0ch 192Kbps DELAY 0ms.ac3")
    AudioDub(video,audio)
    .avs file Does not work
    Code:
    LoadPlugin("C:\Program Files\AviSynth+\plugins64\DGDecode.dll")
    video=MPEG2Source("Hey Arnold Ep6 (S1D2).D2V")
    audio=AC3Source("Hey Arnold Ep6 (S1D2) T80 2_0ch 192Kbps DELAY 0ms.ac3")


    The only one that worked (loaded in Virtualdub when I dragged and dropped
    .avs (video only) loads into virtualdub perfectly fine.
    Code:
    Mpeg2Source("T:\(M) DVD Hey Arnold\AVS Test (vob file) - original files\Hey Arnold Ep5 (S1D1).d2v", CPU2="ooooxx", Info=3) 
    TFM(d2v="T:\(M) DVD Hey Arnold\AVS Test (vob file) - original files\Hey Arnold Ep5 (S1D1).d2v") 
    TDecimate()

    Click image for larger version

Name:	Virtualdub AC3 problem a.png
Views:	617
Size:	289.1 KB
ID:	45435Click image for larger version

Name:	Virtualdub AC3 problem c.png
Views:	645
Size:	420.1 KB
ID:	45436Click image for larger version

Name:	Virtualdub AC3 problem d.png
Views:	659
Size:	2.03 MB
ID:	45437









    2. Dragging and dropping .VOB (.ac3 audio codec) does work in the 32 bit version of Virtualdub, but doesn't work in the 64 bit version of Virtualdub.

    Click image for larger version

Name:	Virtualdub AC3 problem e.png
Views:	705
Size:	148.0 KB
ID:	45438



    Code:
    General
    Complete name                            : T:\(M) DVD Hey Arnold\AVS Test (vob file) - original files\Hey Arnold Ep6 (S1D2).VOB
    Format                                   : MPEG-PS
    File size                                : 981 MiB
    Duration                                 : 23 min 37 s
    Overall bit rate mode                    : Constant
    Overall bit rate                         : 5 805 kb/s
    
    Video
    ID                                       : 224 (0xE0)
    Format                                   : MPEG Video
    Format version                           : Version 2
    Format profile                           : Main@Main
    Format settings                          : CustomMatrix / BVOP
    Format settings, BVOP                    : Yes
    Format settings, Matrix                  : Custom
    Format settings, GOP                     : M=3, N=15
    Format settings, picture structure       : Frame
    Duration                                 : 23 min 37 s
    Bit rate mode                            : Constant
    Bit rate                                 : 5 500 kb/s
    Width                                    : 720 pixels
    Height                                   : 480 pixels
    Display aspect ratio                     : 4:3
    Frame rate                               : 29.970 (30000/1001) FPS
    Standard                                 : NTSC
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Interlaced
    Scan order                               : Bottom Field First
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.531
    Time code of first frame                 : 01:00:00;00
    Time code source                         : Group of pictures header
    GOP, Open/Closed                         : Closed
    Stream size                              : 929 MiB (95%)
    Color primaries                          : BT.601 NTSC
    Transfer characteristics                 : BT.601
    Matrix coefficients                      : BT.601
    
    Audio
    ID                                       : 189 (0xBD)-128 (0x80)
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Muxing mode                              : DVD-Video
    Duration                                 : 23 min 37 s
    Bit rate mode                            : Constant
    Bit rate                                 : 192 kb/s
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 31.250 FPS (1536 SPF)
    Bit depth                                : 16 bits
    Compression mode                         : Lossy
    Stream size                              : 32.5 MiB (3%)
    Service kind                             : Complete Main
    
    Menu
    Last edited by strawberryshortcake; 28th Apr 2018 at 06:44.
    Quote Quote  
  2. Member
    Join Date
    Apr 2018
    Location
    Croatia
    Search Comp PM
    You should really use FFMS2 instead.
    Quote Quote  
  3. Member
    Join Date
    May 2016
    Location
    United States
    Search Comp PM
    Originally Posted by richardpl View Post
    You should really use FFMS2 instead.


    Note:
    I basically had two intentions when I started posting for help:

    (1) Batch convert VOB files - Deinterlace (or Inverse Telecine) VOB (DVD) files so I remove those lines during playback on my ipad 12.9. Use Avisynth to clean up and filter the video image so it looks better.
    (2) Batch convert .mp4 files - Clean up animation videos so they're cleaner using what's called the Hysteria filter. I simply want to upscale the animation, make it lines darker, and colors a bit more vibrant.



    I learned about the following code on youtube and I have been using this code ever since, and I was hoping to find something just as simple as this where I would put all my video files (vob in one folder) (.mp4 in another folder). Put a batch .bat file (that carries within itself the .avs filter codes) in both of those folders, double click on the .bat file, and convert everything). I also read about Avisynth and supposedly that's what more advanced users use and what the better encoded videos undergo for the best quality.

    Code:
    if not exist NewConvertedFiles md NewConvertedFiles
    for %%a in ("*.vob") do ffmpeg -re -y -i "%%a" -c:v libx264 -preset veryslow -tune film -vf yadif -crf 20 -c:a ac3 -b:a 192k "NewConvertedFiles\%%~na.mp4"
    pause



    I'm not exactly sure what FFMS2 is. Ran an internet search and came up with:

    https://github.com/FFMS/ffms2/releases/tag/2.23

    I downloaded ffms2-2.23.1-msvc.7z, did the whole unzip/extraction, double clicked on the FFMS2 (avisynth autoload), and AVSPmod opens and is loaded with "stuff." Not exactly sure what to do with this. If it's easier to work with, great. But I'm not sure where to go from here.


    Click image for larger version

Name:	Avisynth Alternative FFMS2a.png
Views:	477
Size:	137.6 KB
ID:	45439Click image for larger version

Name:	Avisynth Alternative FFMS2b.png
Views:	498
Size:	76.9 KB
ID:	45440



    I also stumbled across the following and it sort of worked, but I can't quite get the VOB to work because it said something about d2v not found or something, even though I have it in the same folder.


    https://forum.videohelp.com/threads/381345-(Help-Needed-with-ffmpeg)-how-do-i-batch-me...to-video-files
    Originally Posted by raffriff42 View Post
    Batch script to extract/split audio and video
    Code:
    @echo off
    :: set paths (no quotes)
    set ffmpeg=C:\Program Files (x86)\ffmpeg\bin\ffmpeg.exe
    set outfolder=D:\VideoProjects\work\_temp\split
    
    @echo.
    @echo on
    for %%f in (*.mp4) do "%ffmpeg%" -y ^
      -hide_banner ^
      -i "%%~dpnxf" -c:v copy -an ^
      "%outfolder%\%%~nf-xtract.m4v"
    @echo off
    if errorlevel 1 pause
    @echo.
    @echo on
    for %%f in (*.mp4) do "%ffmpeg%" -y ^
      -hide_banner ^
      -i "%%~dpnxf" -vn -c:a copy ^
      "%outfolder%\%%~nf-xtract.m4a"
    @echo off
    if errorlevel 1 pause 
    @echo.
    Batch script to merge/mux audio and video
    Code:
    @echo off
    :: set paths (no quotes)
    set ffmpeg=C:\Program Files (x86)\ffmpeg\bin\ffmpeg.exe
    set outfolder=D:\VideoProjects\work\_temp\joined
    
    @echo.
    @echo on
    for %%f in (*.m4v) do "%ffmpeg%" -y ^
      -hide_banner ^
      -i "%%~dpnxf"  -i "%%~dpnf.m4a" ^
      -c:v copy -c:a copy ^
      -map 0:0 -map 1:0 -shortest ^
      "%outfolder%\%%~nf-remux.mp4"
    @echo off
    if errorlevel 1 pause
    @echo.
    Change to ffmpeg path to the actual path on your computer.
    Change outfolder to wherever you want.
    Change the file extensions as needed.

    Delete the -y if you want to get a warning before a file is overwritten.
    I assumed output is to a temp folder and you don't care about that.
    Last edited by strawberryshortcake; 28th Apr 2018 at 22:59.
    Quote Quote  
  4. Member
    Join Date
    Apr 2018
    Location
    Croatia
    Search Comp PM
    If you correctly installed dll into correct plugin folder, you just use FFmpegSource2("name of input video") as input clip.

    And rest is filtering as usual. You do no need that file you posted, it is just helper.

    I open avs files inside VirtualDub2 and it works fine.
    Quote Quote  
  5. Member
    Join Date
    May 2016
    Location
    United States
    Search Comp PM
    Originally Posted by richardpl View Post
    If you correctly installed dll into correct plugin folder, you just use FFmpegSource2("name of input video") as input clip.

    And rest is filtering as usual. You do no need that file you posted, it is just helper.

    I open avs files inside VirtualDub2 and it works fine.

    EDIT: Is there way to use AVSPMod, so that I type:
    FFmpegSource2("name of folder containing all videos VOB") ---> create a whole bunch of .avs file

    Second Project (or tab) in AVSPMod
    FFmpegSource2("name of folder containing all videos .mp4") ---> create a whole bunch of .avs file






    I don't know if I did it right, but I have this now... (this is just for one episode). I don't know what the "code" is for the path to an entire folder or 200 total episode files or so.

    Click image for larger version

Name:	Avisynth Alternative FFMS2d.png
Views:	526
Size:	576.0 KB
ID:	45442


    The problem with this is it's just one single file. I want to create one single .avs template and apply it all 200

    Seinfled 172 episodes
    Will & Grace 182 episodes
    Everybody Loves Raymond 209 episodes
    Frasier 264 episodes
    Friends 277 episodes


    Hey Arnold Ep1 (S1D1).VOB.avs
    Hey Arnold Ep2 (S1D1).VOB.avs
    Hey Arnold Ep3 (S1D1).VOB.avs
    Hey Arnold Ep4 (S1D1).VOB.avs
    Hey Arnold Ep5 (S1D1).VOB.avs

    And what if I have a boatload of .mp4 episodes.

    I basically need to know how, or if someone could just write the "batch code" out, or if there's a drag, drop, click program that does it automatically.
    Image Attached Thumbnails Click image for larger version

Name:	Avisynth Alternative FFMS2c.png
Views:	348
Size:	681.3 KB
ID:	45441  

    Last edited by strawberryshortcake; 28th Apr 2018 at 07:37.
    Quote Quote  



Similar Threads

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