View Full Version : Is there a way to convert hi-def xVid to MPEG2?
idbirch2
28th May 2006, 18:55
I have a 2 part movie in the Xvid format, GSpot picks it up as 1920x800, 23.976fps with 5.1 AC3 audio. This would be fine if I was going to watch it on my PC but I will be watching it on my XBox 360 which doesn't support AVI, it does support .ts and .mpg though. I know about Trancode 360 but I want to stream without converting on the fly.
I've done plenty of DVD MPEG conversions in the past but am new to HDTV and admit I'm a bit lost. If it were standard def, I would run it through CCE but that says it doesn't support Hi-Def. It looks like TMPGEnc Xpress 3 is letting me set 1920x800 as an output resolution but what about the rest of the settings? Any advice greatly appreciated.
edit: TMPGEnc just flipped me off at the last stage with "For MPEG2, the highest resolution is 720x576". What app will convert hi-def AVI to Hi-def MPEG or TS?
Have you tried HC? you have to use avisynth, but it is really easy.
I don't know if it does hi-def but it is worth a shot.
neuron2
29th May 2006, 06:08
I have a 2 part movie in the Xvid format Where did you get this movie? It sounds like rule 6 material.
Also, your title violates rule 12. Please change it before you get struck. Thank you.
I have to start reading more carefully.
As neuron2 said, this could be a rule 6 violation. Did you download this movie from the Internet? Or a friend? Or did you create it yourself?
neuron2
29th May 2006, 07:30
@Merlin7777
Please leave the moderating to the moderators. Thank you.
Sorry dude.
Ill leave it to you then man.
idbirch2
29th May 2006, 10:14
Where did you get this movie? It sounds like rule 6 material.
Also, your title violates rule 12. Please change it before you get struck. Thank you.
The material is just the HDTV trial feeds that the BBC are doing in London but I'm lucky enough not to live there so have had to download it to have a look. The only download I could find was broken up into 2 XVids though and I wondered if I could get them back to .ts (I assume they were broadcast in .ts?)
Sorry about the title, I've changed that.
neuron2
29th May 2006, 14:39
Thank you for the explanation and for editing your title.
I believe Merlin7777 is correct in that HC can do HD resolution.
idbirch2
29th May 2006, 20:57
Yeah, I gave HC a look but it will only accept D2V and AVS files as inputs so I made a simple avs for the first AVI and HC opened that fine. I set everything up with stupidly high bitrates so as not to lose any quality in the conversion but as soon as I hit "encode" I got:
"ERROR: Hight > 576"
Which sounds to me like it won't do anything over DVD res. :(
Have you tried Quenc? or maybe AutoQmatenc if you are truly desperate. I will look up some more, but i can't do it right now.
Pookie
30th May 2006, 09:13
Mpeg2enc from http://www.tivofiles.com/ will encode to HD resolution, albeit command line.
idbirch2
30th May 2006, 12:22
Thanks for the advice guys, I've found a good solution for me is Windows Media Encoder 9 as this outputs hi-def and is supported directly by the 360 and can FF/RW properly which you can't do with MPEG2/AVI etc.
satgeek
1st June 2006, 14:32
Any others besides Mpeg2enc?
buzzqw
1st June 2006, 16:16
afaik autoqmatenc can do the job, for sure quenc/cce/HC cannot encode to HD
BHH
Pookie
1st June 2006, 18:32
I think ffmpeg can do it. I posted example syntax for Mpeg2enc in this thread:
http://forum.doom9.org/showthread.php?t=111788
satgeek
2nd June 2006, 07:12
Thanks, I had tried that syntax but it wouldn't encode with the bitrate above 15000.
It can be done also with VDM and ffdshow saving mpeg2 stream as raw.
GraphEdit is another useful tool to do this job.
eb
satgeek
4th June 2006, 17:21
It seems that the mpeg2enc currently at tivofiles is limited to a bitrate of 15000, did a quick google search I and found a version without this limitation. Thanks.
Pookie
4th June 2006, 19:05
Would you post the URL to that version please ?
satgeek
4th June 2006, 22:41
http://www.drecksoft.de/MPEG2ENC_HDTV.rar
Pookie
5th June 2006, 03:16
Thanks :) Made a few minor changes to the syntax in the example command line usage - Here's a working syntax to encode at 30000bps and 23.976.
avs2yuv x.avs -o - | mpeg2enc --no-constraints -H -f 3 -G 15 -n n -r 24 -M 2 -c -K hi-res -V 786 -D 10 -b 30000 -I 0 -R 0 -z t -a 4 -F 1 -s -o x.m2v
Update - Tried a few encodes. The encoder creates some very visible artifacts in dark scenes.
Update 2 - FFMpeg does a better job of it, IMHO. Faster, too. I'll post some stills once I'm done testing.
Mpeg2enc
http://img282.imageshack.us/img282/9893/mp2enc9eg.png (http://imageshack.us)
FFmpeg avs2yuv.exe x.avs - | ffmpeg.exe -f yuv4mpegpipe -i - -hq -vcodec mpeg2video -dc 10 -g 15 -bufsize 786 -minrate 22000 -b 24000 -maxrate 36000 -aspect 16:9 -s 1280x720 -an -mbd 2 -qmin 2 -async 1 -y "x.m2v"
http://img442.imageshack.us/img442/1801/ffmpeg2pe.png (http://imageshack.us)
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.