PDA

View Full Version : MUX'ing, VSplit, and MPG2 files... #2!


Pages : 1 [2] 3

koreth
01-22-2003, 06:00 PM
Originally posted by jdiner
1- Make the key file: vsplit -k file.ty file.key junk.m2a
Is the .m2a file used for anything, or can we use NUL: for that last argument? (The fewer random files cluttering up my video directory the better...)

Looking forward to playing with this!

-Steve

MartinC
01-22-2003, 06:04 PM
oops would help if I learn to read. Incorrect key file will kill the GOPEditor, like if you use the option -m instead of -k.

Martin

Hi8
01-22-2003, 06:08 PM
Originally posted by jdiner
Wow. Downloaded 5 times in 2 minutes... Not bad... Not bad at all...

--jdiner

yeah; I was one of them, however I can't playnow!! my video/burner PC is in my basement and it's about 10degrees here in the NE (Connecticut) and I just can't get comfortable down there. don't want to wait for the heater to warm things up.

I think I'll wait for the weekend to play; so even after the delay.. I can still wait alittle longer, it must be my old age setting in.

jdiner; my condolenses(sp) hope all is well; my dad passed away about a year ago and family is the MOST important thing right about now. It is clear by your reply, that you are handling what took place here in the proper light...

F'em

wolkowh
01-22-2003, 06:12 PM
1. Can I supress all the stuff writing to the screen while it creates the .key file?
2. .key is a *very dangerous* extension to use because it is also the same as registry output files - accidentally double click on one and it tries to update your registry with it!


Good work!
Howard

koreth
01-22-2003, 06:16 PM
To suppress the screen output, run "vsplit -k foo.ty foo.key junk.m2a > NUL:".

RxMan
01-22-2003, 06:26 PM
You can make cut-lists with the current tool and if the end goal is DVD save the .key and .cut files and use them in the next version of the tools to go right to a VOB

Probably a stupid question...BUT....The goal of this is to remove commercials or whatever. Is it possible to get to DVD using the resulting mux created with the cut file?

I guess I'm saying that the last step now is to mux the cut file with vsplit resulting in mpeg. Can I get to DVD from there using Maesrto or Spruce?

BubbleLamp
01-22-2003, 06:36 PM
Originally posted by wolkowh
1. Can I supress all the stuff writing to the screen while it creates the .key file?
2. .key is a *very dangerous* extension to use because it is also the same as registry output files - accidentally double click on one and it tries to update your registry with it!


Good work!
Howard


The default for a registry file is .reg, at least in WinNT/2K/XP. Did you register that extension manually at some point? Although I agree, it is getting hard to find new ones with just 3 letters. How about .kft, for KEY FILE from TY. ;)

koreth
01-22-2003, 06:40 PM
.key and .reg appear to both be registry file extensions by default in WinXP, though not in Win2K.

wolkowh
01-22-2003, 06:46 PM
Originally posted by RxMan
You can make cut-lists with the current tool and if the end goal is DVD save the .key and .cut files and use them in the next version of the tools to go right to a VOB

Probably a stupid question...BUT....The goal of this is to remove commercials or whatever. Is it possible to get to DVD using the resulting mux created with the cut file?

I guess I'm saying that the last step now is to mux the cut file with vsplit resulting in mpeg. Can I get to DVD from there using Maesrto or Spruce?

Yes, you can import the muxed file into Spruce (although internally it demuxes it then remuxes it before burning it - LOL)

Bubble - I did not register .key, it came that way with XP and W2K

Howard

BubbleLamp
01-22-2003, 06:55 PM
Originally posted by koreth
.key and .reg appear to both be registry file extensions by default in WinXP, though not in Win2K.

Shows how often I play with XP!

RxMan
01-22-2003, 06:59 PM
Howard,

Thanks for the quick reply. I can't wait to get home from work to try all of this. What method are you going to use to cut and then get to DVD? I know you are going to go to DVD!

I hope audio sync is maintained.

BubbleLamp
01-22-2003, 07:01 PM
Got an ERROR PARSING CUT FILE: Unknown line format" '



'

With like 2 blank lines between the first and last '.

Edit: This was caused by using quotes on the command line for file names with spaces. I concatenated the names and it seems to be working now. Strange, the keyfile generation step didn't complain, only the muxing step.

bronco13
01-22-2003, 07:13 PM
I can create the key file O.K.

I can load it into the editor... AWESOME. LOOKS AWESOME.

When I hit the '[' Button it adds that Start Value --> AWESOME

When I hit the 'Add Cut' Button nothing happens...?

What am I doing wrong??? Can I somehow make a notation where I want the cuts and manually edit the file???

Thanks,

BubbleLamp
01-22-2003, 07:15 PM
Originally posted by bronco13
I can create the key file O.K.

I can load it into the editor... AWESOME. LOOKS AWESOME.

When I hit the '[' Button it adds that Start Value --> AWESOME

When I hit the 'Add Cut' Button nothing happens...?

What am I doing wrong??? Can I somehow make a notation where I want the cuts and manually edit the file???

Thanks,

You gotta close the cut with the ] first, then hit add cut.

bronco13
01-22-2003, 07:19 PM
Originally posted by BubbleLamp
You gotta close the cut with the ] first, then hit add cut.

Thanks BL... Works like a f'ing champ!

wolkowh
01-22-2003, 07:25 PM
I am not sure, I am trying out the new software and probable do not have all the twists down yet.

I still like the Maestro method of placing a chapter stop on each side of the break and then setting the end action of the section before the commercial to skip to the end of the break. The advantage being:
1. This is frame accurate.
2. You only have to split once, create a preview file once, and mux once.
3. The split takes place during the download - saves time
4. I am not over concerned with saving the space of commercials, rather the entire start to finish time is my main concern
5. I guess I am used to doing it this way so I have it down to a science
Howard

bronco13
01-22-2003, 07:39 PM
The term 'CUT LIST' refers to the data which should be 'CUT'... DUH!!!

I marked the beginning and ending of the commercial breaks and my MPG ended up beign ALL COMMERCIALS! Heh heh. Oops.

Definitely works though!

wolkowh
01-22-2003, 07:43 PM
I am getting "Audio Frame not in expected location"
grrrr

I get the dredded Tempor Reference error if i demux in TMPGenc 1st
2x grrrrr
Howard

RxMan
01-22-2003, 07:43 PM
Bronco,

Keep us updated. I am curious how your finished project turns out. Good luck in these early stages!

Howard,

Thanks for the reply.

RxMan
01-22-2003, 07:47 PM
Howard,

This should not be in this thread. I will delete it after you answer. I am curious, Will Maestro allow you to auto-start from Chapter 2? I am assuming Chapter 1 would be the junk right before the movie starts. I would like the DVD to start right up after that with no menu and no push play button.


Thanks

BubbleLamp
01-22-2003, 07:51 PM
Originally posted by wolkowh
I am not sure, I am trying out the new software and probable do not have all the twists down yet.

I still like the Maestro method of placing a chapter stop on each side of the break and then setting the end action of the section before the commercial to skip to the end of the break. The advantage being:
1. This is frame accurate.
2. You only have to split once, create a preview file once, and mux once.
3. The split takes place during the download - saves time
4. I am not over concerned with saving the space of commercials, rather the entire start to finish time is my main concern
5. I guess I am used to doing it this way so I have it down to a science
Howard

I noticed it took a few tries to figure out where to flag the cut too Howard, but seem to have it working pretty good now. Probably will be better when the Play Cut is working.

I'm guessing eventually this version of the splitter will be built into Tytools. I like the safety of having the tystreams in case things screw up, so I don't split during extraction.

I'd like to see a repeat function on the FWD/REV buttons for us mouse addicts.

Overall, very impressive so far.

justme
01-22-2003, 08:02 PM
The safest thing to do (unlike the stupid thing that Microsoft did) is to change the "default" action for these extensions from "merge" to "open". Look in Explorer "Tools - Folder Options - File Types" (that's where it is in Win2000).

If you make this change, double-clicking one of these files will open it in Notepad, instead of trying to merge it into the registry. From a security standpoint, this is much better. You can still merge registry files by right-clicking on them.

BTW, one of jdiner's .key files wouldn't merge into the registry anyway. I haven't looked at his .key files yet, but registry files have to be formatted in a specific way to work.

bronco13
01-22-2003, 08:12 PM
O.K. I have a perfectly edited .mpg

I'm not sure how the f... JDINER did it but it works flawlessly. I have trouble searching with MP but COWON Jet Audio plays and scans flawlessly. Sync is perfect on a one hour Surreal Life stream. (I just love hearing MC Hammer say, "I don't eat no sushi and I definitely don't eat sushi off no necked woman")

Now that I have the .mpg what can I do? How do I author?

I know JDINER posted some instructions last week so I'll check but if anyone else has a method that is currently working please let me know.

bronco13
01-22-2003, 08:26 PM
Not sure if this is relevant but I thought it was interesting feedback.

A one hour Surreal Life episode downloaded at 917,504 KB.
The muxed commercial free .mpg came out to be 677,489 KB.

This means that 240,015 KB (26.15%) were commercials...

At 661MB/Hour we can fit just over 7 hours per DVD?

That can't be right. Right?

Pr.Sinister
01-22-2003, 08:56 PM
Originally posted by justme
The safest thing to do (unlike the stupid thing that Microsoft did) is to change the "default" action for these extensions from "merge" to "open". Look in Explorer "Tools - Folder Options - File Types" (that's where it is in Win2000).

If you make this change, double-clicking one of these files will open it in Notepad, instead of trying to merge it into the registry. From a security standpoint, this is much better. You can still merge registry files by right-clicking on them.

BTW, one of jdiner's .key files wouldn't merge into the registry anyway. I haven't looked at his .key files yet, but registry files have to be formatted in a specific way to work.

Actually what i did myself is make the files with extension TyKey instead and registered those to open with GopEditor.

-Pr.

Wooly
01-22-2003, 08:58 PM
I've processed about...oh...2 dozen 1-2 hour shows in the last week with Jdiner's GOPEditor - haven't had any problems that aren't already cleared up. Waiting on VOB to finalyze my jobs, but I've viewed them all as Mpegs already, and they're flawless.

BTW, I wrote a very simple batch file that calls everything necessary - all you need to do is unpack GOPEDITOR4.Zip into a folder called c:\AV\Automux (or anywhere else you want, and then re-do the batch file). Put this .bat file in there also, drag-n-drop a shortcut onto your desktop, and then drag-n-drop a .ty file you want to work on onto the shortcut. It'll go from there, and cleanup after it's done.

THIS .BAT FILE IS SET TO DELETE YOUR .TY FILE AFTER IT'S FINISHED, SO BE FORWARNED. If you don't want it deleted, REM out the line that says "del %1.ty".

Enjoy!

tungsten2k
01-22-2003, 08:58 PM
1/2 hr show... 3 cuts: begining fluff, commercials in middle, and fluff at end... major audio sync probs... drifts to about 10 seconds by the end. stream de/muxs fine with tydemux/mplex, haven't tried old tytool on it.

the menu selections "Move 50 frames forward/backward" doesn't work, only key combinations.

this is gonna be nice.

wish list:
key combinations for add cut, del cut, forward/backward one frame (so we can set application-specific buttons on intellimouse explorer like the scroll button : )

bfdhe
01-22-2003, 09:06 PM
First two mpg's, with cuts, perfect from start to finish.

Now on to Spruce...

Thanks Jdiner...

I would be happy to send a donation your way... Do you have a Paypal account?

Andy in NYC
01-22-2003, 09:08 PM
OK, a problem.

TMPGEnc Plus (licensed) refuses to open the resulting .mpg files so that I can lower the bitrate and burn as SVCD.

Am I missing something?

Help?

Andy in NYC

tungsten2k
01-22-2003, 09:12 PM
Originally posted by bronco13
Not sure if this is relevant but I thought it was interesting feedback.

A one hour Surreal Life episode downloaded at 917,504 KB.
The muxed commercial free .mpg came out to be 677,489 KB.

This means that 240,015 KB (26.15%) were commercials...

At 661MB/Hour we can fit just over 7 hours per DVD?

That can't be right. Right?

well no, you still get about 5hrs/DVD-R, but yes... the industry standard for one-hour televisions shows is 13 epsodes of 44min each. 26% commercials is pretty much right in line with that.

an entire season of standard network television shows with commercials edited out should fit on two 4.7GB DVD-Rs. don't try this rule with the Supranos ;)

bronco13
01-22-2003, 09:30 PM
So what about authoring?

Looks like everyone is going off in their own directions. I've tried the whole fake out thing with Ulead but it insists on transcoding... Blah.

Spruce has NEVER worked for me ever...

I don't think I can use IFOEdit (yet)

Anyone? Anyone? Bueller...

RxMan
01-22-2003, 09:31 PM
Nevermind. :)

Wooly
01-22-2003, 09:48 PM
While Spruce is easy, IfoEdit is REALLY EASY.

Advantages:

1. No fake-out necessary
2. Soup-to-nuts Video_TS directory in darned few steps
3. Works EVERY TIME

Dis-Advantatges:
1. You need v.96 Beta 1 to have multiple .mpg's on a DVD (that means donating $5, a pittance)
2. You don't get menus - each .mpg is considered a Title (think of it as a chapter, you hit next and you're off to the next title).

