#!/bin/sh # # Handy script to list the packets in a video file in compact form where # they can be examined for glitches (find-glitch) to find a good place to # split the file in order to insert or delete audio to get the joined files # back in sync. # mydir=`dirname $0` PATH=`$mydir/echo-path` export PATH # ffprobe -show_packets -of compact -show_entries \ packet=stream_index,dts_time,pts_time,duration_time "$@" 2>/dev/null