How to create Mpeg1 files

keep awakeTmpegEnc:
A great encoder.

You can use it in a few different ways.

You can save your project as a DV avi [which might be useful anyway if you archiving to DVD]

And then Open the File in TMpegEnc - Load the Mpeg1 Pal Setting. See below for a visual interpretation.

 

Problems and solutions.

For some reason my set up wouldn't work encoding DVavi straight away and I found this post on a forum which worked.

In TMPGEnc, go to Options -> Environmental setting ... -> VFAPI plug-in

Right click on the DirectShow entry, and select Higher Priority (you may have to do this a couple of times to get it to top priority). Basically then it will use DirectShow to read AVI files, so it can use the Microsoft DV codec.

The other suggestion is to install a framserver plug-in into Premiere and transfer the video/audio directly from the timeline to TMPGEnc - thus avoiding the need to create the DV avi file at all. See http://www.debugmode.com/pluginpac/frameserver.php for a freeware plug-in

Creating Mpegs using Frameserving.

As mentioned above there's a way of creating Mpegs or other encoded files for that matter, without having to create a large DV avi file.

So first of all you need to check you have Tmpeg installed. And then download 2 bits of software to make the connection from premiere.

a) AVISynth frame server program.

b) AVISynth Premiere Plug-in

download an installer for the the main program here and then here for the premiere plug in page for avisynth.

To install the plug-in, open the ZIP file containing the plug-in (avisynth-premiere-0.25.zip) and extract both .PRM files. Move the extracted files to Premiere's plug-in directory (ex., C:\Program Files\Adobe\Premiere 6.0\Plug-ins\).

  • Go to the File menu again and select Export timeline and then Movie.

  • Click on Settings.

  • Set the File type to Link to Avisynth (if this option is not in the list, that means the plug-in was not installed correctly).

  • Make sure Export video and Audio is checked Also, make sure all the other settings are correct (especially the frame size and frame rate). This will be 720 by 576 for DV pal - but you should change the Audio settings to 44,100 Mhz

  • Click on OK.

  • In the file name box, type "myvideo" (without the quotes). Don't bother with extension or path; no file will actually be saved (naturally, you can use a different name if you wish).

  • Click on OK.

  • A window should pop up with the following message: IPCSource("myvideo"). This is the command that programs must use to connect to AVISynth. Do not close this window until the MPEG encoding is finished, or the connection between Premiere and TMPGEnc will be broken

    AVISynth plug-in window

  • With Notepad (or any other plain text editor), create a new file. Do not use a word processor (such as MS Word), or the file may not be saved as plain text, and will not work.

  • Copy that string (IPCSource("myvideo")) to the file you've just created (you can select it with the mouse and then use cut & paste). Make sure you copy it exactly as it appears in the plug-in window.

  • Save this file with any name you want, but instead of giving it a .TXT extension, change the extension to .AVS. Make sure you set Files of type to All files, otherwise Notepad will always add .TXT to the end of the filename. You may also save it as .TXT and later edit the name (if you decide to do this, make sure you have configured Windows to show all file extensions). For example, save the file as C:\Videolink.avs. If you're having problems creating this file, you can download it by right-clicking here and selecting Save as. Later you can edit it if you want.

  • If Tmpeg isn't running, start it.

  • Open > File and select the ***.avs file. Then process the file as normal compressing the Video and Audio as you wish. There's a page on How to create Mpegs with Tmpeg if you need help on that.

    These shots might help

    You shouldn't have to change much from the Settings but you will have to change the File Output to Avisynth-

    and change the Audio settings to 44,100 hz to match Mpeg1 standards.

     

     

    To Encode your project...

    You now open TmpegEnc

    and when you browse for the Video source you select the dummy file or signpost file as PluginPack calls it.

    And there you go!

    Now you've learnt how to do that -

    let's do the same for creating a DivX. The help file is here.

     

  •