Hi guy, could you guy can help me solve this problem, i try to convert intro video into raw video but Avisynth appear this error:
''Avisynth script error:
Convert to YuY2 image width must to be even: use crop
Here my script:
try{SetMemoryMax(16)
V0=DirectShowSource("C:\Users\computername\Downloa ds\FHD.mkv",25.000,audio=false,convertfps=true).Co nvertToYV12()
A0=DirectShowSource("C:\Users\computername\Downloa ds\FHD.mkv",25.000,video=false,convertfps=true).Re sampleAudio(44100)
F0=AudioDub(V0,A0)
F0=LanczosResize(F0,848,480)
V1=DirectShowSource("C:\Users\computername\Downloa ds\Naniwa Shounen Tanteidan.ep10.480p.x264-[D-Addicts].mkv",25.000,audio=false,convertfps=true).ConvertT oYV12().TextSub("C:\Users\computername\Downloads\N aniwa Shounen Tanteidan.ep10.paroissien.com hikirakiratran.ass", 1).TextSub("C:\Users\computername\Desktop\company\ SD.ass",1)
A1=DirectShowSource("C:\Users\computername\Downloa ds\Naniwa Shounen Tanteidan.ep10.480p.x264-[D-Addicts].mkv",25.000,video=false,convertfps=true).Resample Audio(44100)
F1=AudioDub(V1,A1)
F1=LanczosResize(F1,848,480)
F=F0+F1
return F
}catch(err_msg){BlankClip(0,1,1)}
ConvertToYV12()
I don't know what happen with this, pls help me, thank's
+ Reply to Thread
Results 1 to 9 of 9
-
-
Didn't it also show you the line in the script to which it was referring? If not, try opening the script in VDub. Anyway, what is the original resolution of FHD.mkv?
Do both F0 and F1 have the same resolution (is Naniwa Shounen Tanteidan.ep10.480p.x264-[D-Addicts].mkv also 848x480)? -
Last edited by manono; 10th Jul 2013 at 15:37.
-
after i remove this: try{SetMemoryMax(16), Avisynth error say: splice Video frame rate doesn't match
so i change new video same resoution 848 *480*264, it is still this error mesg: Avisynth error say: splice Video frame rate doesn't match
here new video ( FHD848_0-muxed.mkv) info:
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 16s 250ms
Width : 848 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core 133 r2334 a3ac64b
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=300 / keyint_min=29 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No
Audio
ID : 2
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : A_MPEG/L3
Codec ID/Hint : MP3
Duration : 16s 249ms
Bit rate mode : Variable
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Default : Yes
Forced : No
[COLOR="rgb(139, 0, 0)"]This Raw video info:[/COLOR]
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 48mn 59s
Bit rate : 1 009 Kbps
Maximum bit rate : 4 839 Kbps
Width : 848 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.083
Stream size : 353 MiB (88%)
Writing library : x264 core 125 r2200 999b753
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=300 / keyint_min=29 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=21.5 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2012-07-28 05:27:39
Tagged date : UTC 2012-07-28 05:27:42
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 48mn 59s
Bit rate mode : Variable
Bit rate : 128 Kbps
Maximum bit rate : 135 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 44.9 MiB (11%)
Encoded date : UTC 2012-07-28 05:27:42
Tagged date : UTC 2012-07-28 05:27:42
And this new script:
LoadPlugin("C:\Users\Chan Min\Downloads\MeGUI_2341_x86\tools\avs\directshows ource.dll")
V0=DirectShowSource("C:\Users\Chan Min\Downloads\FHD848_0-muxed.mkv",25.000,audio=false,convertfps=true).Con vertToYV12()
A0=DirectShowSource("C:\Users\Chan Min\Downloads\FHD848_0-muxed.mkv",25.000,video=false,convertfps=true).Res ampleAudio(44100)
F0=AudioDub(V0,A0)
F0=LanczosResize(F0,848,480)
V1=DirectShowSource("C:\Users\Chan Min\Downloads\Boys On The Run (2012)\Boys on the Run.ep03.480p.x264-[D-Addicts].mkv", fps=29.970, audio=false, convertfps=true).ConvertToYV12()
A1=DirectShowSource("C:\Users\Chan Min\Downloads\Boys On The Run (2012)\Boys on the Run.ep03.480p.x264-[D-Addicts].mkv",25.000,video=false,convertfps=true).Resample Audio(44100)
F1=AudioDub(V1,A1)
F1=LanczosResize(F1,848,480)
F=F0+F1
return F
ConvertToYV12()
LoadPlugin("C:\Users\Chan Min\Downloads\MeGUI_2341_x86\tools\avisynth_plugin \VSFilter.dll")
TextSub("C:\Users\Chan Min\Downloads\boysontherun_ep03_480p_hienedit.ass" ,1)
TextSub("C:\Users\Chan Min\Desktop\company\SD.ass",1) -
You're trying to join a video with MP3 audio with another with AAC audio, both with differing sample rates? It'll never happen.
You're slowing 2 videos at 29.97fps to 25fps? That makes no sense at all.
Try not including the audio and see if you can join just the two videos. If that works then you can demux the audios and convert them to some kind of common format. -
yeah you right i can do it without audio. Thank's you
if 2 video i want to join same AAC audio or MP3 that i can join it?
how can i change audio format, i try many software but it only change to Mp3 or AC3, not AAC and it sound so bad.
Thank's you -
It worked? Good. Sometimes those error messages can be deceiving or misleading. Once the two videos had the same resolution and framerate they should have joined and the error message pointed to the video framerate as being the problem, where the problem was really the two different audios.
Yes, once the two audios are the same everything should join easily. I'd do it by first extracting and then converting the 2 audios to WAV audio (AoA Audio Extractor Basic can do that). Audacity can join them, and while in there you might do some other work on them, like making sure the audio loudness is similar or improving the audio quality. Then you can add the joined audio to the script using WAVSource. But there are other ways to accomplish the same thing.
I still don't think you want to slow a 29.97fps video to 25fps. The audio is going to sound kind of silly after you do that (assuming you slow everything, and don't remove frames to get to 25fps).
Similar Threads
-
Process exits with error code, Indexing error: Audio decoding error (MeGUI)
By JokerX in forum Video ConversionReplies: 7Last Post: 18th May 2012, 17:18 -
Convert YUY2 to RGB
By jrivord in forum Video Streaming DownloadingReplies: 8Last Post: 19th Aug 2010, 10:21 -
About using AviSynth scripts with MeGUI 0.3.5.0.
By Nagashi in forum DVD RippingReplies: 56Last Post: 15th Jul 2010, 10:15 -
Convert a DVD to an avi,mkv using Avisynth Scripts and VDubMod or MeGUI
By ppeterr in forum DVD RippingReplies: 6Last Post: 25th Apr 2010, 05:04 -
meGUI - AVISynth Error!
By th3obr0 in forum Video ConversionReplies: 2Last Post: 27th Jan 2009, 21:20