GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Video brainiacs step inside please (https://gfy.com/showthread.php?t=998890)

JD 11-23-2010 01:37 PM

Video brainiacs step inside please
 
I've got a bunch of videos I've uploaded to STP and the original videos have a large black border around them. Is there a way to crop off those black borders automatically with the encoder?

Goodwill at Smart-Scripts told me there is NOT a function for cropping off black borders yet when I tested it out by uploading to YouTube it strips the black border off before making it live... Anyone know what I need to do?

JD 11-23-2010 03:05 PM

no one has any ideas?

Kiopa_Matt 11-23-2010 03:09 PM

If you know the number of pixels you want to chop off the borders, it's easily done. Just use ffmpeg.

As for having it detect the black border, I'm sure it's possible, but don't know exactly how. Would need to research that one. But chopping borders of videos is no problem, assuming you know the number of pixels you want to chop.

JD 11-23-2010 04:06 PM

Quote:

Originally Posted by Kiopa_Matt (Post 17722917)
If you know the number of pixels you want to chop off the borders, it's easily done. Just use ffmpeg.

As for having it detect the black border, I'm sure it's possible, but don't know exactly how. Would need to research that one. But chopping borders of videos is no problem, assuming you know the number of pixels you want to chop.

Would that be a universal thing if I added it to ffmpeg? It's only on the exclusive videos I've uploaded so I don't need to crop everything

VGeorgie 11-23-2010 05:49 PM

"Black borders" can mean a lot of different things? Are there borders around the entire video, or just the top/bottom and left/right?

YouTube has a zoom function that can be applied to zoom in the entire image. Their encoder may be auto-detecting the black space if there are borders around the entire video frame?

Any decent encoder can crop (same as zoom) X pixels form the tops and sides. Whether or not you want to use FFmpeg depends on the format you're encoding to. It does a sloppy job with some formats, like FLVs (sadly that's what most people use it for).

JD 11-23-2010 06:19 PM

Quote:

Originally Posted by VGeorgie (Post 17723288)
"Black borders" can mean a lot of different things? Are there borders around the entire video, or just the top/bottom and left/right?

YouTube has a zoom function that can be applied to zoom in the entire image. Their encoder may be auto-detecting the black space if there are borders around the entire video frame?

Any decent encoder can crop (same as zoom) X pixels form the tops and sides. Whether or not you want to use FFmpeg depends on the format you're encoding to. It does a sloppy job with some formats, like FLVs (sadly that's what most people use it for).

It's literally a black box with a video inside it so it's on all sides.


All times are GMT -7. The time now is 02:30 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123