Seriously, crawl first, walk later. Master IFOEdit, then move on to Spruce.

Originally posted by bronco13
So what about authoring?

Looks like everyone is going off in their own directions. I've tried the whole fake out thing with Ulead but it insists on transcoding... Blah.

Spruce has NEVER worked for me ever...

I don't think I can use IFOEdit (yet)

Anyone? Anyone? Bueller...

Wooly
01-22-2003, 09:49 PM
Try my batch file (scroll up about 5 messages or so) - it'll make your life easy.

Originally posted by RxMan
c:\JDiner\vsplit.exe -k c:\JDiner\Sex_city.ty c:\JDiner\Sex_city.key
c:\JDiner\Sex_city.m2a

I put the ty file that I am trying to work with in my JDiner folder along with vsplit and other stuff. I typed the above, but, I must be doing something wrong (the command prompt flashes open for a second). Can anyone see my error?

bronco13
01-22-2003, 09:52 PM
Originally posted by Wooly
While Spruce is easy, IfoEdit is REALLY EASY.

Advantages:

1. No fake-out necessary
2. Soup-to-nuts Video_TS directory in darned few steps
3. Works EVERY TIME

Dis-Advantatges:
1. You need v.96 Beta 1 to have multiple .mpg's on a DVD (that means donating $5, a pittance)
2. You don't get menus - each .mpg is considered a Title (think of it as a chapter, you hit next and you're off to the next title).

Seriously, crawl first, walk later. Master IFOEdit, then move on to Spruce.

Uh... How do you author with IfoEdit? I have the new version but I don't see how to author without the elementary streams...

I have the edited .mpg...

Where do I go from there?

RxMan
01-22-2003, 09:52 PM
Wooly,

That is what I did. Thanks.

BubbleLamp
01-22-2003, 10:09 PM
Originally posted by bronco13
So what about authoring?

Looks like everyone is going off in their own directions. I've tried the whole fake out thing with Ulead but it insists on transcoding... Blah.

Spruce has NEVER worked for me ever...

I don't think I can use IFOEdit (yet)

Anyone? Anyone? Bueller...

Maybe I missed something along the way, but wasn't the only reason to use Spruce was because it handled the elemental streams? If the file is now a valid MPG, can't we use any of the zillion DVD authoring packages out there to do the chapter stops, titles, etc?

bronco13
01-22-2003, 10:13 PM
Originally posted by BubbleLamp
Maybe I missed something along the way, but wasn't the only reason to use Spruce was because it handled the elemental streams? If the file is now a valid MPG, can't we use any of the zillion DVD authoring packages out there to do the chapter stops, titles, etc?

I use Ulead DVD Workshop and for some reason it wants to transcode the .mpg

I also have Pinnacle and MGI VideoWave 5. I'll try them too and see...

However I would much rather use IfoEdit. I'm not interested in menus and titles. I just want to archive... Anyone know how to author a DVD with IfoEdit using the edited mpg???
Thx

Pr.Sinister
01-22-2003, 10:40 PM
Originally posted by Andy in NYC
OK, a problem.

TMPGEnc Plus (licensed) refuses to open the resulting .mpg files so that I can lower the bitrate and burn as SVCD.

Am I missing something?

Help?

Andy in NYC

Yes you are missing the -d option when muxing. That will mux to
SVCD and you can just drop it in Nero and it plays beautifully.

-Pr.

bronco13
01-22-2003, 10:48 PM
Originally posted by BubbleLamp
Maybe I missed something along the way, but wasn't the only reason to use Spruce was because it handled the elemental streams? If the file is now a valid MPG, can't we use any of the zillion DVD authoring packages out there to do the chapter stops, titles, etc?

Well, I tried the MPG with Ulead and now I've tried it with MGI VideoWave 5. I even tried to patch the first header thingy.

Neither works.

Looks like its now a zillion DVD authoring packages - 2

archieellis
01-22-2003, 10:58 PM
Originally posted by RxMan
Howard,

This should not be in this thread. I will delete it after you answer. I am curious, Will Maestro allow you to auto-start from Chapter 2? I am assuming Chapter 1 would be the junk right before the movie starts. I would like the DVD to start right up after that with no menu and no push play button.


Thanks
Yes it will, just set a chapter point where you want it to start and set First Play to Movie 1: Chapter 2.

Unfortunately, though, I'm having no luck getting these muxed mpgs into Spruce, or the demuxed elementry streams into Maestro. I'm going to give Authoring with IFOedit a try.

Andy in NYC
01-22-2003, 11:05 PM
Originally posted by Pr.Sinister
Yes you are missing the -d option when muxing. That will mux to
SVCD and you can just drop it in Nero and it plays beautifully.

-Pr.

Well, I added the -d
vsplit -d -m -c .......

file created will still play in media player, but TMPGEnc rejects it with the message:

"File D:\dir\scrap.mpg can not open, or unsupported"

Since the recorded bitrate was 5800, and the resulting file is 810MB, it isn't going to work directly as a SxVCD on a single disk.

Edit: Additionally, the sound is wrong (according to Nero) for SVCD.

What's the fix? What am I doing wrong? Help?

Andy in NYC

BubbleLamp
01-22-2003, 11:06 PM
Originally posted by bronco13
Well, I tried the MPG with Ulead and now I've tried it with MGI VideoWave 5. I even tried to patch the first header thingy.

Neither works.

Looks like its now a zillion DVD authoring packages - 2


My bad, I was caught up in the excitement and forgot we really aren't working with completely kosher MPG's, hence the need for the custom editing tool prior to mux'ing. :eek:

bronco13
01-22-2003, 11:07 PM
Originally posted by BubbleLamp
My bad, I was caught up in the excitement and forgot we really aren't working with completely kosher MPG's, hence the need for the custom editing tool prior to mux'ing. :eek:

So close...

RxMan
01-22-2003, 11:19 PM
OK. I tested 3 or 4 files and cut commercials with no problems at all. I then got the resulting mpeg for a few of them as well. I guess at this point there is not much we can do with the final mpeg?

The GOPEditor is a great tool!

casagw
01-22-2003, 11:35 PM
The GOP Editor Works great. It is SOO much easier than editing it with TMPGEnc. (I have a process where I turn frame numbers into time to use in the MPEG->MERGE&CUT because the slider never worked right).

Unfortunately, the results from the GOP editor/vsplit do not work with SpruceUP. The resulting MPG gives me a Temporal Reference In GOP is out of sequence error.

Is there any other way to get this to work with SpruceUP?

Thanks for all your help. Because of your work, I enjoy my TIVO a hell of a lot more :D

laserfan
01-22-2003, 11:53 PM
I like to record old Sat. Night Lives and cut the musical performances out of them.

The new GopEditor worked like a charm for this, tho it seemed to take a long time getting the 4min song out of the 1hr program. Where are the instructions that explain the args for vsplit? Can you "quiet" the output? Maybe that would speed it up for me.

Anyway my clip was in perfect sync & played beautifully in WMP and PowerDVD. Dunno how to convert the audio to 48kHz yet, but this is very exciting stuff isn't it.

UPDATE: I did a simple demux w/TMPGEnc Plus, resampled to 48kHz w/BeSweet, and re-muxed w/TMPGEnc Plus (simple multiplex) and sync is retained for my 4 min song. But SpruceUp won't import it, and MPEG-VCR crashes when I attempt to run GOP fixer on it, so I guess if I need to output to DVD I'm gonna hafta learn IFOEdit?

Pr.Sinister
01-23-2003, 12:12 AM
Originally posted by Andy in NYC
Well, I added the -d
vsplit -d -m -c .......

file created will still play in media player, but TMPGEnc rejects it with the message:

"File D:\dir\scrap.mpg can not open, or unsupported"

Since the recorded bitrate was 5800, and the resulting file is 810MB, it isn't going to work directly as a SxVCD on a single disk.

Edit: Additionally, the sound is wrong (according to Nero) for SVCD.

What's the fix? What am I doing wrong? Help?

Andy in NYC

Is this from a DirecTiVo or a SA TiVo? Cause the sound is no problem. Just say turn off compliance when Nero asks... If you use -m -d -c, there is no need to go to TMPGEnc anymore.

If the files are too big to fit on 1 CD, you can use this script
for now until jdiner puts in a switch to size files in megabytes.

---------- MakeCutsSVCD.bat ----------

@Echo off
for %%l in (%1) do cd %%~dpl
for /L %%m in (0,5200,%2) do (
Echo Muxing file to SVCD starting at chunk %%m ...
for %%l in (%1) do (
vsplit -m -d -j%%m -l5200 -c "%%~nl.cut" "%%~nxl" "%%~nl-%%m.mpg" "%%~nl.m2a" > :NUL
del "%%~nl.m2a"
)
)

-------------------- EOF ---------------------

The Syntax is :

MakeCutsSVCD "My Favorite Show.ty" 12759

What this does is it takes the Ty file and Cut files (same filenames
but different extensions) and creates as many files needed to process
the whole file but never generating anything bigger than 5200 chunks.
5200 gives about 650 megs of pure show. So with the cuts, it'll
be smaller than that. I use this for HBO movies where i cut the
start and end. If you are using Network TV shows, then just
change all instances of 5200 to something bigger. Just try it and
see what number fits best for you.

