Hello,
I'm using this settings below to filter my video. How to make the audio match the video after filtered....?!
Regards,Code:AVISource("video.avi") TDecimate() AssumeFPS(25) Deblock() HQDeRing() McTemporalDenoise(settings="MEDIUM") nnedi3_rpow2(2, cshift="LanczosResize", fwidth=1024, fheight=768) aWarpSharp(depth=12)
+ Reply to Thread
Results 1 to 14 of 14
-
-
There's ways to do it in AviSynth but the question is 'why'?
1. Why make it the wrong framerate?
2. If absolutely necessary (and I do PAL to NTSC quite a bit), extract the audio and handle it separately. Any encoder/muxer I've ever used allows for the import of an external audio file.
Anyway:
AssumeFPS(25, 1, true) # Convert frame rate to PAL, also adjust audio.
SSRC(48000) # Restore audio sample rate to a standard rate.
http://avisynth.nl/index.php/FPS
I don't know if it works only with WAV audio or other kinds as well, and if you'll have to open it separately if it's, for example, AC3 audio and use AudioDub to put the video and audio back together again. For me it's just easier to handle the video and audio separately, especially so since I usually filter the audio in Audacity. -
Thanks manono,
I have a dvd-set for anime series which i want to covert it from 29.970 fps to 25.0 fps to add Arabic audio to it. Now i want to make the Japanese audio match the new video after it's filtered to make the video Dual Audio (Japanese/Arabic). I don't know how to handle the audio separately or using Audacity & AudioDub So that i want to do it in one step using avisynth...
Ok, When i used your suggestion it says "SSRC: could not resample between two sample rates."
Note: I used FormatFactory to covert VOB to AVI So i can work with it easily
Original video
Code:General Complete name : C:\Users\Trainer\Desktop\Combattler V DVD\Combattler V DVD-5\VIDEO_TS\VTS_01_0.VOB Format : MPEG-PS File size : 562 KiB Duration : 33ms Overall bit rate : 140 Mbps Video ID : 224 (0xE0) Format : MPEG Video Format version : Version 2 Format profile : Main@Main Format settings, BVOP : No Format settings, Matrix : Custom Duration : 33ms Maximum bit rate : 8 000 Kbps Width : 720 pixels Height : 480 pixels Display aspect ratio : 4:3 Frame rate : 29.970 fps Standard : NTSC Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Scan order : Top Field First Compression mode : Lossy Text ID : 189 (0xBD)-32 (0x20) Format : RLE Format/Info : Run-length encoding Muxing mode : DVD-Video Menu
After covert to avi
Code:General Complete name : C:\Users\Trainer\Desktop\Combattler V DVD-5.avi Format : AVI Format/Info : Audio Video Interleave Format profile : OpenDML File size : 2.99 GiB Duration : 2h 25mn Overall bit rate : 2 951 Kbps Writing application : MEncoder SVN-r33883(20110719-gcc4.5.2) Writing library : MPlayer Video ID : 0 Format : MPEG-4 Visual Format profile : Advanced Simple@L5 Format settings, BVOP : 2 Format settings, QPel : No Format settings, GMC : No warppoints Format settings, Matrix : Default (H.263) Codec ID : XVID Codec ID/Hint : XviD Duration : 2h 25mn Bit rate : 2 811 Kbps Width : 640 pixels Height : 480 pixels Display aspect ratio : 4:3 Frame rate : 29.970 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 0.305 Stream size : 2.85 GiB (95%) Writing library : XviD 1.2.1 (UTC 2008-12-04) Audio ID : 1 Format : MPEG Audio Format version : Version 1 Format profile : Layer 3 Mode : Joint stereo Mode extension : MS Stereo Codec ID : 55 Codec ID/Hint : MP3 Duration : 2h 25mn Bit rate mode : Constant Bit rate : 128 Kbps Channel count : 2 channels Sampling rate : 44.1 KHz Compression mode : Lossy Delay relative to video : 33ms Stream size : 133 MiB (4%) Alignment : Aligned on interleaves Interleave, duration : 26 ms (0.78 video frame) Interleave, preload duration : 522 ms
Last edited by SB4; 8th Dec 2013 at 07:04.
-
If you care anything about quality that's a very very bad idea. XviD and MP3 audio? Either make a D2V project file using DGIndex and then DGDecode together with MPEG2Source, or just let AVSToDVD make the NTSC to PAL conversion for you. You'll wind up with the DVD converted to PAL and then you can use that as a basis for adding in your Arabic audio, which I also think is a bad idea. Dubbed audio is amateurish. Make Arabic subtitles and be done with it. Unless it's to be viewed by very young children maybe. But real anime fans wouldn't be caught dead listening to dubbed audio, English, Arabic, or anything else.
I have download Audacity In Effects menu there is Change Speed and Change Tempo. Which one i have to use and what value i suppose to put in there...?! -
-
It's all thoroughly explained in the three documents included in the DGMPGDec package.
You make the D2V using 'Honor Pulldown Flags'. Either load the DGDecode.dll into your script or stick it into your AviSynth plugins folder. That then allows you to use MPEG2Source on your video:
MPEG2Source("Movie.d2v")
After that you can do the rest of the filtering. It won't include your audio. -
I can't just use MPEG2Source becouse of the interlace problem. Is this filter have deinterlace functionality or i have to use another filter for deinterlace...?!
-
Don't be silly. Of course you can. It's just like AVISource but for MPEG/DVD sources. Your earlier script might go like this:
MPEG2Source("video.d2v")
TDecimate()
AssumeFPS(25)
Deblock()
HQDeRing()
McTemporalDenoise(settings="MEDIUM")
nnedi3_rpow2(2, cshift="LanczosResize", fwidth=1024, fheight=768)
aWarpSharp(depth=12)
Or maybe it needs a full IVTC, I don't know. You could always post a sample from your DVD so we can have a look. Did you read the included docs? They're very good. -
Hello @manono,
I have a frame rate related query, not sure if this is the right thread.
Here is my query - why do different media players show different frame rates for the same video? Which is good for playing all media (audio and video/DVD/BluRay) files among PotPlayer, VLC, MPC-HC, WMP or KMPlayer?
Please suggest free software.
Thanks.
Similar Threads
-
Changing audio frame rate?
By architectofpain in forum AudioReplies: 22Last Post: 5th Apr 2013, 10:27 -
What should slide show bit rate and frame rate be in video editor?
By johnharlin in forum Video ConversionReplies: 0Last Post: 11th Sep 2012, 21:00 -
MediaInfo: Frame Rate vs Original Frame Rate
By adalect in forum Video ConversionReplies: 1Last Post: 19th Aug 2012, 17:44 -
Audio sync issue, Virtualdub, old video clips changing frame rate
By litmus in forum Video ConversionReplies: 1Last Post: 19th Sep 2011, 11:35 -
Change frame rate. Audio don't match with Video...?!
By SB4 in forum Video ConversionReplies: 2Last Post: 25th May 2011, 14:55