Comments

johnmeyer wrote on 8/23/2008, 1:16 PM
Go to the DivX site and install the codec (you don't need to install all the other stuff). Vegas will then read the DivX file and you can edit directly on the timeline.

If a "DivX" file doesn't appear on your timeline (typically you get only the audio) the usual cause is that it has been encoded using the Xvid codec (DivX spelled backwards, and used almost as often as DivX itself). The solution is to the use the Fourcc utility to change the header of the AVI file from Xvid to DivX (takes about 0.01 seconds to run).
Laurence wrote on 8/24/2008, 3:19 PM
I like all that other stuff that installs with DivX.

Anyway, after installing DivX, if you go to the DivX configuration utility (Start/All Programs/DivX/DivX Codec/DivX Configuration Utility), you can go to the "Decoder" tab and check the box that says "support decoding of Generic MPEG-4 Video" and from that point on, the DivX codec will read both DivX and XviD codec video. While you're there, go to the "Toolbar" tab and unselect the box that reads "Show DivX logo watermark". That way you won't see the DivX logo in the bottom right corner when you are playing DivX video from Windows Media Player.
JohnnyRoy wrote on 8/24/2008, 6:53 PM
> While you're there, go to the "Toolbar" tab and unselect the box that reads "Show DivX logo watermark". That way you won't see the DivX logo in the bottom right corner when you are playing DivX video from Windows Media Player.

Laurence, Thank You so much! I have DivX Pro and I couldn't figure out why the darn logo was still showing up when I played back my videos.

~jr
johnmeyer wrote on 8/24/2008, 7:02 PM
can go to the "Decoder" tab and check the box that says "support decoding of Generic MPEG-4 Video" and from that point on, the DivX codec will read both DivX and XviD codec video. Unfortunately, this doesn't work on my computer. I just checked an definitely have that enabled, yet I just had an Xvid file on the Vegas timeline a few days ago, and only the audio showed up until I changed the header using fourcc.
Laurence wrote on 8/24/2008, 7:05 PM
LOL! I actually helped JR! Even if it was in a small and insignificant way, I love this! I feel like I just taught Bobby Fischer a new chess move!
shauntoole wrote on 8/29/2008, 9:57 AM
I take it, from the responses, that some of you have successfully opened DivX files in Vegas. Maybe the first thing I should have said is I'm using Vegas 6d. Would that make a difference?

I had installed DivX way before I tried to open a DivX file in Vegas. I'm on Version 6.8.4.

I ran GSpot on a file and confirmed it is DivX. I pasted some of the GSpot output below. Even with the "Generic MPEG-4" box checked, Vegas says "Video: Stream attributes could not be determined" at the bottom of its Explorer when I click on the file. Adding the file to the Vegas timeline only gives me the audio portion, and I've had Vegas crash after creating the audio waveform.

My best guess is the codecs are not installed in a directory where Vegas can find them. Is there a special place where Vegas looks that I should use? I know it has a bunch of stuff in C:\Program Files\Sony\Vegas 6.0\FileIO Plug-Ins which appear on the "Save As Type" pull-down.

Here's the GSpot output:

--- Container Information ---
Base Type (e.g "AVI"): AVI(.AVI)
Subtype (e.g "OpenDML"): OpenDML (AVI v2.0),
Interleave (in ms): 42
Preload (in ms): 504
Audio alignment("split across interleaves"): Aligned
Total System Bitrate (kbps): 0
Bytes Missing (if any): 0
Number of Audio Streams: 1

--- Video Information ---
Video Codec Type(e.g. "DIV3"): DX50
Video Codec Name(e.g. "DivX 3, Low-Motion"): DivX 5.0.5
Video Codec Status(e.g. "Codec Is Installed"): Codec(s) are Installed
Duration (hh:mm:ss): 49:06.920
Frame Count: 70656
Frame Width (pixels): 512
Frame Height (pixels): 384
Storage Aspect Ratio("SAR")" 1.333
Pixel Aspect Ratio ("PAR"): 1.000
Display Aspect Ratio ("DAR"): 1.333
Fields Per Second:
Frames Per Second: 23.976
Pics Per Second: 23.976
Video Bitrate (kbps): 879
MPEG-4 ("MPEG-4" or ""): MPEG-4
B-VOP ("B-VOP" or ""): B-VOP
QPel ("QPel" or ""):
GMC ("GMC" or ""):
NVOP ("NVOP" or ""):
H264 ("H264" or ""):
Quality Factor (bits/pixel)/frame: 0.186"
johnmeyer wrote on 8/29/2008, 10:18 AM
Use fourcc to change the header to "DX50".
JJKizak wrote on 8/29/2008, 10:18 AM
I have DVIX installed in my Vista 64 machine and it works just fine. Had to download the decoder/coder/converter which they want money for.
JJK
shauntoole wrote on 8/31/2008, 3:11 PM
>Reply by: johnmeyer
>Date: 8/29/2008 12:18:03 PM
>
>Use fourcc to change the header to "DX50".

Doesn't it already say that?

>Reply by: JJKizak
>Date: 8/29/2008 12:18:59 PM
>
>I have DVIX installed in my Vista 64 machine and it works just fine. Had to >download the decoder/coder/converter which they want money for.
>JJK

DivX works fine on your machine IN VEGAS?
johnmeyer wrote on 8/31/2008, 4:14 PM
You're right. Change it to DivX.

And yes, DivX does work within Vegas, both to decode files, and also for encoding. To encode, choose "video for windows" in the render dialog. Then choose the Custom button. On the video tab you will see a list of all the codecs installed on your computer. Choose Divx and then click on the button to change the settings.
shauntoole wrote on 10/26/2008, 4:35 PM
I'm BAAAACK!!! and johnmeyer's solution worked, at least to some extent. Xvid encoding worked like a champ. DivX needed a little tinkering in the settings before I got a combination that didn't error out.

Big thanks!

A couple more questions, please.

Which template would you use when encoding a one-hour program to DivX? NTSC DV seems to work OK, but if you have other ideas, I'm open. A bigger question is on the audio. Lots of DivX and Xvid I download have MP3 audio tracks. Looks like Vegas doesn't have any support for MP3 when rendering Video for Windows. The audio tab says "no supported formats" when I pick MP3 from the list. AC3 is also a part of the DivX standard, but it's not there, either. I see "araw" when I look at the media info on VLC Player for files I encode this way.

There's no audio when I play a DivX file encoded through Vegas on a stand-alone Philips DVD player which plays DivX.

Also, where you said, "Use fourcc to change the header..." what are you referring to? I looked up fourcc and found a web page with lots of codec info. Is there a utility someplace, too?
jabloomf1230 wrote on 10/26/2008, 9:05 PM
That's interesting, because, I have had the full version of the DivX Pro codec installed for 3 versions of Vegas (6, 7 & 8), under XP, XP64 and Vista and it has never shown up as an encoding option under AVI files. I was always under the impression that DivX is a DirectShow codec and not Video for Windows (VFW). The few times that I've used DivX to encode from within Vegas, I've used the Debugmode Frameserver and served out to VirtualDub. Vegas will read DivX files on my computer just fine. Is there something wrong in my setup?

As an aside, does anyone remember that Divx bought MainConcept about a year ago? The rumor was that DivX was abandoning it's own codec in favor of h.264-based video.
shauntoole wrote on 10/27/2008, 10:28 AM
Did you do as recommended in the note above mine? Also pasted below...

Subject: RE: DivX support
Reply by: johnmeyer
Date: 8/31/2008 7:14:19 PM

And yes, DivX does work within Vegas, both to decode files, and also for encoding. To encode, choose "video for windows" in the render dialog. Then choose the Custom button. On the video tab you will see a list of all the codecs installed on your computer. Choose Divx and then click on the button to change the settings.
jabloomf1230 wrote on 10/28/2008, 7:05 PM
Yes. DivX does not show up as an encoding option under AVI and the "Video" tab. I know it works, because other people have said it does. It just doesn't work for me for some reason. There must be some junk in the Windows registry that's causing Vegas to ignore the codec. I can't imagine what that is, because I can encode using DivX with other software. I've tried uninstalling and reinstalling the codec and over time, I have upgraded Vegas a number of times. At this point, there's no real advantage in using DivX, so it's more of a curiosity to me than a real need. But thanks anyway.
johnmeyer wrote on 10/28/2008, 8:08 PM
Yes. DivX does not show up as an encoding option under AVI and the "Video" tab.You have to click on the Custom button in the Render As dialog. Then go to the video tab and change the video format to DivX. It should look like this:

shauntoole wrote on 10/29/2008, 11:29 AM
Back to my previous question - how do you get MP3 audio output from Vegas when rendering using the DivX codec?

Try this: Render -> Video for Windows -> Custom button. Pick DivX on the Video tab, then click the Audio tab. My list shows a number of formats, including MPEG Layer-3. But when I select MPEG Layer-3, the Attributes drop-down says "No supported formats." I tried rendering with this option selected, but it seems to create PCM output anyway.

Since MP-3 and AC-3 are the two DivX "standard" audio formats (I think), I'd like Vegas to write out MP3 audio on DivX renders. My Philips DivX-certified DVD player will play the video I render from Vegas DivX setting, but it will not play the PCM audio. How can I get Vegas to write out an MP3 audio track in DivX?
Grazie wrote on 10/29/2008, 11:44 AM
How can I get Vegas to write out an MP3 audio track in DivX?

And at long last we got there! - I'd like to know this one too?

(Laurence, where are you?)

Grazie

Grazie wrote on 10/29/2008, 11:47 AM
Actually, what I do now is NOT bother with Vegas and just use the DivX standalone to produce my DivX files - done!

Grazie
shauntoole wrote on 10/29/2008, 11:58 AM
I use stand-alone encoders to make DivX from the MPEG-2 output of Vegas, but that involves an extra step I would like to avoid, if possible.
Grazie wrote on 10/29/2008, 12:00 PM
Uh-huh .. . let's see yeah?

Grazie
jabloomf1230 wrote on 10/29/2008, 12:42 PM
@JM,

Yeah, that's what I meant (Custom, not AVI) when I wrote "Video tab", but I wasn't clear. It just doesn't show up for me, but thanks anyway.
Laurence wrote on 10/29/2008, 12:58 PM
You know, I never could figure out how to get an mp3 audio track with any kind of video render, DivX or otherwise. I could get mp3 audio at low bitrates with the stock mp3 audio encoder included with Vegas, but I couldn't the popular lame mp3 encoder to work no matter what I tried.

When I convert to DivX I either use the converter utility that comes with DivX or a program called http://labs.divx.com/DrDivXDr DivX[/link]. The reason I use Dr. DivX instead of the regular converter utility is because it recognizes and converts HD M2T files.

Since the demise of Stage6.com I haven't been doing much DivX encoding. I really think the future of online video is Flash players playing back mp4 video. None the less, the results you can get with DivX encodes and the low CPU usage of the DivX playback engine are both quite nice.
johnmeyer wrote on 10/29/2008, 5:53 PM
I've never had any problem getting Vegas to encode DivX files with MP3 audio. If you click on the next tab over from the one I showed in my previous post, you should get this dialog:



However, MY problem is that I can never get the high quality MP3 that I want. This next screen grab shows the MP3 options available. Note that none of them are high quality. I can't remember what version of DivX I have, but perhaps a "higher-end" version (I think they have a "pro" version) would have the additional settings.

kitekrazee wrote on 10/29/2008, 9:11 PM
"Actually, what I do now is NOT bother with Vegas and just use the DivX standalone to produce my DivX files - done!"

That's what I do. For some reason when I use Vegas I get a much larger file size.