Really thx dude...you made my day!Originally Posted by manono![]()
+ Reply to Thread
Results 511 to 540 of 675
-
I followed the guide on page 1, and thanks a lot for the guidence. I made a couple adjustments and I'm not sure if they were right. The original was PAL and I need to convert to NTSC. For the first script I used a frame rate of 29.97 and tested in Vdub. The film length dropped considerably. When I used 25 fps the length was OK. I figured that I could use DG pulldown at the end to change to 29.97.
Also, I was confused by the original NFO - both 1.70 and 2.35 in the description for aspect ratio. I based the script on what Gspot (1.70.1) told me and resized to 720 x 480.
I used the settings in CCE, but chose 25 fps and 16:9 aspect.
Here's my script:
AVISource("Movie.avi",false)
AVISource("Movie.avi")
ResampleAudio(48000)
LanczosResize(720,480)
AssumeFPS(25, True)
ConvertToYUY2()
Here's the NFO:
IDEO
Codec: Xvid 1.0.2
Resolution: 544x320
Aspect Ratio: 1.70:1 Anamorphic widescreen (2.35:1)
Bitrate: 755 kbps
Frame Quality: 0.174 bits/pixel
FPS: 25.000 PAL
Have I done this correctly? I'm running the mpeg, but will stop it if wrong - > 4 hours to encode. -
thanks for the guide.
i have both CCE and TMPGEnc Plus (i use CCE with DVD-RB) and i always used TMPGEnc, because its easier to use. but i found this guide, and i now use CCE, just because its faster.
anyway, i have a question about CCE 2.7+ and YV12. everywhere i've read says that CCE only accepts YUY2, but this guide says that version 2.7 and newer will accept YV12... is this true? don't want to offend the author of the guide, but i just want confirmation. -
Hi-
I guess you're referring to this line in his guide:
NOTE: CCE versions prior to version 2.70 are compatible with either RGB or YUY2. Versions higher than 2.70 support YV12.
ConvertToYUY2(Interlaced=True)
Not because CCE won't accept it otherwise, but because it'll mess up the conversion. It certainly doesn't hurt to add ConvertToYUY2() as the last line in the script for progressive sources, and if you check the scripts that DVD-RB produces, you'll find it in them.
So unlike, say, HCEnc, which is YV12 through and through, CCE is at heart still a YUY2 encoder, even though it accepts (and converts) and then outputs YV12. -
ok ive spent all weekend
trying to convert .avi - dvd using this guide.problem is the audio is way out of sync after i author no matter what method or type audio i use, save wav,demux ac3,wave-ac3 in besweet, or re-encoded mpg audio.i only just realized my encoded video ends up 1:47:24 a full 5 min. longer than the source 1:42:58.i assume audio is not my problem but rather video encoder settings.
my source:
[img]https://forum.videohelp.com/images/guides/p1571569/ http://i67.photobucket.com/albums/h287/vanboozin/b9ce9c0c.jpg
(sorry i don't know how to directly insert pictures here)
last script i used:
clip=AVISource("Clip.avi", False)
aud=WAVSource("audio.wav")
AudioDub(clip,aud)
ResampleAudio(48000)
LanczosResize(720,360)
AddBorders(0,60,0,60)
AssumeFPS(23.976, True)
i am using cinema craft SP2,any HELPor suggestions would be greatly appreciate. i am familiar with avisynth scrips,virtual dub, xvid codec,bit.calculators etc.i encode high quality xvids from dvd all the time but this is really driving me nuts![/img]
-
Hi-
A 25fps AVI but:
AssumeFPS(23.976, True)
What did you think would happen? You lengthened the video but not the audio. At least you said nothing about using the 25->23.976fps preset in BeSweet. Either lengthen the audio to NTSC length, or leave the framerate alone and use DGPulldown afterwards for 25->29.97. -
question about aspect ratios... if i have an aspect ratio thats close to one of the ones listed in the guide, could i just make the borders smaller/bigger to compensate?
like if an AVI source has an aspect ratio of 2.37, could i just add 1 to the top and bottom border (so its 61/61, instead of 60/60 for the 2.35 resize)? -
Hi-
I'd get my script from FitCD. However, your method sounds reasonable, but you'll also have to compensate by subtracting 2 from the resize, so it comes out as 720x480 at the end:
LanczosResize(720,358)
AddBorders(0,61,0,61)
By the way, for a 608x256 AVI source and 16:9 NTSC encoding, FitCD gives me this:
LanczosResize(720,368)
AddBorders(0,56,0,56) -
ok, i'm kind of new to FitCD here.
first of all, i've always got this confused before, but does the term "anamorphic" mean that its meant for a 16:9 display? therefore, if a source AVI is widescreen, whether the aspect ratio is 2.35, 1.85, 1.78, i should check "Anamorphic" in FitCD when im making my Avisynth script?
this is what i did... i opened the source AVI (608x256) with FitCD - for the source, its set to 1:1 monitor, and for the output, its set to 720 (NTSC DVD), i checked Anamorphic, changed it to Lanczos, and it gave me this:
clip=AVISource("source.avi")
LanczosResize(720,368,0,0,608,256)
AddBorders(0,56,0,56)
#Trim(0,149691).FadeOut(150)
wouldnt this give me an aspect ratio of about 2.32, when the source is 2.375? setting it to 358 with 61/61 borders would give me 2.378, which is closer, isnt it? is there anything else i should do, and is this what you should do for all sources? (assuming theyre all NTSC widescreen)
and btw, whats this stuff mean: #Trim(0,149691).FadeOut(150)? -
Hi-
...therefore, if a source AVI is widescreen, whether the aspect ratio is 2.35, 1.85, 1.78, i should check "Anamorphic" in FitCD when im making my Avisynth script?
Not necessarily. Widescreen movies can be encoded for 4:3. The 2 scripts I had last time were both for 16:9 encoding, and the one I got from FitCD was with the "Anamorphic" box checked. If you want to encode for 4:3 using a FitCD generated script, just uncheck the "Anamorphic" box.
this is what i did... i opened the source AVI (608x256) with FitCD - for the source, its set to 1:1 monitor, and for the output, its set to 720 (NTSC DVD), i checked Anamorphic, changed it to Lanczos, and it gave me this:
clip=AVISource("source.avi")
LanczosResize(720,368,0,0,608,256)
AddBorders(0,56,0,56)
#Trim(0,149691).FadeOut(150)
It'll give you the same AR as the source. I can't figure how you got a ratio of 2.32:1. Don't bother explaining it to me, as that stuff gives me a headache. That's why FitCD is good (one reason, anyway), because it saves people from having to learn that junk. If you want something else to ponder, study the script you get with the ITU resizing box checked. Again, I don't want to hear about it. Maybe someone else will jump in the quicksand and explain it to you. -
yes, i know there is 4:3 widescreen, but isnt that called letterboxed?
i know you told me not to tell you how i got 2.32, but ill tell you anyway =P. if you don't feel the need to comment, maybe someone else can explain it to me.
i know that a 16:9 display will actually display 16:9 movies as 852xXXX, and i know that theres really only 2 DAR (16:9 and 4:3). the script FitCD gave me would display as 852x368 (yes i know, its actually showing 852x480) but the actual video part (not including the borders) is 852x368, which is 2.32, is it not? -
Any resolutions above 1.77 are anamorphic. That means that they are encodeed into a 1.77 aspect resolution, but are actually wider than the 1.77 aspect ratio (like 1.85, or 2.35). This is done with letterboxing and resizing the source material so that it is stretched out properly on playback. A bit of trickery to conserve bitrate and to simply the technical requirements on a DVD. If your output video has an aspect ratio higher than 1.77 then select anamorphic.
Your video is anamorphic.Impossible to see the future is. The Dark Side clouds everything... -
First off i would like to say thank you DJRumpy for putting together this guide. Now onto the question.
I have read your guide and i understand everything except the aspect ratio part.
My AVI stats are
Pal 25fps
Length: 1h57m06s
Resolution:672x378
Storage Aspect Ratio:1.826(42:23)
Display Aspect Ratio:1.826(42:23)
I'm converting the AVI to NTSC but i just don't understand how do i pick the right aspect ratio to put into the avisynth script or do i just letterbox it and what should be the top and bottom # of pixel's? I know i can just pick either of the options by trial and error but i would rather know how to properly do it. Thanks in advance. -
Hi-
Get your scripts from FitCD. If encoding for 16:9, I get:
LanczosResize(704,480)
AddBorders(8,0,8,0)
If you use ITU resizing, I get:
LanczosResize(720,480)
If you don't know how to use FitCD, here's FulciLives' guide:
https://forum.videohelp.com/viewtopic.php?p=1487285#1487285 -
For a 16:9 video, which yours is, you would just resize to 720x480
Just take a look at this guide for help on aspect ratios if you want to see how the math works:
https://forum.videohelp.com/viewtopic.php?t=174200&highlight=Impossible to see the future is. The Dark Side clouds everything... -
Hi
I have been using this method for awhile and think its great but I have encountered a problem. Thanks for an easy to understand guide to by the way!.
My problem is this:
I recently downloaded Pirates of the Carribean 2: Dead Mans Chest (900mb). (see specs below)
AUDiO: MP3 48000Hz 112 kb/s CBR (2ch Stereo)
ViDEO: 752 kbps XviD 25000 FPS
Q. FRAME 0.210 bits*pixel
RESOLUTiON 588 x 238 (2.410 (53:22))
SOURCE PAL DVD
The file loaded without any errors in Virtual Dub, so I created my AVS script which is listed below:
AVISource("Dead Man Chest.avi")
ResampleAudio(48000)
LanczosResize(720,432)
AddBorders(0,60,0,60)
The bitrate calculator gave me values of 3990 and 9570 based on a duration of 2:24:32 and I encoded at 224 kbps for audio using CCE .
I then used DVD Lab Pro 2.22 to bring them together. When I create the DVD files the audio is out of sync. In DVD Lab Pro, the audio and video lengths are the same.
Can anyone advise what Im doing wrong? Ive tried converting the audio into various formats and from NTSC but nothing seems to work.
Cheers
Deathwalker
You are in breach of the forum rules and are being issued with a formal warning. No Warez.
/ Moderator redwudz -
Your audio may be corrupt, or your dvd encoder isn't properly encoding your output as pal. What is the framerate on your output MPEG?
Impossible to see the future is. The Dark Side clouds everything... -
Im still a newbie at this, the framerate is FPS right?
When I look at the mpv file in DVD Lab Pro it tells me the FPS is 25.00. If that isnt the right way to do it, is there another program i should put it into?
Thanks for the help DJRumpy
Cheers
deathwalker -
Yes, framerate is FPS, and your reported framerate is correct. I would guess that your mp3 audio has some corrupt frames in it. Those corrupt frames get dropped when you convert them to another format, and your audio loses sync as a result. I'm assuming your audio is WAY off by the time you get to the end of your video, and that you used the AssumeFPS command in your AVISynth Script?
There are a few options, although they require some work to get the proper results. Fortunately your audio is .MP3 which we can use in AVISynth to tweak it directly.
The first thing you want to do is confirm that your .AVS script's audio is correct at both the beginning and end of your video. Play your .AVS script in media player or whatever player you normally use. If the video is off, then your source is definately corrupt. You can use the
.DelayAudio(seconds) value to slow down or speed up your audio with AVISynth. What you have to do, is either change the length of your audio using an audio editor that supports that (like GoldWave), or you can fix it with AVISynth using the DelayAudio command and the Trim command. The TRIM command allows you to split your video into multiple pieces. The idea is to split your video into smaller pieces, and then sync the individual pieces as needed. The final output is then rejoined all into a single video. An example might look like this:
inputVid=AVISource("c:\somefolder\myavi.avi")
clip1=Trim( inputVid,0,15000).delayaudio(.5)
clip2=Trim( inputvid,15001,30000).delayaudio(.8)
clip3=Trim( inputvid,30001,70000).delayaudio(1.2)
clip1++clip2++clip3
The above example would segment your input into 3 pieces. It would delay the audio by .5 seconds for the first segment, .8 seconds for the second segment, and for 1.2 seconds the third segment. The last line rejoins all of the segments so you have a single file for output. This method will fix your audio using the tools you have installed, but it can be tedious. You have to listen to the audio using something like VirtualDub so that you can see what frames the video is on when the audio starts to wander. When I hace this issue I usually scan in 10,000 to 20000 frame segements and adjust as needed. You can also use negative values with the DelayAudio command. Not the easiest method, but it's freeIf your lucky enough to have a program that can change the length of your audio, you can usually stretch your audio so that it's length matches your video exactly. Some people won't want to work this hard to get things right. Once you've done it a few times, it becomes very easy and clear though, I promise
Impossible to see the future is. The Dark Side clouds everything... -
Ive put the AVs script into Windows Media Player and the audio and video work perfectly, so I am guessing the problem may lie with the encoder.
I'll try another encoder program and see if that works. I'll let you know how i go in the next day or so.
Cheers
Deathwalker -
Now that CCE has pulldown capability, is it possible to convert pal to ntsc using CCE and AVISynth without dgpulldown?
-
Just to let you know i tried a different encoder program and still had the same thing happen, I think the file maybe corrupt.
I have tried other avi's since and no problem.
LoL it was very frustrating but I have got some good tips
Thanks very much for your help DJRumpy
Cheers
Deathwalker -
Hey thanks alot. I accidently posted my message b4 it was done. Hopefully you can give me some support with this too. When I try to drag and drop the "movie.avs" into virtualdubMod it says that it cannot detect file type. Here's what I have in there:
clip=AVISource("C:\happyness\movie.avi", False)
aud=WAVSource("C:\happyness\audio.wav")
AudioDub(clip,aud)
ResampleAudio(48000)
LanczosResize(720,360)
AddBorders(0,60,0,60)
ConvertToRGB24()
I'm using TMPGEnc as the encoder. The aspect ratio I got was 2.4 so I just used the 2.35. I got an error when I uploaded the avi saying:
virtualdub has detected an improper VBR audio encoding in the source avi file(audio stream 1) blah blah.... Do you still want to rewrite the header?
Similar Threads
-
about mpeg-2 encoders
By sgbd in forum Video ConversionReplies: 6Last Post: 11th Sep 2010, 07:02 -
Hardware MPEG 4 Encoders: Worthwhile?
By darkarn in forum Capturing and VCRReplies: 6Last Post: 29th Jul 2010, 19:16 -
What FREE software for .avi DivX Xvid etc to DVD do you use? and encoders?
By mcv2008 in forum Newbie / General discussionsReplies: 10Last Post: 28th Jun 2008, 10:08 -
What are the current encoders comparable to tmpgenc in quality?
By inuyasha in forum Video ConversionReplies: 24Last Post: 26th Jun 2007, 05:43