Log in

View Full Version : VC-1 (Blu-ray) to MPEG-2 (dvd)


nautilus7
29th February 2008, 15:13
I am trying to convert the 3:10 to Yuma Blu-ray to DVD. Video is VC-1 1080p and i want to encode it with CCE to mpeg-2.

I have trouble building the graph and the avs file.

In graphedit i used haali media splitter (m2ts file) --> WMVideo Decoder DMO (which comes with wmp11). I load the .grf using directshowsource in avisynth. It seems to work, as i can play it with mpc just fine. The problem comes when add the convertTOYUY2 filter, needed for CCE encoding. The avs file doesn't play correctly then (fps is around 18 and drops frames). CCE trial encode is also crap.

The avs also contains a resize filter (either lanczos or spline), but the result is the same with and without it.

I tried different decoder (sonic video decoder 4.3 and ffdshow) in the graph, but i get grf files doesn't have a compatible open video pin. Graph must have 1 output pin that will bid rgb24, rgb32, argb, yuy2 or yv12. I don't know what to do to fix that...

AVS is that:

DirectShowSource("yuma.GRF", fps=23.976, seekzero=false, seek=true, framecount=176237, audio=false)
#LanczosResize(720, 576)
Spline36Resize(720, 576)
#Trim(0, 999)
ConvertToYUY2(interlaced=false)

I tried with fps=25, w/o seekzero, seek and framecount options, but had no luck.

My ultimate goal is to encode the vc-1 .m2ts file to pal dvd with cce.

My cpu is a c2d and during the avs playback it reaches 70%, which i believe is rather high. The original .m2ts file plays fine in powrdvd with much less cpu usage (~30%). I have an nvidia 7600 and win xp, so no use of dxva.

nautilus7
6th March 2008, 18:34
Did some more tests with 3:10 to yuma and another blu-ray...

The grf (haali-->wmv decoder dmo) plays fine (render pin) with both videos.
The avs plays fine only without the converttoyuy2 filter with both videos.
The avs plays almost fine (fps is 21-22 instead of 23,976, but no dropped frames) with the other blu-ray i tried (vc-1 also).
The avs drops frames and fps is around 17-20 instead of 23,976 with 3:10 to yuma.

Blue_MiSfit
6th March 2008, 21:46
You could try another MPEG2 encoder. CCE is good, but pretty out of date to be honest. HC and QuEnc are both VERY good these days, and don't require YUY2 input.

~MiSfit

nautilus7
7th March 2008, 00:13
Outdated? In which aspect? I use cce sp2 and i thought it's the fastest and equal to hcenc in quality.

Anyway, i know that hcenc can be fed with yu12 input, but this isn't really a solution to the problem.

Thanks, though.

sebhag
21st December 2008, 15:52
I know this an old thread, but just to answer the question for anybody else who might come across this. The avs pin error is caused by version 4.3 of Sonic's decoder. Uninstall and use version 4.2 instead.