Video Cropping Tool?

Jiehfeng

The One
OP
Member
Joined
Aug 15, 2012
Messages
5,498
Trophies
2
Location
netti netti.
Website
www.youtube.com
XP
7,018
Country
Sri Lanka
I need some kind of cropping tool that can import ".ts" files and crop out black borders of the video while keeping all the settings of the video and not losing any framerate or quality. Is there such a program?
 

trumpet-205

Embrace the darkness within
Member
Joined
Jan 14, 2009
Messages
4,363
Trophies
0
Website
Visit site
XP
693
Country
United States
I need some kind of cropping tool that can import ".ts" files and crop out black borders of the video while keeping all the settings of the video and not losing any framerate or quality. Is there such a program?
You have two options,

* Use container such as .mkv which allows "soft-crop". Black borders are still there in the video track, but during video playback the player omits displaying black borders.
* Actual cropping. This can be easily done in Handbrake or any video encoding program. This requires re-encoding of the video, resulting quality loss.
 
  • Like
Reactions: Jiehfeng

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
You should never lose any framerate in a video unless you ask it to, give or take the very strange world of variable frame rate.

trumpet-205 has the right idea. However in my more cowboyish world there are two other options
Avisynth or some other frameserver
Loading a .ts and cropping it should be well within real time capabilities of a system.

Tversity or some other media server type arrangement. Again you should be able to crop it and have it play back on a device but it is just streaming it then you keep the original .ts file.

Option the crazy.
Encode to a lossless format, cropping along the way. I hope you have hard drive space if doing this.

If you want it for a game or something though (I believe some of the PSP stuff is basically a transport stream/.ts) you might have to take a quality hit, or code up a soft overlay.
 
  • Like
Reactions: Jiehfeng

Jiehfeng

The One
OP
Member
Joined
Aug 15, 2012
Messages
5,498
Trophies
2
Location
netti netti.
Website
www.youtube.com
XP
7,018
Country
Sri Lanka
Thankfully, I found a way around cropping. I changed the settings on my capture card so it now doesn't record black bars. :D
So I found this video editor called wondershare video editor, after all the editing in my video, the settings for the exported video only gives me the option to encode in 30fps and below.
Not 60fps, why is this? Other video editing softwares too only gives the option of 30fps.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
I should have clicked you were capturing when you mentioned .ts, my bad. It may vary here for you if you are capturing actual TV, home video, game footage and more besides.

There is software out there that will encode in 60fps, in fact it is nothing spectacular at all. However I sense we are going to have to discuss video concepts first, to that end *warning, boring technical video discussion incoming*

First it may only be that your capture card can capture in 30fps -- not all that much originally went above 30 fps and technically not a lot there even got to actual 30 fps (more on that later). If the video encoder is sensible it will try to only give you that option, likewise if the encoder is set to mimic a given format (say DVD, blu ray.....) it may stop that from happening.

