PDA

View Full Version : using cce instead of reempeg -> OW no sync !


ender
7th December 2001, 09:53
Hi !

at first: "YOU ARE MY ONLY GOD, DERROW"

:-)

No, seriously thank you for making this possible ...
But of course the whole method has 3 problems:

-1- It is complicated ( lots of steps )
-> this is already cared for by cupid2001, GOOD LUCK for the automation tool !!!

-2- Reempeg is very slow
-3- Reempeg has a BAD quality


BUT Problem number -2- and -3- could be solved by using cce !!!

So i tried, here are my steps, please correct me where/if i did wrong, because as you can see in the subject, i failed miserably ...


Steps:

(1) I ripped the whole DVD ( Fightclub, PAL, German ) to HD with DVDDecrypter

(2) i did some math:

-The whole DVD is 6.88 GBytes big.
-The main movie is 6.76 GBytes
-> So we have leftovers of 0.12 GBytes
-The main movie is 2:13:25 long, containing only 2 AC3 tracks
( i do not calculate the SBT and other tiny stuff, i stay on the safe side )
-So the Sound part is approx 8005 seconds * 384000 kbps * 2 / 8 / 1024^3 = 0.72 GBytes ( rounded up )

-This means: if i do not want to strip ANYTHING, only reduce the video Bitrate, i have a target size of 4.3 GByte, and i already need 0.12 GBytes ( menus & stuff, see leftovers ) + 0.72 GBytes ( Sound ).
-This means, for video i have left 4.3 - 0.12 - 0.72 = 3.46 GBytes !
-Okay, as my movie is 8005 seconds long, this means i have to encode at a Bitrate of: EndSize[GByte] * 1024^3 * 8 / Movielength [seconds] / 1000 = 3.46 * 1024^3 * 8 / 8005 / 1000 = 3712 kbps .

I used 3700 kbps to be on the save side ... ( i also used 4.3 GByte instead of 4.38 for the same reason, no one wants to work for hours to have a movie 10 bytes to long :-)

Sorry to paint this all out in so much detail, but maybe someone benefits from it, or you find mistakes ...

Soooo after that cce did a GREAT job on the video ( parameters: video settings: "Add sequence" ON, "Progreesive frames" ON, "DVD compliant" ON, "Luminance level" 0 to 255, "Intra DC precision" AUTO, "Aspect Ratio" DAR 16:9; GOP settings: all default; Quality settings: "Image Quality Priority" 25, "Anti noise Filter" OFF; CBR coding to 3700 kbps ( see above for maths ) Output of ES video only ).

-- of course the "progressive" and "aspect ratio" stuff depends on your specific movie !!! --


cce coded with close to 1:1 speed ( it had 23 fps on my Athlon 1.4 GHz ) and the Output Quality was AMAZING ( remember i did NOT rescale the movie and used about 60% of original Bitrate ).

Okay, now i got my new video stream, so i fired up ifoedit 0.6.

First i opened the MAIN .ifo to get rid of region coding.
Then i opened the .ifo of the main movie file, used "Vob Extras" ( i deselected "strip" because i wanted to keep EVERYTHING ) to select a destination and the encoded video file ( i had to rename the cce output from .mpv to .m2v ).

After a while of torturing my Harddisk ( first combining vob files, then correcting them it seems ) ifo edit was done, and i saved the new .ifo to the target directory.

Then i copied over all leftovers ( speak -> all unaffected DVD files ) to the new directory, and VOILA i had a new DVD with the size of 4.27 GBytes ( as close to 4.3 as i hoped it to be ).

BUT when playing single .vob files or the whole DVD, the sound & video is not in sync ( sound seems to be "faster" so more and more the picture seems to come before the sound comes ).



What did i do wrong, it would be sooo good to get it working, this would be fast & good and with a bit of automation we could get every dvd within 3 hours ...

Okay, please comment on this...


Ender


P.S. i got templates for cce & howtos ready if you need it ...

P.P.S. my suspicion is, that the movie is 24 fps in reality, and that dvd2avi -> vfapi produces 25 fps out of it, so cce encodes 1/25 th more movie than it should, and thus after everything the movie is 1/25th slower, or is this BS ??

