Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.apps > #45595 > unrolled thread
| Started by | gtr <xxx@yyy.zzz> |
|---|---|
| First post | 2020-11-12 08:06 -0800 |
| Last post | 2020-11-13 12:25 -0800 |
| Articles | 20 on this page of 36 — 7 participants |
Back to article view | Back to comp.sys.mac.apps
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
Page 1 of 2 [1] 2 Next page →
| From | gtr <xxx@yyy.zzz> |
|---|---|
| Date | 2020-11-12 08:06 -0800 |
| Subject | Video Editing |
| Message-ID | <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.
[toc] | [next] | [standalone]
| From | Savageduck <savageduck1@{REMOVESPAM}me.com> |
|---|---|
| Date | 2020-11-12 09:57 -0800 |
| Message-ID | <0001HW.255DAEFF00375A5170000CA1638F@news.giganews.com> |
| In reply to | #45595 |
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
[toc] | [prev] | [next] | [standalone]
| From | gtr <xxx@yyy.zzz> |
|---|---|
| Date | 2020-11-12 10:52 -0800 |
| Message-ID | <rok094$sg0$1@dont-email.me> |
| In reply to | #45596 |
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?
[toc] | [prev] | [next] | [standalone]
| From | JF Mezei <jfmezei.spamnot@vaxination.ca> |
|---|---|
| Date | 2020-11-12 14:17 -0500 |
| Message-ID | <OSfrH.425514$575.19512@fx38.iad> |
| In reply to | #45595 |
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).
[toc] | [prev] | [next] | [standalone]
| From | gtr <xxx@yyy.zzz> |
|---|---|
| Date | 2020-11-12 11:45 -0800 |
| Message-ID | <rok3ct$l30$1@dont-email.me> |
| In reply to | #45598 |
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!
[toc] | [prev] | [next] | [standalone]
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Date | 2020-11-12 19:50 +0000 |
| Message-ID | <i15hvnFlfn4U4@mid.individual.net> |
| In reply to | #45598 |
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
[toc] | [prev] | [next] | [standalone]
| From | gtr <xxx@yyy.zzz> |
|---|---|
| Date | 2020-11-12 12:04 -0800 |
| Message-ID | <rok4fm$tjf$1@dont-email.me> |
| In reply to | #45601 |
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!
[toc] | [prev] | [next] | [standalone]
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Date | 2020-11-12 19:26 +0000 |
| Message-ID | <i15gjoFlfn4U3@mid.individual.net> |
| In reply to | #45595 |
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
[toc] | [prev] | [next] | [standalone]
| From | gtr <xxx@yyy.zzz> |
|---|---|
| Date | 2020-11-12 12:07 -0800 |
| Message-ID | <rok4m9$ve2$1@dont-email.me> |
| In reply to | #45599 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Lewis <g.kreme@kreme.dont-email.me> |
|---|---|
| Date | 2020-11-13 10:22 +0000 |
| Message-ID | <slrnrqsnif.a52.g.kreme@ProMini.lan> |
| In reply to | #45595 |
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?"
[toc] | [prev] | [next] | [standalone]
| From | gtr <xxx@yyy.zzz> |
|---|---|
| Date | 2020-11-13 12:26 -0800 |
| Message-ID | <romq5u$rub$3@dont-email.me> |
| In reply to | #45605 |
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
[toc] | [prev] | [next] | [standalone]
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Date | 2020-11-13 21:06 +0000 |
| Message-ID | <i18arcF7spcU1@mid.individual.net> |
| In reply to | #45610 |
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
[toc] | [prev] | [next] | [standalone]
| From | gtr <xxx@yyy.zzz> |
|---|---|
| Date | 2020-11-13 14:01 -0800 |
| Message-ID | <romvol$3ac$1@dont-email.me> |
| In reply to | #45611 |
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.
[toc] | [prev] | [next] | [standalone]
| From | JF Mezei <jfmezei.spamnot@vaxination.ca> |
|---|---|
| Date | 2020-11-14 04:14 -0500 |
| Message-ID | <1eNrH.550126$0W4.249829@fx42.iad> |
| In reply to | #45613 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Date | 2020-11-14 15:35 +0000 |
| Message-ID | <i1abqjFjrlaU1@mid.individual.net> |
| In reply to | #45622 |
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. -- 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
[toc] | [prev] | [next] | [standalone]
| From | JF Mezei <jfmezei.spamnot@vaxination.ca> |
|---|---|
| Date | 2020-11-14 12:45 -0500 |
| Message-ID | <eJUrH.1184696$DO2.419180@fx45.iad> |
| In reply to | #45629 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Date | 2020-11-14 17:55 +0000 |
| Message-ID | <i1ak0eFlf3iU1@mid.individual.net> |
| In reply to | #45630 |
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
[toc] | [prev] | [next] | [standalone]
| From | Lewis <g.kreme@kreme.dont-email.me> |
|---|---|
| Date | 2020-11-14 18:46 +0000 |
| Message-ID | <slrnrr09fe.1j07.g.kreme@ProMini.lan> |
| In reply to | #45630 |
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
[toc] | [prev] | [next] | [standalone]
| From | Lewis <g.kreme@kreme.dont-email.me> |
|---|---|
| Date | 2020-11-14 01:12 +0000 |
| Message-ID | <slrnrqubo0.1fdt.g.kreme@ProMini.lan> |
| In reply to | #45610 |
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
[toc] | [prev] | [next] | [standalone]
| From | Alan Browne <bitbucket@blackhole.com> |
|---|---|
| Date | 2020-11-13 11:36 -0500 |
| Message-ID | <0CyrH.662407$%p.518313@fx33.iad> |
| In reply to | #45595 |
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
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.sys.mac.apps
csiph-web