guess it'll make jumps in pts, maybe genps on output would be useful

On Fri, Jul 10, 2020 at 1:46 PM Leonardo via ffmpeg-user <
[email protected]> wrote:

>
>
>     On Friday, July 10, 2020, 1:37:39 AM GMT-3, Gyan Doshi <
> [email protected]> wrote:
>
>
> Yes, using the concat filter.
>
>     ffmpeg -i video.mp4 -filter_complex
> "[0:v]trim=start=7:end=1173,setpts=PTS-STARTPTS[v1];[0:v]trim=start=1260:end=1430,setpts=PTS-STARTPTS[v2];[0:a]atrim=start=7:end=1173,asetpts=PTS-STARTPTS[a1];[0:a]atrim=start=1260:end=1430,asetpts=PTS-STARTPTS[a2];[v1][a1][v2][a2]concat=n=2:v=1:a=1"
> merged.mp4
>
> Gyan
>
>
> Thank you Gyan !!
> Kind regards,Leonardo
>
>
>
> _______________________________________________
> ffmpeg-user mailing list
> [email protected]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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

Reply via email to