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


Groups > comp.sys.mac.apps > #45611

Re: Video Editing

From Jolly Roger <jollyroger@pobox.com>
Newsgroups comp.sys.mac.apps, comp.sys.mac.system
Subject Re: Video Editing
Date 2020-11-13 21:06 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <i18arcF7spcU1@mid.individual.net> (permalink)
References <slrnrqsnif.a52.g.kreme@ProMini.lan> <romq5u$rub$3@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


On 2020-11-13, gtr <xxx@yyy.zzz> wrote:
> On 2020-11-13 10:22:07 +0000, Lewis said:
>
>> In message <rojmhs$eqc$1@dont-email.me> gtr <xxx@yyy.zzz> wrote:
>>> I'm looking for an app or utility, that will allow me to do the following:
>> 
>>> Feed it a video file, *type in a starting time code and and ending time
>>> code*, and have it spit out the clip into separate file.  I need to
>>> feed it 30 or more such files, culling 4 portions of video from each,
>>> all of them at different times, so it has to be a realitively clean
>>> interaction like this.
>> 
>> I do this via the command line with ffmpeg
>> 
>> #v+
>> ffmpeg -i infile.mp4 -ss START -to END outfile.mp4
>> #v-
>
> I heard that upstream and appreciate it.  There the command is somewhat 
> different from yours:
>
> ffmpeg -i input.mov -ss START -t LENGTH -acodec copy -vcodec copy output.mov

You can choose which to use based on your needs:

* The -t switch is for specifying the length of the clip.
* The -to switch is for specifying the end time.

The "-*codec copy" switch just enables this optional feature:

---
Stream copy

Stream copy is a mode selected by supplying the "copy" parameter to the
-codec option. It makes ffmpeg omit the decoding and encoding step for
the specified stream, so it does only demuxing and muxing. It is useful
for changing the container format or modifying container-level metadata.

The diagram above will, in this case, simplify to this:

                _______              ______________            ________
               |       |            |              |          |        |
               | input |  demuxer   | encoded data |  muxer   | output |
               | file  | ---------> | packets      | -------> | file   |
               |_______|            |______________|          |________|

Since there is no decoding or encoding, it is very fast and there is no
quality loss. However, it might not work in some cases because of many
factors. Applying filters is obviously also impossible, since filters
work on uncompressed data.
---
Reference: ffmpeg manual

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

Back to comp.sys.mac.apps | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Video Editing gtr <xxx@yyy.zzz> - 2020-11-12 08:06 -0800
  Re: Video Editing Savageduck <savageduck1@{REMOVESPAM}me.com> - 2020-11-12 09:57 -0800
    Re: Video Editing gtr <xxx@yyy.zzz> - 2020-11-12 10:52 -0800
  Re: Video Editing JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-11-12 14:17 -0500
    Re: Video Editing gtr <xxx@yyy.zzz> - 2020-11-12 11:45 -0800
    Re: Video Editing Jolly Roger <jollyroger@pobox.com> - 2020-11-12 19:50 +0000
      Re: Video Editing gtr <xxx@yyy.zzz> - 2020-11-12 12:04 -0800
  Re: Video Editing Jolly Roger <jollyroger@pobox.com> - 2020-11-12 19:26 +0000
    Re: Video Editing gtr <xxx@yyy.zzz> - 2020-11-12 12:07 -0800
  Re: Video Editing Lewis <g.kreme@kreme.dont-email.me> - 2020-11-13 10:22 +0000
    Re: Video Editing gtr <xxx@yyy.zzz> - 2020-11-13 12:26 -0800
      Re: Video Editing Jolly Roger <jollyroger@pobox.com> - 2020-11-13 21:06 +0000
        Re: Video Editing gtr <xxx@yyy.zzz> - 2020-11-13 14:01 -0800
          Re: Video Editing JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-11-14 04:14 -0500
            Re: Video Editing Jolly Roger <jollyroger@pobox.com> - 2020-11-14 15:35 +0000
              Re: Video Editing JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-11-14 12:45 -0500
                Re: Video Editing Jolly Roger <jollyroger@pobox.com> - 2020-11-14 17:55 +0000
                Re: Video Editing Lewis <g.kreme@kreme.dont-email.me> - 2020-11-14 18:46 +0000
      Re: Video Editing Lewis <g.kreme@kreme.dont-email.me> - 2020-11-14 01:12 +0000
  Re: Video Editing Alan Browne <bitbucket@blackhole.com> - 2020-11-13 11:36 -0500
    Re: Video Editing gtr <xxx@yyy.zzz> - 2020-11-13 12:24 -0800
      Re: Video Editing Alan Browne <bitbucket@blackhole.com> - 2020-11-13 19:38 -0500
        Re: Video Editing gtr <xxx@yyy.zzz> - 2020-11-13 22:46 -0800
          Re: Video Editing JF Mezei <jfmezei.spamnot@vaxination.ca> - 2020-11-14 04:30 -0500
            Re: Video Editing gtr <xxx@yyy.zzz> - 2020-11-15 08:43 -0800
          Re: Video Editing Alan Browne <bitbucket@blackhole.com> - 2020-11-14 09:56 -0500
            Re: Video Editing gtr <xxx@yyy.zzz> - 2020-11-15 08:46 -0800
              Re: Video Editing Alan Browne <bitbucket@blackhole.com> - 2020-11-15 12:03 -0500
                Re: Video Editing Lewis <g.kreme@kreme.dont-email.me> - 2020-11-15 18:25 +0000
                Re: Video Editing Alan Browne <bitbucket@blackhole.com> - 2020-11-15 13:39 -0500
    Re: Video Editing Lewis <g.kreme@kreme.dont-email.me> - 2020-11-14 00:59 +0000
      Re: Video Editing gtr <xxx@yyy.zzz> - 2020-11-13 22:47 -0800
        Re: Video Editing Lewis <g.kreme@kreme.dont-email.me> - 2020-11-14 10:01 +0000
      Re: Video Editing Alan Browne <bitbucket@blackhole.com> - 2020-11-14 09:35 -0500
  Re: Video Editing Angus McGiver <somebody@somewhere.com> - 2020-11-13 12:06 -0500
    Re: Video Editing gtr <xxx@yyy.zzz> - 2020-11-13 12:25 -0800

csiph-web