Log in

View Full Version : Convert VC-1 to H264 - How?


shlap
29th January 2008, 21:17
My ultimate goal is to Rip a VC1 HD-DVD to a h264 TS file which will allow me to get the benefits of h264/DD5.1 streaming to my PS3.

What I've done so far:

1. Demux the EVO with EVODemux which gives me a VC-1 video file and a DD+ audio file.

2. Convert DD+ to AC3 using EAC3TO (using Sonic's filter)

What I have yet to figure out:

1. How to convert the VC-1 to h264 using x264.exe (i've used Nero to convert using their AVC profile but it wont't play in the PS3) It looks like I need to use GraphEdit and AviSynth to generate the .avs file that x264.exe needs. Could anyone give me tips on using these two tools?

2. How to Remux the h264 video and AC3 audio into a Transport Stream to stream to the PS3.

Any insight at all would be greatly appreciated, Thanks!

Dark Shikari
29th January 2008, 21:21
You don't need to demux it--graphedit can directly source from the EVO file.

MeGUI and some other tools have PS3-compatible x264 profiles that you can use.

shlap
29th January 2008, 22:21
Thanks for the input!

I rebuilt the EVO with just the VC1 and DD+ files and then built the graph below. Does this look right?

http://www.warpreality.com/graphedit.jpg

Every time I try to build the AviSynth script in MeGUI using the graph, I get the error "DirectShowSource: GRF file does not have a compatible open video pin. Graph must have 1 output pin that will b id RGB24, RGB32, ARGB, YUY12"

I noticed that I also get this error in VirtualDub when I try to open the graph.

Thanks again for any insight!

Dark Shikari
29th January 2008, 22:34
The way to resolve that is to not use Sonic.

Use Haali's Splitter -> WMVideo Decoder DMO.

shlap
29th January 2008, 22:49
OK, so in GraphEdit, I added Haali Media Splitter, it asked me to select an input file, I selected File.evo. Then added WMVideo Decoder DMO. This guy has in0 and out0 pins. Every time I try to drag from the File.evo out --> WMVideo in0, I get the error "These filters cannot agree on a connection. Verify the type of compatiblity of input pin and outpin pin" Thanks again!

shlap
29th January 2008, 23:31
Here's another WTF. I downloaded the lastest version of GraphEdit from Microsoft. It opens fine but when i click on "DirectShow Filters" in the list of filters to add, it just closes!

UPDATE: Uninstalled ffdshow and it fixed this issue. If anyone else runs into this.

Unfortunately, I still get the the "These filters cannot agree on a connection" when connecting the Haali Media Splitter source with the WMVideo Decoder.

shlap
30th January 2008, 05:55
I finally got a workable AVS file from the VC1. I used all Nero filters for the video and sonic for the audio.

saint-francis
31st January 2008, 05:29
First of all, why don't you just use eac3to instead of this graphedit process?

If you want to use graphedit you will need to update your WMP to the latest version for the WMVideo decoder DMO to work.

AFAIK using any method besides eac3to for the audio is going to cause you needless trouble.

shlap
31st January 2008, 16:49
First of all, why don't you just use eac3to instead of this graphedit process?

If you want to use graphedit you will need to update your WMP to the latest version for the WMVideo decoder DMO to work.

AFAIK using any method besides eac3to for the audio is going to cause you needless trouble.

Thanks for the input! At this point, I'm using eac3to to convert the audio from DD+ to AC3, but I'm still having trouble converting the VC1 video to h264. To use x264.exe you need to use graphedit -> avysynth -> x264.exe right?

Here's what my lastest graph looks like
http://www.warpreality.com/graph.jpg

My avs file plays great in media players but every time I try to convert to h264 in meGUI, or even using the x264 command line directly, the convert process goes to 100% and then just stalls. It never finishes and I never get past the first pass.

Blue_MiSfit
31st January 2008, 19:01
You really don't need all that.

Upgrade your WMP to 11, and install the SDK. There is a guide for exactly what you're trying to accomplish in the thread here:
http://forum.doom9.org/showthread.php?t=129001

Then just do Haali splitter -> WMV Decoder DMO. That's all you need.

Make sure you specify fps, framecount, and audio=false in your DirectShowSource line in your AVS.

Then it will work fine.

I've been doing this for awhile now ;)

~MiSfit

saint-francis
31st January 2008, 20:42
Or you can get off the graphedit boat entirely and just use eac3to give you your video in a .mkv container while it demuxes your audio tracks (it corrects any audio delay when you do this too). You can take the resulting .mkv of the video and drop it directly into the avisynth script creator in MeGUI.

shlap
1st February 2008, 03:29
Thanks a million guys! I'll give these methods a try tonight.