X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=mkv_extract_chapter;fp=mkv_extract_chapter;h=ca3321561205cff894acfc4917ff594b2c066164;hb=eb8eb0bd100a288298370362135991ad4710cc59;hp=d8825ae2b7ed0f4f015e65840784730d4215a037;hpb=3574551ce37f9611e12420e4b39d4e68dd20c884;p=videoscripts%2F.git diff --git a/mkv_extract_chapter b/mkv_extract_chapter index d8825ae..ca33215 100755 --- a/mkv_extract_chapter +++ b/mkv_extract_chapter @@ -129,7 +129,7 @@ if(!$progressive) { # For each chapter specified on the command line, use ffmpeg to extract a video clip from that chapter my @ffmpeg_info = `$ffmpeg -i $opt_i 2>&1`; foreach $line (@ffmpeg_info) { - if($line =~ /Chapter #\d+\.(\d+): start (\S+), end (\S+)/) { + if($line =~ /Chapter #\d+\:(\d+): start (\S+), end (\S+)/) { $chapter = $1; $start = $2; if($start > 0) { $start += 1; } # Add some margin to prevent taking a piece of the previous clip