kdiddy
7th December 2001, 10:39
Well not only is that your problem, but it was indeed discussed using TMPG in my legendary post a while back....but the key is while yes TMPG work and with great quality, there has not been a way to retain chapters points with reducing the bitrate with anything other than rempeg transcoding...wasnt sure if you were trying to maintain the chapter points or not...if not, there is a MUCH easier way to do this.

ender
7th December 2001, 11:05
Hi !

So the easier method would be ?? ( maybe you got a link, so much threads going on about this ) ??

With that easier method i loose exact chapter points, but the rest is okay ???

Of course i could simply remaster the dvd, because dvd2avi could simply rip the .ac3 audio while analyzing the .vobs ...

but that would SUCK :-)

Thanks,

Ender

P.S. But shouldn't the recalculation of the capter point be ifoedit's job ?!?! or did i get something wron, sorry for my ignorance, but i just recently upgraded from producing svcds to dvds because of my pioneer dvr a03 :-)

kdiddy
7th December 2001, 19:09
Yes, fixing the chapter points is ifoedits job..however when you encoded the movie using anything but transcode, you lose the cell ID flags that are embedded in the video stream..these flags are needed to tell the ifoedit which chapters are what for redirection....so now that they are gone, ifoedit can not do its job....The ideal situation would be to a a good encoder (IMO, TMPG) be able to reduce the bitrate &/or resolution inside oif a vob file without messing up all other information (I think I'll ask Santa Claus that for Xmas, LOL)..

Now IF you ont care about retaining chapter points, then it would be much easier to demux your audio & video tracks, re-encode video with CCE if you wish...then remux that with your audio using BBmpeg or Streamweaver into a vob files, make sure that you rename them to exact same as the original vobs, then run ifoedit...again you will lose chapter points and only have the ability to keep ONLY 2 audio tracks...but it works.

ender
7th December 2001, 19:17
Ahh thats is the problem, thx for pointing that out to me !!!

Aehm, currently i simply rip the ac3, reencode the vob and then reauthor it, how would i create vob files when muxing ??

Thx for the hint ...

Ender

P.S. those cell id flags ( that i am totally ignorant of ) ...
Are they stored in each frame or each gop, or totally independent ??
( I ask, because depending on the nature one could also copy the cell id's from old to new vob structure ?!?! )

Derrow
7th December 2001, 22:22
Originally posted by ender


at first: "YOU ARE MY ONLY GOD, DERROW" :-)


Thank you.
Like to hear that.

So I will keep on the good work.

kdiddy
7th December 2001, 22:40
"P.S. those cell id flags ( that i am totally ignorant of ) ...
Are they stored in each frame or each gop, or totally independent ??
( I ask, because depending on the nature one could also copy the cell id's from old to new vob structure ?!?! )"

That would be a better question to ask Derrow, Im not too sure about that.

"how would i create vob files when muxing ??"

By using BBmpeg or Streamweaver, load up mpeg2 video & ac3 audio, mux, and chose save as vts_xx_x.vob.

Derrow
7th December 2001, 22:59
Originally posted by kdiddy
"
Are they stored in each frame or each gop, or totally independent ??
"


Cell-ID's are stored in each VOB-Unit. GOP's and frames are part of a VOB-Unit.
Just use VobEdit, then you can see it by your self.

I've planed to build a new function, in IfoEdit, to rebuild 'Chapters' in VOB-files, base on the IFO file, if you re-authored your VOB files with an authoring tool.

But I don't have a clue yet, when it will be finished.

ender
8th December 2001, 02:00
That sounds good derrow, so there is still hope we can use cce at some point instead of rempeg.
It is so sad that rempeg is discontinued, because the approach is the only suitable one ...
I do not think that source code is available somewhere to work on it, is it ???
( does anyone know if the rempeg author simply quit, or if he was forced to quit ?? )

Meanwhile my crappy PC is doing nightshifts using reempeg instead of 2 hour turns using cce.
The part that really bites me is that cce is not only 4 times faster but also 2 times better, THAT HURTS ...


Okay, thx for explaining stuff to me, as i said, i am not a complete idiot, but i just upgraded from SVCD to DVD :-)

Greetings,

Ender

GlenC
18th December 2001, 00:21
Hello Derrow,

Is there any news on recreating the chapters after cce has re-encoded the mpeg stream? Not pestering for it or anything...just wondering ;)

