Re: [FFmpeg-user] '-t' versus '-to'

2024-01-14 Thread Bouke / edit 'B
> On 14 Jan 2024, at 21:22, Carl Zwanzig wrote: > > On 1/13/2024 10:26 PM, Mark Filipak wrote: >> For example: >> -ss 20.061708 -to 5570.815250 >> would be >> -frametrim 481..134046 >> meaning frame 481 thru frame 134046. > > Although IME it much more common to specify the frame number after a

Re: [FFmpeg-user] '-t' versus '-to'

2024-01-14 Thread Carl Zwanzig
On 1/13/2024 10:26 PM, Mark Filipak wrote: For example: -ss 20.061708 -to 5570.815250 would be -frametrim 481..134046 meaning frame 481 thru frame 134046. Although IME it much more common to specify the frame number after a dot* but ffmpeg doesn't seem to do that. (There may be North American

Re: [FFmpeg-user] '-t' versus '-to'

2024-01-13 Thread Mark Filipak
PS: Actually, I think '-framespan' would be a better name for such a function. -framespan 481..134046 On 13/01/2024 22.57, Carl Zwanzig wrote: On 1/13/2024 7:37 PM, DEF wrote: ...other times you want to trim,.. ...(I prefer frame numbers, myself.) I wholeheartedly agree with you, Carl. For e

Re: [FFmpeg-user] '-t' versus '-to'

2024-01-13 Thread Mark Filipak
On 13/01/2024 22.57, Carl Zwanzig wrote: On 1/13/2024 7:37 PM, DEF wrote: ...other times you want to trim,.. ...(I prefer frame numbers, myself.) I wholeheartedly agree with you, Carl. For example: -ss 20.061708 -to 5570.815250 would be -frametrim 481..134046 meaning frame 481 thru frame 1340

Re: [FFmpeg-user] '-t' versus '-to'

2024-01-13 Thread Carl Zwanzig
On 1/13/2024 7:37 PM, DEF wrote: other times you want to trim, you know your start time and end time but perhaps you are lazy to calculate the duration. Or don't see a need because you know the points :), AFAICT most human editors work that way. the you use -to to denote your_position_ in

Re: [FFmpeg-user] '-t' versus '-to'

2024-01-13 Thread DEF
On Sat, 13 Jan 2024 at 22:34, Jim DeLaHunt wrote: > > Mark: > > On 2024-01-13 12:50, Mark Filipak wrote: > > What's the difference? > > > > -t duration (input/output) > > When used as an input option (before -i), limit the duration of > > data read from the input file. > > When used as an

Re: [FFmpeg-user] '-t' versus '-to'

2024-01-13 Thread Jim DeLaHunt
Mark: On 2024-01-13 12:50, Mark Filipak wrote: What's the difference? -t duration (input/output)     When used as an input option (before -i), limit the duration of data read from the input file.     When used as an output option (before an output url),     stop writing the output after its d

[FFmpeg-user] '-t' versus '-to'

2024-01-13 Thread Mark Filipak
What's the difference? -t duration (input/output) When used as an input option (before -i), limit the duration of data read from the input file. When used as an output option (before an output url), stop writing the output after its duration reaches duration. duration must be a t