The number after the name of the Ty Stream is the amount of
chunks to process. Usually you want this to be the total chunks
that a Ty file has. You can use AudioCheck to figure this out but
it's kinda slow.

-Pr.

wolkowh
01-23-2003, 12:34 AM
Not to nit pick - but:
The program is backwards, I've been editing video since the late 80's and the standard way is to give a list of the video to Include not Exclude ... perhaps this can be an option going forward...

The resulting .mpeg i guess can only be authored with IfoEdit which is OK, but I use spruce for 2 reasons:
1. I like my menus. It just makes everything look good.
2. The .mpeg stream we make is not compliant with the DVD standard. To recap and refresh:
An mpeg stream according to the DVD standard must have a max of 18 frames -- tivo streams start at 30 frames and go from there. To make the stream fully DVD compliant requires transcoding - the one thing we are all trying to avoid.

I just don't know how we can get around the GOP errors, anyone with an idea feel free to chime in. I guess I'll have to offer a bounty to anyone who can figure out how to fix GOP errors without transcoding.
Howard

Pr.Sinister
01-23-2003, 12:46 AM
If you are using my batch file to mux to multiple files for SVCD,
there is a faster way of figuring out what the exact amount of
chunks are in a Ty Stream.

Take the size of the file in bytes. Not Size on Disk. Just Size.

Divide it by 131,072 and you get the number of chunks.

-Pr.

bronco13
01-23-2003, 12:56 AM
Originally posted by wolkowh
The resulting .mpeg i guess can only be authored with IfoEdit which is OK,

Dude... You keep saying this and I keep hearing you...

I'm going nuts trying to figure out how to author a DVD with IfoEdit with the resulting mpg...

Can you please give me a quick outline on this. I'm pretty well versed with the program so just a quit 1.2.3. kind of thing.

I looked at the forum for IfoEdit but it looks like everyone has the older version and the dude who wrote it has been recruited by those guys that are charging $100.00 for a program that is basically about 25% finished and you can only load three times...

Any help is much appreciated...

sky12
01-23-2003, 01:04 AM
Ok, here's how things have been going for me so far...
I've pulled 5 shows off my Dtivo with mfstreams(tytool blows up trying to pull Full Metal Challenge)

Success:
Drew Carey
Andromeda
Inuyasha (anime)
Failure:
Junkyard Wars
Full Metal Challenge

The failures gopedit just fine, but don't play at all well.
One kindof buzzes the audio, the other is in slow motion.
(This is with Media player 9)
Could this be TLC(the channel) related?
Could this be Media Player's fault?
What does everyone use to play the Mpgs? What's best for this?
Is 1.4 Mbyte/second a good extract speed? (with 100Mbit line)
Should we be doing anything with the Sync offset 7Ms?

Greg

zobetron
01-23-2003, 01:21 AM
Originally posted by bronco13

... how to author a DVD with IfoEdit with the resulting mpg...

The way I did it was to demux the mpg file first using TMPGEnc.

Then I fixed the audio:

I converted the audio file from .mp2 to .wav using besweet. I then used ssrc to resample to 48mhz. I then used besweet again to make it an .ac3 file.

Then...

1. Start ifoedit.
2. Click DVD Author Menu -> Author new DVD
3. Select the .m2v file for video
4. Select the .ac3 file for audio (if you need to you can set an offset here)
5. Select the CellTimes.txt file for the chapters. (I created one by hand. Convert seconds to frames for each chapter, eg. if the chapter hits at 1:14 then frames = 2220, each chapter on a separate line)
6. Then click OK.
7. Wait.

jbron
01-23-2003, 01:29 AM
Sweet Program. I have been successful so far with one 30 minute show. However, I have a 1 1/2 hour show that just won't convert to a key file. It starts, but then pauses with this error

MUX Have the body for P4-frame and Header for B5-Frame.
ERROR: Out of memory getting a new MuxNode buffer!

Does anyone know what this error is or is my ty file just corrupted?

Pr.Sinister
01-23-2003, 01:35 AM
Could you guys please check if you go to the absolute
end of the Key file in the GopEditor and you click ],
does it give you the right time or just 13:15:21.858 ?

I don't remember if earlier versions did that...

Maybe it's intentional... i dunno...

-Pr.

archieellis
01-23-2003, 01:44 AM
Originally posted by Pr.Sinister
Could you guys please check if you go to the absolute
end of the Key file in the GopEditor and you click ],
does it give you the right time or just 13:15:21.858 ?

I don't remember if earlier versions did that...

Maybe it's intentional... i dunno...

-Pr.
yup, I saw that too.

shstevens
01-23-2003, 01:46 AM
I hope I don't get blasted for an obvious issue here :^)

I THINK I am following the directions ok - just getting my feet wet here and glad to have such nice tools to play with!

Followed these steps:

"Quick Process Guide:

1- Make the key file: vsplit -k file.ty file.key junk.m2a
Note the change to .key from .m2v... GopEditor uses this extension now...

2- Use it in the GopEditor: GopEditor file.key

3- Save the .cut file in the GopEditor.

4- Mux using the cut file: vsplit -m -c file.cut file.ty file.mpg junk.m2a

--jdiner"

I am using the vsplitmux2.exe file included with jdiner's download. So I am really typing vsplitmux -k .....

I started with a *.ty of a Jeopardy program (just to test with since it is small) and everything seems to work flawlessly but I end up with no sound. Not sure how to troubleshoot from here...

Thanks for any help,
Shawn

Gruph
01-23-2003, 01:49 AM
Originally posted by sky12
Ok, here's how things have been going for me so far...
I've pulled 5 shows off my Dtivo with mfstreams(tytool blows up trying to pull Full Metal Challenge)
Greg

It blows up on Full Metal Challenge because of the "/" (forward slash) in the episode name.

JDiner, any plans on fixing this?

Keep up the good work. Project looks pretty cool so far!

-Gruph

-update: Sorry... I am mistaken. I was unable to grab "Monster Garage" because of the forward slash. When I attempt it, it says "#1 failed to write to stdout".

edpuffmonster
01-23-2003, 02:32 AM
Originally posted by Gruph
It blows up on Full Metal Challenge because of the "/" (forward slash) in the episode name.

JDiner, any plans on fixing this?

Keep up the good work. Project looks pretty cool so far!

-Gruph

-update: Sorry... I am mistaken. I was unable to grab "Monster Garage" because of the forward slash. When I attempt it, it says "#1 failed to write to stdout".

Use my tivoweb module for extraction and it will be no problem. Check the programs area for tivoweb_extract.

Milo
01-23-2003, 03:37 AM
jdiner, you rock! I've been running the last few days' worth of VH1 Classic through vsplitmux2, and so far there's only one video the new tools haven't synced audio and video perfectly for.

Beta issue: performing a cut containing the first block is rather likely to kill the audio track for the remaining stream. I've been able to work around it by using the
vsplitmux -j option to jump to the start of the section I want.

tzito
01-23-2003, 04:11 AM
Originally posted by jbron
Sweet Program. I have been successful so far with one 30 minute show. However, I have a 1 1/2 hour show that just won't convert to a key file. It starts, but then pauses with this error

MUX Have the body for P4-frame and Header for B5-Frame.
ERROR: Out of memory getting a new MuxNode buffer!

Does anyone know what this error is or is my ty file just corrupted?

Try jumping into the file past the first few chunks (ie: "vsplit -j 10"). I have found that almost any .ty stream that fails to process at all has a few trashed chunks at the begining. I have had to jump as high as 100 chunks to get a good stream sync, but it's always worked after that.

I've ran a couple 2.5 hr shows through the earlier versions without problem; So it isn't a length issue unless it's new to this version...

tzito
01-23-2003, 04:15 AM
Originally posted by Pr.Sinister
Could you guys please check if you go to the absolute
end of the Key file in the GopEditor and you click ],
does it give you the right time or just 13:15:21.858 ?

I don't remember if earlier versions did that...

Maybe it's intentional... i dunno...

-Pr.

It's been that way since GopEditor version 1. I noticed it, but never really thought much about it. All of my streams are garbage at the end anyhow. Perhaps its related to the multiple OOB packets that would show up at the end of a stream when processed with the earlier tools?

MrBassMan
01-23-2003, 04:37 AM
Originally posted by wolkowh
Not to nit pick - but:
The program is backwards, I've been editing video since the late 80's and the standard way is to give a list of the video to Include not Exclude ... perhaps this can be an option going forward...


This confused me at first too. I ended up with a show full of adverts on my first attempt.


I just don't know how we can get around the GOP errors, anyone with an idea feel free to chime in. I guess I'll have to offer a bounty to anyone who can figure out how to fix GOP errors without transcoding.
Howard

Olaf has already done this and it seems to be working very well. For the sake of everyone extracting video from Tivo, I wish jdiner and Olaf would start working together rather than independently working on what will essentially be different products with the same functionality.

The current situation is that jdiner has the editing facilities we need but Olaf produces better streams. As things stand, we cannot use both tools because jdiner's process leaves no point where tydemux can be run.

dlang
01-23-2003, 04:38 AM
sounds great, I'm eagerly waiting for the linux version (if nothing else of the new vsplitmux and interface definitions)

sky12
01-23-2003, 05:11 AM
Well, I can now say I'm 5 for 5 after a hint a few messages up.

TLC always seems to have junk at the start of a program, so for everything I was trying from them I was cutting out the first 30 seconds of show.
This is what was messing up my audio, as soon as I left the front alone, all was fine and I now have a clean/happy Full Metal Challenge and Junkyard Wars.

The batch file mentioned a page or two ago works wonders as well. All I have to do is extract the show, drag it over the bat file and *poof!* I have a watchable show.

Thanks everyone who's worked so hard to make this happen. (Esp JD)

Greg

Hi8
01-23-2003, 06:55 AM
Originally posted by Wooly
While Spruce is easy, IfoEdit is REALLY EASY.

Advantages:

1. No fake-out necessary
2. Soup-to-nuts Video_TS directory in darned few steps
3. Works EVERY TIME

Dis-Advantatges:
1. You need v.96 Beta 1 to have multiple .mpg's on a DVD (that means donating $5, a pittance)
2. You don't get menus - each .mpg is considered a Title (think of it as a chapter, you hit next and you're off to the next title).

Seriously, crawl first, walk later. Master IFOEdit, then move on to Spruce.

Wooly;

you refer to Authoring with IfoEdit using .mpg is that just referring to the .m2v & .m2a files - or are you importing a mux'd .mpg file?

I didn't know that was possible!

defsrg
01-23-2003, 08:01 AM
i tried to load the changed .key file and all it does is crash in windowsxp professional. anyone else having this problem????

Wooly
01-23-2003, 08:30 AM
You are correct - the .mpg must be de-muxed to it's elementary streams to be used in IFOEdit in this manner. Sorry for the confusion.

I did read somewhere that creating basic menus is on the slate of development for IFOEdit.

What I'd REALLY like to see is Spruce having the ability to import VOB files directly, without any interpretation as to whether they are valid or not. This would allow us to use Jdiner's tool to create a VOB and then drop them into Spruce and create DVD's easily WITH menus.

But I dream on...

Originally posted by Hi8
Wooly;

you refer to Authoring with IfoEdit using .mpg is that just referring to the .m2v & .m2a files - or are you importing a mux'd .mpg file?

I didn't know that was possible!