Great program..keep up the good work!

Derrow
18th December 2001, 00:44
Originally posted by GlenC


Recreating chapters has nothing to do with cce.
Chapter will work fine, on re-muxing with ifo-edit, even with cce.
The re-creation of chapter's is just needed, if you use an authoring tool to create your VOB files for burning.

Derrow
18th December 2001, 00:46
Originally posted by ender
That sounds good derrow, so there is still hope we can use cce at some point instead of rempeg.


I hope so. It should already work perfect.
But since I did not test it yet, I can't tell you, what's the problem.
The cce-stuff is not working with win2000. So I have to install win98 first to check it out.

Derrow

chilliman
18th December 2001, 01:42
thx Derrow for get step by step guide and great program.

Anyone knows how its going for cupid2001 with his automation tool??

Derrow
18th December 2001, 02:31
I had a preview on his automation tool, and it looks realy great, but nothing is working yet.
As I know, he's wether very busy, or on holiday's right now, so he doesn't have the time, to code further on his tool. (pitty):(
But he will continue the work in about 2 weeks.

Derrow
18th December 2001, 02:40
Originally posted by chilliman
thx Derrow for get step by step guide and great program.


Great, that you like it.
Jesus, it's still so much left to write further doc's, which cost me expensive time, that I rather would invest into enhancing IfoEdit.
But I suppose a good How-To effort you more at the moment, as a new function, where nobody knows, how to use it.
So I'll keep writing doc's right now.

Anybody, how wants to submit something for the site, is welcome!
derrow@yahoo.com

merlin
18th December 2001, 17:02
Hi
I have the same problem with IFOEdit and CCE.
Everything is working but when i open the new VOB files with WinDVD 3.1 the Video ist faster then the Audio.
Video and Audio starts on the same time. It looks like the Video is missing some frames.
I check the m2v File with WinDVD and there is everything ok.
I mux the m2v and the ac3 (extract with DVD2AVI) file with another tool. Open it with WinDVD and looks ok.
I import the m2v file again with IfoEdit with the same result.
Chapters ar working but the movie start on the wrong position.What is the problem?

merlin

ender
18th December 2001, 17:06
hi merlin !

i am glad to see that i am not the only one having this effect.

So it is not only because i am stupid :-)

But lets wait & see, now that derrow has all tools he needs, maybe he finds the time to play around with cce and see for himself.

The reencoding speed & quality is SO far beyond reempeg that everyone will switch to it as soon as it works with ifoedit ...

until then i burn simple movies without ifoedit by reauthoring the audio tracks & the reencoded m2v streams.


Ender

ender
18th December 2001, 21:12
@derrow:

what do you mean, it is not working under w2k ??

it works perfect for many people under w2k.

Please mail detailed problems/question, maybe i can get it to work ...


Ender

merlin
18th December 2001, 21:20
CCE 2.62 is running with w2k and xp and i have never a problem.

merlin

mpeg
19th December 2001, 01:46
Originally posted by ender


Soooo after that cce did a GREAT job on the video ( parameters: video settings: "Add sequence" ON, "Progreesive frames" ON, "DVD compliant" ON, "Luminance level" 0 to 255, "Intra DC precision" AUTO, "Aspect Ratio" DAR 16:9; GOP settings: all default; Quality settings: "Image Quality Priority" 25, "Anti noise Filter" OFF; CBR coding to 3700 kbps ( see above for maths ) Output of ES video only ).


@Ender,
please try turn on "close GOP" in GOP settings.
I try server disk and all ok.
How do you open mpeg2 in CCE. I use DVD2AVI.

Derrow
19th December 2001, 10:20
I assume this mpeg2dec.dll is only running on AMD/Athlon CPU.

ender
19th December 2001, 13:05
hi !

@derrow :

no, i run it on a P4 now ...

you can try another frameserving method to cce, not avisynth, like you do now, but vfapiconvert, which produces a "virtual" .avi file out of the .d2v file, i'll send you the vfapi stuff, maybe that works better for you.