Is the source interlaced? If so the f in fps in this case stands for "fields per second" if it is telling you it is at 60 fps. Interlacing is a horrible thing that stuck around because of legacy reasons and you may be facing it here ( http://www.theregister.co.uk/2013/06/25/the_future_of_moving_images_the_eyes_have_it/ goes into a bit of depth here). There are ways of increasing interlaced framerates from 30 to 60 or 25 to 50 that are not nasty and time consuming frame rate conversion type things, personally I do not think it does anything and so do most video editors hence most deinterlacing turning X fields per second into X/2 frames per second.

Pulldowns.... interlaced I can deal with, pulldowns are just horrible and it actually gets worse from there. Film cameras were traditionally 24fps (less for some really old stuff -- what bad video editors cause old war footage to look like everybody is on the Benny Hill show), PAL is 25fps so it is sped up but you can not speed up to NTSC (30fps). Few things were captured at 30fps so frames/fields were played multiple times (the most common being the so called 3:2 pulldown but various people did all sorts of things). Modern cameras and game consoles do output at full frame rates, also CGI footage tended to be rendered at 30fps which is fun for those ripping DVDs properly. To finish it off you also have "pulldown flags", various video decoders could see these flags and do their own pulldown at decode time. Naturally not everything supports this so how it plays out varies a bit, this is also where some people started getting into variable frame rate video.

If it turns out you have true 30fps footage and want it to be 60fps it is possible, personally I do not suggest it and it will see your encode times probably increase by a factor of 10 (no exaggeration there) unless you do just do the basic replay frames thing which is just pointless really.
 
  • Like
Reactions: Jiehfeng

Jiehfeng

The One
OP
Member
Joined
Aug 15, 2012
Messages
5,498
Trophies
2
Location
netti netti.
Website
www.youtube.com
XP
7,018
Country
Sri Lanka
Technically, my capture card records in 60fps. Even my video player, SMPlayer shows "59.94fps" and windows properties. But video editing softwares don't give me the option to encode in 60fps. But is there any loss when re-encoding 60fps in so called 30fps? Is there any lag?
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
In that case I would check to see if your video encoder has a "DVD compatible" option or profile selected or something. It might well be that a given instance of software does not have the option to go that high, few gain real benefits from going to that, but it is really nothing special in video world.

Loss.... this gets a bit contentious.
Most people see reasonably fluid motion at around 17fps (maybe slightly less) with 24 being pretty good. This then leads into the PAL speedup and NTSC pulldown stuff I was on about earlier. The fractions under the 25, 30 and 60 are other legacy things (originally colour, various other things now) but I will ignore that for now.
Computer games would be a potential exception here. As part of video you inevitably capture a bit of motion blur and this makes things better (though there is the related concept of shutter speed). Computer generated imagery, which does include a lot of modern films, seems to lack this and often when it does happen it is bad motion blur (everything blurs) rather than relative motion blur (the object in motion then motion blurs, or blurs more), also why some game playing types are opposed to motion blur. However if you increase the framerate again, where this starts to get good is a matter for debate, though in most cases this means it is upped to 60fps (if only because of vsync). There is definitely something to be said for having your game aim for 60fps (60fps dropping to 40fps is not half as bad as 30 to 10 after all) but a lot of the rest of the time I am not convinced it is much more than the video equivalent of the audiophool thing.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @Maximumbeans, I'm doing alright, thanks.
    +1
  • Maximumbeans @ Maximumbeans:
    That must be rough. Productive I'm sure but hard to balance with daily life
    +1
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Indeed. I've been working on getting this Infecutus chip to work on my PS2. But after soldering, I realised that a plastic piece was missing from the power ribbon cable to the power and eject buttons.
  • SylverReZ @ SylverReZ:
    Now I could go with soldering the contacts from the cable to the connector on the mobo, but doesn't sound like a good permanent solution.
  • Maximumbeans @ Maximumbeans:
    Man, that's beyond my brain :rofl: I'm no good with hardware for now. I'd like to get into hardmods in future though
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Maybe start practice soldering. Get a cheap-ass soldering iron and follow some good YouTube tutorials.
    +1
  • SylverReZ @ SylverReZ:
    Least my experience has gotten better than over a decade ago. My iron would constantly bump into components and break them.
  • Maximumbeans @ Maximumbeans:
    Sounds good. I actually did soldering but like 16 years ago for school so uuuuh probably rusty haha
  • SylverReZ @ SylverReZ:
    @Maximumbeans, Same here. I did soldering at school from a teacher who I honestly liked since he had plenty of good electronics experience.
    +1
  • Maximumbeans @ Maximumbeans:
    I wish I could play chess well
    +1
  • Maximumbeans @ Maximumbeans:
    Useless but a true art
    +1
  • SylverReZ @ SylverReZ:
    @Maximumbeans, I had a friend who had a glass chess set for their birthday.
  • SylverReZ @ SylverReZ:
    It was like all clear and fancy. Tbf I'm not too experienced with chess, but would like to learn someday.
  • Maximumbeans @ Maximumbeans:
    That sounds really cool
  • Maximumbeans @ Maximumbeans:
    I know the basics but no strategy at all :rofl:
    +1
  • Veho @ Veho:
    Watch chess streamers on Twitch and you'll pick up a thing or two.
    +1
  • Veho @ Veho:
    Not to mention there's an infinite number of chess games for every possible platform.
    +1
  • DinohScene @ DinohScene:
    just play it, get beaten a few times and start dominating
    +1
  • K3Nv2 @ K3Nv2:
    Nude chess is best
    +1
  • DinohScene @ DinohScene:
    strip checkers > nude chess
    +1
  • K3Nv2 @ K3Nv2:
    Nude checkers get jumped
    +1
  • SylverReZ @ SylverReZ:
    @Veho, I guess you'd pick up something while watching tub streams.
  • SylverReZ @ SylverReZ:
    @K3Nv2, Dick fights. :tpi:
  • Veho @ Veho:
    Turkish olive oil wrestling.
    +1
    Veho @ Veho: Turkish olive oil wrestling. +1