diff -Naur mythtv-master-build-old/mythplugins/mythweb/modules/stream/stream_flv.pl mythtv-master-build-new/mythplugins/mythweb/modules/stream/stream_flv.pl
old
|
new
|
|
138 | 138 | } |
139 | 139 | # Guess the filesize based on duration and bitrate. This allows for progressive download behavior |
140 | 140 | my $lengthSec; |
141 | | $dur = `ffmpeg -i $filename 2>&1 | /usr/bin/grep "Duration" | /usr/bin/cut -d ' ' -f 4 | /bin/sed s/,//`; |
| 141 | $dur = `$ffmpeg -i $filename 2>&1 | /usr/bin/grep "Duration" | /usr/bin/cut -d ' ' -f 4 | /bin/sed s/,//`; |
142 | 142 | if ($dur && $dur =~ /\d*:\d*:.*/) { |
143 | 143 | @times = split(':',$dur); |
144 | 144 | $lengthSec = $times[0]*3600+$times[1]*60+$times[2]; |