Mercurial > mplayer.hg
view TOOLS/midentify @ 7983:8344414c59cf
This patch is to add support for overlapping subtitles, that is
subtitles whose start or end happens during another subtitle.
After reading the subtitles from the file in sub_read_file(),
this patch looks for overlapping subtitles and split
them into more non-overlapping subtitles.
Salvatore Falco <sfalco@studenti.ing.uniroma1.it>
author | arpi |
---|---|
date | Wed, 30 Oct 2002 19:26:05 +0000 |
parents | d151608b9f28 |
children | 6cf694df50b3 |
line wrap: on
line source
#!/bin/sh mplayer -identify "$@" 2>/dev/null | grep "^ID" | sed -e 's/[`\\!$"]/\\&/g' | sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'