TMPGEnc MPEG1 conversion troubles.

The old Video Software Help forum, left visible as an archive.

TMPGEnc MPEG1 conversion troubles.

Postby Trilaan » Fri Sep 08, 2006 7:16 am

Okay, if I use WAV audio my MPEG'd video has no picture and the audio goes superspeed. If I use the audio that accompanies the AVI file the audio is normal but there's still no image.

When I do WAV audio and set it up to process through tooLAME it ups my sample rate because of a "Wave Header" error.

Gotta get the audio and video working very soon for convention submission. All help is appreciated!
Trilaan
 
Joined: 10 Jul 2001

Postby Zarxrax » Fri Sep 08, 2006 7:36 am

Sounds like your audio is screwed up. How did you create the wav? I'd try doing it again, or by a different method.
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Postby Willen » Fri Sep 08, 2006 9:13 am

What codec is your AVI encoded in? It's possible that either TMPGEnc cannot handle it or you may have to adjust some of its Environmental Settings.
Having trouble playing back videos? I recommend: Image
User avatar
Willen
Now in Hi-Def!
 
Joined: 10 Jul 2005
Location: SOS-Dan HQ
Status: Melancholy

Postby Trilaan » Fri Sep 08, 2006 9:31 am

The AVI is XVid but I was following the Guide's instructions and using an Avisynth file.
Trilaan
 
Joined: 10 Jul 2001

Postby Trilaan » Fri Sep 08, 2006 9:38 am

Open TMPGEnc, load Avisynth file of your video, load WAV file, load presets, load tooLAME, begin the process. I also tried using the normally encoded video w/ both VBR and CBR audio. Neither one worked. The encodes for the video of both was still XVid, though. Since it's just going to the convention contest instead instead of me keeping it, should I just try my luck with another codec like Divx 5.1 or something and just use the one that looks best? I'd rather not but if I have to, I will.
Trilaan
 
Joined: 10 Jul 2001

Postby Qyot27 » Fri Sep 08, 2006 4:11 pm

You can load the audio with the script as well.

Code: Select all
video = AVISource("yourvideo.avi").yaddayaddayaddavideoprocessing
audio = WAVSource("youraudio.wav")
AudioDub(video,audio)


If applicable, you could also add SSRC() to the audio line to resample the frequency before giving it to TMPGEnc. You just need to set the frequency. 44100 or 48000 would be what most use - check the profile first to see what one it uses. If there's already audio in the AVI file, then there's no need to load it with the script or as a WAV file, since AviSynth will autoload it with the AVI (but you knew that).

Other than that, do you have
A) Something to decode XviD through VFW, either the standalone decoder or ffdshow? Do you also have the ability to decode it through DirectShow, again with either the standalone decoder or ffdshow?

B) What version of TMPGEnc is it? Is it one of the new versions that are sold through Pegasys' site, or is it the last one available for download from tmpgenc.net? I don't know if this would have anything to do with it, but whatever. I am assuming that whatever version it is, that you also have the AviSynth plugin for it so it can use scripts.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog
User avatar
Qyot27
Surreptitious fluffy bunny
 
Joined: 30 Aug 2002
Location: St. Pete, FL
Status: Creepin' between the bullfrogs

Postby trythil » Fri Sep 08, 2006 5:15 pm

Trilaan wrote:Open TMPGEnc, load Avisynth file of your video, load WAV file, load presets, load tooLAME, begin the process. I also tried using the normally encoded video w/ both VBR and CBR audio. Neither one worked. The encodes for the video of both was still XVid, though.


Wait a sec. You're feeding TMPGEnc video encoded with XviD?
This is a block of text that can be added to posts you make. There is a 512 character limit.
trythil
is
 
Joined: 23 Jul 2002
Location: Llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch

Postby Trilaan » Fri Sep 08, 2006 5:40 pm

trythil wrote:Wait a sec. You're feeding TMPGEnc video encoded with XviD?


I was attempting to before I learned how fruitless it would be. Now I'm just trying out anything. Now, do you have a suggestion on what I should do?


Qyot27:

A: I dunno if I have the programs for those or not. Would it be correct to assume they're in AMVapp somewhere?

B: The version of TMPGEnc I am using is 2.524
Trilaan
 
Joined: 10 Jul 2001

Postby Qyot27 » Fri Sep 08, 2006 7:31 pm

Trilaan wrote:Qyot27:

A: I dunno if I have the programs for those or not. Would it be correct to assume they're in AMVapp somewhere?

B: The version of TMPGEnc I am using is 2.524

A: Yes, both XviD itself and ffdshow are included in AMVapp, although neither are the newest versions (the newest versions can be downloaded from http://www.koepi.org/ and http://x264.nl/, respectively). If you can open the XviD file itself (without AviSynth) in VirtualDub without it yelling at you that it can't handle DirectShow-only decoders, then that part checks out. The reason DirectShow is important is because TMPGEnc uses it, either primarily or in the event VFW is overriden. I know that TMPGEnc encodes AVI files using VFW, though, so the program has some support for it. It's just a matter of having the right decoders. However, the AviSynth plugin doesn't come in the AMVapp, if I'm not mistaken. You'll need to pick it up from the external plugin area on AviSynth.org (under 'Other Stuff' - it's the readAVS entry), unpack it, and drop it into TMPGEnc's main program directory.

B: That's the version hosted on tmpgenc.net. No problem there.


Otherwise, I'd recommend taking the file into VirtualDub and converting it to HuffYUV before giving it to TMPGEnc.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog
User avatar
Qyot27
Surreptitious fluffy bunny
 
Joined: 30 Aug 2002
Location: St. Pete, FL
Status: Creepin' between the bullfrogs

Postby Trilaan » Fri Sep 08, 2006 8:00 pm

They guy I sent a copy of it to previously for Nan Desu Kan showing may have found a way to make it work but I'll try it with your advice, too. thanks a lot, I really appreciate it.
Trilaan
 
Joined: 10 Jul 2001


Return to Video Software Help Archive

Who is online

Users browsing this forum: No registered users and 0 guests