[FFmpeg-user] Where to cut audio by video frame?

Bouke / VideoToolShed bouke at videotoolshed.com
Thu Oct 10 19:47:27 EEST 2019




> On 10 Oct 2019, at 18:35, Felix Muster via ffmpeg-user <ffmpeg-user at ffmpeg.org> wrote:
> 
> Hello
> 
> 
> 
> I want to cut the audio from a scene of a movie (blu-ray 23.976 pfs).
> 
> I want to create the cut from frame 2928 to 5177.
> 
> Currently I don't know where I have to cut the audio to be accurate.
> 
> Is the given command correct?
> 
Depending on your way of calculating,, the dividing might / might not be needed.
-ss is for the start of what you want, the -t stands for the duration of the file you want as output.

Give it a go a couple of times, you’ll see. (It won’t hurt.)

Bouke




> 
> ffmpeg.exe -i audio.flac -ss (2928/(24000/1001)) -t
> (5177/(24000/1001))-(2928/(24000/1001)) -codec flac audio_cut.flac
> 
> ffmpeg.exe -i audio.flac -ss 122.122 -t 93.80204167 -codec flac
> audio_cut.flac
> 
> 
> 
> And from the documentation I should use -ss as an output option to be
> accurate. But what is with -t? As input or output?
> 
> 
> 
> Best
> 
> Felix
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list