• Video Editing

    From gtr@xxx@yyy.zzz to comp.sys.mac.system,comp.sys.mac.apps on Thursday, November 12, 2020 08:06:20
    From Newsgroup: comp.sys.mac.system

    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.

    Any aid appreciated.


    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Savageduck@savageduck1@{REMOVESPAM}me.com to comp.sys.mac.system, comp.sys.mac.apps on Thursday, November 12, 2020 09:57:19
    From Newsgroup: comp.sys.mac.system

    On Nov 12, 2020, gtr wrote
    (in article <rojmhs$eqc$1@dont-email.me>):

    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.

    Any aid appreciated.

    You haven’t mentioned the type of video file, or the source (recording device, sometimes the manufacturer provides proprietary editing software).

    Since you have a Mac you already have something which will do the job, but not quite as simply as "*type in a starting time code and and ending time code*” You will have to do a bit of editing.

    Quicktime Player (Edit->Trim, etc.)
    iMovie

    ...and if you want to up your game a tad there is the free *DaVinci Resolve* which does require climbing a learning curve.

    --
    Regards,
    Savageduck

    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From gtr@xxx@yyy.zzz to comp.sys.mac.system,comp.sys.mac.apps on Thursday, November 12, 2020 10:52:20
    From Newsgroup: comp.sys.mac.system

    On 2020-11-12 17:57:19 +0000, Savageduck said:

    On Nov 12, 2020, gtr wrote
    (in article <rojmhs$eqc$1@dont-email.me>):

    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.

    Any aid appreciated.

    You haven’t mentioned the type of video file, or the source (recording device, sometimes the manufacturer provides proprietary editing
    software).

    Any file format that will let me type in timings.

    Since you have a Mac you already have something which will do the job,
    but not quite as simply as "*type in a starting time code and and
    ending time code*” You will have to do a bit of editing.

    And that's the only consideration that has me asking the question here.
    I have three or four ways to do it I want to spend 20 minutes with a
    mouse.

    Quicktime Player (Edit->Trim, etc.)
    iMovie

    Right, and Screenflow and a few others.

    ...and if you want to up your game a tad there is the free *DaVinci
    Resolve* which does require climbing a learning curve.

    I have it and it does indeed look like a lot of preliminary study. Do
    you know if it will
    let me type in timings?

    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From JF Mezei@jfmezei.spamnot@vaxination.ca to comp.sys.mac.system,comp.sys.mac.apps on Thursday, November 12, 2020 14:17:01
    From Newsgroup: comp.sys.mac.system

    On 2020-11-12 11:06, gtr 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.


    ffmpeg is your friend.

    ffmpeg -i input.mov -ss 00:15:12 -t 00:00:30 -acodec copy -vcodec copy output.mov


    Only difference is that you specify start time (ss) and duration (t)
    instead of end time. It is the swiss army knife of handling video files
    and formats.

    It is open source and there are binaries available for OS-X (sorry don't
    have link handy).


    You can then use bash to create a script to process the list of files
    you need.


    (I think it is able to concatenate 2 video files but not sure).
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Jolly Roger@jollyroger@pobox.com to comp.sys.mac.system,comp.sys.mac.apps on Thursday, November 12, 2020 19:26:48
    From Newsgroup: comp.sys.mac.system

    On 2020-11-12, 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.

    Any aid appreciated.

    Sounds like a job for a script to me.

    You can use the -ss and -to switches with the ffmpeg command-line tool
    to trim video files with time codes. Read the manual for details and
    examples. There are also plenty of tutorials on the web about it.

    It would relatively trivial to write a little script (AppleScript, Ruby,
    Perl, shell, whatever) that reads a list of video names/paths along with
    the appropriate time codes from a text file and then invoke ffmpeg with
    the right parameters to do the splicing.

    --
    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
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From gtr@xxx@yyy.zzz to comp.sys.mac.system,comp.sys.mac.apps on Thursday, November 12, 2020 11:45:33
    From Newsgroup: comp.sys.mac.system

    On 2020-11-12 19:17:01 +0000, JF Mezei said:

    On 2020-11-12 11:06, gtr 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.


    ffmpeg is your friend.

    ffmpeg -i input.mov -ss 00:15:12 -t 00:00:30 -acodec copy -vcodec copy
    output.mov


    Only difference is that you specify start time (ss) and duration (t)
    instead of end time. It is the swiss army knife of handling video files
    and formats.

    I'm well aware of it, and thought I recalled a UI that made it easily
    done. I even went and purchased FF-Works to make it more accessible,
    but couldn't manage to find it in there anywhere.

    It is open source and there are binaries available for OS-X (sorry don't
    have link handy).


    You can then use bash to create a script to process the list of files
    you need.


    (I think it is able to concatenate 2 video files but not sure).

    I see "merge", so assume it can do that as well, but it's not what I'm
    looking for just now. Thanks!

    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Jolly Roger@jollyroger@pobox.com to comp.sys.mac.system,comp.sys.mac.apps on Thursday, November 12, 2020 19:50:16
    From Newsgroup: comp.sys.mac.system

    On 2020-11-12, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
    On 2020-11-12 11:06, gtr 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.

    ffmpeg is your friend.

    ffmpeg -i input.mov -ss 00:15:12 -t 00:00:30 -acodec copy -vcodec
    copy output.mov

    Only difference is that you specify start time (ss) and duration (t)
    instead of end time.

    The -to switch lets you specify an end time.

    --
    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
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From gtr@xxx@yyy.zzz to comp.sys.mac.system,comp.sys.mac.apps on Thursday, November 12, 2020 12:04:06
    From Newsgroup: comp.sys.mac.system

    On 2020-11-12 19:50:16 +0000, Jolly Roger said:

    On 2020-11-12, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
    On 2020-11-12 11:06, gtr 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.

    ffmpeg is your friend.

    ffmpeg -i input.mov -ss 00:15:12 -t 00:00:30 -acodec copy -vcodec
    copy output.mov

    Only difference is that you specify start time (ss) and duration (t)
    instead of end time.

    The -to switch lets you specify an end time.

    Cool!

    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From gtr@xxx@yyy.zzz to comp.sys.mac.system,comp.sys.mac.apps on Thursday, November 12, 2020 12:07:37
    From Newsgroup: comp.sys.mac.system

    On 2020-11-12 19:26:48 +0000, Jolly Roger said:

    On 2020-11-12, 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.

    Any aid appreciated.

    Sounds like a job for a script to me.

    You can use the -ss and -to switches with the ffmpeg command-line tool
    to trim video files with time codes. Read the manual for details and examples. There are also plenty of tutorials on the web about it.

    It would relatively trivial to write a little script (AppleScript, Ruby, Perl, shell, whatever) that reads a list of video names/paths along with
    the appropriate time codes from a text file and then invoke ffmpeg with
    the right parameters to do the splicing.

    That might be a good educational project for the Autumn.


    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Lewis@g.kreme@kreme.dont-email.me to comp.sys.mac.system,comp.sys.mac.apps on Friday, November 13, 2020 10:22:07
    From Newsgroup: comp.sys.mac.system

    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-


    --
    "Why do you wear that stupid bunny suit?" "Why are you wearing that
    stupid man suit?"
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Alan Browne@bitbucket@blackhole.com to comp.sys.mac.system,comp.sys.mac.apps on Friday, November 13, 2020 11:36:11
    From Newsgroup: comp.sys.mac.system

    On 2020-11-12 11:06, gtr 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.

    Handbrake does that - perhaps not to "time code" level, but at least to seconds or frames in whatever range you need.

    --
    "...there are many humorous things in this world; among them the white
    man's notion that he is less savage than the other savages."
    -Samuel Clemens
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From gtr@xxx@yyy.zzz to comp.sys.mac.apps,comp.sys.mac.system on Friday, November 13, 2020 12:24:44
    From Newsgroup: comp.sys.mac.system

    On 2020-11-13 16:36:11 +0000, Alan Browne said:

    On 2020-11-12 11:06, gtr 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.

    Handbrake does that - perhaps not to "time code" level, but at least to seconds or frames in whatever range you need.

    I thought it did too! But I can't seem to find it. Can you point me there?

    I don't need time precision anyway, all such clips will be joined for a
    rough cut anyway.

    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From gtr@xxx@yyy.zzz to comp.sys.mac.apps,comp.sys.mac.system on Friday, November 13, 2020 12:26:38
    From Newsgroup: comp.sys.mac.system

    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


    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Jolly Roger@jollyroger@pobox.com to comp.sys.mac.apps,comp.sys.mac.system on Friday, November 13, 2020 21:06:53
    From Newsgroup: comp.sys.mac.system

    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
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From gtr@xxx@yyy.zzz to comp.sys.mac.apps,comp.sys.mac.system on Friday, November 13, 2020 14:01:57
    From Newsgroup: comp.sys.mac.system

    On 2020-11-13 21:06:53 +0000, Jolly Roger said:

    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

    Excllent info. Thanks for that.

    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Alan Browne@bitbucket@blackhole.com to comp.sys.mac.apps,comp.sys.mac.system on Friday, November 13, 2020 19:38:26
    From Newsgroup: comp.sys.mac.system

    On 2020-11-13 15:24, gtr wrote:
    On 2020-11-13 16:36:11 +0000, Alan Browne said:

    On 2020-11-12 11:06, gtr 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.

    Handbrake does that - perhaps not to "time code" level, but at least
    to seconds or frames in whatever range you need.

    I thought it did too!  But I can't seem to find it.  Can you point me there?

    Google (whatever) "Handbrake". Can't miss it.

    Ah, what the hell: https://handbrake.fr/


    --
    "...there are many humorous things in this world; among them the white
    man's notion that he is less savage than the other savages."
    -Samuel Clemens
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Lewis@g.kreme@kreme.dont-email.me to comp.sys.mac.system,comp.sys.mac.apps on Saturday, November 14, 2020 00:59:50
    From Newsgroup: comp.sys.mac.system

    In message <0CyrH.662407$%p.518313@fx33.iad> Alan Browne <bitbucket@blackhole.com> wrote:
    On 2020-11-12 11:06, gtr 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.

    Handbrake does that - perhaps not to "time code" level, but at least to seconds or frames in whatever range you need.

    I believe that Handbrake *always* re-encodes the video. ffmpeg can be
    made to copy exactly what you want without degrading it.

    --
    A lot of people and the smell of sausages meant a performance of the
    street theatre that was life in Ankh-Morpork.
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Lewis@g.kreme@kreme.dont-email.me to comp.sys.mac.apps,comp.sys.mac.system on Saturday, November 14, 2020 01:12:32
    From Newsgroup: comp.sys.mac.system

    In message <romq5u$rub$3@dont-email.me> 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


    There are many many (hundreds?) of options that you can add to ffmpeg

    Here is a recent commandline:

    ffmpeg -i maskred.mp3 -ss 42 -metadata author="Edgar Allan Poe" -metadata album="The Masque of the Red Death" -metadata comment="The story follows Prince Prospero's attempts to avoid a dangerous plague, known as the Red Death, by hiding in his abbey. He, along with many other wealthy nobles, hosts a masquerade ball in seven rooms of the abbey, each decorated with a different color. In the midst of their revelry, a mysterious figure disguised as a Red Death victim enters and makes his way through each of the rooms." -b:a 128K -c:a aac "The Masque of the Red Death.m4b"

    or this

    for i in *; do ffmpeg -n -f concat -safe 0 -i <(for f in $i/*.mp3; do echo "file '$PWD/$f'"; done) -metadata title="$i" -vn -c:a aac -b:a 64K $i.m4a ; done

    or

    ffmpeg -i rolf.mp4 -ss 8:37 -to 8:41 rolf2.mp4

    or

    ffmpeg -i Witches\ 01.mp3 -i Witches\ 02.mp3 -i Witches\ 03.mp3 -i Witches\ 04.mp3 -i Witches\ 05.mp3 -i Witches\ 06.mp3 -i Witches\ 07.mp3 -metadata title="Witches" -metadata comment-"Recorded 16 Jul 1999" Witches.mp3

    (just pulled from my `history`)

    --
    When this kiss is over it will start again But not be any different
    could be exactly the same It's hard to imagine that nothing at
    all Could be so exciting, could be this much fun
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From gtr@xxx@yyy.zzz to comp.sys.mac.apps,comp.sys.mac.system on Friday, November 13, 2020 22:46:47
    From Newsgroup: comp.sys.mac.system

    On 2020-11-14 00:38:26 +0000, Alan Browne said:

    On 2020-11-13 15:24, gtr wrote:
    On 2020-11-13 16:36:11 +0000, Alan Browne said:

    On 2020-11-12 11:06, gtr 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.

    Handbrake does that - perhaps not to "time code" level, but at least to >>> seconds or frames in whatever range you need.

    I thought it did too! But I can't seem to find it. Can you point me there?

    Google (whatever) "Handbrake". Can't miss it.

    Ah, what the hell: https://handbrake.fr/

    I have the program, I've looked for the option. I can't see it.

    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From gtr@xxx@yyy.zzz to comp.sys.mac.apps,comp.sys.mac.system on Friday, November 13, 2020 22:47:20
    From Newsgroup: comp.sys.mac.system

    On 2020-11-14 00:59:50 +0000, Lewis said:

    In message <0CyrH.662407$%p.518313@fx33.iad> Alan Browne <bitbucket@blackhole.com> wrote:
    On 2020-11-12 11:06, gtr 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.

    Handbrake does that - perhaps not to "time code" level, but at least to
    seconds or frames in whatever range you need.

    I believe that Handbrake *always* re-encodes the video. ffmpeg can be
    made to copy exactly what you want without degrading it.

    And yet I continue looking for a way to cull a subset by time code.

    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From JF Mezei@jfmezei.spamnot@vaxination.ca to comp.sys.mac.apps,comp.sys.mac.system on Saturday, November 14, 2020 04:14:37
    From Newsgroup: comp.sys.mac.system

    note: I have found that by using -vcodec h264 and -acodec ac3 or aac
    with ffmpeg will used up mega CPU and is slower. BUT: by going frame be
    frame, it can start the copy operation at the precise time you specified
    for both video and audio. If you don't specify it, the operation is
    much faster, but the output may be without sound until it hits the next keyframe, same with video.

    This matters when you really want precise start of the output video.
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From JF Mezei@jfmezei.spamnot@vaxination.ca to comp.sys.mac.apps,comp.sys.mac.system on Saturday, November 14, 2020 04:30:28
    From Newsgroup: comp.sys.mac.system

    On 2020-11-14 01:46, gtr wrote:

    Ah, what the hell: https://handbrake.fr/

    I have the program, I've looked for the option. I can't see it.


    After you open a movie, look near the top of the movie pane for:

    Angle Range Chapters 1 xx Duration nn:nn:nn

    Change chapters to Seconds and you can then specify start and end
    seconds. You'll need to convert a time value into seconds though.
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Lewis@g.kreme@kreme.dont-email.me to comp.sys.mac.apps,comp.sys.mac.system on Saturday, November 14, 2020 10:01:25
    From Newsgroup: comp.sys.mac.system

    In message <ronuho$4g5$2@dont-email.me> gtr <xxx@yyy.zzz> wrote:
    On 2020-11-14 00:59:50 +0000, Lewis said:

    In message <0CyrH.662407$%p.518313@fx33.iad> Alan Browne
    <bitbucket@blackhole.com> wrote:
    On 2020-11-12 11:06, gtr 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.

    Handbrake does that - perhaps not to "time code" level, but at least to
    seconds or frames in whatever range you need.

    I believe that Handbrake *always* re-encodes the video. ffmpeg can be
    made to copy exactly what you want without degrading it.

    And yet I continue looking for a way to cull a subset by time code.

    And still, ffmpeg does exactly that with -ss START -to END

    -ss 1:14:34.5 -to 1:14:39

    will give you the give seconds from the 1 hour 14 minute and 34 and one
    half second mark to the 1 hour 14 minute and 39 second mark with some
    margin for slop based on keyframes, depending on the encode.

    --
    "Hain't we got all the fools in town on our side? And hain't that a
    big enough majority in any town?" - Huckleberry Finn
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Alan Browne@bitbucket@blackhole.com to comp.sys.mac.system,comp.sys.mac.apps on Saturday, November 14, 2020 09:35:06
    From Newsgroup: comp.sys.mac.system

    On 2020-11-13 19:59, Lewis wrote:
    In message <0CyrH.662407$%p.518313@fx33.iad> Alan Browne <bitbucket@blackhole.com> wrote:
    On 2020-11-12 11:06, gtr 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.

    Handbrake does that - perhaps not to "time code" level, but at least to
    seconds or frames in whatever range you need.

    I believe that Handbrake *always* re-encodes the video. ffmpeg can be
    made to copy exactly what you want without degrading it.

    That's so, but with correct settings the difference will be
    imperceptible. In terms of setting it up, easier for those who are not comfortable in CLI.

    --
    "...there are many humorous things in this world; among them the white
    man's notion that he is less savage than the other savages."
    -Samuel Clemens
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From JF Mezei@jfmezei.spamnot@vaxination.ca to comp.sys.mac.apps,comp.sys.mac.system on Saturday, November 14, 2020 12:45:45
    From Newsgroup: comp.sys.mac.system

    On 2020-11-14 10:35, Jolly Roger wrote:
    On 2020-11-14, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
    note: I have found that by using -vcodec h264 and -acodec ac3 or aac
    with ffmpeg will used up mega CPU and is slower.

    That's because you are instructing ffmpeg to re-encode with those codecs rather than "-*codec copy" which streams the content as-is and is much
    faster as a result.


    Opposite: I found that by forcing the re-encode, I got the output video
    to start 100% OK at the time mark. When you don't do this via the
    "copy", it starts to copy frame information at the right frane, but the
    output video contains "out of context" compressed data for the first
    frames because it doesn't start with a keyframe.

    When you force re-encode, t has in memory a full frame for each frame so
    when it gets to desired start frame, it has a full frame to begin with
    and can then continue with only changes to each frame until the next
    keyframe.

    Same with audio.
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Jolly Roger@jollyroger@pobox.com to comp.sys.mac.apps,comp.sys.mac.system on Saturday, November 14, 2020 17:55:27
    From Newsgroup: comp.sys.mac.system

    On 2020-11-14, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
    On 2020-11-14 10:35, Jolly Roger wrote:
    On 2020-11-14, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
    note: I have found that by using -vcodec h264 and -acodec ac3 or aac
    with ffmpeg will used up mega CPU and is slower.

    That's because you are instructing ffmpeg to re-encode with those codecs
    rather than "-*codec copy" which streams the content as-is and is much
    faster as a result.

    Opposite

    Nope. Everything I said above is true.

    --
    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
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Lewis@g.kreme@kreme.dont-email.me to comp.sys.mac.apps,comp.sys.mac.system on Saturday, November 14, 2020 18:46:07
    From Newsgroup: comp.sys.mac.system

    In message <eJUrH.1184696$DO2.419180@fx45.iad> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
    On 2020-11-14 10:35, Jolly Roger wrote:
    On 2020-11-14, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
    note: I have found that by using -vcodec h264 and -acodec ac3 or aac
    with ffmpeg will used up mega CPU and is slower.

    That's because you are instructing ffmpeg to re-encode with those codecs
    rather than "-*codec copy" which streams the content as-is and is much
    faster as a result.


    Opposite: I found that by forcing the re-encode, I got the output video
    to start 100% OK at the time mark. When you don't do this via the
    "copy", it starts to copy frame information at the right frane, but the output video contains "out of context" compressed data for the first
    frames because it doesn't start with a keyframe.

    This is because you don't know what you are doing.

    --
    Up the airy mountains, down the rushy glen... From ghosties and
    bogles and long-leggity beasties... My mother said I never
    should... We dare not go a-hunting for fear... And things that go
    bump... Play with the fairies in the wood... --Lords and Ladies
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From gtr@xxx@yyy.zzz to comp.sys.mac.apps,comp.sys.mac.system on Sunday, November 15, 2020 08:43:35
    From Newsgroup: comp.sys.mac.system

    On 2020-11-14 09:30:28 +0000, JF Mezei said:

    On 2020-11-14 01:46, gtr wrote:

    Ah, what the hell: https://handbrake.fr/

    I have the program, I've looked for the option. I can't see it.


    After you open a movie, look near the top of the movie pane for:

    Angle Range Chapters 1 xx Duration nn:nn:nn

    Change chapters to Seconds and you can then specify start and end
    seconds. You'll need to convert a time value into seconds though.

    Yes! Bravo!

    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From gtr@xxx@yyy.zzz to comp.sys.mac.apps,comp.sys.mac.system on Sunday, November 15, 2020 08:46:35
    From Newsgroup: comp.sys.mac.system

    On 2020-11-14 14:56:33 +0000, Alan Browne said:

    On 2020-11-14 01:46, gtr wrote:
    On 2020-11-14 00:38:26 +0000, Alan Browne said:

    On 2020-11-13 15:24, gtr wrote:
    On 2020-11-13 16:36:11 +0000, Alan Browne said:

    On 2020-11-12 11:06, gtr 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.

    Handbrake does that - perhaps not to "time code" level, but at least to >>>>> seconds or frames in whatever range you need.

    I thought it did too! But I can't seem to find it. Can you point me there?

    Google (whatever) "Handbrake". Can't miss it.

    Ah, what the hell: https://handbrake.fr/

    I have the program, I've looked for the option. I can't see it.

    Where it says "Range". You can set it to "Chapters", "Seconds",
    "Frames" and then enter the appropriate info for that option.

    V 1.2.2 is what I have.
    V 1.3.3 is the latest.

    V 1.0.7 contains a trojan. Do not run it if you have it.

    I have 1.3.3 as well. Why do you hang with 1.2.2?

    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Alan Browne@bitbucket@blackhole.com to comp.sys.mac.apps,comp.sys.mac.system on Sunday, November 15, 2020 12:03:26
    From Newsgroup: comp.sys.mac.system

    On 2020-11-15 11:46, gtr wrote:
    On 2020-11-14 14:56:33 +0000, Alan Browne said:

    On 2020-11-14 01:46, gtr wrote:
    On 2020-11-14 00:38:26 +0000, Alan Browne said:

    On 2020-11-13 15:24, gtr wrote:
    On 2020-11-13 16:36:11 +0000, Alan Browne said:

    On 2020-11-12 11:06, gtr 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.

    Handbrake does that - perhaps not to "time code" level, but at
    least to seconds or frames in whatever range you need.

    I thought it did too!  But I can't seem to find it.  Can you point >>>>> me there?

    Google (whatever) "Handbrake".  Can't miss it.

    Ah, what the hell: https://handbrake.fr/

    I have the program, I've looked for the option. I can't see it.

    Where it says "Range".  You can set it to "Chapters", "Seconds",
    "Frames" and then enter the appropriate info for that option.

    V 1.2.2 is what I have.
    V 1.3.3 is the latest.

    V 1.0.7 contains a trojan.  Do not run it if you have it.

    I have 1.3.3 as well.  Why do you hang with 1.2.2?

    I had no reason to upgrade it. It's no different under the hood. But
    due to this discussion I have updated it to 1.3.3 and so far all I see
    is a better queue display with the information on a particular clip in
    the right pane whereas before you had to click-open from the queue line.

    I've never been one to update s/w just because. There has to be a
    compelling reason. A bug. An important security fix. A desirable feature.

    For that matter on a large conversion project I wrote a program to drive HandbrakeCLI and manage the backup of the resulting files.

    --
    "...there are many humorous things in this world; among them the white
    man's notion that he is less savage than the other savages."
    -Samuel Clemens
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Lewis@g.kreme@kreme.dont-email.me to comp.sys.mac.apps,comp.sys.mac.system on Sunday, November 15, 2020 18:25:09
    From Newsgroup: comp.sys.mac.system

    In message <ybdsH.541482$HY4.453352@fx37.iad> Alan Browne <bitbucket@blackhole.com> wrote:
    On 2020-11-15 11:46, gtr wrote:
    On 2020-11-14 14:56:33 +0000, Alan Browne said:

    On 2020-11-14 01:46, gtr wrote:
    On 2020-11-14 00:38:26 +0000, Alan Browne said:

    On 2020-11-13 15:24, gtr wrote:
    On 2020-11-13 16:36:11 +0000, Alan Browne said:

    On 2020-11-12 11:06, gtr 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.

    Handbrake does that - perhaps not to "time code" level, but at
    least to seconds or frames in whatever range you need.

    I thought it did too!  But I can't seem to find it.  Can you point >>>>>> me there?

    Google (whatever) "Handbrake".  Can't miss it.

    Ah, what the hell: https://handbrake.fr/

    I have the program, I've looked for the option. I can't see it.

    Where it says "Range".  You can set it to "Chapters", "Seconds",
    "Frames" and then enter the appropriate info for that option.

    V 1.2.2 is what I have.
    V 1.3.3 is the latest.

    V 1.0.7 contains a trojan.  Do not run it if you have it.

    I have 1.3.3 as well.  Why do you hang with 1.2.2?

    I had no reason to upgrade it. It's no different under the hood. But
    due to this discussion I have updated it to 1.3.3 and so far all I see
    is a better queue display with the information on a particular clip in
    the right pane whereas before you had to click-open from the queue line.

    I've never been one to update s/w just because. There has to be a compelling reason. A bug. An important security fix. A desirable feature.

    Quite a lot of updates in 1.3.0

    <https://handbrake.fr/news.php?article=43>

    Python 3 was enough of a reason for me to update as I could remove
    python 2 from one system, but there are definite fixes in moving from
    1.2.x to 1.3.x

    For that matter on a large conversion project I wrote a program to drive HandbrakeCLI and manage the backup of the resulting files.

    I used to used Handbrake CLI a lot, but I've mostly been using ffmpeg
    recently since it supports the h.265 hardware encoding without too much
    hoop jumping.

    --
    I got a question. If you guys know so much about women, how come
    you're here at like the Gas 'n' Sip on a Saturday night
    completely alone drinking beers with no women anywhere?
    --- Synchronet 3.18b-Win32 NewsLink 1.113
  • From Alan Browne@bitbucket@blackhole.com to comp.sys.mac.apps,comp.sys.mac.system on Sunday, November 15, 2020 13:39:53
    From Newsgroup: comp.sys.mac.system

    On 2020-11-15 13:25, Lewis wrote:
    In message <ybdsH.541482$HY4.453352@fx37.iad> Alan Browne <bitbucket@blackhole.com> wrote:

    I had no reason to upgrade it. It's no different under the hood. But
    due to this discussion I have updated it to 1.3.3 and so far all I see
    is a better queue display with the information on a particular clip in
    the right pane whereas before you had to click-open from the queue line.

    I've never been one to update s/w just because. There has to be a
    compelling reason. A bug. An important security fix. A desirable feature.

    Quite a lot of updates in 1.3.0

    <https://handbrake.fr/news.php?article=43>

    Python 3 was enough of a reason for me to update as I could remove
    python 2 from one system, but there are definite fixes in moving from
    1.2.x to 1.3.x

    None that have affected me in the interim.


    For that matter on a large conversion project I wrote a program to drive
    HandbrakeCLI and manage the backup of the resulting files.

    I used to used Handbrake CLI a lot, but I've mostly been using ffmpeg recently since it supports the h.265 hardware encoding without too much
    hoop jumping.

    I could have gone that way too. I don't recall the precise reason why I
    chose HBCLI but it did h.265 w/o any issue.

    --
    "...there are many humorous things in this world; among them the white
    man's notion that he is less savage than the other savages."
    -Samuel Clemens
    --- Synchronet 3.18b-Win32 NewsLink 1.113