Log in

View Full Version : Video Demux from HD


brougham77
7th June 2003, 01:20
Ok I'm fairly new to this so bare with me here. I've read a LOT of the guides on doom9 and I'm still somewhat confused to the path I should be taking for what I want to do.

I have a DVD 9 ripped to my HD with DVD Decrypter, (not iso just selected all files, my first mistake). Here is what I want to do with it. Get it onto a DVD 5 with New corrected subtitles that I have done. I only need the movie on the disk.

What I can't seem to do is get a .m2v file that Scenarist will take. It always rejects it.

I'm thinking the best way to go is to get "just" the main movie out of the files and then use DVD2AVI to get it into TMPGEnc so it will create a file that Scenarist can use. The problem is when I've tried doing this I lose all of the chapter info and header info.

If someone could just point me in the right direction it won't take much to get this figured out i don't think.

Thanks

coona
9th June 2003, 14:30
What is the size of the main movie. Is there need to re-encode it?? You can rip m2v, ac3 from vob file with smartripper. Then extract subtitle streams you want and reauthor it in some authoring tool.

If the main movie m2v needs to be re-encoded I suggest you CCE. It is MUCH faster than TMPGEnc :). You have to set right parameters to get best results so you need to know if your source is progressive or interlaced, 16:9 or 4:3 etc. I did a lot of backups and still no one m2v file produced by CCE was rejected by Scenarist :confused:.

Don´t worry to ask for help - it´s the purpose of this forum ;).

And if you don´t have ifos, you don´t have chapters. You will have to set them up manualy in Scenarist.

brougham77
10th June 2003, 01:01
Thanks for the Reply! Streaming in Smartripper was the first step to getting this figured our for sure! Thanks!

Now here's what I can't exactly figure out now. To use the movie in CCE, I have created a dummy AVI file with VFAPI.

I'm trying to follow the RoBa CCE encoding guide. But I'm still not understanding. The movie isn't that much bigger than 4.7gigs (with audio it comes in at around 5.1gigs). How do you set it up so that it outputs the best optimized size to that when I author the DVD it fills the disk?

I'm very confused about the min/max/avg bitrate. I had it set to 0/9800 One pass VBR and it made the m2v file under 2gigs.

I hope I can understand this enough to actually make a DVD that works.

Thanks

coona
10th June 2003, 07:55
Oh, you´re close to victory :). To set up the right bitrate you need to know:

1) what is the size of your audio streams and if it is DD or DTS
2) how many subtitle streams you want to keep

From this point it is very straightforward. Your DVDR has 4 700 000 000B. In your compilation you need some space for muxing audio and video together. In my and Oddysseus experience it takes 3% of total size of your video and audio (you can also follow Trilight´s recommendation and leave 100 MB for muxing DD or 130 MB for DTS). Each subtitle stream takes about 3 MB. So:

4 700 000 000 B * 0,97 - size of audio streams - number of subtitle streams * 3 MB = maximum size of your video.

With this number you have to do one pass in CCE to get (I guess) vaf file. Then you choose multipass mode, click advanced button and pick the right bitrate to fit you max video size. Once it is done, you should change Bias to get smallest q factor. It si little bit complicated so you can look and Trilight´s Uberguide to get more info about seting bias :). I allways do 3 passes.

As you are using VFAPI (I did the same in beginning ;)) you have to set right luminance level in VIDEO button in CCE. You can choose 16-235 or 0-255. More info can be found here (http://forum.doom9.org/showthread.php?s=&threadid=53770) and here (http://forum.doom9.org/showthread.php?s=&threadid=50357). Another way is to use Avisynth. In this case luminance level doesn´t matter.

P.S. I recommend you to use lower max bitrate than 9800. It depends on number and bitrate of audio streams and total sum of your bitrate shouldn´t be higher than 10 000 (I´m not sure for now :)). I usualy set it to 9000 or less.

brougham77
16th June 2003, 19:25
Ok so i'm understanding this more and more as I go along. But I don't understand what's happening now.

I've tried to follow the Roba guide as much as I can, and the file size I ended up with encoded seems to be calculated right. I calculated the Avg bitrate for CCE to be 4984 and the max to 8840. This seemed to work out ok as i got a file size around 4 gigs (leaving room for the audio tracks and subs)

When I open Scenarist and try to import new media in the file It starts to import the movie like it would with others, then it gets to the end and gives and error.

"Error: Frame rate (1= 24 000+1001 (23.976)) is wrong"

Now does that mean my m2v file I created ISN'T 23.976 or that it doesn't accept 23.976. Is there a way to check the file's new frame rate?

I really appreciate the help. :) I'm learning more and MORE!

coona
16th June 2003, 20:40
I have never got this error so I´m only guessing here - is your project properly set in Scenarist??

I don´t know if you are PAL or NTSC guy ;), but if you are NTSC you have to perform pulldown to get right framerate (there should be guide for this on Doom9´s or Trilight´s site).

You can check your framerate e.g. in BitRate Viewer :).

digitalman
10th July 2003, 18:19
Agreed with coona, a definite pulldown issue.

oddyseus
10th July 2003, 19:01
after concuring with both of you, I want to say that no authoring prog will accept a video stream at 23.976fps. Allof them want video at 29.97fps. Of course u will pulldown the video to reach the appropriate framerate.

Upon authoring check that both video, audio and subs have the dropframe flag set in Scenarsit otherwise u will expierience sync issues.