![]() |
Link #224 |
Junior Member
Join Date: Sep 2007
|
hi there,
how can I crop a clip partially? I mean crop from frame 0 to frame y, and then again crop the rest of the clip from frame y+1 to the end. The reason is the OP is shifted to the right, so I would like to use other settings. I tried: ApplyRange(0,2519,"Crop",14,8,-8,-6) ApplyRange(2520,34830,"Crop",8,8,-2,-6) LanczosResize(640,480) but it says something like: filtered and unfiltered video frame size must match. seems logically^^, but how can I do it? thanks,Kageri |
![]() |
![]() |
![]() |
Link #225 |
Aegisub dev
Join Date: Sep 2004
Location: Stockholm, Sweden
Age: 39
|
Trim out the two ranges to separate clips, crop the two clips appropriately, resize them to the same dimensions, then splice them back together.
It's probably also faster than using ApplyRange.
__________________
|
![]() |
![]() |
![]() |
Link #227 |
Senior Member
Join Date: Mar 2008
|
How do I open a 1280x720 h264 mp4, supposedly 60fps? Using ffmpegsource (2), VirtualDub gives a memory out of bounds exception and MPC crashes without opening the window. (the original mp4 lags/drops frames for me in MPC, and I have an Athlon X2 4800+, 2gb of ram, and a Radeon HD4850 too...)
edit: well it fixed it for me, my computer crashed from memory leak or something and I got it on reboot...
__________________
Last edited by neothe0ne; 2008-10-29 at 22:03. |
![]() |
![]() |
![]() |
Link #229 |
Junior Member
Join Date: Oct 2008
Age: 33
|
Avisynth problem!
Hello, I am trying to encode this part of an anime, and I am having troubles getting the audio into the video. For .avi videos, I would rip the .wav file out using virtualdub. But since this is .mp4, virtualdub doesn't open it. Can I put the audio process into the avisynth file? Anyway, I've been trying and can't seem to get it. Here's what I have so far:
Code:
LoadPlugin("C:\Documents and Settings\xxx\Desktop\VIDEO\things\VSFilter.dll") DirectShowSource("C:\Documents and Settings\xxx\Desktop\VIDEO\ToA 11 attempt\[Raws-4U] Tales of the Abyss - 11 HD (1280x720 x264).mp4", fps=23.977, audio=true) Trim(298,417) #deinterlace #crop LanczosResize(704,400) # Lanczos (Sharp) #denoise TextSub("C:\Documents and Settings\xxx\Desktop\VIDEO\ToA 11 attempt\ToA11.ass") Last edited by krazywrath; 2009-01-01 at 14:09. Reason: lacking info |
![]() |
![]() |
![]() |
Link #233 |
Junior Member
Join Date: Oct 2008
Age: 33
|
alright, that's to make a .mkv video file, right?
However, I wish to hardsub the video/subs into a .avi file (or .mp4 if .avi is not possible) using meGUI. The code I put in earlier was attempting to do that using avisynth. However, I get NO AUDIO after encoding the video clip using the avisynth script below: (same as before) Code:
LoadPlugin("C:\Documents and Settings\xxx\Desktop\VIDEO\things\VSFilter.dll") DirectShowSource("C:\Documents and Settings\xxx\Desktop\VIDEO\ToA 11 attempt\[Raws-4U] Tales of the Abyss - 11 HD (1280x720 x264).mp4", fps=23.977, audio=true) Trim(298,417) #deinterlace #crop LanczosResize(704,400) # Lanczos (Sharp) #denoise TextSub("C:\Documents and Settings\xxx\Desktop\VIDEO\ToA 11 attempt\ToA11.ass") |
![]() |
![]() |
![]() |
Link #234 | |
Member
![]() Join Date: Jan 2008
|
Quote:
1) Load script into video portion. 2) Choose video container/codec/settings 3) Load same script into audio portion (with audio=true. You might also have to remove the textsub part, but I'm not sure) 4) Choose audio container/codec/settings 5) Click AutoEncode 6) Choose necessary bitrate/file size 7) Queue -> Start 8) Muxed file with both the audio & video |
|
![]() |
![]() |
![]() |
Link #239 | ||
Member
Join Date: Aug 2008
|
Where did the decimal places go in FFmpegSource2?
Quote:
Quote:
Last edited by guest0815; 2009-01-18 at 20:00. |
||
![]() |
![]() |
![]() |
Link #240 |
Junior Member
Join Date: Oct 2008
Age: 33
|
heyy, i've got another question for you smart lot again xD
I have this .mp4 file which i downloaded off from youtube, but i want to put it into my powerpoint presentation, which i believe only takes .avi files (stupid microsoft..) In my AVS file, i have: Code:
DirectShowSource("C:\Documents and Settings\admin\Desktop\mar_adentro.mp4", audio=true) Trim(1517,1934) I get an error though whenever i try encoding the video into AVI using meGUI, so what could be the problem? |
![]() |
![]() |
![]() |
|
|