VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. I was using tmpgenc to ecode a movie file for avi to vcd. After I was finsih converting I found out there is no voice. It have about 30 sec of voice in the beginning and thats it. Does anyone have any suggestion on what I should do. This is the first time that I have a problem with using tmpgenc
    Quote Quote  
  2. Member adam's Avatar
    Join Date
    Sep 2000
    Location
    United States
    Search Comp PM
    This is common. I'm assuming by avi you are referring to a divx encoded file. TMPGenc does not handle compressed audio well, which divx use. Get virtual dub from the tools section and load your avi file into it. Hit file/save wav. Now load this into TMPGenc under audio and encode it. You will get an .mp2 file.

    Go to file mpeg tools in TMPGenc and goto simple demultiplex. Load the original mpg you made, (the one where the audio cuts out.) hit run and you will get a video file (m2v or mpv, I forget) and probably a very short audio stream (another mp2)which you can just delete. Now under mpeg tools go to simple multiplex. Load your video stream and your audio stream and hit run. You should now have an mpg file of your movie complete with audio.

    When converting divx to mpg you should ALWAYS pre-process your audio to wav first and encode it separately from your video and then multiplex them together in the end. This prevents desync as well.
    Quote Quote  
  3. Member
    Join Date
    May 2002
    Location
    Rainy City, England
    Search Comp PM
    "Hit file/save wav"

    Unless you select Audio>>Full processing mode first you may run into further problems. IIRC, without doing this you will save the compressed audio rather than the uncompressed wav.
    Quote Quote  
  4. Member
    Join Date
    Dec 2001
    Location
    israel
    Search PM
    I think the answere is in TMPGenc.
    gotoption>enviromental seting>vfapi plugin
    move "direct show file..." to +1 insted of -1.
    this put the sount in tope prauriti.
    good luck
    Quote Quote  
  5. thanx for the help guys
    Quote Quote  
  6. Actually, I find that it is not necessarily that the audio in the AVI is compressed, but that it is 48KHz audio, while (S)VCD wants 44.1KHz, and TMPEGEnc can't handle the conversion. I have successfully encoded (S)VCD MPEG from DivX AVI when the audio was compressed but already at 44.1KHz. Note however, that you may have audio/video sync problems if the audio in the AVI is compressed - sometimes you will, sometimes you won't.

    If you want to avoid this problem in future, use VirtualDub to create a version of the AVI file with uncompressed audio at the correct bitrate. Load the file into VirtualDub and set video to "Direct stream copy" and audio to "Full processing mode". Under "Audio->Conversion" if the sampling rate is not already 44100 then set it there. Under "Audio->Interleaving" make sure "Enable audio/video interleaving" is selected. Under "Audio->Compression" select "<No compression (PCM)>".

    Now use "File->Save as AVI" to create a new version of the file with uncompressed 44.1KHz audio, then feed the new file to TMPGEnc.

    On my Duron 800 system it only takes about 4 minutes for VirtualDub to create me the new file.


    CIAO - Martin.
    Quote Quote  
  7. Member adam's Avatar
    Join Date
    Sep 2000
    Location
    United States
    Search Comp PM
    No this definitely doesnt have anything to do with the frequency conversion. Actually TMPGenc does have problems with this but it only affects quality...the conversion creates a tinny sound.

    TMPGenc's problem with compressed audio is pretty well documented I believe. You can use an external tool like ssrc to do the frequency change and let TMPGenc do the conversion to mp2 and these problems still persist. The solution is to uncompress the audio before enocding to mp2.
    Quote Quote  
  8. Yep, I know that the conventional wisdom is that TMPGEnc can't handle compressed audio, but I also know what I've found in practice. If the DivX audio is 48K, it doesn't matter whether it's compressed or not, TMPGEnc just ignores it and the resulting MPEG hs no audio. If however it is compressed, but at 44.1K, then TMPGEnc handles it OK - FOR ME.

    I realize that everyone else seems to disagree with me, but I am telling you that of the last 10 DivX's I converted, three had compressed 44.1K audio, and they converted perfectly with TMPGEnc, with no audio distortion I might add, and without needing to decompress the audio first.

    The rest of the DivX's had 48K compressed audio, and they DID require audio decompression AND conversion to 44.1K before TMPGEnc could handle them properly. I'm just reporting what I've experienced.

    Is it possible that later versions of TMPGEnc can deal with compressed audio, while older ones couldn't, and nobody has bothered to try again since their earlier attempts failed?


    CIAO - Martin.
    Quote Quote  
  9. Member adam's Avatar
    Join Date
    Sep 2000
    Location
    United States
    Search Comp PM
    Not likely. Like I said, using an external tool to do the frequency change effectively takes the frequency conversion out the picture. Using ssrc TMPGenc still seems to crash when converting some divx, for me and for others.

    Originally Posted by Martin Green
    If the DivX audio is 48K, it doesn't matter whether it's compressed or not, TMPGEnc just ignores it and the resulting MPEG hs no audio.
    I'm not quite sure what you mean by this statement. If its divx audio than it IS compressed.

    3 out of 10 really isnt that much at all. Its entirely possible you just got lucky on those 3. Perhaps you are on to something and the combination of frequency conversion and compressed audio increases the burden on TMPGenc but regardless, uncompressing the audio to wav still seems to be the best answer. Its extremely fast and it seems to be effective in all cases.
    Quote Quote  
  10. Originally Posted by adam
    I'm not quite sure what you mean by this statement. If its divx audio than it IS compressed.
    What I mean is that if you use VirtualDub to decompress the audio and save video/audio out to a new AVI file, but you forget to convert from 48K to 44.1K, then even though the audio is uncompressed in the new AVI, TMPGEnc creates an MPEG with no sound, at least it did for me when I forgot.

    Originally Posted by adam
    3 out of 10 really isnt that much at all. Its entirely possible you just got lucky on those 3.
    True, but EVERY one of the 10 that already had 44.1K audio, even though compressed, created a valid MPEG with sound. The seven that required decompression prior to encoding ALL had 48K audio. I am not claiming that it is a mistake to decompress audio before encoding with TMPGEnc, just that under certain repeatable conditions I have found it to be unnecessary. And since a 6-700M Divx AVI becomes a 1.6G+ file when the audio is decompressed (and before you create 1400MB of MPEGS from it), it is useful if you are tight on space.

    CIAO - Martin.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!