summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2010-04-21 09:04:27 +0000
committerPetter Reinholdtsen <pere@hungry.com>2010-04-21 09:04:27 +0000
commit3f76f53baf0859f37a7c4c29ad8b4faeabbdb0c9 (patch)
tree304d7263277a8fe4dd35433a28bea0174e946f43
parent1c11ac80fe7127bfaf702e15a0fff720aecffdc8 (diff)
Add my current liquidsoap test scripts.
-rw-r--r--frikanalen/liquidsoap/fulltest.liq6
-rw-r--r--frikanalen/liquidsoap/oggtest.liq13
-rw-r--r--frikanalen/liquidsoap/playlist.txt5
-rw-r--r--frikanalen/liquidsoap/sdltest.liq4
4 files changed, 28 insertions, 0 deletions
diff --git a/frikanalen/liquidsoap/fulltest.liq b/frikanalen/liquidsoap/fulltest.liq
new file mode 100644
index 0000000..9ee1bee
--- /dev/null
+++ b/frikanalen/liquidsoap/fulltest.liq
@@ -0,0 +1,6 @@
+set("log.file.path","/tmp/fulltest.log")
+set("frame.video.channels",1)
+# http://www.nuug.no/pub/video/frikanalen/1241.ogv = /tmp/input.ogv
+stream = single("/tmp/input.ogv")
+output.file.theora(reopen_on_metadata=true, "/tmp/output.ogv",stream)
+# output.sdl(stream)
diff --git a/frikanalen/liquidsoap/oggtest.liq b/frikanalen/liquidsoap/oggtest.liq
new file mode 100644
index 0000000..32ca12b
--- /dev/null
+++ b/frikanalen/liquidsoap/oggtest.liq
@@ -0,0 +1,13 @@
+set("log.file.path","/tmp/test.log")
+set("frame.video.channels",1)
+set("frame.video.width",384)
+set("frame.video.height",288)
+backup = single("/tmp/input.ogv")
+list = playlist("playlist.txt")
+stream = fallback([list, backup])
+
+output.icecast.theora(host = "voip.nuug.no", port = 8000,
+ user = "source", password = "secret",
+ mount = "liq.ogv", stream)
+
+#output.file.theora(reopen_on_metadata=true, "/tmp/output.ogv",stream)
diff --git a/frikanalen/liquidsoap/playlist.txt b/frikanalen/liquidsoap/playlist.txt
new file mode 100644
index 0000000..7fc5b0c
--- /dev/null
+++ b/frikanalen/liquidsoap/playlist.txt
@@ -0,0 +1,5 @@
+http://www.nuug.no/pub/video/published/20100112-munin.ogv
+http://www.nuug.no/pub/video/published/20091110-digitaleksamen.ogv
+1241.ogv
+1243.ogv
+4011.ogv
diff --git a/frikanalen/liquidsoap/sdltest.liq b/frikanalen/liquidsoap/sdltest.liq
new file mode 100644
index 0000000..3ca3ba9
--- /dev/null
+++ b/frikanalen/liquidsoap/sdltest.liq
@@ -0,0 +1,4 @@
+set("log.file.path","/tmp/sdltest.log")
+set("frame.video.channels",1)
+# http://www.nuug.no/pub/video/frikanalen/1241.ogv = /tmp/input.ogv
+output.alsa(output.sdl(single("/tmp/input.ogv")))