Hi,
I've got 2 avi files with the same resolution and both of them have 2 Ch VBR MP3 audio but the first file reports that it has 112kb/s bitrate and the other reports that it has 111kb/s bitrate. They were originally one file and now I need to put them back together so I can turn them into a dvd. I tried loading them up in VirtualDubMod and it gives me the VBR error where it tells me to rewrite the header or something. I click no on this message as proposed by the guide I'm following.
But then I can't append the other segment as it has a different average bitrate. So basically I don't know how to join them and make dvd compliant audio.Code:https://www.videohelp.com/forum/viewtopic.php?t=222898
thx in advance.
-Fr33m4n
+ Reply to Thread
Results 1 to 10 of 10
-
-
or just encode both to two mpgs and join when you author to a dvd with for example tmpgenc dvd author.
-
Here's a sample script. Ignore the PAL to NTSC part unless you need that. Otherwise, write your own function that converts the framerate and size to your own liking.
Notice two commented lines (Audiodub and return). Uncomment those so you can load it into Virtual Dub and save the audio. Then comment them before sending to your encoder. Hope this help.Code:# bitrate: 30 mins 9406 CBR/audio 384, 60 mins 9406 CBR/audio 384 v1=DirectShowSource("c:\video\work\myvideo1.avi", 25)# 576x320/25 FPS v2=DirectShowSource("c:\video\work\myvideo2.avi", 25)# 576x320/25 FPS a1=WAVSource("c:\video\work\myvideo1.wav") a2=WAVSource("c:\video\work\myvideo2.wav") v=v1+v2 a=a1+a2 #v=AudioDub(v,a) #return v return vPALtoNTSC720x480i(v) # Converts PAL widescreen to NTSC 720x480i function vPALtoNTSC720x480i(clip v) { #v=v.addborders(0,60,0,60)# (non-anamorphic) #v=v.addborders(0,4,0,4)# (anamorphic) #return v #input TFF or BFF v=assumeTFF(v) #v=assumeBFF(v) v=converttoyuy2(v)# corrects interlacing artifacts v=bob(v) # resize and reinterlace v=v.BilinearResize(720,480)# Size for DVD resoution #v=v.ChangeFPS(59.94)# crisp but slightly jerky v=v.ConvertFPS(59.94)# smoother but slightly blurry #v=v.SeparateFields.SelectEvery(4,0,3)# Undo bob (BFF) v=v.SeparateFields.SelectEvery(4,1,2)# Undo bob (TFF) v=weave(v) return v }
Darryl -
thx for the advice. I assume this is an avisynth script? I have never seen anything that advanced before so I'm just gonna assume it is correct. My source is PAL which is what I need so no framerateconversion is needed. Since that is the case is this the part that I need?
And also since my source video is 608x272 what would I put in the area that is now 576x320? Furthermore I don't get the purpose of the first line of the code. It seems to have something to do with the audio but since it is commented out I assume it is not important or that it does not have an impact.Code:# bitrate: 30 mins 9406 CBR/audio 384, 60 mins 9406 CBR/audio 384 v1=DirectShowSource("c:\video\work\myvideo1.avi", 25)# 576x320/25 FPS v2=DirectShowSource("c:\video\work\myvideo2.avi", 25)# 576x320/25 FPS a1=WAVSource("c:\video\work\myvideo1.wav") a2=WAVSource("c:\video\work\myvideo2.wav") v=v1+v2 a=a1+a2 v=AudioDub(v,a) return v -
Actually you script should be:
Hopefuly I don't made some errors. You must test the script opening it in VDubMod. If there are some scripting errors VDM would report them.Code:v1=AviSource("c:\video\work\myvideo1.avi",false) v2=AviSource("c:\video\work\myvideo2.avi",false) v=v1+v2 v=LanczosResize(v,704,448,0,0,608,272) v=AddBorders(v,8,64,8,64) a1=WAVSource("c:\video\work\myvideo1.wav") a2=WAVSource("c:\video\work\myvideo2.wav") a=a1+a2 AudioDub(v,a)
And the resizing is for anamorphic video - you must set the encoder to encode 16:9. -
Your end result is a DVD so I suggest you go with Baldricks suggestion-I second it. This will help avoid possible sync issues with joined avi also.
-
Yeah, that kinda sounds simpler only think is I author in DVD-Lab pro and I'm not sure how to join them with that app or if it even can. What I would do is extract the wav from each file and then encode the video with CCE SP and the audio with AC3Machine but then I would have two mpv files and two ac3 files, so how do I go about joining those?
-
Try this
http://www.mediachance.com/dvdlab/Help/index.htm
I'm no DLP expert. I have read in this forum before about this topic; not exactly sure where though. Try doing a search.
I do recall that DLP sometimes gives a slight pause between clips. If you were using TDA (trialware) then i can help no problem-in fact most people here can because its a very straightforward authoring app and well worth keeping in your 'toolkit'.
If you cannot find then try reposting with subject header something like "joining files in DVD Lab Pro"; that may bring out the DLP experts and there are a few here.
Similar Threads
-
Help:VDUB:CANNOT APPEND SEGMENT segment has a different number of streams
By lil_Dee in forum EditingReplies: 9Last Post: 23rd Jun 2009, 09:16 -
Cannot append, files use different compression
By PirateBill in forum Newbie / General discussionsReplies: 4Last Post: 22nd Apr 2009, 22:04 -
virtualdub append question
By thecrock in forum Newbie / General discussionsReplies: 2Last Post: 6th Dec 2008, 11:30 -
Deshaker, where to append 30 frames?
By RickA in forum RestorationReplies: 5Last Post: 28th Jan 2008, 15:13 -
"Cannot append segment...", "Mismatch detected..."
By Ygramul in forum Newbie / General discussionsReplies: 2Last Post: 14th Jun 2007, 12:32



Quote