Log in

View Full Version : I will begin to cry .... :~( .. Help me please!


Tatjahna
21st June 2002, 06:14
:(
What I want : DVD video and audio streams compliant to author in dvdmaestro.

What I did :

1- Captured an avi file using PicVideo MJPEG encoder, and PCM audio at 44.1, resolution of 640x480

2- Created an avs script:
LoadPlugin("C:\Windows\System32\mpeg2dec.dll")
LoadPlugin("C:\Program Files\avisynth\decomb\decomb.dll")
AVISource("D:\LadyOscar_DVD5.avi")
ResampleAudio(44100)
FieldDeinterlace()
#Crop(3,6,628,468) <--
#AddBorders(0,6,0,6) <-- Theses 2 lines didn't worked though.. Why ?
BicubicResize(720,480)

3- I have loaded this avs script into CCE 2.50, have tried to encode the audio and the video at the same time, this didn't worked ( avcStream error or something like that) So I have unchecked the audio encoding.
*The video encoded great ( VBR CQ 80, Min. 1200, Max. 4000 ) and loaded great into dvdmaestro.

4- Have load my original AVI file into CCE and tried to encode the audio and resampling it to 48kHz, that worked without problems, loaded great into DVDMaestro.
*It's only when trying to hear the audio that I have noticed that the sound "chopped" at about 21 minutes after the beginning, 'till the end! Why ?

5- So I have remembered that my Athlon XP CPU has problems with CCE 2.50. I then tried to extract the wav in VDub from my AVI, loaded TMPGEnc, tried then to encode it but the output file is a .mpg and not a .mpa .. I let him go and tried to loaded the results into Maestro... Guess what ? Didn't work too !! :angry: "Illegal file format", I guess.

6- Desperate, I have found in the faq that CCE 2.62 fixed the problem with AMD cpus... Yeah.. and what next ? I have installed CCE 2.64 lite on my computer, but CCE considers his job finished after only 900 frames! :( (There is a total of 156000 frames)

7- So in resumate : I cannot encode my mp2 audio into TMPGEnc, illegal format. I cannot use CCE 2.50 and 2.64. Oh and also I hae tried to use BeSweet with a guide here, this worked great but the sound was a little "pitched" (I mean it encoded it a little too fast so I have an audio file 5 minutes smaller than the original)... Now WHAT ???????

Thanx in advance for taking the time to explain me all of this.

Tatjahna
21st June 2002, 09:35
:( Really nobody can help me ? 21 persons read my message and no one are able to help me?

Okay guys, I have understood that CCE 2.64 Trial does only the 900 first frames.

But there is surely an avi/wav to mpa encoder somewhere ?

Thanx :)

Doom9
21st June 2002, 10:00
maybe if you used a title that described your problem (as per forum rule9) people who could help would actually read your post... just a thought ;)

apparently your tmpg settings were wrong... what was the stream type you chose in tmpg (the options at the bottom right)? how about resampling the wav file after extracting in virtualdub, then encode in besweet?

Uli
21st June 2002, 10:21
Originally posted by Tatjahna
But there is surely an avi/wav to mpa encoder somewhere ?

Thanx :)

sure there is: tooLAME! Fast and great quality.

greetz, Uli

Tatjahna
21st June 2002, 12:06
@Doom9:

Sorry for the topic subject, I will be more clear in the future :o
Incredible, I have read in your thoughts.

Tired, I have opened a avi test file, and did a conversion to 48kHz. I used BeSweet GUI but using BeSweet I have a pitched (fastest) audio output so I have tried 2Lame and it worked great!

No async audio in dvdmaestro, everything is okay.

For TMPGEnc, I have tried the 2 ones : Audio and System-Audio. One had an async audio after the encoding, worst as the video was running (from about 1 sec at the beginning to about 6-7 sec at the end), but I don't remember which one. The other was simply "unsupported".

I notice that I didn't pay enough attention to all of that, and I'm sorry :( I noticed there is alot of explanation on this site from DVD to DVD or DivX, but this was difficult to find informations from simple AVI to DVD ... As before I was doing VCDs, all I had need is how to use VirtualDub and TMPGEnc to make good Mpeg1 streams for VCDs, and now, I'm new to Mpeg2 and I notice I have still have alot to learn :D

Thanx for your replys guys! ;)

auenf
21st June 2002, 14:52
Originally posted by Tatjahna

4- Have load my original AVI file into CCE and tried to encode the audio and resampling it to 48kHz, that worked without problems, loaded great into DVDMaestro.
*It's only when trying to hear the audio that I have noticed that the sound "chopped" at about 21 minutes after the beginning, 'till the end! Why ?


thats what you should have done in the first place, cept the audio...

get vdub to extract the audio to a wav, and change it to 48khz at highest quality, then use a DD program to encode the audio, m2a isnt all that good, altho tmpegenc should be able to compress 'audio only' to a MPEG-2 Layer2 file (rename it to .m2a before giving it to maestro).

Enf...

Tatjahna
21st June 2002, 15:26
Originally posted by auenf


thats what you should have done in the first place, cept the audio...

get vdub to extract the audio to a wav, and change it to 48khz at highest quality, then use a DD program to encode the audio, m2a isnt all that good, altho tmpegenc should be able to compress 'audio only' to a MPEG-2 Layer2 file (rename it to .m2a before giving it to maestro).
Enf...

I am trying your solution Enf.. But... In TMPGEnc for the audio, I only have the choice of Mpeg1-Layer1 or Mpeg1-Layer2 ... What am I missing here ? There is no Mpeg2-Layer2 in the combo box :confused:

I have did it in Mpeg1-Layer2 format in TMPGEnc, then I renamed it and DVDMaestro accepted it. But this file, is in MPEG-1 or MPEG-2 ?

Thanx again!

Uli
21st June 2002, 18:17
mpa = MpegAudio = Mpeg1-Layer1/2
mp2 = Mpeg1-Layer2
mp3 = Mpeg1-Layer3

The audio formats are all Mpeg1. They only differ in the layer. They are upward compatible. Means: A layer3 decoder should be able to decode layer 2 and layer 1 also. F.e. mad decoder. Hope this clears things up a bit ;)