Ender

merlin
19th December 2001, 15:04
I try "close GOP" in GOP settings. The same problem again.
I use DVD2AVI -> vfapiconvert to a AVI -> CCE 2.62

merlin

Derrow
19th December 2001, 16:55
2Ender,

now I've got it to work with avisynth!
There was a registry entry missing for VFPPlugin.
This entry will be created, if you install the origianl DVD2AVI v1.74
Now finaly the mpeg2dec module doesnt produce an exception anymore.

Can someone make me some screenshots of best CCe-options,
which options makes the best results?

Derrow

ender
19th December 2001, 17:06
derroe,

i sent you 2 regfiles, doubleclick the latest one, and you should have 8 templates in cce.
Simply choose one of the templates, drag the .avi / .avs file in cce and then only adjust the bitrate and ENCODE.

Please tell me if you got trouble with it.
( Preferably via E-Mail !!! )


Ender

P.S. if the registry template stuff doesnt work out, i send you screenshots, please let me know what you need vie email.

Ender

Derrow
19th December 2001, 17:42
Yep, no screenshots needed anymore. Thank you. :)

I transcoded now a small movie with cce, and found the trouble.
I'm right on to figure something out, so maybe later I can give you a solution.

merlin
19th December 2001, 19:14
I hope you can realy fix it. CCE is a very fast for encoding.

merlin

Derrow
19th December 2001, 22:07
I'm not so sure, if I can get it working, but I'll try.
It will take me some more day's to figure out something.
Maybe IfoEdit will get an authoring tool. :)

ender
19th December 2001, 22:21
Now that would be something to put in Santa Claus' Bag


:-)


Thanks man,

Ender

mpeg
21st December 2001, 14:37
ender,
after many test,I know what's the problem.
I think you direct open vob file in dvd2avi,this will cause problem. Try to rip the m2v file,then open it in dvd2avi,then d2v,vfapi,cce.
I test for two dvd, vob will make about 1-2 sec out of sync,but m2v is good.

ender
21st December 2001, 21:11
hi !

mpeg, no i dont think that is the problem, i treid both.

Lets see, derrow is working on a solution ...

cya,

Ender

Roveer
21st December 2001, 21:21
I've read most of this thread and some of it gets a little confusing, so let me try a few direct questions. I'm sure a few others will benefit from the resulting responses. I know those (Derrow & friends), are working on a utility to make this work more automatically, but I'm chomping at the bit to give this a try.

I want to rip a 7.8gb DVD onto a DVD-R I'd really like to use CCE for the encoding. (all I want is the movie and the AC3 sound track), no subtitles.

If this is possible can someone put together a list of steps to do this (and settings in the programs). There are a few messages here, but they always go off on other tangents. If we can put this together as a simplified listing of steps and settings a few of us may be able to get some good results.

I use smartripper to get the DVD onto my hard drive. After that I'd like to know what needs to be done and with what programs.

DVD2AVI??? What settings, video & audio??

I assume that audio has to be extracted (what program, what settings)

Video needs to be re-encoded (cce?, Frameserving?, what method, and how). Also important is what versions!!! some work, others don't

