summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/flufigut.py14
-rw-r--r--templates/flumotion/default/vp8-encode.xml2
2 files changed, 14 insertions, 2 deletions
diff --git a/src/flufigut.py b/src/flufigut.py
index 582f07e..31a2262 100755
--- a/src/flufigut.py
+++ b/src/flufigut.py
@@ -384,7 +384,10 @@ if output_format == 'flumotion':
}
for prop in record[recorder]:
if prop != 'muxes':
- flow['recorder'][name]['properties'][prop] = record[recorder][prop]
+ if prop == 'filename':
+ flow['recorder'][name]['properties'][prop] = record[recorder][prop]
+ else:
+ flow['recorder'][name]['properties'][prop] = record[recorder][prop]
### sanity checks, cont'd #######################################
@@ -472,6 +475,15 @@ elif output_format == 'player':
### end stream player configuration generator ###################
+elif output_format == 'stats':
+
+ ### init rrd statistic script generator #########################
+
+ ## tba...
+ print "nothing here!"
+
+ ### en rrd statistic script generator ###########################
+
else:
raise SystemExit("OUTPUT FORMAT: unknown format '%s'" % output_format)
diff --git a/templates/flumotion/default/vp8-encode.xml b/templates/flumotion/default/vp8-encode.xml
index 13c1999..79dfdc9 100644
--- a/templates/flumotion/default/vp8-encode.xml
+++ b/templates/flumotion/default/vp8-encode.xml
@@ -8,6 +8,6 @@
<eater name="default">
<feed alias="default">{{ component.feeder }}</feed>
</eater>
- <property name="pipeline">ffmpegcolorspace ! vp8enc bitrate={{ component.properties['bitrate'] * 1000 }} threads=8 max-keyframe-distance=50 speed=5 mode=1 buf-sz=100 buf-optimal-sz=100 buf-initial-sz=100</property>
+ <property name="pipeline">ffmpegcolorspace ! vp8enc bitrate={{ component.properties['bitrate'] * 1000 }} threads=8 max-keyframe-distance=50 speed=5 mode=1</property>
<clock-master>false</clock-master>
</component>