Hoping to make multiple input seeking outputs based on a text file (inspired by concat)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Hoping to make multiple input seeking outputs based on a text file (inspired by concat)

James Sundquist
Inspired by concat command for combining a series of clips from a text file.

What?

I'd like to make a series of input seeking based outputs from the same
source video.  Ideally each will be taken from a text file called
edits.txt.  Otherwise every single new output means defining:

Start point + Duration (or End Point) + name of new clip

ffmpeg -ss [Start] -i original.mp4 -t [Duration] exercise-1.mp4

Why?

My source video is a Zoom call that recurs weekly for a class.  Each of
these videos has particular sections of interest, much like viewing time
stamps on a Youtube video.

00:22 - 00:44 -- Introductions
00:57 - 01:23 -- 1st Exercise
02:26 - 02:27 -- 2nd Exercise
etc.

If I could just write this ^^ information into a text file, it would make
it much easier to edit and organize these videos based on my notes from
class.  Suggestions appreciated!  Thanks for the earlier links.  Not sure
if some basic scripting in Linux would help this process along.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Hoping to make multiple input seeking outputs based on a text file (inspired by concat)

Carl Zwanzig
On 8/27/2020 9:35 AM, James Sundquist wrote:
> I'd like to make a series of input seeking based outputs from the same
> source video.  Ideally each will be taken from a text file called
> edits.txt.  Otherwise every single new output means defining:
>
> Start point + Duration (or End Point) + name of new clip
>
> ffmpeg -ss [Start] -i original.mp4 -t [Duration] exercise-1.mp4

Seems like a very simple script to do this. IMHO, this type of task
shouldn't be built into ffmpeg.

z!

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Hoping to make multiple input seeking outputs based on a text file (inspired by concat)

Carl Eugen Hoyos-2
In reply to this post by James Sundquist
Am Do., 27. Aug. 2020 um 18:35 Uhr schrieb James Sundquist
<[hidden email]>:
>
> Inspired by concat command for combining a series of clips from a text file.

Did you read the documentation of the concat demuxer?

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Hoping to make multiple input seeking outputs based on a text file (inspired by concat)

Francois Visagie
In reply to this post by James Sundquist
> -----Original Message-----
> From: ffmpeg-user [mailto:[hidden email]] On Behalf Of
> James Sundquist
> Sent: 27 August 2020 17:35
> To: FFmpeg user questions
> Subject: [FFmpeg-user] Hoping to make multiple input seeking outputs
> based on a text file (inspired by concat)
>
> Inspired by concat command for combining a series of clips from a text file.
>
> What?
>
> I'd like to make a series of input seeking based outputs from the same source
> video.  Ideally each will be taken from a text file called edits.txt.  Otherwise
> every single new output means defining:
>
> Start point + Duration (or End Point) + name of new clip
>
> ffmpeg -ss [Start] -i original.mp4 -t [Duration] exercise-1.mp4
>
> Why?
>
> My source video is a Zoom call that recurs weekly for a class.  Each of these
> videos has particular sections of interest, much like viewing time stamps on a
> Youtube video.
>
> 00:22 - 00:44 -- Introductions
> 00:57 - 01:23 -- 1st Exercise
> 02:26 - 02:27 -- 2nd Exercise
> etc.
>
> If I could just write this ^^ information into a text file, it would make it much
> easier to edit and organize these videos based on my notes from class.
> Suggestions appreciated!  Thanks for the earlier links.  Not sure if some basic
> scripting in Linux would help this process along.

You're looking for edit decision list (EDL) support.

I haven't checked whether ffmpeg supports this natively ;-).

> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email [hidden email]
> with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Hoping to make multiple input seeking outputs based on a text file (inspired by concat)

kumowoon1025
In reply to this post by Carl Zwanzig
Hi,

> Seems like a very simple script to do this. IMHO, this type of task shouldn't be built into ffmpeg.

It seems to me that is the prevalent opinion. Why is that? To exhume a dead horse and start beating it again, the jumbled up program streams in a DVD's VOB transport streams require this exact maneuver to play. Or is the idea that a separate library should deal with this? I guess that's what bluray does...

Regards,
Ted Park

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".