Hey!
I downloaded a movie and an srt file (subtitles) and I want to burn them together into a DVD.
I've just discovered Avisynth and I wrote an .avs file:
AviSource("D:\vegas\whiv.avi")
ConvertToYV12()
AddBorders(0,0,0,128,$000000)
TextSub("D:\vegas\whiv.srt")
1. I don't know how to write this code in Avisynth but I want the audio
to come from another file: "D:\vegas\whiv.wav" instead of the original
audio on the .avi file. How can I do this?
2. I want to extend the subs size, font, position... are there any codes that I
can write in the .avs file so I can change any of those values?
3. I wonder if instead of export the movie file as DivX .avi file from VirtualDub and then
transcode the .avi file to DVD format through NeroVision I can transcode an .avs file
through NeroVision? (skip the VirtualDub step)
Sarlula.
+ Reply to Thread
Results 1 to 13 of 13
-
-
I would NOT recommend using NeroVision for encoding to DVD. Nero is less than an optimal choice here.
If you can write AviSynth scripts, you can feed those into the excellent and free HCEnc encoder and it can encode to DVD compatible format (video ONLY though) for you. Then you just need something to use to author the DVD. Then you could use your WAV file as audio. I'm unsure if you want your subs to be burned in or as selectable subs. Most DVD authoring programs won't accept SRT format subs, so you'll probably have to convert to some other format. If you want to have burned in subs that are always on, you can use a setting in ffdshow to turn them on. I did this some weeks ago, so it's definitely possible. Then I was able to encode my video with hard coded subs, which was what I wanted. It required no special lines in my script.
By the way, while this may not be true for you, on my PC I must without fail first open my AviSynth script with Media Player Classic and be sure it starts OK before trying to encode it. If I try to just feed the script into HCEnc without that step, almost always I get told that my source file can't be found. If Media Player Classic can open the script successfully, then I can feed it to HCEnc and it will begin to encode the file. -
video = AVISource("video.avi", false) #false disables audio from video file
audio = WAVSource("audio.wav")
AudioDub(video, audio) -
You don't need the ConvertToYV12 line as the AVI is almost certainly YV12 already. To confirm, add Info() to the script (without the Convert line) and open it in VDub(Mod).
Your AddBorders line almost surely gives you bad aspect ratio. Get the crop/resize/addborders line from FitCD. What's the original AVI resolution? Is it really 720x448 for a PAL DVD? You don't need to have $000000 specified as black's the default color anyway. Why not split the eventual AddBorders command between the top and bottom and make the subtitles selectable, like normal people. Why ruin the thing by hard-coding the subs into the video?
Add the audio during the authoring stage.
You can't specify anything with SRT subtitles. If you convert them to SSA you can specify about anything; size, font, color, position, etc. But like I said, much better would be to make them selectable.
You don't need VDub and you sure as heck don't need NeroVision. If the script is good (jman98 explained one way to test), open it directly in HCEnc or another MPEG-2 encoder. -
jman98,
1. You're saying that HCEnc can only encode video right? so, after using HCEnc I got the VIDEO_TS folder but there is no audio. How can I add the audio and burn them together?
2. You're right - I want to burn the subs in (NOT selectable). Is TexSub script in the .avs file is right? and do ffdshow and TextSub working together so if I change the properties in ffdshow TextSub will detect it? -
Originally Posted by manono
Why should I just use VirtualDub and then author?
Why jman98 said to use HCEnc? -
Originally Posted by Sarlula
Not to discourage you from learning, but you could use FAVC, which can use HCenc as the backend encoder
It is really easy to convert avi=>dvd and even authors with subtitles & makes a simple menu for you. It's just a few clicks and simplifies the process; and best of all free. Another option would be DVDFlick -
Here is one guide:
https://forum.videohelp.com/topic334173.html#1734488 -
kman98,
I must ask:
What is the best author app to use after working with this guide?
There are the audio and video seperated. I want it to work in a DVD cd. -
Originally Posted by SarlulaDonadagohvi (Cherokee for "Until we meet again")
Similar Threads
-
Few questions regarding LCD tv... that will lead to more questions :)
By ohlookyhere in forum DVB / IPTVReplies: 16Last Post: 15th Aug 2010, 15:50 -
Using avisynth
By bsuska in forum Video ConversionReplies: 8Last Post: 16th Jul 2009, 08:32 -
Powersupply questions and fan questions
By yoda313 in forum ComputerReplies: 39Last Post: 8th Sep 2008, 18:08 -
Avisynth, FFMPegSource, DGAVCDecode and some other basic questions
By Maikeru-sama in forum Video ConversionReplies: 7Last Post: 11th Jun 2008, 19:13 -
Questions about CCE, H264 and AviSynth
By Maikeru-sama in forum Video ConversionReplies: 18Last Post: 21st Dec 2007, 20:38