Log in

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


Pages : 1 [2]

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