Wooly
01-23-2003, 08:32 AM
Changed...do you mean CREATED? A .key file is nothing more than an "index" file created by vsplit. It should not be changed, but created and then disposed of when finished. What's your process?

Originally posted by defsrg
i tried to load the changed .key file and all it does is crash in windowsxp professional. anyone else having this problem????

hancocks
01-23-2003, 09:38 AM
Wooly,

I agree completely. Can't make it work with Spruce, MyDVD, nothing. MyDVD complains about the "non-standard" frame rates, with a "too many frames in a GOP" error. Frustrating.
I did demux and run thru IFOEdit, with success. But I really would like menus.
I'm going to look into editing the .IFOs created in IFOEdit to insert a cheap and easy menu system. No one should wait by the phone, however. I'm going to take a simple menu system and see thru inspection if it can be easily modified. Right now, I have no clue.

Tx,

- Stu

archieellis
01-23-2003, 09:44 AM
Originally posted by defsrg
i tried to load the changed .key file and all it does is crash in windowsxp professional. anyone else having this problem????
I had the same problem and it turns out I had used -m instead of -k in the original split.

I saw a post where someone had done the same thing, and still managed to screw it up.

Hobby
01-23-2003, 10:23 AM
Originally posted by ZOBETRON

"I converted the audio file from .mp2 to .wav using besweet. I then used ssrc to resample to 48mhz. I then used besweet again to make it an .ac3 file."

ZOBETRON - Is the reulting converted .ac3 file a 2 channel ac3 or a 6 channel ac3? I'm real curious if this method does in fact convert to a full surround 6 channel audio stream.

Also, while on the subject - Does jdiner's GOPedit handle ac3 streams and preserve the 6 channel format (when present)?

Thanks
Hobby

zobetron
01-23-2003, 12:26 PM
Originally posted by Hobby
Is the resulting converted .ac3 file a 2 channel ac3 or a 6 channel ac3? I'm real curious if this method does in fact convert to a full surround 6 channel audio stream.

Also, while on the subject - Does jdiner's GOPedit handle ac3 streams and preserve the 6 channel format (when present)?

First, the resultant .ac3 file is 2 channel. As for the second part of your question, I do not know.

Andy in NYC
01-23-2003, 12:35 PM
OK, it's clearly me, but...

the editor is beautiful for cutting out commercials, etc. (after I realized that the list is the OUT, not the IN <g>).

I end up with an .mpg that plays in Media Player beautifully.

What I want, however, is an SVCD that plays in my JVC. To do that, I need to lower the bit rate and convert the audio.

To do this, I normally use TMPGEnc Plus. TMPGEnc, however, won't open the file (as discussed above). I did a simple demux to audio and video files, but TMPGEnc (strangely) won't open the video file it created (the audio seems OK).

I've used the -d and other options, but I seem to be missing something (some concept maybe) about what the video file is.

Help (again).

Andy in NYC

P.S. - I think the editor is really slick.

srp336
01-23-2003, 01:10 PM
If I'm using this process and I'm planning on ending up writing a DVDR, what's the best recording quality setting to use? Should I use "Best" or something with its bitrates modified? How about SVCD (a secondary concern, since I finally broke down and got a DVD burner...)

The recordings I'm trying to archive are mainly network television shows. At "Basic" (modified to be 720x480, I don't remember offhand what I set the bitrates to, but I can check), I'm getting around 1.3gb for a half-hour. And at "Best" (unmodified), I'm getting almost that. So far, I've tried one of the half-hour shows at these settings with the new software and get a little under 1gb without commercials. Do these sizes seem high or are they about right?

Thanks!

jbron
01-23-2003, 01:58 PM
Those sizes seem right to me. I use a 720x480 resolution with a 7340000 bitrate and my 1/2 shows end up at 1628 MB with commercials. I don't see yours as a prob unless you are using a higer bitrate. There was a really good thread called 544x480 tht covered all of this stuff you should check it out.

Willie
01-23-2003, 03:16 PM
Ok, I have taken a ty file that I know is good (I have previously split and used spruceup to put on DVD), and ran it through the new gop editor. After creating mpeg everything is in sync and edited and looks great in wmp and powerdvd. But I have not been able to get it into spruceup or any other programs that I can create menus with, I like menus. Have not tried ifoedit, which i read works but no menus. DVDit pro takes the mpeg but wants to transcode it. After i patch first frame of mpeg, fakeout method, and try spruceup I get Temporal erros. I tried the gopeditor on a couple other ty files that I have also previously put on DVD using spruce successfully, with no success also.

My question is is there a way to split the ty file including the cut list so I end up with edit m2v and m2a files, instead of going to mpg? This would be great so I could still use fake out method whcih has been working perfect for me until vob generation is ready or mpeg id dvd compliant.

Thanks for all the help, and great work Jdiner.

Hobby
01-23-2003, 03:26 PM
I like using DvdMaestro for authoring DVDs for the menus, its ease of use, and the fact that handles 6 channel ac3 audio stream.

Having said that, and coupled with the fact that alot of people are having trouble importing the mpg file into a good authoring program, I had a thought.

Is it possible to use an editor like jdiners to create the cut list for tytool and vsplit the ty file through tytool to create the m2a and m2v files that we all love without the commercials? That way we can author and burn as we did in the past.

Hobby

well it seems I posted virtually the same post as just above

sorry about that!!

slideaway
01-23-2003, 04:04 PM
jdiner, this progam is F'n fantastic, thanks for all your hard work and efforts. Sorry to hear about your loss.

I just want to repeat the posts from above,

Looking for a way to use your editior and then when complete, go back to m2v and m2a files that can be worked with is a variety of programs.


My Problem:

I've done the vsplit, then edit, then vsplit again to create the mpg.
After that I have to do a simple-demux in TMPGenc, to get back to m2v and m2a files, and work with it in IFOEdit. Once I create the VOB and test, I either don't have any audio, or I have audio until my first cut then no audio the rest of the show.
I've done a normal vsplit (no gopedit, vsplit12) and then created the VOB in IFOEdit, with the original ty files, no edits, and it works great, but I have all the commercials, what we don't want.

Am I doing something wrong? I thought that I was following the proper method but it doesn't seem to be working, audio is not coming through.

Again, powerful tool you've blessed us with jdiner, Thanks.

ponto
01-23-2003, 04:52 PM
going wrong somewhere:-

UK Tivo - Tivoweb 1.9.4. - MfsStream -

vsplitmux2 -s -k simpsons.ty simpsons.key simpsons.m2a

gopedit - (seems fine but playing is very fast, should it be normal speed??)
save cut

vsplitmux2 -m -c simpsons.cut simpsons.ty simpsons.mpg simpson
s.m2a

I seem to end up with a mpg file that doesn't work!!

any ideas anyone!!

newlooper
01-23-2003, 05:46 PM
Well I have tried and have come up with something VERY weird.

I have tried 10 video ty streams and I have the same issue with all!

At the end of vsplitmux2 -k I get an error about 20 minutes (viewing time) from the end of the video.

vsplit reports a packet with no timestamp. well, Ill post it.

The end result is I cannot import it into anything that I have. The time counter on POWERDVD stops running 20 minutes short of the end of the mpg. here is the errror:

-1x4 - No Audio or Video timestamps in this chunk... Checking byte counts...
-1x4: New Vid ByteCount = 5D CD 40 to 5D FF E0
-1x4: New Aud ByteCount = 0 0 0 to 0 0 0
-1x4: Old Vid ByteCount = 6D 3F A0 to 5D CD 40
-1x4: Old Aud ByteCount = 6F 27 FC to 6F 33 70
-1x4: We are aligned on the Video so it is good!!!



ZZZ: # 0 vid ( 12960): 3 2a 2 e0 30 5d cd 40 0 0 6 8c 7c 85 bf 6
ZZZ: # 1 0 ( 0): 0 0 0 0 0 0 0 0 0 0 6 8c 7c 85 bf 6

Found an OOB packet... The Video Diff is: 00:03:58.774
33333 -> - old Vid ByteCount = 5D CD 40 to 5D FF E0
33333 -> - new Vid ByteCount = 5F 25 A8 to 61 6 E8
33333 -> - NOT ALIGNED on the Video... It is an OOB chunk!
Found an OOB packet... The Audio Diff is: 00:03:58.953
Is it in sequence??? It is OFF by exactly 9956.375000 frames.


#1 55555 -> + old Aud ByteCount = 6F 27 FC to 6F 33 70
#1 55555 -> + new Aud ByteCount = 6F F3 C to 70 C 84
55555 -> - NOT ALIGNED on the Audio... It is an OOB chunk!
Nope... Not in sequence... Skipping it...


Found an OOB packet... The Video Diff is: 00:03:58.374
33333 -> - old Vid ByteCount = 5D CD 40 to 5D FF E0
33333 -> - new Vid ByteCount = 61 6 E8 to 62 DD 34
33333 -> - NOT ALIGNED on the Video... It is an OOB chunk!
Found an OOB packet... The Audio Diff is: 00:03:58.617
Is it in sequence??? It is OFF by exactly 9942.375000 frames.


#1 55555 -> + old Aud ByteCount = 6F 27 FC to 6F 33 70
#1 55555 -> + new Aud ByteCount = 70 C 84 to 6D B6 7C
55555 -> - NOT ALIGNED on the Audio... It is an OOB chunk!
Nope... Not in sequence... Skipping it...


Found an OOB packet... The Video Diff is: 00:03:58.007
33333 -> - old Vid ByteCount = 5D CD 40 to 5D FF E0
33333 -> - new Vid ByteCount = 62 DD 34 to 64 B5 20
33333 -> - NOT ALIGNED on the Video... It is an OOB chunk!
Found an OOB packet... The Audio Diff is: 00:03:58.161
Is it in sequence??? It is OFF by exactly 9923.375000 frames.


#1 55555 -> + old Aud ByteCount = 6F 27 FC to 6F 33 70
#1 55555 -> + new Aud ByteCount = 6D B6 7C to 6D D8 74
55555 -> - NOT ALIGNED on the Audio... It is an OOB chunk!
Nope... Not in sequence... Skipping it...



A/V Sync Offset: 7ms (i.e. plays 7ms early!)
MUX: Padded the output by 0 bytes...



Any ideas????

tzito
01-23-2003, 06:39 PM
Originally posted by newlooper
Well I have tried and have come up with something VERY weird.

I have tried 10 video ty streams and I have the same issue with all!

At the end of vsplitmux2 -k I get an error about 20 minutes (viewing time) from the end of the video.

vsplit reports a packet with no timestamp. well, Ill post it.

The end result is I cannot import it into anything that I have. The time counter on POWERDVD stops running 20 minutes short of the end of the mpg. here is the errror:

-1x4 - No Audio or Video timestamps in this chunk... Checking byte counts...
-1x4: New Vid ByteCount = 5D CD 40 to 5D FF E0
-1x4: New Aud ByteCount = 0 0 0 to 0 0 0
-1x4: Old Vid ByteCount = 6D 3F A0 to 5D CD 40
-1x4: Old Aud ByteCount = 6F 27 FC to 6F 33 70
-1x4: We are aligned on the Video so it is good!!!


A/V Sync Offset: 7ms (i.e. plays 7ms early!)
MUX: Padded the output by 0 bytes...



Any ideas????


