Differences

This shows you the differences between two versions of the page.

Link to this comparison view

framecount [2019/06/26 23:00] – created beandogframecount [2019/07/14 04:35] (current) beandog
Line 10: Line 10:
  tmp=`tempfile`  tmp=`tempfile`
  ffmpeg -i "$x" -vf showinfo -f null /dev/null 2>&1 | cut -d ' ' -f 4- | grep ^n > $tmp  ffmpeg -i "$x" -vf showinfo -f null /dev/null 2>&1 | cut -d ' ' -f 4- | grep ^n > $tmp
 +        ffmpeg -fflags +genpts -i "$x" -an -sn -vf showinfo -f null - 2>&1 | egrep 'i:(P|T|B)' > "$tmp"
  num_p=`grep -c i:P "$tmp"`  num_p=`grep -c i:P "$tmp"`
  num_t=`grep -c i:T "$tmp"`  num_t=`grep -c i:T "$tmp"`

Navigation