Hi all,
So I need a bit of help. I recently purchased a new album and it came with a DVD which has some music videos on it, I figured each music video would be a separate VOB file... although that is not the case.
The music videos are contained in two VOB's (VTS_01_1.VOB and VTS_01_2.VOB). So now I would like to re-encode it to x264 although my Avisynth scripting knowledge is pathetic to say the least. I have done some googling but have not found anything useful.
What I am trying to do is separate the music videos, I want each music video to end up as a separate MKV and preferably be able to specify where each music video beigns / ends with timestamps. Also since the first VOB file ends randomly in the middle of a music video and the 2nd one continues from there I need the script to first join the VOB files.
If it is not possible to specify with timestamps I would imagine it to be possible to specify with frames, although which application could I use to easily navigate through the VOB files (preferably with them somehow appended) and then take a look at which frames each music video begins / ends.
If it makes any difference I will use MeGUI to process the script. I also need to be able to split the audio along with the video and they both need to sync up obviously. I would like to make the video X264 and AAC audio.
If anyone could help me out I would greatly appreciate it!
Regards,
Psy
+ Reply to Thread
Results 1 to 16 of 16
-
-
Hmm, I would rather try and make use of an avisynth script as then I can do all the encoding with meGUI which I rather like.
Not sure how specific you can be with the encoding options in Video Redo?
Although if I have to use it, I will get the 30 day trial and take a look.
Thanks -
-
I-Frames mark the beginning and end of MPEG-2 GOPs. VideoReDo will also allow clips to end on P frames without re-encoding. The clips you make must begin on an I-Frame and end on an I-Frame or P-Frame to completely avoid re-encoding.
I-Frames are the only frames in a GOP with complete picture information. B and P reference frames that precede them for some information.
Audio is not re-encoded unless the cut requires it.Last edited by usually_quiet; 12th Apr 2012 at 15:32. Reason: spelling
-
He's re-encoding both video and audio anyways, so it doesn't matter
So, you might as well do the cuts in avisynth, so not even a few frames are re-encoded twice. (Instead everything is just encoded once)
Specify audio in the script and use Trim() for your cuts
http://avisynth.org/mediawiki/Trim
e.g.
Code:vid=MPEG2Source() aud=NicAC3Source() Audiodub(vid, aud) DelayAudio() Trim()
DelayAudio is the value written in the audio name in ms when demuxed by DGIndex. This will keep it in sync
Trim(a,b) specfies the cut points, e.g. Trim(1000,2000) would return frames 1000-2000
You can preview your scripts in a media player e.g. mpc to make sure they are ok and in sync before encoding
Use search for basic tutorials, this has all been covered before (many times...) -
Awesome, thanks a lot guys!
Am using something like so at the moment:
Code:LoadPlugin("C:\Megui\tools\dgindex\DGDecode.dll") video=DGDecode_mpeg2source("C:\VIDEO_TS\one.d2v") audio=WAVSource("C:\VIDEO_TS\one.wav") Audiodub(video, audio) Lanczos4Resize(720,404) # Lanczos4 (Sharp) Trim(5175,10950)
I am assuming it something built into Avisynth which applies to Mpeg2? As with avi sources you would generally have to specify it to continue from the next avi file etc. -
What? It doesn't do that... unless I'm misunderstanding what you are saying?
If you rip it as 1 big VOB or MPEG, or combine the VOBs in DGIndex before indexing then it will treat it as 1 video.
But if you index a single VOB , the 2nd one isn't necessarily automatically indexed or joined -
Rip it By Chapter with DVDDecrypter. Concert/Music DVDs are rarely super-copy protected.
-
Hmm, thats what I thought. I suspected it was just a new feature in a newer version and mine was out-dated...
Perhaps meGUI auto combined them or something, but I doubt it.
I had 2 .vob's (first was 19min and 16sec) the second was 44 seconds. I indexed it with the file indexer in meGUI (both of them, one at a time obviously) and then made use of the above avisynth script. When I played the .avs back with MPC it was 20 minutes.
When I put it into meGUI it was also 20 minutes.
meGUI did index it with DGindex though something must have happened there then. Otherwise I am not sure how that happened?
As I originally had this script:
Code:LoadPlugin("C:\Megui\tools\dgindex\DGDecode.dll") video=DGDecode_mpeg2source("C:\VIDEO_TS\one.d2v")+DGDecode_mpeg2source("C:\VIDEO_TS\two.d2v") audio=WAVSource("C:\VIDEO_TS\one.wav")+WAVSource("C:\VIDEO_TS\two.wav") Audiodub(video, audio) Lanczos4Resize(720,404) # Lanczos4 (Sharp)
So I removed the 2nd part of the video and audio in the script and all was good. It was as if the it was already merged.
Did not try that, will remember it next time!
Thanks -
Messing with "scripting" is a waste of time for simple stuff like this. You could have "chaptered" your entire DVD collection by now with DVDDecrypter and a few mouse clicks.
-
-
There is also am option in DVDDecrypter called "File Splitting - NONE" that gives you one, giant VOB. VOB2MPEG (also free and easy) does the same thing.
-
Often the tracks of each DVD are a separate titles on the disc. If you've already ripped the whole disc, you can open it with DVD Shrink and use it's re-author mode. After hitting the re-author button there should be a list of titles in the right hand pane. If each is an individual song you can drag each from the right pane to the left pane, then use DVD Shrink's backup function to save a new copy of the DVD to your hard drive. The new version will have each title (and therefore each video) as an individual vob file.
Similar Threads
-
Should i use and avisynth script for Dv ?
By smartel in forum Newbie / General discussionsReplies: 0Last Post: 10th Mar 2012, 08:29 -
Need Help with My AviSynth Script
By Enkidu in forum Newbie / General discussionsReplies: 3Last Post: 21st Jan 2011, 21:37 -
Avisynth Script Help
By jamhat in forum Video ConversionReplies: 2Last Post: 29th Nov 2009, 06:13 -
Avisynth script
By daz2712 in forum Video ConversionReplies: 2Last Post: 19th Aug 2009, 11:08 -
avisynth script
By magenta2007 in forum SVCD2DVD & VOB2MPGReplies: 7Last Post: 25th Sep 2007, 11:29