I think you might be using the wrong command line options. 'vsplitmux2 -k file.ty file.key emptyfile' is used to generate the .key file for processing with GopEditor. Viewing / muxing / or playing the file output by the '-k' option would have problems as it is only the video I frames without any audio.

To test the stream without any cutting do 'vsplitmux2 -m file.ty file.mpg emptyfile' and see if the error still shows up. If it does, this may be the problem jdiner is specifically looking for. The stream that had the 'really wild audio' problem caused similar errors when I was testing.

In both examples above, the 'emptyfile' is just a dummy name I use to satisfy the command line parser when no audio file is going to be created. The audio file argument is still required and will generate an empty file that can be deleted / ignored.

A quick walk-through for editing a theoretical stream called "Simpsons - Pilot.ty" would be:

1. Create the keyfile for GopEditor:
-> vsplitmux2 -k "Simpsons - Pilot.ty" "Simpsons - Pilot.key" emptyfile >> "Simpsons - Pilot.log"

2. Run GopEditor, Load the "Simpsons - Pilot.key" file and mark a start cut at the first frame. Use the shortcuts to move to the frame before the first frame of the show and mark an end cut.

3. Repeat cutting steps until you have marked out all unwanted frames. Save the .cut file "Simpsons - Pilot.cut".

4. Mux the desired output to "Simpsons - Pilot.mpg" with:
-> vsplitmux2 -m -c "Simpsons - Pilot.cut" "Simpsons - Pilot.ty" "Simpsons - Pilot.mpg" emptyfile >> "Simpsons - Pilot.log"

The "Simpsons - Pilot.log" file will have all the output from both calls to vsplitmux2, and nothing will be displayed while the program is running. This increased the speed of the program for me and gave me a log to look through after the fact rather than having to watch the screen. Omit the '>> "Simpsons - Pilot.log"' in both commands if you want the output to the screen instead.

The resulting "Simpsons - Pilot.mpg" should play fine, all my tests have worked at this point. Some mention that cutting the first frame from the stream is a bad idea, and I agree that cutting off the sequence header is a bad idea. I have yet to have a problem with doing it though.

If you continue to get the audio errors that you mentioned try adding a '-j' option to both commands to jump past the first few chunks which seem to cause me trouble occasionally. ie:
-> vsplitmux2 -j 10 -k "Simpsons - Pilot.ty" "Simpsons - Pilot.key" emptyfile >> "Simpsons - Pilot.log"
-> vsplitmux2 -j 10 -m -c "Simpsons - Pilot.cut" "Simpsons - Pilot.ty" "Simpsons - Pilot.mpg" emptyfile >> "Simpsons - Pilot.log"

This would skip the first 10 chunks in both calls to vsplitmux2 and hopefully solve the problem. I have had to skip as many as 100 chunks to get a stream to line-up correctly, you may need to adjust the jump value for your stream.

If you still have the errors after working through the book I wrote above, find the chunk that the error happens at and use the TyFileSplit tool to extract a chunk for jdiner to look at. Search for TyFileSplit for more information on using the tool and how to submit test streams to jdiner...

donmc
01-23-2003, 07:04 PM
Fantastic and it works on UK PAL Tivos as well!

Really looking forward to the final product.

In the meantime, I'd like to burn a few DVD-Rs and have followed the insructions to use ifoedit ie demux, resample audio, etc. All seems well but when I play the resultant VIDEO_TS folder the audio sync is bang on initiallly but drifts out. I followed this process....
"I converted the audio file from .mp2 to .wav using besweet. I then used ssrc to resample to 48mhz. I then used besweet again to make it an .ac3 file."

Any more tips on fixing the audio?

newlooper
01-23-2003, 09:15 PM
tzito

Thanks for the reply but does not apply. I am not viewing the mpg at the error point I am showing. That error comes when I do the vsplitmux2 -k tyfile.ty tyfile.key tyfile.m2a

The error shows up at the end of the process.

When I do a vsplitmux2 -m -c tyfile.cut tyfile.ty tyfile.mpg tyfile.m2a it all looks ok but the timestamps are missing from the last 20 minutes.

It happens on all of my files which seems a litlle wierd.

JDiner I would like to say I am sorry for your loss. Times like this can be hard on a person. When you feel better, I would like to send what you need to look at.

Thanks and I will take any other suggestions as this is very frustrating.

MrBassMan
01-23-2003, 09:25 PM
Originally posted by donmc
Fantastic and it works on UK PAL Tivos as well!

Really looking forward to the final product.

In the meantime, I'd like to burn a few DVD-Rs and have followed the insructions to use ifoedit ie demux, resample audio, etc. All seems well but when I play the resultant VIDEO_TS folder the audio sync is bang on initiallly but drifts out. I followed this process....


Any more tips on fixing the audio?

The sync drift is caused by errors in the ty stream. Olaf's tydemux will fix these. It is the only program I have found which produces in-sync audio for UK TY streams.

The output from tydemux can be read from nearly all MPEG editors.

But...
Currently if you want to use gopchopper, you must use vsplit to split to audio and video files, you cannot use tydemux.

jdiner's gopchpper + Olaf's tydemux is currently a dream... but soon it may be made a reality
:D

Wooly
01-23-2003, 09:49 PM
HowTo for IFOEdit:

1. Grab the .ty file from the Dtivo
2. Use my Bat file
3. Drag-n-drop the .ty file onto the bat file
4. GOP Edit the sucker
5. quit the GOPEditor
6. Grab a beer
7. come back, the bat file will be done
8. Demux the file (use TMPGEnc, it's very good). Create an .m2v and an .m2a
9. Run IFO Edit v.96Beta1
10. DVD Author (at the top)
11. Add the .m2v in the Video Stream (by clicking the right button)
12. Add the .m2a in the Audio Stream (by clicking the right button)
13. If you're adding another set of streams, hit Add Title (at the top) and repeat #11 and #12. When that's all done, select a desitination directory, hit ok at the bottom
14. When IFO Edit is done, quit IFOEdit
15. Run IFO Edit again, go into the destination directory you defined in #13, and open the VTS*.IFO. Hit the "Get VTS Sector" button, hit okay until everything is updated. Save the file.

That's it. You now have the contents of a Video_TS folder ready to burn.

Originally posted by bronco13
I'm going nuts trying to figure out how to author a DVD with IfoEdit with the resulting mpg...

Can you please give me a quick outline on this. I'm pretty well versed with the program so just a quit 1.2.3. kind of thing.

tzito
01-23-2003, 09:55 PM
Originally posted by newlooper
tzito

Thanks for the reply but does not apply. I am not viewing the mpg at the error point I am showing. That error comes when I do the vsplitmux2 -k tyfile.ty tyfile.key tyfile.m2a

The error shows up at the end of the process.

When I do a vsplitmux2 -m -c tyfile.cut tyfile.ty tyfile.mpg tyfile.m2a it all looks ok but the timestamps are missing from the last 20 minutes.

It happens on all of my files which seems a litlle wierd.

JDiner I would like to say I am sorry for your loss. Times like this can be hard on a person. When you feel better, I would like to send what you need to look at.

Thanks and I will take any other suggestions as this is very frustrating.

Sounds like one he'll want to look at when he has time. Did you say you were 10 for 10 streams with this same problem? I have only had 3 out of ~300 fail...

jdiner
01-24-2003, 12:44 AM
Originally posted by MartinC
oops would help if I learn to read. Incorrect key file will kill the GOPEditor, like if you use the option -m instead of -k.

Humm... Maybe I should add a key sequence to the very start and have the GopEditor look for it before going any further. Would stop that kind of problem.

--jdiner

jdiner
01-24-2003, 12:47 AM
Originally posted by BubbleLamp
Got an ERROR PARSING CUT FILE: Unknown line format" '



'

With like 2 blank lines between the first and last '.

Edit: This was caused by using quotes on the command line for file names with spaces. I concatenated the names and it seems to be working now. Strange, the keyfile generation step didn't complain, only the muxing step.
Woah. That is wierd. I have spaces in my file names and it worked correctly for me. What OS are you using. I might be facing that again...

--jdiner

jdiner
01-24-2003, 12:50 AM
Originally posted by BubbleLamp
I'd like to see a repeat function on the FWD/REV buttons for us mouse addicts.

Hummm. I had not thought of that. But it is easy enough to do... I will add it to the TODO list.

--jdiner

jdiner
01-24-2003, 12:54 AM
Originally posted by justme
BTW, one of jdiner's .key files wouldn't merge into the registry anyway. I haven't looked at his .key files yet, but registry files have to be formatted in a specific way to work.
Yeah. No hope there. My Key files are custom formatted MPEG-2 files. And I do mean custom...

By and large the registry files I have looked at over the years are text and nothing in my key files is so...

But I think that I agree with many here. I want to make some changes to things and I think what I will do is use .TYK... For TYstream Key....

Also I have been thinking tonight that what I need to do is to make the CLI changes finally. So that it will become:

vsplit -k file.ty

and the result will just be file.tyk...

Easier to type and less mess down the road. Add to it an auto load for the cut files that try to open file.tyk from file.ty on the command line and it should be easier to do.

--jdiner

jdiner
01-24-2003, 12:55 AM
Originally posted by bronco13
Not sure if this is relevant but I thought it was interesting feedback.

A one hour Surreal Life episode downloaded at 917,504 KB.
The muxed commercial free .mpg came out to be 677,489 KB.

This means that 240,015 KB (26.15%) were commercials...

At 661MB/Hour we can fit just over 7 hours per DVD?

That can't be right. Right?
It matches dead on what I am seeing here. Which was good news for me... As I want the most I can get onto a single DVD.

I suppose I should point out that when the VOB generation gets re-added. Working on it now, or was before getting back on the forum, the files will go up in size. Not too badly but there will be more in the mux, a 2k PES segment, right before the start of each GOP. No guess yet on how many of those there are but be aware it will mean a change in size...

--jdiner

jdiner
01-24-2003, 12:58 AM
Originally posted by Wooly
THIS .BAT FILE IS SET TO DELETE YOUR .TY FILE AFTER IT'S FINISHED, SO BE FORWARNED. If you don't want it deleted, REM out the line that says "del %1.ty".

ACK! You do remember that to get the VOB stuff in there you need to keep the TyStream file right? Please tell me you didn't wipe out your archives of streams doing this...

--jdiner

jdiner
01-24-2003, 01:04 AM
Originally posted by tungsten2k
major audio sync probs... drifts to about 10 seconds by the end. stream de/muxs fine with tydemux/mplex, haven't tried old tytool on it.

That would be a new one. No one else has reported any poblems in a long time. And with how the mux'er works I am not sure how the failure is happening. Could you please try mux'ing with no cuts at all and see what happens.

Also what player are you using to detect the problems?



the menu selections "Move 50 frames forward/backward" doesn't work, only key combinations.

this is gonna be nice.

wish list:
key combinations for add cut, del cut, forward/backward one frame (so we can set application-specific buttons on intellimouse explorer like the scroll button : )

Crap. Not sure how I missed that but you are most correct. The menu for the 50's does nothing. See what happens when a keyboard lover writes windows programs? :) Ok. Already fixed in version 0.05...

As for the key combos. There are some. I swear I posted at some point.

Add cut: Del, x
Del Cut: Backspace
Forward or back 1 frame: left or right arrow key.


Anything else?

--jdiner

jdiner
01-24-2003, 01:06 AM
Originally posted by Andy in NYC
OK, a problem.

TMPGEnc Plus (licensed) refuses to open the resulting .mpg files so that I can lower the bitrate and burn as SVCD.

Am I missing something?


No. There is an issue there. I believe that I know what it is. I am working on it to try and make things easier all the way around for those that want to transcode. But it will make things larger for no good reason for many so it will be an option.

--jdiner

jdiner
01-24-2003, 01:09 AM
Originally posted by bronco13
So what about authoring?

Looks like everyone is going off in their own directions. I've tried the whole fake out thing with Ulead but it insists on transcoding... Blah.

Spruce has NEVER worked for me ever...

I don't think I can use IFOEdit (yet)

Anyone? Anyone? Bueller...

Be patient just a little longer. I am working over the IFO, BUP, VOB creation stuff now. What I would really like is for ifoedit to pick of this or some other tool but for now I am putting what I can see and find and figure out in play. Once I can truly make a VOB then no further re-muxing or re-encoding of the stream will be needed. Which will mean perfect sync throughout the stream for every stream... And that as luck would have it is my end goal... :)

