View Full Version : Video rotation for 25fps
jjesusfreak01
01-19-2005, 06:50 PM
Does anyone know a program (possibly freeware) that can do a 90 degree turn on a video. I was wondering, because my TH-55 can do widescreen video at 15fps, but if the video is formatted for a portrait screen, there is less software processing and the like, I can hike the framerate up to 25fps. I tried this recently with a video on pdavideos. It was created turned at a 90 degree angle, and I simply changed the parameters in the IC2 reg file, and there you go, 25 fps playing perfectly.
junglemike
01-19-2005, 09:24 PM
Rotating video is a great idea. It boosts speed with MMplayer with large resolution to about 100% . I can get 272x480x25fps@400kbps running smooth on T3.
a) If you are uisng Avisynth - just add this command : turnright()
b) If you are uisng VirtualDub(Mod) - add rotation filter via Video->Filters->Add
c) If you are using PocketDvixEncoder - just choose lanscape profile.
If you are using something esle - i don't know.
psau3
01-20-2005, 06:46 PM
Video can be rotated and filtered and tweaked to your hearts content during the IC conversion process by using ffdshow (http://sourceforge.net/projects/ffdshow/).
The smoothing/deblocking/defringing post-processing options alone make it essential for me for all video playback on my machines.
It's an open-source general-purpose .avi (every major codec ever written) and .mpg (all flavours) decoding and post-processing tool. It works with any and all media players and is directly supported by some (BSPlayer, for example).
Install, run the configuration utility(ies) under Start/Programs/ffdshow and play around.
Checking 'Tray, dialogs & paths->Show tray icon' can be a help when experimenting - the configuration dialog will appear in your system tray when a video is playing.
It also provides replacement for mass-install bloated 'codec packs' or dodgy hacked downloads. :)
To reiterate - xvid, divx, 3vix, etc, as well as virtually all legacy .avi codecs are supported, and you can choose which to supplant on an individual basis. MPEGs are also supported, and work is progressing with direct decoding of MPEG2 video streams.
There are detailed guides around. Google is your friend.
Ok - rotation is absolutely the hardest operation to perform. Everything else is just checking a box. :)
1. Play your video file.
2. Launch the ffdshow config dialog.
3. Go to 'Perspective correction', check both 'perspective correction' and 'source rectangle'. Apply.
4. Drag the four corners of your frame around. Your video will distort/rotate in realtime. Fiddle around until satisfied. Adjust interpolation method as desired.
5. Go to 'Resize & aspect', check 'Resize', 'Set aspect ratio manually' and drag the slider until the aspect ratio of your rotated video looks correct.
If you apply the changes as you make them, all videos decoded under ffdshow will now display as per the filtering/post-processing settings you have changed. To remove, just uncheck the boxes.
There you go. Saving this as a custom profile will save time in future.
Play around and see for yourselves. Ask me if you have any questions. :D
n.b. newer versions of ffdshow can be found than the one linked to above. I believe the latest was compiled on the 17th.
jjesusfreak01
01-20-2005, 09:25 PM
Thanks psau3, im trying ffdshow. It looks like its going to work, but the settings are a little tricky. It has 4 icons in the taskbar, and each one alters the image using its specs, so it is somewhat difficult to do what I want.
psau3
01-21-2005, 08:08 AM
Ah. I realised that I was running an older version than the one linked to. My apologies.
I should also have been more precise in my configuration description - you only need to check the 'display tray icon' option in the 'Programs/ffdshow/configuration' dialog. Displaying any other tray icons is not required, and potentially confusing. :o
Also, the more recent Jan 17th build tends to crash media player on the machine I tested it on. The latest sourceforge alpha build (link in previous post) seems stable.
Otherwise, I agree that a 'rotate by xx degrees' option would be useful, if only for convenience. The ability to arbitrarily warp/rotate/perspective correct the video stream in realtime is great.
vBulletin v3.0.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.