summaryrefslogtreecommitdiff
path: root/localvideowebencode
diff options
context:
space:
mode:
authorroot <root@atreju.jones.dk>2014-09-03 11:57:33 +0200
committerroot <root@atreju.jones.dk>2014-09-03 16:06:05 +0200
commit67adef6097699e4b99f469c587e55c7022ff7193 (patch)
tree437914a062b06341cbc313fdeb58cbe5a7a3951d /localvideowebencode
parent687f7820a47e0126b3d80cde010a90a62daaab60 (diff)
Change Ogg extension .ogg → .ogv (to distinguish from audio-only files e.g. in index listings).
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-xlocalvideowebencode6
1 files changed, 3 insertions, 3 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 905ae85..cbb4d4d 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -225,7 +225,7 @@ _melt_audio="ab=96k"
_melt_webm="${webmpreset:+-vpre=libvpx-$webmpreset}"
## Theora/Vorbis/Ogg
-melt -group $_melt_in $infiles -group $filters -consumer avformat:"$stem.ogg" f=ogg vcodec=libtheora $_melt acodec=libvorbis $_melt_audio $_melt_out
+melt -group $_melt_in $infiles -group $filters -consumer avformat:"$stem.ogv" f=ogg vcodec=libtheora $_melt acodec=libvorbis $_melt_audio $_melt_out
## H.264/AAC/MP4
[ -z "$bitrate" ] || melt -group $_melt_in $infiles -group $filters -consumer avformat:/dev/null properties=x264-medium-pass1 $_melt_h264 $_melt $_melt_out
@@ -255,7 +255,7 @@ cat >"$stem.html" <<EOF
<!-- Video for Everybody, Kroc Camen of Camen Design -->
<video width="$width" height="$height" preload controls>
<source src="$stem.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
-<source src="$stem.ogg" type='video/ogg; codecs="theora, vorbis"' />
+<source src="$stem.ogv" type='video/ogg; codecs="theora, vorbis"' />
<source src="$stem.webm" type='video/webm; codecs="vp8, vorbis"' />
${flash:+<object width="$width" height="$heightplus" type="application/x-shockwave-flash" data="$flashplayer.swf">
<param name="movie" value="$flashplayer.swf" />
@@ -265,7 +265,7 @@ ${flash:+<object width="$width" height="$heightplus" type="application/x-shockwa
${flash:+</object>
}</video>
<p><strong>Download Video:</strong>
-open format <a href="$stem.ogg">Ogg</a>,
+open format <a href="$stem.ogv">Ogg</a>,
open format <a href="$stem.webm">WebM</a>,
closed Format <a href="$stem.mp4">MP4</a>.
</p>