--jdiner

jdiner
01-24-2003, 01:11 AM
Originally posted by BubbleLamp
Maybe I missed something along the way, but wasn't the only reason to use Spruce was because it handled the elemental streams? If the file is now a valid MPG, can't we use any of the zillion DVD authoring packages out there to do the chapter stops, titles, etc?

What tools do you know of that do this. I will stop working on VOBs and go back to compatibility if there is something that will really work with this. I would rather work where I can be effective that spin my wheel on the very expensively documented DVD stuff. $7k is what I read on a web site for DVD docs. Now thats a racket!

--jdiner

BubbleLamp
01-24-2003, 01:12 AM
Originally posted by jdiner
Woah. That is wierd. I have spaces in my file names and it worked correctly for me. What OS are you using. I might be facing that again...

--jdiner

WinXP Pro.

jdiner
01-24-2003, 01:15 AM
Originally posted by rc3105
if the util you use to split the tyfiles does it properly editing with regular mpeg tools isn't a problem, sync is maintained perfectly. if it's split with a util that doesn't do it right you're out of luck because the info to unscramble the eggs is lost.

Here we go again. Olaf's is better. Jdiner's is crap. Give it a rest.

Different goals. Different methods. I took the road of not filling in the hole and rebuilding problems in favour of making sure what comes out is correct according to the mpeg-2 spec. If all you ever want to say is that olaf's is better. Then please save it... I for one and sick to death of hearing it.

--jdiner

jdiner
01-24-2003, 01:20 AM
Originally posted by laserfan
The new GopEditor worked like a charm for this, tho it seemed to take a long time getting the 4min song out of the 1hr program. Where are the instructions that explain the args for vsplit? Can you "quiet" the output? Maybe that would speed it up for me.


The problem with the text printing if what you want is 4 minutes of 60 then you will see literally thousands of them, is that the dos-prompt is slow... Just redirect it to nothing... Add:

> nul:

to the end of the split call to vsplit and it will go much much faster.


Anyway my clip was in perfect sync & played beautifully in WMP and PowerDVD. Dunno how to convert the audio to 48kHz yet, but this is very exciting stuff isn't it.


I have a fix for that problem. It was written for me by someone else here on the forum. I will be adding it in soon. I just want to get the crap vob stuff off of my plate, before adding anything else to the mix.

--jdiner

jdiner
01-24-2003, 01:27 AM
Originally posted by wolkowh
I just don't know how we can get around the GOP errors, anyone with an idea feel free to chime in. I guess I'll have to offer a bounty to anyone who can figure out how to fix GOP errors without transcoding.

What's it worth to you? :)

Actually I have been doing tons of stuff in "thinking" about this issue. I don't know that I will ever get things to the point where spruce will work on it. But from some of what I have read online, not well documented but... it is possible to create chapters without too much trouble. So perhaps spruce will not be needed at all... After all we've come this far haven't we... :)

Perhaps even though this is a different program set we can entice olaf to share his knowledge of the DVD layout to get from here to there...

In looking at the stream there is no way to break it without re-encoding... But I have everything, but the encoder, in place to transcode only chosen frames. This was originally for the purpose of working over the cut to look better. And would still be used for a frame accurate editor. But it could be used in an automated way to split GOPs...

The problem is. It will be very problematic to go to an 18 frame GOP. From a 30 frame one. If it was 36 welll that would be a different story. So to be honest unless there was a really good reason to do it I doubt it will ever happen.

Honestly it seems easier to me to figure out how to add chapters to what we build in our own tools, possibly in conjuction with the derrow (author of ifoedit), than to try to make things "perfect" to fit into finicky tools from other companies.

Thoughts? Comments? Suggestions?

--jdiner

jdiner
01-24-2003, 01:29 AM
Originally posted by jbron
Sweet Program. I have been successful so far with one 30 minute show. However, I have a 1 1/2 hour show that just won't convert to a key file. It starts, but then pauses with this error

MUX Have the body for P4-frame and Header for B5-Frame.
ERROR: Out of memory getting a new MuxNode buffer!

Does anyone know what this error is or is my ty file just corrupted?

Cut the bad segment using TyFileSplit, you will find it in the programs sticky thread, and send it to me. I will take a look. What you report should never happen. Unless your machine has 64meg of ram and runs XP with no swap space... :)

--jdiner

jdiner
01-24-2003, 01:32 AM
Originally posted by Pr.Sinister
Could you guys please check if you go to the absolute
end of the Key file in the GopEditor and you click ],
does it give you the right time or just 13:15:21.858 ?

I don't remember if earlier versions did that...

Maybe it's intentional... i dunno...

-Pr.

It is indeed. I did it on purpose. Here is why:

We are getting GOP start timestamps. I cut including the first and upto but not including the second. So you would get what you want and then 1 or more frames at the end. I.e. the SEQ, SEQ_EXT, GOP, and I-Frame for it, followed by anything else that was tacked on.

No what you want. So... If you cut starting at the first frame you get a 0 timestamp. I.e. everything from the start of the file on.

If you cut at the end of the file, i.e. the last known GOP, it goes to the end of the file for a clean smooth ending.

--jdiner

jdiner
01-24-2003, 01:34 AM
Originally posted by Milo
jdiner, you rock! I've been running the last few days' worth of VH1 Classic through vsplitmux2, and so far there's only one video the new tools haven't synced audio and video perfectly for.

Beta issue: performing a cut containing the first block is rather likely to kill the audio track for the remaining stream. I've been able to work around it by using the
vsplitmux -j option to jump to the start of the section I want.

That makes no sense to me. I cut the starting lead-in crap from all of my real streams. What playback mechanism are you using where it fails? What type of audio? I.e. LayerII standard or Dolby Digital? What type of Tivo is the stream coming from?

I have a ton of error correction stuff in there to make sure that the process works as it should on the audio. No strange bytes, no missing bytes, etc... I don't get it...

--jdiner

jdiner
01-24-2003, 01:37 AM
Originally posted by tzito
I've ran a couple 2.5 hr shows through the earlier versions without problem; So it isn't a length issue unless it's new to this version...
Just to be clear. The line where it stopped is at the 4th queued video frame. There is no way it could be out of memory. It will have loaded 10 128 chunks for early analysis and would then be processing them. Something else in the system is the culprit.

--jdiner

jdiner
01-24-2003, 01:41 AM
Originally posted by Wooly
What I'd REALLY like to see is Spruce having the ability to import VOB files directly, without any interpretation as to whether they are valid or not. This would allow us to use Jdiner's tool to create a VOB and then drop them into Spruce and create DVD's easily WITH menus.

Here here! Spruce is not the only option for this. Does anyone use anything else that will accept them? The nero tools? Anything... I would love not to have to worry about them. To be honest I might not anyway. What I wanted is multiple shows on a single DVD with no re-encoding for best quality. After that. It is all just icing to me...

--jdiner

jdiner
01-24-2003, 01:45 AM
Originally posted by Andy in NYC
the editor is beautiful for cutting out commercials, etc. (after I realized that the list is the OUT, not the IN <g>).


Sorry. I am not a video editor person by nature. I am a developer. And it shows in many ways. What I was building was a "cut list"... Directly a list of things to cut. Not keep. Made sense to me at the time... Still does. Seriously until it was written here by a few people it never even occured to me that someone would want to do it a different way.


I end up with an .mpg that plays in Media Player beautifully.

What I want, however, is an SVCD that plays in my JVC. To do that, I need to lower the bit rate and convert the audio.

I don't know that at the moment it is possilbe. The changes to the layout in the mpeg file, which is currently completely up to spec, will increase the size but should allow other tools to open it a bit more easily. I have yet to identify what is actually going wrong but hey... I could luck across it in short order.

--jdiner

jdiner
01-24-2003, 01:49 AM
Originally posted by newlooper
Well I have tried and have come up with something VERY weird.

Any ideas????
Cut it and send it to me and I will take a look. Not promising anything but there are still some problems in the extract TyStreams that are just not being handled right. There are some pretty nutty things going on.

--jdiner

BubbleLamp
01-24-2003, 01:51 AM
Originally posted by jdiner
Yeah. No hope there. My Key files are custom formatted MPEG-2 files. And I do mean custom...

By and large the registry files I have looked at over the years are text and nothing in my key files is so...

But I think that I agree with many here. I want to make some changes to things and I think what I will do is use .TYK... For TYstream Key....

Also I have been thinking tonight that what I need to do is to make the CLI changes finally. So that it will become:

vsplit -k file.ty

and the result will just be file.tyk...

Easier to type and less mess down the road. Add to it an auto load for the cut files that try to open file.tyk from file.ty on the command line and it should be easier to do.

--jdiner

Looks like it's not registered. Here's a link (http://filext.com/index.htm) for you.

jdiner
01-24-2003, 01:55 AM
Wow we are a verbose group of people. 2 days and 5 pages of new messages. Some good stuff in here though.

A few requests though. If one or more people would like to search the web for tools that deal with VOBs directly rather than wanting elementary streams or that will clean up the "empty" DVD PES packets in an mpeg I could really use the help.

I can look at them directly once they have been identified to see what will help us out with what I have. I just wan't to keep coding rather than spending time looking at the myriad of tools.

--jdiner

jdiner
01-24-2003, 01:57 AM
Originally posted by MrBassMan
The sync drift is caused by errors in the ty stream. Olaf's tydemux will fix these. It is the only program I have found which produces in-sync audio for UK TY streams.

Many many people have used my stuff with UK Tivos... No idea why you seem to be having problems but a couple of my UK testers have done literally hundreds of streams with no issues...

--jdiner

BubbleLamp
01-24-2003, 02:14 AM
Originally posted by jdiner
Sorry. I am not a video editor person by nature. I am a developer. And it shows in many ways. What I was building was a "cut list"... Directly a list of things to cut. Not keep. Made sense to me at the time... Still does. Seriously until it was written here by a few people it never even occured to me that someone would want to do it a different way.

--jdiner

Hee hee. Same here, made perfect sense to me.:D

BubbleLamp
01-24-2003, 02:45 AM
Originally posted by jdiner
Honestly it seems easier to me to figure out how to add chapters to what we build in our own tools, possibly in conjuction with the derrow (author of ifoedit), than to try to make things "perfect" to fit into finicky tools from other companies.

Thoughts? Comments? Suggestions?

--jdiner


Don't know if my mindset reflects anyone else's here, but this is where I'm at. My original goal was to be able to burn DVDs of old shows, and/or specials that were playable on most set-top players, with rudementary menus/navigation. Since I've come to learn that will ALWAYS mean transcoding (DTivo source), I'm sort of forking into two paths:

1) Bite the bullet and burn non-transcoded 480x480 discs for things I know I can play on my hardware. (Probably the majority of what I will burn.)

