I deleted, by mistake, the original message so I have to forward a response to it.
It seems to be easier for me.
I assume you want to e-mail your large files. If this is the case you can create
an account with Yahoo and/or Lycos and try from there.
If your ISP is AOL run away, asap.
To reduce the size of a file that is to losslessly compress it, on linux:
gzip -f <file name>
what you get is <file name>.gz
the size of the compressed file depends on many factors one of which is the kind
of file; I never compressed video files.
bzip2 -z <file name>
is another way to compress files; it achieves better compression rates that is, the
compressed files are smaller, up to 30 per cent smaller, if you are lucky
what you get is <file name>.bz2
To decompress:
gzip -d <file name>.gz
or
bunzip2 ........ <file nome>.bz2 I do not remember the option, I think it is x, I am
writing from the microsoft trash and I cannot look it up, look up the man page
for bzip2.
If gzip and bzip2 do not help, split the files. I know there are ways to split on the
windows trash, I have not been able to find anything that would work on Linux.
If you search the Internet (use altavista, not google because google spys on you)
for "file splitting" you will find many share- and freeware file-splitters for the
windows-trash.
If you think nothing works for you so far, sit down and write a file-splitter
for Linux yourself <smile>
Merry Christmas!!
--- On Sat, 12/12/09, Matt Graham <
danceswithcrows@usa.net> wrote:
From: Matt Graham <
danceswithcrows@usa.net>
Subject: Re: File size reduction in Linux?
To: "Main PLUG discussion list" <
plug-discuss@lists.plug.phoenix.az.us>
Date: Saturday, December 12, 2009, 9:52 AM
From: mike Enriquez <
mylinux@cox.net>
> I have a problem. I need to reduce my video files to from 40MB to
> about 5-10 MB. My service provider says my files are too large and
> blocks them. So I wonder if anyone has had this problem.
> Has anyone in the Linux community encounter this before?
Nope. You're the first person who's ever needed to resize a bunch
of video files. Actually, there's a very useful utility called
ffmpeg that can re-encode audio and video to a ton of different
formats. However, it's not really n00b-friendly. I used the file
at
http://crow202.org/~mhgraham/presets.xml (originally part of a
frontend written in some bizarre dialect of Pascal) and a bit of
shell to come up with this:
#!/bin/bash
# converttoflv.sh
# no error checking at all. Converts first arg to second arg
ffmpeg -i $1 -vcodec flv -f flv -r 29.97 -s 320x240 -aspect \
4:3 -b 300kb -g 160 -cmp dct -subcmp dct -mbd 2 -flags +aic+cbp+mv0+mv4 \
-trellis 1 -ac 1 -ar 22050 -ab 56kb $2
...which, when invoked as "converttoflv.sh thing.avi thing.flv", will
turn thing.avi into a 320x240 FLV with a low bitrate audio stream at
22KHz and a 29.97 frames/sec framerate. The resulting videos are
suitable for FlowPlayer and probably YouTube. There are a metric
ton of reasonable presets in the XML file above, and they have
descriptions. You can roll your own script(s) from that in about
30 seconds depending on your needs, or modify the command lines to
get something different.
There's probably something more polished out there, but the video
re-encoding projects I found via freshmeat/sourceforge were all
half-finished or special purpose.
--
Matt G / Dances With Crows
The Crow202 Blog:
http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss