02-26-2004, 02:45 PM
|
Free Member
|
|
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hay kvcd,
thanks for the tool and the work you poored into it
Can I asked of something though, ..cause I'm confused slightely.
Are we talking about mencoder encodes, or ffvfw encodes or both ??
I ask, because I have my encodes stating 224 (bviewer shows 112) and I
thought that we all fixed it in a prior thread
Also, I noticed that this FORUM is captioned as ffmpeg/ffvfw/ffdshow
I was wondering, if mencoder should be "strong" on the end their ??
..or what do you think.. since we are all also testing mencoder
out and stuff.
* Is it worth to add a MEncoder FORUM, or
* should we string MEncoder at the end of ffmpeg/ffvfw/ffshow/MEncoder
Or, is it still uncertain about MEncoder's abilities, and as such, needs more
testing ??
Just some things to think about
Cheers all,
-vhelp
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
02-26-2004, 02:46 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
02-26-2004, 02:52 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by vhelp
Can I asked of something though, ..cause I'm confused slightely.
Are we talking about mencoder encodes, or ffvfw encodes or both ??
|
Any
The tool will patch any valid .m2v Video Elementary Stream. But remember that the current version will only patch for DVD compliancy ( 112 in BV, 224KB actual size ) Quote:
Also, I noticed that this FORUM is captioned as ffmpeg/ffvfw/ffdshow
I was wondering, if mencoder should be "strong" on the end their ??
..or what do you think.. since we are all also testing mencoder
out and stuff.
|
They are all based on ffmpeg, so I guess this is a right place Quote:
* Is it worth to add a MEncoder FORUM, or
* should we string MEncoder at the end of ffmpeg/ffvfw/ffshow/MEncoder
|
Sure. Doing it right now
-kwag
|
02-26-2004, 02:59 PM
|
Free Member
|
|
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
regarding this FORUM 's change.. ..
Excellent .. I see you too quick to draw
Hay, I just finished D/L'ing your lates tool. I found an old .m2v file that I
encoded w/ MEncoder and bviewer displays it as 208. So, your app will be
tested now
I'll let you know the results. (after I back it up, for future VBV testing)
OT: I'm still working on my GUI, and hope that I can have something out
by TGIF - - so please keep your fingers crossed, but no promises
-vhelp
|
02-26-2004, 03:05 PM
|
Free Member
|
|
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
update..
I just finished testing my test clip. Under bviewer, it is still showing vbv of 208 !!
So, maybe I missunderstood.. that it will still show the old vbv number ??
but will work in DVD apps that require compliance ??
-vhelp
|
02-26-2004, 03:10 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by vhelp
update..
I just finished testing my test clip. Under bviewer, it is still showing vbv of 208 !!
|
You did open a .m2v, right
Because I tried it on about 20 different .m2v files, and all patched properly
But I tested .m2vs created with TMPEG and ffvfw. I'll try a quick encode with Mencoder now.
BV should display 112 after the patch.
If you got another value, then it means MEncoder is TOTALLY screwed up in the structure it creates, because I'm following the MPEG-2 protocol specifications with exact offset target for the place to modify the VBV value.
-kwag
|
02-26-2004, 03:22 PM
|
Free Member
|
|
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yes kvcd,
I use an .m2v file. My source is from an MEncoder encode. So, I think you
are right (in your hunch) that mencoder could be screwed up in it's MPEG-2
specs and things
And, that probably explains why dvd2avi will not open any mencoder encodes
Pfew!! I'm glad its not your app then
Let us know what your results are anyways, w/ your test encode and mencoder
-vhelp
|
02-26-2004, 03:26 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi vhelp,
MEncoder is screwed up, but not in structure
Rename your .m2v produced by MEncoder to .mpg, demux it with TMPEG, and now run VBVPatcher against your new .m2v
The problem is that the header that MEncoder creates, is not an elementary video stream.
Once you rename the encoded .m2v to .mpg and demux it, the demuxed file does have the correct header, and then VBVPatcher works
-kwag
|
02-26-2004, 03:32 PM
|
Free Member
|
|
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
regarding your recommendation for deMUX'ing ...
is it because mencoder is still adding in an audio (though blank) stream to
it, even if you tell it not to ??
Yes, its very strange indeed.
Thanks, I'll give your suggestion a try w/ my test clip we just talked about.
-vhelp
|
02-26-2004, 03:43 PM
|
Free Member
|
|
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
BINGO !!
...it worked. I wonder why mencoder is adding in padded_stream to
the mpeg file
Hmm.. I wonder is there.. hmm... I'll be back on a thought that came to me
For those that weren't following, below are the steps to patch your vbv 's
(those encode done w/ MEncoder only)
* open TMPG
* File/MPEG tools
* select the TAB: de-multiplex
* select browse, and choose Select ALL FILES *.*
* find your .m2v file (if you named it .m2v as I do) and select it
* then, double-click the [x] video_stream 0x00 and give new name.
....I put an "_" (ie, 5_enc.m2v now becomes _5_enc.m2v) and select save.
* then, your finished w/ TMPG.
.
.
* now, open kvcd's VBVPatcher v0.1 and open your revised Source .m2v file.
* then, click patch it!! and you're done.
To test your VBV result, just open inside bviewer and observe the VBV
Hope I got it all down right for you all
Cheers,
-vhelp
|
02-26-2004, 03:48 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by vhelp
For those that weren't following, below are the steps to patch your vbv 's:
|
But ONLY For MEncoder
MPEGs created with ffvfw or other true elementary streams, don't need to be demuxed. Just run VBVPatcher and "sock-it-to-it"
-kwag
|
02-26-2004, 04:10 PM
|
Invalid Email / Banned / Spammer
|
|
Join Date: May 2003
Posts: 3,726
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I am not sure if I missed something, but mencoder can produce the right VBV buffer size using a command-line paramenter, so there's no need for patching VBV buffer later... No?
|
02-26-2004, 04:34 PM
|
Free Member
|
|
Join Date: Jan 2004
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by vmesquita
I am not sure if I missed something, but mencoder can produce the right VBV buffer size using a command-line paramenter, so there's no need for patching VBV buffer later... No?
|
I missed it as well.
Didn't this work? I didn't test it yet, will do it now.
http://www.kvcd.net/forum/viewtopic.php?p=64002#64002
Bilu
|
02-26-2004, 04:39 PM
|
Invalid Email / Banned / Spammer
|
|
Join Date: Feb 2004
Location: Bucharest, Romania, GMT+2h
Posts: 73
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by kwag
|
Thanks a lot Kwag!
I will sign-up and transfer my files ASAP.
marcellus
|
02-26-2004, 04:40 PM
|
Free Member
|
|
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Hya all,
VM your absolutly right.
Mencoder is not the problem ffvfw is the real problem.
But then in ffvfw we can choose "raw frames" for output and it produces correct M2Vs inside the standard.
With mencoder I haven't found any argument that added to the "-noaudio" produces M2V.
So even if I name my encoded video YYY.M2V I will still be producing an MPG file.
That's what was bugging vhelp.
And that's why I downloaded bbtool19 that comes with bbdmux which will demux our MPG M2V.
I could have used tmpg to demux the file right from the begining of testing.
But I just wanted to make sure that if one day we could come up with a GUI for mencoder we would have all the needed tools without having to have tmpg installed.
C ya
__________________
Rui
|
02-26-2004, 04:44 PM
|
Free Member
|
|
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by bilu
|
Easy buddy.
I can assure you it is working.
We just have to put some things down in the paper and probably come up with a sticky for Kwag to post.
More, I advise everybody to check the thread bilu has just posted if you are having difficult times with vbv under mencoder.
Cheers everybody
__________________
Rui
|
02-26-2004, 04:44 PM
|
Free Member
|
|
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I agree with Vmesquita (and I got no probs with the right VBV Buffer sizes afterwards).
According to the TmpgEnc demux workout ....
You easely can add to the commandline a "demux&safe the elementary m2v & delete the first output mpg" at the end so everything goes automatically! Thats also what I like on that commandline workouts.
Code:
...... "G:\TRUMAN_SHOW\truman.avi" -o "G:\TRUMAN_SHOW\truman.MPG"
bbdmux "G:\TRUMAN_SHOW\truman.MPG" 0xe0 "G:\TRUMAN_SHOW\truman2.m2v"
del "G:\TRUMAN_SHOW\truman.MPG"
By this after the process you get the right m2v elementary stream on your hd ... but bbdemux has to be installed to do that, so TmpgEnc is not needed.
|
02-26-2004, 04:45 PM
|
Free Member
|
|
Join Date: Dec 2003
Location: Omicron Persei 8
Posts: 322
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@Karl
Works like charm Of course for first header as it should be for now. While I have not my own standalone, I can't test this, but I know that this file is still incompliant "mutant" file I'm trying to find pattern of the header. If you already know this, tell me, so I won't be inventing wheel for second time
NOTE
VBV patcher probably won't work with TMPG video files, while TMPG adds header of its own "encoded by TMPGEnc (ver. xxxxxx)". Maybe this header is no problem, and for sure we don't need to use this tool for TMPEG files, but keep that in mind.
EDIT: I also want to be a moderator
__________________
Go for SECAM =)
|
02-26-2004, 04:57 PM
|
Free Member
|
|
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hay guys..
No NO no NO no. don't mis-confuse me. I first thought that it was not
settled w/ mencoder producing VBV buffers w/in DVD spec (ie, 224/112)
So, that is why I jumped in here on this, w/ respect to mencoder and I
was the one that provided an example file that I did in my previous days
w/ mencoder (still water behind my ears) and gave kvcd an example of a
.m2v file that bviewer was showing as 208 I was using this as an example
to work out the kinks in kvcd's new tool.
.
.
As for myself, I have ben making vbv of 224 (112 in bviewer) since I can
remember (pobably early this week) and have no problems w/ making it,
I think
.
.
There fore, I'm sorry if I bugged anyone on this issue. Like I said earlier,
I had thought that the VBV in mencoder was settled in another thread. I'm
not sure I have it all down (in my head) as to the exact vbv setting in my
GUI's param string setup, but as long as mine works as such, I'm not going
to ruffle any feathers
I will re-visit that thread that bilu posted (now page 6) just to be sure I got
it straight, less I want another ass-kicking by rds
@ rds,
Quote:
I could have used tmpg to demux the file right from the begining of testing.
But I just wanted to make sure that if one day we could come up with a GUI for mencoder we would have all the needed tools without having to have tmpg installed.
|
yes, I agree w/ you on this. I'd like to incorporate such features, but I did
not catch on w/ this tool you mention (I must be slipping) regarding bbtool19
and it's demux tool. Where can I get that demux tool, so I can quickly test
it out in my gui - please
Yes, I definately want to rule out TMPG as another exhaustive step in the
process
-vhelp
|
02-26-2004, 05:06 PM
|
Free Member
|
|
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Hi vhelp
No more ass kicking I promisse
Get bbtool19 here http://www.doom9.org/Soft21/Vobtools/bbtool19.zip
C ya
__________________
Rui
|
All times are GMT -5. The time now is 04:55 PM — vBulletin © Jelsoft Enterprises Ltd
|