2) Transcode SOME content for sharing with others who may not be able to handle 480x480. (This may be less of an issue than I imagine, still unclear.)

Now, I really don't want to save all the ty files forever on the odd chance I need to re-burn another DVD. So my thought here is to to just dupe the disc if I only need another 480x480. And the plan was to rip/transcode/burn if I wanted to turn it into a 352x480. But I don't know if anyone has ever tried this? Will rippers handle a 480x480 DVD without choking?

In an ideal world, I'd love to see MPEG output that any app like DVD Workshop, DVDit, etc could all import, manipulate, and author from. Hope you ain't sorry you asked! ;)

jdiner
01-24-2003, 04:13 AM
Welp. I have been working over my code for going straight to a VOB.

The good news is that the mux'ing stage itself appears to be correct. I build the empty holes much the same way the BBMPEG and mjpeg mplex do it.

These files can then be run through ifogen and they play, without being burned to disk, in the WinDVD players "DVD From Folder" option. So this means the data issues have been solved. Which is very nice as this is where I was getting tripped up before.

The problem right now is that I munged the rest of the VOB code looking for errors so badly that what it puts in the file as the vob itself is no longer correct...

So ifogen makes something playable my code does not. Gonna have to go back through it at each generation point one more time and see where things went wrong.

So the good news is we are closer than ever. The bad news is that at the moment I have no idea what is wrong... :)

--jdiner

MrBassMan
01-24-2003, 05:53 AM
Originally posted by jdiner
Many many people have used my stuff with UK Tivos... No idea why you seem to be having problems but a couple of my UK testers have done literally hundreds of streams with no issues...

--jdiner

In streams less than 30 minutes, the sync drift is not bad enough to worry about. >30 minutes it starts to become a problem. Over a 1.5 hour movie the sync ends up about 2-5 seconds out. I have always had this problem with both vsplit and tydemux (until release 0.4.0). I have seen many posts from UK users suffering the same problems. Olaf has at last solved the problems for UK users as well as many of the errors seen by DTivo and other users. What I as a user would love to see is you guys working together.

This is NOT an Olaf vs jdiner bash - you were first and have produced some excelent tools. The plain and simple fact is you are working in opposition to one another and it would be better for everyone if you were working together. As of today, you have the best advert removal tools and Olaf has streams that are compatible with most third party editing tools. I want both (sorry to be so greeddy);)

mpauley
01-24-2003, 06:57 AM
jdiner -

In the VOB creation, could the cut list be used to create chapter points in the .IFO files?

--mp

shstevens
01-24-2003, 11:28 AM
Originally posted by jdiner
That makes no sense to me. I cut the starting lead-in crap from all of my real streams. What playback mechanism are you using where it fails? What type of audio? I.e. LayerII standard or Dolby Digital? What type of Tivo is the stream coming from?

I have a ton of error correction stuff in there to make sure that the process works as it should on the audio. No strange bytes, no missing bytes, etc... I don't get it...

--jdiner

JDiner,

Thanks again for such a kick ass tool. I have seen this as well. The first test clip made me pull my hair out for a while until I just went and used a couple other files. Each time I cut the first segment out (lead in commercial, etc.) there would be no audio in the program. I tried playing it on two different machines with WMP and PowerDVD4. Every other clip I have played with has been fine and I always clip some part of the beginning off.

I am using DTivo streams and in the non-audio sample it was not DD. I don't have the clip anymore (was an old Jeopardy episode I was testing on since it was small in size), but if I run into it again I am happy to send you the clip on CD or a part of it via Internet...

Shawn

jdiner
01-24-2003, 12:26 PM
Originally posted by mpauley
In the VOB creation, could the cut list be used to create chapter points in the .IFO files?


I have been having exactly the same thought... At least making it an option to behave that way.

--jdiner

hancocks
01-24-2003, 12:44 PM
jdiner,

I know that all I've really wanted is to:

1) wack the commercials, and
2) burn 'em to DVD with menu buttons. Period.

You made #1 happen. Thanks. How hard is #2? I have no concept of how to go about it, and (as stated often in this thread) DVD authoring s/w seems to spit up the mpgs.

Or is this what you are referring to with "chapter points"? I thought those were something else.

Tx,

- Stu

zobetron
01-24-2003, 01:06 PM
In your GOP Editor I wonder if you could add a "current chunk" readout a la the current time code readout. Among other things I think it would make it easier to isolate problems with bad chunks (with tyfilesplit).

TIA,

Zobetron

mpauley
01-24-2003, 01:23 PM
Originally posted by jdiner
I have been having exactly the same thought... At least making it an option to behave that way.

--jdiner

I think it would work out like:


Show is:
00:00:00 - 60:00:00

Cut out for commericals (Even times for simplicity):
00:02:00 - 00:03:00
00:10:00 - 00:12:00
00:20:00 - 00:22:00
00:35:00 - 00:38:00

Chapters would be:

Chapter1 0:00:00
Chapter2 0:02:00
Chapter3 0:09:00
Chapter4 0:16:00
Chapter5 0:28:00

Does that sound right?

jdiner
01-24-2003, 01:44 PM
Originally posted by zobetron
In your GOP Editor I wonder if you could add a "current chunk" readout a la the current time code readout. Among other things I think it would make it easier to isolate problems with bad chunks (with tyfilesplit).

It doesn't really apply. But perhaps I can fit something to it. The chunk# is a TyStream thing. By the time I get to the key files there is nothing of that left. Just mpeg-2 data and my own packing structures. But I can add that value into my packing information. It will make the key files a bit larger but they are transient in nature. However I still don't see what use it would be. If vsplit has issues with a stream then making a key file will also not be perfect...

--jdiner

jdiner
01-24-2003, 01:46 PM
Originally posted by mpauley
Show is:
00:00:00 - 60:00:00

Cut out for commericals (Even times for simplicity):
00:02:00 - 00:03:00
00:10:00 - 00:12:00
00:20:00 - 00:22:00
00:35:00 - 00:38:00

Chapters would be:

Chapter1 0:00:00
Chapter2 0:02:00
Chapter3 0:09:00
Chapter4 0:16:00
Chapter5 0:28:00


Right now it creates chapters like this:

Chapter1 0:00:00

and that is it. I.e. 1 chapter for the whole show. I still think putting it on an option is the best bet as some won't like that. But with the "chapter @ cuts" option on I think that what you have above would be correct. A chapter at each cut point. They would for the most part not be the same size. But they would provide for easier navigation. Especially with 5-7 episodes on a single DVD.

--jdiner

Andy in NYC
01-24-2003, 01:56 PM
Originally posted by jdiner
Right now it creates chapters like this:

Chapter1 0:00:00

and that is it. I.e. 1 chapter for the whole show. I still think putting it on an option is the best bet as some won't like that. But with the "chapter @ cuts" option on I think that what you have above would be correct. A chapter at each cut point. They would for the most part not be the same size. But they would provide for easier navigation. Especially with 5-7 episodes on a single DVD.

--jdiner

Chapter at cut also logically makes sense since this is (more or less) where commercials are inserted into the show.

Originally posted by jdiner
I don't know that at the moment it is possilbe. The changes to the layout in the mpeg file, which is currently completely up to spec, will increase the size but should allow other tools to open it a bit more easily. I have yet to identify what is actually going wrong but hey... I could luck across it in short order.

I'm not sure I understand this statement. You state that the file is currently compliant, but it won't open in TMPGEnc (is TMPGEnc in some way not compliant?) I'm not flaming, I'm trying to understand my problem and what is involved for you to fix it (I'm very much aware that you aren't under any requirement to fix my problems - if you are, email me for the LONG list <g>). If increasing the size of the file is an outcome of fixing the stream for SVCD'able (or editable) files, is that an option in the muxer, or a comlete rewrite issue? Am I making any sense.

Thanks for a great utility (hopefully soon to be great for me, too) - sorry about the death in the family.


Andy in NYC

sky12
01-24-2003, 02:01 PM
Originally posted by jdiner
That makes no sense to me. I cut the starting lead-in crap from all of my real streams. What playback mechanism are you using where it fails? What type of audio? I.e. LayerII standard or Dolby Digital? What type of Tivo is the stream coming from?

I have a ton of error correction stuff in there to make sure that the process works as it should on the audio. No strange bytes, no missing bytes, etc... I don't get it...

--jdiner
I'm one of the ones who have had problems slicing off the start of programs.(in my case, Full Metal Challenge and Junkyard wars)
To see if I could duplicate it, I did a couple of tiny recordings.
I succeeded and learned a little bit at the same time.
I have a 160 Meg .ty file which I cut the front off and I wound up with slow audio. (deep voices, everything kinda sluggish)
If I set the cut point one frame back or front, everything is fine. Just the one point.. (in this case, when the video's blank between TLC's leadout and the show's start)

What I'm doing this all on:
Windows XP
viewing with Media player 9.

Alright, bit of new information..
The same Mpg that plays horrible on Media player 9 plays perfectly with PowerDVD....
The Codec MP9 is trying to use is "Intervideo Video Codec"
(and the test I just ran in MP9 just blew it up)

Looks like the simple solution is bind .mpg to PowerDVD. :)

tzito
01-24-2003, 02:05 PM
Originally posted by jdiner
What's it worth to you? :)

The problem is. It will be very problematic to go to an 18 frame GOP. From a 30 frame one. If it was 36 welll that would be a different story. So to be honest unless there was a really good reason to do it I doubt it will ever happen.


Thoughts? Comments? Suggestions?

--jdiner

I haven't had any problems with my DVD play playing back streams that violate the 18 frame / GOP limit, but I still think being as compliant as possible is best.

I know this jumps into the whole transcoding arena, but what if you were to grab a GOP, copy the first 18 frames through to the output. While the first 18 frames were copies to the output you also applied them to a buffer representing the I frame with P and B frames applied. You apply the 19th frame to the buffer and generate an I frame from the buffer to output and then copy the remaining 11 frames out to output. This would give you 2 GOPs (1 with 18 frame, 1 with 12 frame) for each 30 frame GOP.

As I have not programmed with MPEG streams, this may be a very uneducated idea; But it makes sense to me...

artships
01-24-2003, 02:12 PM
Originally posted by MrBassMan...
The sync drift is caused by errors in the ty stream. Olaf's tydemux will fix these. It is the only program I have found which produces in-sync audio for UK TY streams.

Originally posted by jdiner
Many many people have used my stuff with UK Tivos... No idea why you seem to be having problems but a couple of my UK testers have done literally hundreds of streams with no issues...

Josh,

For months tytool was all I needed. In November vsplited tystreams started having glitches that kept TMPGEnc from successfully transcoding them. When I could get TMPGEnc to work on them, sync would drift, and authoring programs, when they would even accept the MPG, would accentuate the drift, or even knock-out portions of the audio.

