Latest Files |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
File Info |
Browsing as Guest |
|
|
FAST video resizer (vid2gp 1.5) |
|
|
(V1.5) This is a bash script that uses transcode in order to RESIZE your videos.
This script only resizes your videos and NOT reencodes them, this means that you can SAVE a lot of TIME and about 30-50% of disk space!! ^___^
Given an Mplayer compatible video file, this script outputs a standard video in an AVI container using Xvid4 and MP3 as default codecs (fully readable from your GP2X).
This script will automatically adjust the video size in order to minimize it to 320x240 (keeping the aspect ratio), and eventually adds some pixels of black border so the W or H can be a multiple of 8 (this speeds up the resizing process a lot). In addition it will add an additional black border in order to obtain a full 320x240 screen. This feature was added to overcome to a GP2X Mplayer/MP2X bug which wrongly cuts *some* videos, making the subtitles unreadable.
--------------------------------------------------------------------------------
USAGE: vid2gp videofile [quality] Where quality can be: 0(fastest) to 5(insane). Default is 0.
--------------------------------------------------------------------------------
v1.5: * all videos to 320x240, keeping aspect ratio, adding black border * added more colors * made some cleanup on the source v1.4: * corrected the returned size format (XXX.YY instead of XXX) * $TMP now points to "/tmp" and not "/tmp/ram" v1.3: * rewrited the entire script in a better manner * rewrited dimensions calculation steps * added 5 presetted profiles! (see quality parameter) * customizable temp dir ($TMP) and file suffix ($SFIX) v1.2: * added the customization of the temp directory (look in default params) * corrected the printed frame count * adjusted the help v1.1: * corrected a dimension calculation error (W based on H) v1.0: * first release
|
|
Name: |
vid2gp-1.5.tar.gz |
Date: |
08/03/2007 |
Size: |
3.6 KB |
Version: |
1.5 |
Author: |
Alberto |
Website: |
https://www.camelsoft.tk |
Downloads: |
2,755 |
Sourcecode URL: |
|
Licence: |
|
|
|
|
|
Operating Systems: |
gp2x F100 gp2x F200
|
|
|
Connection |
Download Time |
56k Modem |
0.7 secs |
128k ISDN |
0.3 secs |
256k Cable/DSL |
0.1 secs |
512k Cable/DSL |
0.1 secs |
1mbit Link |
0.0 secs |
|
|
|
|
|
Download |
Please note: The comment section is NOT intended to ask for help. Please use the I need Help-Section at the boards.
14 Comments |
|
|
I re-created the post in order to clear all the previous comments and update the script. Sorry for the trouble people. --
Next time I'll wait your fix, thanks EvilDragon ;) |
|
|
Im sorry Im such an idiot : p but how exactly do you use this? |
|
|
within a shell, type the command name followed by the video filename, for example:
vid2gp mymovie.avi |
|
|
ver 1.3: Please change the TMP variable content from "/tmp/ram" to "/tmp".
--
I'll change this in the next release. |
|
|
ver 1.3: I just noticed a little problem in the size format (it returns XXX.YY insetead of XXX), I'll post the correct release as soon as possible. |
|
|
I was going to download this, but I was confused on if it ONLY resized and left the encoding to a gp2x compatible format for another script or program.
Make it clearer? (= |
|
|
that script changes only the video resolution, not the used codec. So if your video is a divx or a xvid you can use it to make it 320x240, if not you must convert to divx or xvid before using another software and then resize. But the web is full of free converters that resize and\or reencode so if your videos are not a format supported by gp2x is faster to reencode and resize using a single software.
Btw this is a linux bash script, if you're a windows user search around for a converter like veemode or total video converter |
|
|
The transcode option "-y xvid4,lame" encodes the input files using these codecs,so you can safely view your video on your gp2x :) |
|
|
This script automatically reduces the video's size so that it is as small as possible avengers coat jackets
The aspect ratio is maintained (320x240), but pixels are added to the side
By using a black border, the H or W can be a multiple of 8 (this speeds up scaling
process a lot).
In addition it will add an additional black border in order to obtain a full
320x240 screen. This feature was added to overcome to a GP2X Mplayer/MP2X bug
which wrongly cuts *some* videos, making the subtitles unreadable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%%COMMENTFORM%% |
|
|
|
|
|
|
Powered by
CFiles 2.0-b10
Copyright © 2002-2003 Carrick Information
Technologies |
Most Downloads |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|