Postby tkapela » 24 Nov 2008 07:55
x.264 indeed will scale up to hd resolutions. I've successfully used vlc/x264 at 1440x1080 and 1920x1080 60i/30p on single-chip quad core boxen, though not with certain combinations of options - i.e. ref=2 or 3 tops with a GoP > than ~90 frames, and of course, some direct-prediction modes and motion estimation modes will consume more cpu than available, so stick with defaults there.
With the following options, 1440x1080p30 takes ~350% of a quad core box. Here's the stats:
-x64 vlc 0.9.6
-2.6.25.18-0.2-default #1 SMP 2008-10-21 16:30:26 +0200 x86_64 x86_64 x86_64 GNU/Linux
-model name : Intel(R) Xeon(R) CPU E5410 @ 2.33GHz
-#transcode{vcodec=h264,acodec=mp4a,ab=128,channels=2,deinterlace,threads=4,vb=2000,venc=x264{keyint=120,bpyramid,chroma-me,me-range=8,ref=1,ratetol=1.0,8x8dct,mixed-refs,direct=auto,direct-8x8=-1,non-deterministic,scenecut=50}}
So, HD resolutions indeed can be live-transcoded without alot of BS. In my cases, the video arrives on mp2ts UDP mpeg2, decompresses, and goes back out h264, and fits within a quad-cores' resources. More would be merrier indeed, but a reasonable qc box can do it.
-Tk