Pulldown??? (haven't quite figured out when this is needed)

More audio conversion?

bbmpeg??? This puts the vid/aud together?

Derrows stuff?

As you can see I'm a DVD2SVCD user and have gained most of my limited knowledge by watching what DVD2SVCD does.

If we can get a accurate list of what needs to be done and what settings and versions, I think we can go with that till one of these amazing coders comes out with DVD2DVD!!!

Thanks for putting up with my ignorance.

Roveer

ender
21st December 2001, 21:30
In that thread:

http://rilanparty.com/vbb/showthread.php?s=&threadid=11672

i posted a kind of howto ...


Ender

Roveer
21st December 2001, 21:33
Thanks for the quick reply. I saw this right after posting my original msg and printed it. I'm going to give it a try this afternoon. Thanks for the good work!!!

Roveer

merlin
26th December 2001, 00:49
Hi
I have testet the new IfoEdit 0.8. The Video and Audio Stream are againe not sync. But now i have a new problem. Video and Audio stop all the time and jump some Pictures. Is there a special way to use CCE?

merlin

rmtaibo
26th December 2001, 01:47
Same thing happen to me.
Movie encoded with TMPGEnc (only movie extras, the main movie I used Rempeg2)
When played DVD+RW on a standalone player:
Main movie (vts_01_x.vob) made with ReMPEG: Played Ok (I Didn't use rebuild PTS)
Movie Extras (vts_02_x.vob) made with TMPGEnc: the first 6 seconds of the movie played fine, but after this video and audio stops and jump every 2 seconds aprox.(I used rebuild PTS)
I think the Rebuild PTS option on IfoEdit 0.8 doesn't make its job as good as we expect.

Peculiar thing:
using ATI File Player (MMC 7.5)
original vob: Shows 3:52.00 total time lenght.
TMPGEnc encoded m2v file: Shows 5:00.02 total time lenght.
final vob after IfoEdit: 3:52.00 total time lenght.

And all of them has same number of frames.

OnErr0r
26th December 2001, 03:56
I also tried IFOEdit .8 on the Matrix. I used DVD2AVI 1.76 and CCE to encode using the same settings ender described. Video/Audio are Async. Movie playback is choppy with WinDVD. I hope you can get this to work Derrow. Thanks for your hard work :)

ender
26th December 2001, 11:53
AND A HAPPY XMAS TO ALL YOU GUYS

by the way :-)


Ender

Derrow
26th December 2001, 14:05
What a pitty to hear that.

I thought that at least everything should be in sync now.
I know the new function is not perfect yet, but it should give better results then the old one.

I will keep getting it to work perfectly.

3tv
26th December 2001, 15:19
i just read a rather nice guide on using cce, i have no idea weather it will result in better use with ifoedit.
Maybe one of you guys wants to give it a whirl.



you can find it


