Log in

View Full Version : h264 to mpeg2ps conversion


v1rtu0s1ty
13th February 2008, 05:58
hi folks,

how do I convert an h264 file to mpeg2ps without changing the resolution? and what tool do i use? It would be ideal if ffmpeg since I have this tool but I need the parameters.

Thanks.

Guest
13th February 2008, 06:13
Decode the H.264 video using DGAVCDec. Feed the resulting AVS script into HCEnc to encode MPEG2 video. Mux the resulting M2V into a program stream using Imago Muxer, TMPGEnc, etc.

The resolution will be changed only if you do something along the way to change it.

v1rtu0s1ty
13th February 2008, 20:00
Ok, I found your tool here, http://forum.doom9.org/showthread.php?t=122598

However, I cannot find the correct avisynth download. I'll try again.


EDIT: It says Page cannot be found. http://neuron2.net/dgavcdec/dgavcdec100a15.zip

Guest
13th February 2008, 22:07
The link works fine for me.

v1rtu0s1ty
14th February 2008, 09:35
I'm running your program now and it's damn fast!!! :D

Where can I download HCEnc?

v1rtu0s1ty
14th February 2008, 09:40
I noticed that your tool is creating a file with an extension of avc. I tried running HCenc and it's looking for an avs extension instead. What should I do?

Thanks.

phXql
14th February 2008, 11:33
Write an AVS (AviSynth Script) file.

Guest
14th February 2008, 15:06
I noticed that your tool is creating a file with an extension of avc. I tried running HCenc and it's looking for an avs extension instead. What should I do?
You should read the documents that come with the tool, specifically, the quick start guide.

http://neuron2.net/dgavcdec/AVCQuickStart.html

You don't need to demux the video (in which case it will be even faster). Just do Save Project (NOT Save Project & Demux Video).