VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. I am having a problem encoding an AVI file. The author indicates that it is an Ogg Media Stream. The file plays fine with Windows Media Player and VLC, but when I try to use Tmpgenc to encode it to a compatible VCD file it craps out. It starts the conversion, but always stops early in the process. Can anyone provide any guidance on what I need to do to be able to encode this AVI to a VCD compatible file. Thanks for your help in advance.
    Quote Quote  
  2. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    If it is an ogg media stream (ogm) then it is not an avi it is an ogm.
    Quote Quote  
  3. The reason I said it was an Ogg Media Stream is because that is what the author indicated. The file has an AVI extension, but when I use GSpot it does say that the file container is Ogg Media. So, the same question as before even though the file extension indicates AVI, What do I need to do to encode an Ogg Media file to a VCD Mpeg. Why does Tmpgenc not work?
    Quote Quote  
  4. The file this fellow's talking about is, in fact, an avi. The file extension "avi" isn't a file type, it's just a wrapper. Meaning: it's a name for something that can contain many types of encoded media. Video encoded into Ogg Theora is typically saved as an avi; video recorded as straight RGB with no compression at 60 gigabytes per minutes will also be typically saved with an avi file extension. Both Type 1 and Type 1 DV encoding with 5:1 cosine transform encoding also get saved as avi files. "Avi" simply means that the file contains 'Audio Video Interleave" information -- that is, the file contains both video and audio in interleaved format.

    In any case, you didn't answer the poor guy's question. Here's the answer. It's simple and easy.

    [1] First, make sure an Ogg Vorbis Directshow filter is installed in your system. To do this, use Windows Media Player to open the avi. Can you hear sound? If so, you have it installed. If not, you need one. (A "directshow filter" is merely a program that reads an encoded file format and translates it into audio or video via Windows, and allows any program using Windows to do the same.)

    The two most popular Vorbis Directshow filters are Tobias' filter and the illiminable filter. Find Tobias' Vorbis filter at
    tobias.everwicked.com/

    and the illiminable filter at
    www.illiminable.com/ogg/

    Download either one and unzip and double-click to install it.

    [2] Download Mpeg2VirtualDub and load the video into VDub. Then get into STREAM and go into the submenu and SAVE AUDIO AS. Then choose WAV file. VDub will write the Vorbis soundtrack to your hard drive as a WAV file.

    [3] Now open up TMPGenc and choose AUDIO ONLY (not AUDIO + VIDEO or VIDEO ONLY) and do BROWSE and load the newly-created WAV file, then get into SETTINGS -> ADVANCED and choose the audioparameters and TMPGenc will encode the audio into mp2 format at the bitrate you've chosen. TMPGenc does a mediocre job of encoding audio, however, so you might prefer to download BeSweet or LAME if you haven't already and use either of those programs to encode into MP2. I use LAME, but either will do an excellent job of encoding your audio, better than TMPGenc.

    [4] Demultiplex the avi with MPEG-2 video and Ogg VOrbis audio into elementary video and audio streams. To do this, fire up Womble and choose DEMULTIPLEX from the top menu; or fire up TMPGenc and choose ALT-F (FILES) , T (Tools), then SIMPLE DEMULTIPLEX and type in the avi filename. Now multiplex together the mp2 audio file and the m2v video file and there you have it.

    Alternatively, if your video protion fothe AVI is Type 2 DV, once you've demuxed it just encode it into MPEG-2 using Mainconcept/CCE/TMPGenc/Quenc/ProCoder and then remux with the mp2 audio file.
    Quote Quote  
  5. spectro

    thanks, i'll give it a try.
    Quote Quote  
  6. spectro

    still having a problem. i cannot load the file into virtual dub. i get an error indicating "cannot detect file type ...". again, the movie plays with media player and has sound. when i use video inspector to check the movie it returns no information on video or audio codecs. i also cannot load the file in avidemux. yet it plays with media player and divx player and vlc. also, it starts to encode with tmpgenc, but just never completes. very strange. i have encoded lots of movies before and never experienced this type of problem.
    Quote Quote  
  7. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    Theora is typically store in an ogg container. The file extension means nothing. I would say that the file is an ogm renamed to .avi.

    ogg/ogm filters are not required for an avi.

    Last time I checked Illiminable's filters only offered limited ogm support. They are primarily designed to handle ogg files.
    Quote Quote  



Similar Threads

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