Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #27544

Re: Cutting an AVI file down to size

From Charlie Gibbs <cgibbs@kltpzyxm.invalid>
Newsgroups comp.os.linux.misc
Subject Re: Cutting an AVI file down to size
Date 2019-07-03 21:49 +0000
Organization NewsGuy - Unlimited Usenet $23.95
Message-ID <qfj7sc02gfs@news3.newsguy.com> (permalink)
References <qfhefl0nq6@news3.newsguy.com> <661ec094-f425-4661-a40b-b53d0c2924f6@trust.no1> <qfikcd02e9g@news2.newsguy.com> <87pnmq2a28.fsf@usenet.ankman.de>

Show all headers | View raw


On 2019-07-03, Andreas Kohlbach <ank@spamfence.net> wrote:

> On 3 Jul 2019 16:16:13 GMT, Charlie Gibbs wrote:
>>
>> On 2019-07-03, Queequeg <queequeg@trust.no1> wrote:
>>
>>> Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:
>>>
>>>> 14 gigabytes in size.  That's right, gigabytes - enough data to
>>>> fill three DVDs to bursting.  The file plays fine - it's a home-shot
>>>> video which is 13 minutes long.  Something is very wrong, obviously.
>>>
>>> The size is similar to what it would be if the video was 640x480@25fps 
>>> and not compressed at all.
>>
>> $ dc
>> 640 480 3 25 780 * * * * p
>> 17971200000
>>
>> Holy crap!  It's easy to forget just how many pixels we're throwing around.
>
> Not sure how you get this number. What is 3, 25 and 780?

Wild guesses: 3 bytes per pixel, 25 frames per second, 780 seconds duration.
It came out pretty close; the file size is 14,262,080,000 bytes.

> And what is actually inside this AVI container? Often
>
> file filename.avi
>
> tells you.

Aha.  file is smarter than I thought:
RIFF (little-endian) data, AVI, 640 x 480, 30.00 fps,
video:, audio: uncompressed PCM (stereo, 44100 Hz)

>>> Just try converting it with avconv.
>>
>> $ avconv -codecs | wc
>>     424    2647   24437
>>
>> So many choices... and I presume most video players only understand a few.
>> Is there some sort of guide to codecs that would help me decide which to
>> use?
>
> I say generic MP4 or MKV. That's what I use when I use a machine emulator
> and record the session. Two minutes result in a AVI file with 1.5 GB
> because it's uncompressed.

I'll give that a try if the owner cares.

-- 
/~\  cgibbs@kltpzyxm.invalid (Charlie Gibbs)
\ /  I'm really at ac.dekanfrus if you read it the right way.
 X   Top-posted messages will probably be ignored.  See RFC1855.
/ \  Fight low-contrast text in web pages!  http://contrastrebellion.com

Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Cutting an AVI file down to size Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2019-07-03 05:29 +0000
  Re: Cutting an AVI file down to size dillinger <dillinger@invalid.not> - 2019-07-03 07:59 +0200
  Re: Cutting an AVI file down to size "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-07-03 02:21 -0400
    Re: Cutting an AVI file down to size The Natural Philosopher <tnp@invalid.invalid> - 2019-07-03 09:22 +0100
  Re: Cutting an AVI file down to size The Natural Philosopher <tnp@invalid.invalid> - 2019-07-03 09:18 +0100
  Re: Cutting an AVI file down to size Rich <rich@example.invalid> - 2019-07-03 11:16 +0000
  Re: Cutting an AVI file down to size queequeg@trust.no1 (Queequeg) - 2019-07-03 12:59 +0000
    Re: Cutting an AVI file down to size Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2019-07-03 16:16 +0000
      Re: Cutting an AVI file down to size Andreas Kohlbach <ank@spamfence.net> - 2019-07-03 15:27 -0400
        Re: Cutting an AVI file down to size Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2019-07-03 21:49 +0000
          Re: Cutting an AVI file down to size not@telling.you.invalid (Computer Nerd Kev) - 2019-07-04 00:29 +0000
            Re: Cutting an AVI file down to size Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2019-07-04 08:53 +0000
              Re: Cutting an AVI file down to size "Carlos E.R." <robin_listas@es.invalid> - 2019-07-04 15:41 +0200
          Re: Cutting an AVI file down to size queequeg@trust.no1 (Queequeg) - 2019-07-04 08:08 +0000
  Re: Cutting an AVI file down to size "F. Russell" <fr@random.info> - 2019-07-06 18:42 +0000

csiph-web