greetz, Uli


BTW: Having a look in the audio forum might be a good idea :devil:

Tatjahna
22nd June 2002, 06:36
Originally posted by Uli
mpa = MpegAudio = Mpeg1-Layer1/2
mp2 = Mpeg1-Layer2
mp3 = Mpeg1-Layer3

The audio formats are all Mpeg1. They only differ in the layer. They are upward compatible. Means: A layer3 decoder should be able to decode layer 2 and layer 1 also. F.e. mad decoder. Hope this clears things up a bit ;)

greetz, Uli
BTW: Having a look in the audio forum might be a good idea :devil:


Yeah, but according to this thread:
forum.doom9.org/showthread.php?s=&threadid=27574 (http://forum.doom9.org/showthread.php?s=&threadid=27574) , take a look at what AuEnf quote :


there is 3 audio formats that all dvd players can decode to the analogue outputs, PCM (no decoding needed there ), AC3 (Dolby Digital) and MP2 (MPEG-2 Layer 2), DTS needs a external decoder on almost all players, and to make a DVD that is 'in spec' you need to include one of the three audio formats, not DTS by itself.


Here he is clearly talking about MPEG-2 Layer2, not MPEG-1 and even in this thread he mentions MPEG2-Layer2 for TMPGEnc..

But as you suggested, I will read more about this subject in the audio forum :sly:

Thanx Uli!

auenf
22nd June 2002, 15:11
mpeg-1 layer 2 should be fine too.

and i hate it how people use the .mp2 extension, mpeg-2 capture/compression programs use that for a 'program stream' (eg ati mmc), but anyone who downloads music says its layer 2 audio ;)

luckily canopus amber uses these:

m2a - mpeg-2 layer2
m1a - mpeg-1 layer2
m2v - mpeg-2 video only
m1v - mpeg-1 video only
m2p - mpeg-2 program stream
mpg - mpeg-1 program stream

Enf...