![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
CjOverkill
Industry Role:
Join Date: Apr 2003
Location: Woldwide
Posts: 1,328
|
![]() Today I was speaking with one of my content providers and just showed him some of the resampled and processed "shit quality" videos he sold me for nuts some time ago. The guy was completely freaked with the quality so I decided to write some tricks we use here at Galaxy Media for video processing.
Don't expect me to detail the process, these are just raw guidelines that are followed here. Bitrates: Everyone knows that if you want to stream a 640x480 or better res video with decent quality you should go to 1.000 - 2.000 kbps bitrates. This assumption is no more true in most of the cases. Using variable bitrate encoding with burst will allow you to match the same or very similar quality with 500 - 800 kbps bitrates. Just make sure that your VBR settings have enough burst to raise the bitrate when quality is really needed. The more movement your video has the more bitrate burst it will need. For example a slow moving scene of a solo girl would need practically no burst while a scene with 15 people orgy all moving fast all over the screen jumping around like crazy rabbits would need relatively high burst. Resolution and resolution resampling: Converting 320x240 video to 640x480 is easy, but in the process you usually "lose" quality because the pixels convert into square clusters that don't look very good. In these cases applying some filters really cleans the scene and makes it looks like a native 640x480. These filters are your friends in these cases: Smoothing filter, gama, contrast and brightness correction and noise reduction. A good combination of these + some extra bitrate burst during the high movement parts of the scene will usually do the work. Take in mind that different resolutions will demand different bitrates. It's not the same to have 640x480 than a 768x576 resolution. Resampling framerates: Usually changing the original video framerate is not a good idea unless you want to adapt it to a specific media (mobile phones for example). If you remove frames you will be removing data and will need less bitrate, but the video will look chunky. This will be even worse for high movement scenes because the video processor will just discard entire frames. Adding framerate is also bad, but in the opposite way. Resampling an 15 fps video to 30 fps usually adds the same data twice converting the final result in a chunky playing video where most pixels are just big squares. Have you seen a hentai video where the male toon dick is pixelated? Think about that with real actors. Also the final result video will be almost twice bigger than the non resampled one and it's quality will be lower for a human observator Filtering: Most people think that video processing is the same as photo processing. They couldn't hit closer to the target and still miss it completely. Most people love to add a sharpen filter to their processed videos like they do to their pics. That's usually a very bad idea because the slightest defect your video has becomes more accentuated. On high movement scenes it may even look like the video is being played chunky... just like badly encoded CGI efects on action films. Instead of that you should use a noise reduction filter to eliminate most of the pixelated and borders imperfections. Then combine with brightness, contrast and gamma filters. Having a good combination of these filters will allow you to lower the bitrate considerably (5 - 15%) losing some technical quality but not losing a human eye observer perceived quality. Pixel depth: The human eye practically doesn't distringuish between 32 and 24 bit pixel depth. On the image side, that's 20 - 25% less data and bitrate. Most videos can even be encoded at 16 bit pixel depth without losing quality to the human observer eye. Sound: Use same concept as the pixel depth. It's ok to have the sound encoded at 300 kbps, but if you go over 128 kbps most humans will not notice the difference. mp3 encoding at 96 kbps usually does a good work. With aac you can lower the bitrate even more. Remember to add a sound normalization filter. When you lower the sound bitrate sample there will be moments where the sound volume will jump up and down. Adding a sound normalization filter solves that problem in 99% of the cases. CUDA "turboprocessors": A CUDA processor is a native GPU processing unit that can process video in sub real time. The most powerful ones can process a 30 minute scene is 2 or 3 minutes. It's basically a high end graphics card with a stream processor... like this one: http://www.nvidia.com/object/product..._c1060_us.html The problem with cuda is that you are constrained to 4:3 and 16:9 resolutions and the lack of processing applications. Even that, it's relatively easy to code your own stream processing application that fits your needs and eliminate all these restructions. The usual problem with the CUDA processing library (at least with the current one) is that it cannot apply filters optimally and the sound usually gets missadjusted a couple of seconds making the final result video funny to watch but not a worthy piece for production site. Having a first stage of processing to separate the video from the sound, then applying the needed filters to the video part and streaming through the CUDA processor to get the final video with no sound solves the problem. You can process the sound and add it after that in a mixer program. In most cases this is faster than processing the video with just a CPU based video processing application. Also allows some real time transformations and testing on the video part that would take you hours to do on a normal video processing applcation. CUDA only processed files are usually about 15% bigger than pure CPU or mixed processing results. If you count your bw usage in Gigabit/sec it's something really important to look at. With 1 Gbit line you could save 150 Mbps by using a mixed solution. Some other day I could post tips about how to build your own CDN network for practically no money.
__________________
CjOverkill Traffic Trading Script Free, secure and fast traffic trading script. Get your copy now ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Apr 2006
Location: Germany
Posts: 4,323
|
Thanks for the tutorial.
Why would you convert 320x240 to 640x480, though? I hope that's not what the content provider sold you?
__________________
--- ICQ 14-76-98 <-- I don't use this at all |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Too lazy to set a custom title
Industry Role:
Join Date: Dec 2006
Posts: 15,986
|
thanks for sharing yo !!!
![]()
__________________
The Best Web Hosting Plan ... Amerinoc.com / Unlimited Transfer / Unlimited Web Space / Unlimited Domains / Unlimited Email + Databases ... And much more at Amerinoc.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
CjOverkill
Industry Role:
Join Date: Apr 2003
Location: Woldwide
Posts: 1,328
|
Quote:
Having a HUGE library of scenes licensed from 1998 to now has left us with lots of formats bitrates and funky crap around. We are just reencoding and normalizing everything in our content library at the moment. Lots of amateur made content using the first digital cameras or still old Hi-8 and VHS cameras requires some extra resampling if you want to put it on a production site nowadays... even if it's a free tube with full scenes like in our case ![]()
__________________
CjOverkill Traffic Trading Script Free, secure and fast traffic trading script. Get your copy now ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
ICQ:649699063
Industry Role:
Join Date: Mar 2003
Posts: 27,763
|
Nice long tutorial.
__________________
Send me an email: [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Jan 2001
Location: Oakland, CA
Posts: 8,067
|
Not trying to be an asshole, but I don't really see any "tips" here, as much as I see an explanation for these functions. Exception may be where you talked about pixel depth, and sound bitrate.
You seem to like filters, but forgot to mention that each filter will double the length of encoding time. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Doin fine
Industry Role:
Join Date: Oct 2005
Posts: 24,983
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
CjOverkill
Industry Role:
Join Date: Apr 2003
Location: Woldwide
Posts: 1,328
|
Quote:
The concept is the same as when you interpolate a small pic and make it bigger by artificially raising it's resolution. You can just zoom that pic and have a very similar effect, but the human eye likes more the interpolated pic than the zoomed low resolution original. You can just resize a 320x240 video to 640x480 into the player, but then the player interpolation is made in real time, if the player interpolates at all, and usually ends with 4x4 pixel squares all over the video. Processing the video properly will "eliminate" these squares by interpolation, noise reduction and gamma correction. The square pixels will be still there because you cannot get more data to fill them if there is not, but the human visitor eye will barely notice them if it notices them at all.
__________________
CjOverkill Traffic Trading Script Free, secure and fast traffic trading script. Get your copy now ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Jan 2003
Posts: 1,630
|
Nice tutorial! Thank you very much
![]() Just one stupid question... What software do you actually use for encoding? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
CjOverkill
Industry Role:
Join Date: Apr 2003
Location: Woldwide
Posts: 1,328
|
Custom made CUDA encoding stuff, ffmpeg, Sorenson Squeeze and Loiloscope.
__________________
CjOverkill Traffic Trading Script Free, secure and fast traffic trading script. Get your copy now ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Doin fine
Industry Role:
Join Date: Oct 2005
Posts: 24,983
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Industry Role:
Join Date: Jan 2001
Location: Oakland, CA
Posts: 8,067
|
Quote:
![]() Come on man... you know that. ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
So Fucking Banned
Join Date: Sep 2009
Location: On your last nerve
Posts: 1,012
|
Nice post. Thanks.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Jun 2003
Posts: 1,444
|
Watch this video
http://tv.adobe.com/watch/max-2009-d...o-using-flash/ I consider this guy to be the best video encoder in the planet. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Too lazy to set a custom title
Join Date: Jan 2002
Location: Holland
Posts: 9,870
|
thanks for the info although one point, we set bitrate to 2500 for hd
sample link mms://62.204.69.107/Storage3/demo_169_2500.wmv
__________________
Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Choice is an Illusion
Industry Role:
Join Date: Feb 2005
Location: Land of Obama
Posts: 42,635
|
![]() Good info.
Jimmy Gunn has some great advise as well. He knows his shit toe be sho. Bookmarked. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Join Date: Nov 2008
Posts: 496
|
bookmarking, just in case
__________________
New Program! http://www.pixelbucks.com | ICQ: 369055569 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
aliasx
Join Date: Apr 2001
Posts: 19,010
|
Quote:
__________________
https://porncorporation.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Too lazy to set a custom title
Industry Role:
Join Date: Feb 2003
Location: NJ
Posts: 13,336
|
__________________
ISeekGirls.com since 2005 |
![]() |
![]() ![]() ![]() ![]() ![]() |