2422e5cf6f
Istanbul is a desktop session recorder for the Free Desktop. It records your session into an Ogg Theora video file. To start the recording, you click on its icon in the notification area. To stop you click its icon again. It works on Gnome, KDE, XFCE and others. WWW: http://live.gnome.org/Istanbul PR: ports/82986 Submitted by: Dominique Goncalves <dominique.goncalves@gmail.com>
27 lines
1.5 KiB
Python
27 lines
1.5 KiB
Python
--- istanbul/main/main.py
|
|
+++ istanbul/main/main.py 2005-07-02 19:39:02.000000000 +0200
|
|
@@ -114,7 +114,7 @@
|
|
mainpipeline = 'ximagesrc ! ffmpegcolorspace ! videoscale ! video/x-raw-yuv,width=%d,height=%d,framerate=%f' % (width, height, framerate)
|
|
|
|
save_pipeline = ''
|
|
- encode_pipeline = ''
|
|
+ encode_pipeline = 'theoraenc ! oggmux'
|
|
icecast_pipeline = ''
|
|
|
|
if self.settingsdialog.xml.get_widget('save').get_active():
|
|
@@ -122,7 +122,6 @@
|
|
encode_pipeline = 'smokeenc ! multipartmux'
|
|
filename = '%s.tmp' % self.settingsdialog.xml.get_widget('filenameEntry').get_text()
|
|
else:
|
|
- encode_pipeline = 'theoraenc ! oggmux'
|
|
filename = self.settingsdialog.xml.get_widget('filenameEntry').get_text()
|
|
|
|
save_pipeline = 'filesink location=%s' % filename
|
|
@@ -130,6 +129,7 @@
|
|
ip = self.settingsdialog.xml.get_widget('shout_ip').get_text()
|
|
port = self.settingsdialog.xml.get_widget('shout_port').get_value_as_int()
|
|
mountpoint = self.settingsdialog.xml.get_widget('shout_mount').get_text()
|
|
+ password = self.settingsdialog.xml.get_widget('shout_password').get_text()
|
|
icecast_pipeline = 'shout2send ip=%s port=%s mount=%s password=%s' % (ip, port, mountpoint, password)
|
|
if save_pipeline != '' and icecast_pipeline != '':
|
|
final_pipeline = '%s ! %s ! tee name=t ! %s t. ! { queue ! %s }' % (mainpipeline, encode_pipeline, save_pipeline, icecast_pipeline)
|