here (http://www.semutrangrang.com/robshot/index2.html)

have fun

Eagleone
26th December 2001, 16:05
Robshot's guide works well for cce encoding. (btw you can get it at www.robshot.com)

I can confirm as well that muxing a cce .m2v file via ifoedit .8 does not yet work correctly. I checked the .m2v file before using ifoedit, it is playing ok. When vob is produced by ifoedit it skips frames to maintain audio/video sync.

I think the problem is in multiplexing. I confess ignorance here but as an idea maybe the original movie GOPs are not the same as the cce reencoded GOPs. Rempeg allows for this, but other encoders dont (cant). I did some work with rempeg and it showed that not all gops are the same(IPB stuff). Maybe this is one parameter that need to be taken into account. Another parameter could be the various rff flags which would not necessarily correspond to the reencoded video.

Anyway it is a good effort. Happy new year to all!!

3tv
26th December 2001, 16:34
so, if ya take the newly created cce m2v file + the ac3 and other tracks from the original vob you could use some authoring software, such as maestro to create a new vob with synced audio, then use ifoedit but skip the remux. Would you have all the chapter points intact or would these need to have been added in maestro?

cheerz

mpucoder
26th December 2001, 16:52
Eagleone brings up a very important point. When encoding for NTSC you must enable pulldown, or IfoEdit cannot remux the video. There is also a program available from Doom9 for setting the rff/tff flags, but it did not perform well for me.
Question for everyone having problems remuxing CCE video - NTSC or PAL?

Derrow
26th December 2001, 19:09
I just transcoded my first movie with CCE and remuxed it with my new IfoEdit version, and get a terrible result.
The movie is not watchable. It hops, stops. Just terrible.

The problem is the huge difference between the number of frames in the original movie, and the created m2v file by CCE.

I think there might be a solution to it, right now.
In CCE you must adjust the GOP options, to let CCE produce nearly the same frame-count, like in the origianl movie.
Use VobEdit, to analyse your origianl VOB file. Go through some 'Navigation Pack' and look at the Cell elapsed time.
This way, you can count how much frames, each Vob-Unit has.

Now that you know the frame-count in original, adjust in CCE the GOP options, to produce GOP's with nearly the same frame-count.
The remuxing with IfoEdit should work better then.
I'm going to check that out with my movie now.

OnErr0r
26th December 2001, 19:58
mpucoder: I'm doing NTSC. I did use Force Film in dvd2avi 1.76 and then pulldown 99c (available from www.videotools.net) http://www.horizon.nl/~michel/bin/pulldown.zip

But that just adds flags not frames... so I'm trying Forced Film off and encode ALL the frames. Somewhat slower as its 29.97 frames as opposed to 23.976, but if it works...

Derrow: Are you using NTSC or PAL? And what applications to frameserve to CCE and CCE settings?

Thanks guys!

SkoalWintergreen
26th December 2001, 20:09
the frams problem shouldn't be an issue if you don't use forced film in DVD2AVI, for an NTSC film when you DVD2AVI with 29.97 frames, and the reencode with CCE, you should have exactly the same number of frames as you do with the orginal file, for CCE settings I would recommend reading the guide at Roboshot (http://www.semutrangrang.com/robshot/index2.html) he does a lot of weird stuff at the end I wouldn't worry about just calculate normally, the sync issues have to be in the remux, my question is for Darrow if I remux the VOB, in something like streamweaver, how can I get the VOB back into the movie properly using IFoedit, and can you put the chapters back in?

Eagleone
26th December 2001, 20:25
Some quick answers. I use PAL so 3/2 pullldown is not a factor. In rempeg when the log (.vinf) file is created you can see the frame sequence. Mostly it is the same as cce but every now and then there is one like "IPB" then on to the next one.

At the start of the movie everything works together then from about 1-2 minutes the fun starts. Subtitles dont work either. No fast forward or rewind.

The same cce encoded video can be multiplexed with Streamweaver and oringal audio creating a new vob sequence. I have other problems there but no sync or fast fwd/rwd problems. I can not test it further since I have no authoring program which can accept ac3.

I will try rempeg on the same video tonight.

mpucoder
26th December 2001, 20:47
This is a little off-topic, but the flags added (rff/tff) are what make a 23.976fps play at 29.97 - there are no added frames in NTSC movies, just flags that tell the player to repeat a field (twice for each group of 4 frames). These flags also tell IfoEdit how long each frame will display, and from there the elapsed time of the GOP is calculated.
ReMPEG2 copies these flags - also it displays both the actual frame count and the displayed frame/field count.
What would be nice would be a program to gather those numbers to run on CCE output and compare with the original.
The composition of the VOBUs is another story, and most likely is the cause of remux problems, but I know someone who's working on that right now :)

SkoalWintergreen
27th December 2001, 03:58
Just wanna make sure this goes to the top, b/c the make or break point for 1:1 DVD copying right now is in the hands of someone figuring out how to remux CCE without sync issues!

Eagleone
28th December 2001, 10:48
Well rempeg works with ifoedit. This means that ifoedit is useful now as it is. I am sure you people can make rempeg (or similar) better and faster. Lowering just a little bit the average bitrate while maintaining original GOP structure in all units is the key.

rmtaibo
28th December 2001, 16:03
If there were a way to get the source code of ReMPEG and to improve the encoding quality...

Doom9
28th December 2001, 18:32
has anybody read robshots new cce guide (www.robshot.com)? He mentions some stuff that might be useful as the normal cce input can be problematic even for authoring progs.. maybe that would apply here too.

and as for the rempeg2 sourcecode... that is in the works but it's pretty damned hard to reach somebody who has disappeared

rmtaibo
29th December 2001, 18:46
Doom9, take a look at this very old link:

http://perso.libertysurf.fr/freezy3k/html/Main_News.htm

go to 21/02 date. Is the same ReMPEG-2 software that we're using with IfoEdit?

That page show this link:

http://www.mediaware.com.au/M2-xcode-cl.html

SkoalWintergreen
29th December 2001, 20:59
Question is how do you get a hold of that software?

Doom9
29th December 2001, 23:13
the mediaware tool obviously has no relation to rempeg2 whatsoever... the former is commercial soft that costs $400au and the latter pretty buggy and slow freeware.

has anybody tried mpeg2mpg btw? it's open source soft.. dunno if we ever get to see the source of rempeg2.. many others have tried, ppl that generally have more influence than the average user but still.. no answer.

rmtaibo
31st December 2001, 07:25
TMPGEnc 2.5 is out
It has a new option to set the number of frames in a GOP.
Maybe this is the cause of bad sync of audio/video when multiplexing with IfoEdit.

I'll test this:
from ReMPEG (I think from VobEdit too) I can get the total number of GOPs and Frames and depending of this relation I'll limit the number of frames in a GOP of TMPGEnc.

bru
31st December 2001, 14:15
Originally posted by Eagleone
Well rempeg works with ifoedit. This means that ifoedit is useful now as it is. I am sure you people can make rempeg (or similar) better and faster. Lowering just a little bit the average bitrate while maintaining original GOP structure in all units is the key.

I've tried to copy DVD using REMPEG and Ifoedit several times with no problems, sometimes even the extras too. But I find that REMPEG doesn't always work in reducing the bitrate. Sometimes (in several movies I found) the M2V produced has lots of abnormal blockiness (like when you're watching a scratched CD), I tried to change the setting in REMPEG but still the picture is very bad. There's no synch problem though.

The last time I tried is with the movie '3000 miles to graceland' region 1, I rempeg the vobs and this problem occured. Am I the only one who has this problems?

-bru

rmtaibo
31st December 2001, 20:38
bru

Remember to activate "Match Source" in "Frame Mode" option in ReMPEG.

You said:
"But I find that REMPEG doesn't always work in reducing the bitrate"

It's true, I ripped TRAFFIC (R4) and got 3 peaks of 22 Mbps (out of DVD specs) in the main movie.
I activated "limit max bitrate" to 6 Mbps and a "scale factor" of 60% with no results. The encoder makes these 3 big peaks again.
The peaks occurs when the picture changes from blank screen to a very bright+high motion scenes. But the nominal bitrate effectively got down from 9.2 Mbps to 5.2 Mbps.
The movie played very well, with the exception of video freezing at these peaks.

rmtaibo
31st December 2001, 21:26
I did the following test on a 6 min vob...

Go to TMPGEnc-->Setting-->GOP Structure:

Uncheck "Detect Scene Change"
Uncheck "Output bitstream for edit (Closed GOP)"
Uncheck "Force Picture Type Setting"
IPB structure must be the same as the original movie, in this case:
I=1
P=4(In some movies, these number is 3, 4 or 5)
B=2

(You can use ReMPEG to Know GOP structure
In this case you will see
IBBPBBPBBPBBPBB)

Output interval of sequence header= 1 GOP
Max number of frames in a GOP= 18 (or 0)

Used IfoEdit for Remux with the Option of "Rebuild PTS"

And Voila!!!!

It played perfectly in my Philips 955 standalone. I got down the nominal bitrate from 9.8 Mbps to 3.0 Mbps @ 352x480 and CQ_VBR 100(almost SVCD bitrate) with a perfect and clear image.

If you check "Detect Scene Change" the original GOP structure will change completely. When any scene changes occur, TMPGEnc will broke the GOP structure and begins with a new I picture (new GOP). And the new VOB file will get a lot of "I" pictures more than the original. Maybe this is the reason of Out of Sync problem.

Check if CCE has this option. (I don't have CCE software)

I'll try this settings for more testings, maybe this method work only for this specific 6 minutes VOB file...
(sorry for my english speech)

AND HAPPY NEW YEAR FROM VENEZUELA!!!!!!!!!!!!!!!!!!

Deathman
1st January 2002, 02:14
where did you get tmpeg 2.5 from ? i can only see 2.02 on tmpegs site

rmtaibo
1st January 2002, 02:34
from TMPGEnc creator Hiroyuki Hori and Pegasys Inc. site

http://www.tmpgenc.net/

Doom9's main page has a link to download the file since 12/29...

About my last post:

TMPGEnc will work if a VOB file has a constant (or almost constant) GOP structure,

And about Robshots guide:

If you take a look inside his method. Look very well at the bitrate viewer's MPEG-2 specs...

VARIABLE GOP PATTERN: NOT FOUND

That's why his method works. His movie has a constant GOP PATTERN

Why Does ReMPEG2 work?

Because it preserves the original GOP pattern along whole file. (The position of the "I" frames defines the GOP pattern)

wellyman
3rd January 2002, 20:20
I've been having same issues. My question to all you gurus is:
Am I right in saying that its not possible to re-encode a movie with cce if its got variable GOP? I have tried Rempeg2.5.1 and have been unhappy with the quality, even at 85%. Seems svcd is better, although giving up ac3. I'm assuming all of you that have posted in this thread are looking for better quality than rempeg. Has anyone been able to get the video from cce to sync with orig. ac3?

IcedT
3rd January 2002, 23:27
rmtaibo: If you check "Detect Scene Change" the original GOP structure will change completely. When any scene changes occur, TMPGEnc will broke the GOP structure and begins with a new I picture (new GOP). And the new VOB file will get a lot of "I" pictures more than the original. Maybe this is the reason for Out of Sync problem.

Check if CCE has this option.

Yeah, it has. 'Other Settings::Video' > GOP tab > Check 'Restrict Auto I-Frame Insertion'

[see the attachment, I hope]

It says in the documention that it inserts i frames for easier video editing. There's also more options regarding GOP structure, but I have no idea what to use those for. What I do know however, is that CCE's image quality is absolutely mind-blowing, especially vbr, it does 3 passes plus the initial CBR in the same time that the free tools need for one CBR on my Athlon 1.4.

The longest CCE + AC3 I have made thus far is 25 mins long (muxed with bbmpg). Sync. But I don't have a standalone, that's the only the mpg/vob with PowerDVD, without the IFO stuff. So I, too, would really like to know how to do that.

Also, I can't correctly play 2 audio stream multiplexed with the m2v. PowerDVD only sees the first, and, oddly, WMP sees only the second. Do you need the IFO's for that?? Or does bbmpg produce non-standard streams?

On a different note: Is there some good guide on all that progressive/FILM/pull-down whatever stuff? If I don't force film in dvd2avi I always either screw up sync or image.

I'm really curious how this unfolds. :cool:

IcedT
3rd January 2002, 23:42
um, no attachments, hm? and I made such a nice 5k png ;)

-----------------------||
|Video|GOP|Audio|

GOP settings


gop sequence: /ibbpbbpbb.../ibbpbbp...

M= [select] N/M=[select]

gop header every( [select] * N) frame(s)

seq header every [select] gop(s)


[x] Restrict auto I frame

[] Close all GOPs

------------------------||

IcedT
4th January 2002, 00:29
wellyman wrote:
I've been having same issues. My question to all you gurus is <...> Has anyone been able to get the video from cce to sync with orig. ac3?
If all you want is a quality movie-only rip, then yes. Check here (http://rilanparty.com/vbb/showthread.php?s=&threadid=12499).

CCE is the same as LSX, only much better with all kinds of options.

[not quite a guru tho] :D

IcedT
4th January 2002, 16:32
Originally posted by rmtaibo
TMPGEnc will work if a VOB file has a constant (or almost constant) GOP structure, [...]

Why Does ReMPEG2 work?

Because it preserves the original GOP pattern along whole file. (The position of the "I" frames defines the GOP pattern)
The same as for TMPGEnc then goes for CCE, I think. It does not preserve the original GOP structure, but you can exactly specify a Constant GOP Pattern in CCE or let it insert I-frames at scene changes.

However, if I understand the function of I, B, P frames correctly, isn't it actually good for the quality at lower bitrates if I-frames are inserted at scene changes?

In any case CCE is simply too good not to use it.

IcedT
4th January 2002, 16:44
So if the GOP structure is the problem,
couldn't you somehow 'parse' a vob's GOP pattern,
and then automate neccessary adjustments to your Ifo stuff,
based on the GOP pattern that you set CCE to use
???

robshot
4th January 2002, 21:33
Hi all...
been reading this thread carefully.

reMPEG2 generates a .vif file when it reads a vob.

Is there someway we could extract the GOP info and stuff from this and kinda "overlay" it over the .vaf that 1st pass CCE creates?


Also, how reliable is DVD2AVI FORCED FILM/NONE/ treatment to the original vob. I've often compared rempeg2 total number of pic/frames with DVD2AVI total number of frames. They are 99% different (off by 4 - 8 frames)

Cheers