[FFmpeg-user] Split video at mid-stream codec/resolution changes

Peter B. pb at das-werkstatt.com
Thu Mar 16 12:15:58 EET 2017

Hi all!

Is there any way to use ffmpeg to split/cut a video at positions where
the codec or e.g. resolution changes mid-stream, but without transcoding
the audio/video? (="-c copy")?

Maybe by using ffprobe to detect where these codec/property changes are
in the file...
I've searched the Internet, but couldn't find anything suitable.

Thank you very much in advance,
Peter B.

More information about the ffmpeg-user mailing list