View Full Version : TMPGEnc Plus 720p, what Encode Settings?
mrwhitethc
1st April 2006, 15:54
Over in the HDTV/DVB forum I got help trying to deinterlace a pure video 1080i show, thanks to scharfis_brain & SeeMoreDigital, while keeping the camera pans smooth. These two avs, depending on the output framerate needed, seem like the best:
mpeg2source("Clip.0001.d2v",cpu=6)
bicubicresize(1280,height)
crop(0,0,0,-8,align=true)
tdeint(mode=1,order=0, type=2)
bicubicresize(width,720)
or
mpeg2source("Clip.0001.d2v",cpu=6)
bicubicresize(1280,height)
crop(0,0,0,-8,align=true)
tdeint(mode=0,order=0, type=2)
bicubicresize(width,720)
Now comes the task of encoding the 1080i to a 720p formate, tried Xvid but it eat's my 3700+ for lunch, sample here (http://www.badongo.com/vid/80574), so I'm thinking MPEG-2 will have to do. Anyone have the correct settings to use for TMPGEnc like profile level, max bitrate, fps, etc for this type of encode?
Here's a test clip, I posted the same one to 2 different places:
http://www.bestsharing.com/files/ms00111268/Clip.0001.ts.html
or
http://www.badongo.com/file/380456
The 2 final scenes in this clip have long camera pans which seemed to stutter like crazy trying other deinterlace, decimate, etc settings. If anyone has any other suggestions I'm all for it, I have a lot of the Discovery HD shows and am going to do them all this way so thoughts and alternate ideas are welcome.
Any help appreciated.
MrTroy
1st April 2006, 18:24
For 720p pure video you'll need MP@HL, 30fps.
I don't know about your other questions; I never encoded HD MPEG2 myself.
mrwhitethc
1st April 2006, 18:38
After digging around I found this:
http://www.electrosonicmedianetworks.com/el_support/el_support_encoding_req.html#720P
from what I can make of it, 720p @ 59.94fps, closed GOP @ 15 frames per & 3 P frames. I know what you mean about 720p I thought there was 720p30 and 720p60, could be wrong though since ntsc is usually 29.975 or 59.94. No idea :confused:
MrTroy
1st April 2006, 20:46
Deinterlacing a 1080i60 source creates a 720p30 video. 60 interlaced fields, but 30 progressive frames per second.
foxyshadis
1st April 2006, 21:57
Do you mean to say something like, taking every even field of a 1080i gives 540p? Or deinterlacing 1080i gives 1080p30? Otherwise 1080i and 720p aren't interchangable like that...
But yes, 720p can be 30 or 60, so feel free to bob it. (Though tdeint alone seems to give a lot of artifacts, unless you tweak it a lot, mvbob is slower but much better looking imho).
You can probably play the xvid if you turn post-processing off (or was it already?).
mrwhitethc
2nd April 2006, 05:24
Correct I had no post processing on while playing the Xvid, tried both VLC and MPC, both maxed my cpu. The original is 1080i @ 29.975fps, my projector is 720p so i feed it a 720p signal from a HTPC, currently an Athlon 2000+ but that's being upgraded in less than 30 days. The problem is getting smooth playback of these 1080i pure video .TS files, taking care of the interlacing and fitting them on 1 DVD-R, they are approx 40min and around 5gb each. The quality right now is great again it's just the camera pans, there are a ton, that seem jerky so I'm trying to get those smooth and play back the resulting file on my Athlon 3700+ and have it look like butter, whatever format MPEG2, Xvid, x264, I don't care.
foxyshadis
2nd April 2006, 07:14
Hey, cool, a picture on el dia de los muertos. =D I see the stuttering you're talking about. Wait, I noticed I left a decimate in there, when I used just tdeint it looks fine (type=3 is a little better looking, imho), no stutters at all.
MrTroy
2nd April 2006, 10:48
Do you mean to say something like, taking every even field of a 1080i gives 540p? Or deinterlacing 1080i gives 1080p30? Otherwise 1080i and 720p aren't interchangable like that...
Now I read my post back I realize it's a bit confusing. What I meant to say is that deinterlacing 60i creates 30p, so that you can make a 720p30 out of it. Of course deinterlacing 1080i60 doesn't directly create 720p30. :)
The original is 1080i @ 29.975fps
29,975 frames, yes. But if it's pure video, it's actually 59,94 fields per second, 1080i60.
mrwhitethc
2nd April 2006, 16:55
MrTroy is correct, 59.94 fields per second in my 1080 clip, so question with the AVS I posted how do I make 720p30? Since right now it would be 720p29.975 no? Or do they just round when they say 720p30? I've been reading the other forum posts about processing 50i, pal, clips to 24fps, I was thinking of trying a small portion to see how that looks. I'm hoping the motion blur and the lower fps will lower the CPU req and look smoother when played back. I'll try type=3 on there foxy, thanks, if you would please tell me what you played back, pure avs?, and your cpu/vid card/software/codec I'm trying to narrow down where this stutter I see is someing from.
MrTroy
2nd April 2006, 19:47
Or do they just round when they say 720p30?
They do. While theoretically 720p30 means 30.0fps, in reality it's 29.97fps (a remainder of the NTSC standard, which used part of the bandwidth for audio).
With 720p24 it's another story: that can mean 24.0fps as well as 23.976fps. The first is often seen in digital animations (e.g. "Madagascar") and native HD material, while the latter is used when transferring film.
foxyshadis
2nd April 2006, 20:51
No way, not the avs. You never test fluidity by playing the avs, even on a system like mine. ^^;; I just made a quick xvid out of it.
Decoding cpu% is mostly based on size of each frame (and fps of course), higher or lower bitrate only makes a minor difference until it's MUCH higher, it's not like AVC where bitrate is a cpu killer, due to cabac.
mrwhitethc
2nd April 2006, 21:18
Anyway you can post that Xvid so i can look at it? I wanna make sure I'm not going crazy and seeing things :)
foxyshadis
2nd April 2006, 22:10
I already deleted everything. ^^;; However, the entire script was:
mpeg2source("Clip.0001.d2v")
assumebff()
bicubicresize(1280,height)
crop(0,0,0,-8,align=true)
tdeint(mode=0,type=3)
bicubicresize(width,720)
The only difference is I didn't use deblocking, but I can't see that making much difference. Try downsizing it to 720x480 or lower and see if that plays okay.
mrwhitethc
3rd April 2006, 14:08
Alright I encoded the clip into Xvid, checked the CPU and it hovered around 50-60. Tell me if you see any stutter during the 2 long camera pans at the end. Thanks
http://www.badongo.com/vid/84174
foxyshadis
3rd April 2006, 19:02
100% smooth. Try messing with monitor refresh rates (make sure it's 60-75), make sure the disk is in DMA not PIO mode... otherwise I have no idea why it's so jerky.
mrwhitethc
3rd April 2006, 22:56
Thanks much foxyshadis, I also found when trying to fit the 40min clip to DVD it hit 15mbps in Xvid which killed my CPU and a 2.8ghz P4 @ work. I looked at an Alien HD clip I had and saw it was 2mbps in gspot @ 1920x9xx 24fps, so I made that last clip 4.5mbps and CPU usage seemed well. I really wonder how they got that Alien clip to look so well, maybe since there's little high motion and the lower fps?? Once again thanks for all the help now to clear off 200gb's of these DHDT clips. :)
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.