Perhaps it was a failing hard-drive which introduced glitches into my stystreams and thus broke my almost-automatic DVD-making machine; this may happen to everyone eventually. When the tystreams were perfect, vsplit was enough. Now...

John

MrBassMan
01-24-2003, 02:19 PM
Originally posted by artships
Perhaps it was a failing hard-drive which introduced glitches into my stystreams and thus broke my almost-automatic DVD-making machine; this may happen to everyone eventually. When the tystreams were perfect, vsplit was enough. Now...

John

I think that is the crux of the problem - perfect streams are OK which is why some users are OK and small streams tend to be OK. When there are problems with the stream data, these problems show up further down the muxing/editing line as audio sync and other problems.

zodiacal
01-24-2003, 02:56 PM
what exactly is the -d option for? anyone?

Billy Joe Bob
01-24-2003, 04:55 PM
Originally posted by Pr.Sinister
Is this from a DirecTiVo or a SA TiVo? Cause the sound is no problem. Just say turn off compliance when Nero asks... If you use -m -d -c, there is no need to go to TMPGEnc anymore.

-Pr.

From a Dtvio

tried this and the audio is off ...

Any suggestions ??? TIA...

jdiner
01-24-2003, 05:01 PM
Originally posted by Andy in NYC
I'm not sure I understand this statement. You state that the file is currently compliant, but it won't open in TMPGEnc (is TMPGEnc in some way not compliant?) I'm not flaming, I'm trying to understand my problem and what is involved for you to fix it (I'm very much aware that you aren't under any requirement to fix my problems - if you are, email me for the LONG list <g>). If increasing the size of the file is an outcome of fixing the stream for SVCD'able (or editable) files, is that an option in the muxer, or a comlete rewrite issue? Am I making any sense.

Ok. There are things that are legal that are also unexpected by the majority of the players. I removed as much pading as was humanly possible.

The mux'ed output from my stuff is the smallest I have seen. But in doing so it appears that there are certain programs, tmpgenc/MediaPlayer's Codecs/etc..., that expect things to be found in a certain layout. I have looked at the source for a few things on the web in the last 24 hours in looking at this and I found that many of them are just plain insane. Fixed byte locations. If I found this here, look for this there. In doing so they ignore the MPEG-2 flags that indicate if that data is even present in the stream.

Like I said insane.

Anyway, I am working on a version that will produce the larger output but that will probably be more compatible. If I had known it was going to be such a problem I would have not spent as much time trying to smash it all down. But with the reduced padding in the current version you can put alot more read data onto an SVCD/DVD disk.

--jdiner

jdiner
01-24-2003, 05:08 PM
Originally posted by zodiacal
what exactly is the -d option for? anyone?
Standard Program Stream MPEG is 2048 bytes.

Standard SVCD MPEG is 2342 bytes. -d mux'es into the 2342 size.

No audio is changed. No other unkown processing takes place. If you load a 2048 byte mpeg into a VCD writing tool. It will remux, in many cases very very poorly, into the larger byte count size.

By very poorly one of the freeware tools I downloaded from the web muxes the first part of the data into a stream and then padds for 300 bytes at the end of each one. Bloated the size of my file by over 40% when all was said and done.

--jdiner

zodiacal
01-24-2003, 05:14 PM
if i use the -d option and drag it into nero to burn a svcd will it still remux (and bloat the file) because the audio is not the right format either?

koreth
01-24-2003, 05:31 PM
One more opinion to throw into the mix: I don't care about loading streams into third-party editing tools -- getting the original, non-transcoded MPEG streams as small as can be (with commercial removal, which the GOP editor solves quite nicely) is the holy grail for me. As long as the eventual VOB-creation tool allows me to put a simple menu on a DVD (possibly with a third-party tool) I'll be happy.

Luckily for me it sounds like that's the same thing jdiner wants.

zodiacal
01-24-2003, 05:43 PM
welp I'm a little more picky. i want to be able to make svcds. its good right now to cut commercials and burn a 30 min show onto one cdr and i guess its ok to burn 1 hour shows onto 2 cdr's. but what i really want to do is transcode my shows to fit more onto a cd. not everyone has a dvdr yet... is the standard getting close to a set one? which is it going to be dvd-r or dvd+r?

Pr.Sinister
01-24-2003, 05:53 PM
Originally posted by zodiacal
if i use the -d option and drag it into nero to burn a svcd will it still remux (and bloat the file) because the audio is not the right format either?

Just turn off compliance and it won't transcode. It works great in my Apex AD-1200...As long as the audio is MPEG Layer II.

-Pr.

Pr.Sinister
01-24-2003, 06:01 PM
Originally posted by zodiacal
welp I'm a little more picky. i want to be able to make svcds. its good right now to cut commercials and burn a 30 min show onto one cdr and i guess its ok to burn 1 hour shows onto 2 cdr's. but what i really want to do is transcode my shows to fit more onto a cd. not everyone has a dvdr yet... is the standard getting close to a set one? which is it going to be dvd-r or dvd+r?

If you want an hour show on 1 CD, you'll have to go to VCD
and not SVCD. To me, VCD is just crap. Unless i download
a movie from the net that's already VCD, i can tolerate.

I mux with -m -d -c and make multiple parts so i can fit on CD's.

I load up Nero, create SVCD, drag and drop the 1st file, turn off
compliance when it asks me, and burn.

Works like a charm.

-Pr.

Wooly
01-24-2003, 06:03 PM
Not to worry, we're good. I'm about a beer away from legally retarded, but not quite that bad!

I personally don't delete the .ty file, becuase I'm in it for the VOB's - I created that .bat file simply for those folks who wanted .mpg's and had trouble consistently entering commands via the dos prompt. I rem out the last 4 lines, thereby keeping the .tyk file along with everything else, and still allowing me to check the .mpg file for desired output (synch, correct cuts, etc.)

Originally posted by jdiner
ACK! You do remember that to get the VOB stuff in there you need to keep the TyStream file right? Please tell me you didn't wipe out your archives of streams doing this...

--jdiner

zodiacal
01-24-2003, 06:05 PM
i would also like to transcode so i can put them on my pocket pc.

Wooly
01-24-2003, 06:06 PM
IFOEdit is the be-all of creating VOB's and IFO's from elemental streams. I have yet to find an easier or more stable method.

'course, you don't get menu's, but you can't have everything, now can you?!!

Originally posted by jdiner
What tools do you know of that do this. I will stop working on VOBs and go back to compatibility if there is something that will really work with this. I would rather work where I can be effective that spin my wheel on the very expensively documented DVD stuff. $7k is what I read on a web site for DVD docs. Now thats a racket!

--jdiner

RxMan
01-24-2003, 06:24 PM
Hey Wooly,

I have been having audio problems with the gopeditor/tmpgenc/ifoedit method. Can you take a look at my thread?

http://www.dealdatabase.com/forum/showthread.php?s=&threadid=21334

Wooly
01-24-2003, 06:31 PM
Heck, I can do that now, and show anyone else how to do it - rather easy, actually.

Requires:

1. GOPEditor, Vsplit from Jdiner
2. IFOEdit v.96Beta1 (pay the $5, you cheap bastards!!!)
3. DVD Burner
4. Beer

Here's the steps:

1. Create the GOPEdit'd Mpg file
2. Demux it into .m2v and .m2a (or .ac3, if it's DD)
3. Open IFOEdit
4. DVD Author (at the top)
5. Hit the . box by video, put in the .m2v file
6. Hit the . box by video, put in the .m2a/.ac3 file
7. Highlight the .m2a/.ac3, put in the audio offset on the left
8. Link to a chapter file (more on this later)
9. If adding another title, hit Add Title at the top and repeat steps 5 thru 8
10. Select the destination directory
11. Hit Go

Drink beer

After it's done
12. quit IFO Edit, open IFO Edit, and load the VTS_01_1.IFO
13. Get VTS Sectors - hit okay until done
14. Save file

You now have a VIDEO_TS content folder, with each seperate .mpg being transformed into a Title, and chapters inside each Title. NO MENU's.

As for Chapters (thought I forgot, didn't you?) it's easy - look at the file I'm attaching (CellTimes.txt). Basically, you increment 1 digit for every frame. I've created a file that will give you a chapter every 5 minutes, so that gives you a CellTimes.txt file that looks like this:

9000
18000
27000

and so on...

Questions? This is VERY easy. Just gives us no menu's...but easy.


Originally posted by jdiner

Honestly it seems easier to me to figure out how to add chapters to what we build in our own tools, possibly in conjuction with the derrow (author of ifoedit), than to try to make things "perfect" to fit into finicky tools from other companies.

Thoughts? Comments? Suggestions?

--jdiner

Wooly
01-24-2003, 06:35 PM
You could dump it to a CellTimes.txt file, so it could be used in IFOEdit...

it's easy...reduces your headache...reduces national debt...

A LITTLE HUMOR, FOLKS...IT'S THE WEEKEND!!!

Originally posted by jdiner
I have been having exactly the same thought... At least making it an option to behave that way.

--jdiner

RxMan
01-24-2003, 06:43 PM
Wooly!!

I have beer!!! Just help me out in my thread.

http://www.dealdatabase.com/forum/showthread.php?s=&threadid=21334

Pr.Sinister
01-24-2003, 06:47 PM
Ok... I see people are having a hard time making SVCD's
either because they can't figure out what command-line
arguments to use or they end up with a file too big to fit
on a CD.

I am attaching a batch file that does it all for you. All it needs
is the .ty file and the .cut file to have the same prefix filename.

What this file does is call vsplit to process the cut and the .ty
file and generate as many files needed no bigger than 650 megs.
The files will be named the same as the ty file but with (Part X)*
appended to it and an extension .mpg.

This is for regular Network TV Shows that have commercials in
the middle. If you want to use it for something from a Premium
Movie channel, take a look at the file and you'll figure out what
to edit. (Hint : change -l5500 to -l5200 and increment -j by 5200) ;)

I created a context menu for this on my computer and i only
have to right-click on a .ty file and select "Make Cuts" and i have
all my files done for me. If you don't know how to implement this,
let me know and i'll tell Jack to make a step-by-step tutorial and
put it up on his website again :D

If you use the command prompt, syntax is :

makecuts "My Favorite Show.ty"

* It would be My Favorite Show-(Part 1).mpg, My Favorite Show-(Part 2).mpg, etc...

Pr.Sinister
01-24-2003, 06:49 PM
When using Nero, make sure you TURN OFF COMPLIANCE
if it asks you (You can turn it off manually before) after you
drag-and-drop the resulting files in.

Then burn and try in your DVD Player. If it's one of the newer ones,
it should work just fine.

-Pr.

bfdhe
01-24-2003, 08:34 PM
[2. IFOEdit v.96Beta1 (pay the $5, you cheap bastards!!!)



Where are you getting IFOEdit v.96Beta1? I will happily pay the $5 but I am having trouble finding where to download it.


Nevermind.... I found it.

smartin
01-24-2003, 09:35 PM
Will there be a linux version? Please?

zodiacal
01-24-2003, 09:46 PM
i just used tmpgenc to transcode my vsplitmux2'ed mpg file and it worked perficlty. why are you guys saying you are having problems with this? my audio/video seems t