PDA

View Full Version : Audio is fine in avi, but bad after encoding


albertweb
1st June 2004, 10:36
Hi,

I have an avi file from my miniDV. when I record it, the 1st 10 min was in menu audio level so the volume is low. The next 50min I switch to auto audio level so the volume is good. I played the avi by window media player and the audio level is as expected, 1st 10 min low volume and the rest 50 min in normal volume.
However, after I encode this avi into DVD (by CCE), the 1st 10 min is as expected inlow volume but the next 50 mins are unlistenable that a loud machenical high frequency sound "DaDaDaDa..." played for all 50 mins. no other sound is audiable. I think CCE got confused when the audio level was switch from menu to auto at time=10min also. I then try to encode using TMPGenc, there is no longer DaDaDa... sound at time = 10min, but instead my talking voice sounds like whale that the pitch is very very low and distorted through entire 50 mins. Again, I think the encoder also got confused because the avi file played just fine, so I split this avi file into 2 avi, 1st 10 min with low volume because of menu audio level and 50 min avi with auto audio level. Both avi played fine in window media player. But after encode, both CCE and TMPGEnc shows the 50 min avi encoded into a low pitch distorted voice like whale. CCE no longer generate the DaDaDaDa... sound though. But I just can not get a normal sound out of the 50min video even the avi if perfectly fine.

Is there any one have this kind of problem before. Do you know how to solve this problem?

Thanks
Albert

daphy
3rd June 2004, 16:08
IŽll guess you want to convert into MP2 using Tmpgenc?
If you got two AVIs convert the including (I guess ) PCM-Stream seperatly to MP2 using besweet with the normlisation feature.
Encode the two AVIs (only the video stream) to MPEG (MPV/MPA/MV2 or what ever) each seperatly,
then mux the new MP2 file to each video-stream (-> MPEG)
then merge both MPEGS to one big. :rolleyes:

this should work

TMPGENC uses no good MP2 engine but for muxing/merging the the MPEG-Tools are a good deal

albertweb
7th June 2004, 19:45
Thanks for your input, I finally got it work!
Here is the detail:

* I think there are some "prepend" control bits for audio in avi file
if we change the audio setting in the middle of miniDV tape, the audio encoding could be wrong. (although window media player plays perfectly).
The reason for that is even I took the capture avi (entire hour) and use window movie maker to break into 2 avi to avoid the audio changes in an avi file, the 2nd one still had probem to be encoded correctly.

The way I get around that is I have to capture 2 avi seperately. I capture 1st 10 min into 1 avi and restart to capture another 50 min into 2nd avi so that both avi have there own audio settings. (do NOT split these 2 avi from original avi).

encode both avi into 2 mpeg2's using MainConcept. (CCE still wrong, wierd). using TMPGenc to merge these 2 mpeg2 into 1, then create DVD based on this final mpeg2. I finally works in 1 DVD disk.

From this experience, be aware of changing audio setting from auto to manual or from manual to auto in a section that you will intent to encode into 1 single DVD, that may cause some aution problem.

Thanks
Albert