Felipe Cecagno
8ca4e949aa
modified the BigBlueButton.execute method so it can raise an exception when the command passed didn't finish successfully; you can optionally pass fail_on_error=false so it won't raise an exception
2013-06-14 17:39:29 -03:00
Felipe Cecagno
ced61d3fba
rap-worker now keeps track of the processing time of a recording; a file called processing_time is generated during the process phase, and this information is added to metadata.xml when the recording is published - this information isn't retrieved by getRecordings because no modification was done on bbb-web to include this information, but at least it's there so the sysadmin can check how long does a recording take to get processed
2013-06-13 17:13:20 -03:00
Felipe Cecagno
53c071ddc3
ref #1516
...
Refactored the code that generates the video file used in the presentation playback. The problem with the sync of video sources was related to problems of precision inside FFmpeg (sometimes the script runs FFmpeg to trim video files, and the output video file trimmed sometimes was 3+ seconds bigger or smaller than the requested).
Also it's a little more modular, so it will be easier to expand functionality. The processing steps are more explicit now, and the logs are better now to understand the final output.
A new parameter on presentation.yml was added to enable the admin to add an offset for the audio stream - this is mainly useful when the session ran with h264, because the video takes longer for the client to encode, and then in the recording we can see the huge gap between audio and video.
2013-06-13 17:10:52 -03:00
Gustavo Salazar
0aa1c9867c
support ingest for matterhorn 1.4
2013-06-07 16:27:14 -05:00
Gustavo Salazar
2ae224765e
a log file by meeting in archive phase
2013-04-29 16:03:21 -05:00
Gustavo Salazar
4c60948ae0
Merge pull request #77 from fcecagno/fixing-video-processing
...
fixing the start-stop camera events matches, so now even if there's no s...
2013-04-28 17:40:50 -07:00
Gustavo Salazar
0166939205
use the 'Crop Box' of pdf page
2013-04-05 14:00:13 -05:00
Gustavo Salazar
7fe05d349f
sanity check for webcam and deskshare
2013-04-04 15:08:49 -05:00
Felipe Cecagno
213b9793a8
updating record-and-playback from master
2013-02-28 16:45:09 -03:00
Felipe Cecagno
0afa3511ae
included the fastimage gem to the record and playback Gemfile
2013-02-22 22:17:53 -03:00
Gustavo Salazar
406e467c8b
set audio sample rate according to the recorded audio file
2013-02-13 14:42:23 -05:00
Felipe Cecagno
d8734f6606
fixing identation
2013-02-08 16:22:09 -02:00
Felipe Cecagno
ee1bfee1fb
changed the behavior of BigBlueButton.execute so the caller can check if the execution was successfully or not
2013-02-08 16:07:52 -02:00
Felipe Cecagno
420f5c976b
adding a patch waiting to be pulled on BigBlueButton master ( https://github.com/bigbluebutton/bigbluebutton/pull/77 )
2013-02-06 17:44:07 -02:00
Felipe Cecagno
8531534bc7
copied the entire record-and-playback module of BigBlueButton master (pre 0.81) to the v0.8 tag; the only file merged is record-and-playback/core/lib/recordandplayback.rb
2013-02-04 15:34:54 -02:00
Gilson Souza
e1207b60e4
corrected some issues
2013-02-04 13:34:00 -02:00
Gilson Souza
c7d4146c25
Adding mconf scripts to process and publish records.
2013-02-04 13:31:57 -02:00
Gustavo Salazar
c761ef0bf1
generate tail padding when processing audio
2013-01-23 12:44:20 -05:00
Felipe Cecagno
5176e508dd
fixing the start-stop camera events matches, so now even if there's no stop video event, the video processing will run smoothly
2012-12-06 21:28:13 -02:00
Gustavo Salazar
5d53bdfd4a
Send one video stream(webcam OR deskshare) to Matterhorn server
2012-10-24 13:40:41 -05:00
Gustavo Salazar
ac32c59029
Extract pdf page in a temp dir
2012-10-23 13:53:43 -05:00
Gustavo Salazar
f3c8477b27
Fixed frame rate in mpg file
2012-09-28 11:52:35 -05:00
Gustavo Salazar
aa3350115d
Ask for ffmpeg version before using loop parameter.
2012-09-25 20:08:52 -05:00
Gustavo Salazar
2462802d54
Change ffmpeg commands to support version 0.11.2
2012-09-21 17:27:11 -05:00
gustavo salazar
6d90e31b85
Set playback_host in bigbluebutton.yml
2012-09-10 16:12:10 -05:00
Gustavo Salazar
f5ee8b6cbf
Update license.
2012-09-04 16:42:13 -05:00
Markos Calderon
5bb870b385
Merge branch 'master' of https://github.com/bigbluebutton/bigbluebutton into add-sanity-check
2012-08-30 16:13:44 -05:00
Gustavo Salazar
a8fae3bbf9
Ask if duration of video is 0.
2012-08-28 14:38:23 -05:00
Gustavo Salazar
63c421abd5
Remove options used by libx264.
2012-08-27 17:34:08 -05:00
Felipe Cecagno
f9d7f11d63
reverted the code used to process the video for the matterhorn integration; many fixes on the video processing for the new playback format "presentation"; now it's possible to set the output video resolution for the presentation playback - it's VGA by default but could be set to HD
2012-08-27 12:41:26 -03:00
Markos Calderon
0c9e45682e
added failed status
2012-08-21 16:55:41 -05:00
Markos Calderon
d75ca5dca4
finish testing of sanity check
2012-08-20 18:12:58 -05:00
Markos Calderon
9d9bf10e81
pending changes in rap-worker
2012-08-15 19:10:29 -05:00
Markos Calderon
7fb265e756
adding sanity check
2012-08-13 15:22:53 -05:00
Gustavo Salazar
a85e8c144e
Use webm for webcam in playback.
2012-08-07 16:36:52 -05:00
Gustavo Salazar
e523dbf9e6
Merge pull request #55 from mconf/video-playback-into-master
...
Video playback
2012-08-03 09:08:25 -07:00
Markos Calderon
2e8715988b
Fix for event urls and support for https
2012-08-01 18:55:50 -05:00
Felipe Cecagno
e8dc780c37
integrated the video playback into master, but the whiteboard events playback, as well as the presentation playback, is not functional yet - it seems that the writing.js is broken on master, tried to fix it without success
2012-08-01 17:40:58 -03:00
Richard Alam
4ee4eb79cc
- strip controls chars from chat messages as it fails the process of recordings
2012-05-12 23:17:38 -07:00
Richard Alam
93b274f4c8
- fix http://code.google.com/p/bigbluebutton/issues/detail?id=1087
2012-05-16 19:11:00 +00:00
Richard Alam
7b1ff2d4bb
- add utf-8 encoding magic comment to recording ruby scripts
...
http://blog.grayproductions.net/articles/understanding_m17n
2012-05-03 18:56:01 +00:00
Gustavo Salazar
6c85a36005
Convert timestamp to float so when dividing the result will contain
...
decimals
2012-02-17 13:02:52 -05:00
Markos Calderon
2f7a2afe9c
fix for video processing in long meetings
2012-01-26 10:30:57 -08:00
Richard Alam
ef85442a1b
- trim audio file when they overlap
2012-01-18 17:29:14 +00:00
Richard Alam
3659effee3
Fix http://code.google.com/p/bigbluebutton/issues/detail?id=982
...
- if the length from header info is zero (corrupted header http://comments.gmane.org/gmane.comp.audio.sox/2637 )
determine length from file size and then fix the file to have proper length in header info.
2012-01-16 21:03:04 +00:00
Markos Calderon
4a797ecdc1
Merge remote branch 'gugat/issue1106'
2012-01-06 09:17:06 -08:00
gugat
d685a5456a
Return silence with lenght of the recording when there is not audio file.
2012-01-06 11:35:02 -05:00
gugat
ea2c453807
Add info log messages from each method of generators
...
Add info log messages from publish script of slides. The log was empty before, was just created.
Add --check option to bbb-record. Taking same logic from bbb-conf and adding info about the failed task with each error.
2012-01-05 17:07:34 -05:00
Markos Calderon
77f664c6bd
checking dirs instead of done files
2011-12-07 13:18:21 -08:00
Markos Calderon
c95a8bc56a
adding a checking in rap-worker
2011-12-06 12:22:35 -08:00
Markos Calderon
e5d511239a
fixed issue 1074
2011-11-22 16:04:08 -08:00
gugat
381e120c65
Use ffmpeg to concatenate videos. Mencoder command hangs with popen.
2011-11-21 09:03:41 -08:00
Fred Dixon
a3849c9a52
Removed old comments from rap-worker.rb
2011-11-20 11:16:11 -08:00
Richard Alam
62c3b220a1
change silence limit from 10 to 60 minutes as some people join the meeting very early
...
and thus prevents the recording from being processed.
2011-11-15 10:19:12 -05:00
Markos Calderon
7b511015e2
fix for jpg images in playback
2011-11-10 08:59:41 -08:00
Fred Dixon
ccc87f0831
Temporarily disabled messages 'Skipping ... ' from record and playback scripts as they generate large log files
2011-09-27 08:49:06 -07:00
gugat
46e6598cc3
Improve quality in images
2011-09-16 10:47:58 -07:00
Richard Alam
5cb7eb6d8a
- locate audio files in the process dir not in the original loc (/var/freeswitch/meetings) because
...
if the admin cleans up that dir, determining recording length from file will fail.
2011-09-08 15:43:39 +00:00
Richard Alam
162dd2226f
- remove duplicate audio events
2011-09-07 20:51:07 +00:00
Fred Dixon
1d9d646e36
Testing bbb-record-core with the latest version of Ruby. SystemTimer is not needed in 1.9.2
2011-09-05 12:37:34 -07:00
Richard Alam
bf54da8be4
- remove duplicate audio events
2011-09-02 20:12:34 +00:00
Richard Alam
b59fc8d3aa
- use start_record_timestamp, file, bridge to compare if 3 start events are eql?
2011-09-02 18:14:44 +00:00
Richard Alam
b95d3166ca
- don't process duplicate audio events
2011-09-02 15:20:36 +00:00
Richard Alam
c660ab9651
- add more logging on padding issue
2011-08-18 11:01:24 -04:00
Richard Alam
9057cd79c1
-remove audio padding at the end of the recording
2011-08-18 10:46:03 -04:00
Marco Calderon
a32992946c
Merge branch 'master' of github.com:bigbluebutton/bigbluebutton
2011-08-16 08:18:09 +00:00
Marco Calderon
28ad4f6ce8
Cleanup script
2011-08-16 08:17:21 +00:00
Richard Alam
f6d7540ff5
- add some doc on why we limit length of silence file
2011-08-15 17:28:53 -04:00
Richard Alam
1c92d22b0d
fix typo
2011-08-15 15:32:03 -04:00
Richard Alam
e59cb41e7f
- raise exception when length of audio is 0 and when the silence is grater than 10 minutes.
2011-08-15 15:27:25 -04:00
gugat
915acb8169
Overwrite eql? in AudioRecordingEvent class
...
and use uniq! in the array start_events in the method
start_audio_recording_events
2011-07-29 02:02:43 -05:00
Richard Alam
76dab31f61
- don't raise an exception when executing external command and some text gets printed on stderr. Just log the error and move on.
2011-08-05 16:48:19 +00:00
gugat
0593ebdc14
Avoid squished deskshare video
2011-07-24 19:17:53 -05:00
gugat
59031812be
Add logger in rap-worker.rb
2011-07-20 20:13:22 -05:00
Richard Alam
e97a57e813
- make imagemagick generate smaller PNG files....
2011-07-19 11:36:03 -04:00
gugat
e721dd19a1
Require open4 in recordandplayback.rb
...
Add open4 to Gemfile
2011-07-15 17:09:11 -05:00
gugat
c56facd64c
Change image presentations (gif, jpg) to png, so they will be played properly
2011-07-14 18:51:51 -05:00
gugat
21eed7e1d4
Merge branch 'master' of git://github.com/bigbluebutton/bigbluebutton into respaldo
2011-07-11 14:26:47 -05:00
Fred Dixon
c431169bd7
Changed redis host for bigbluebutton.yml to 127.0.0.1
2011-07-10 08:38:12 -07:00
gugat
12bdbf8475
Add logi to check redis port an host
2011-07-04 20:01:41 -05:00
gugat
428dbe84f2
Create script with logic we need to add for record and playback
...
Based in bbb-conf create functions to check errors in record and playback log files
2011-06-30 21:17:01 -05:00
gugat
b247c749a8
Add log info to BigBlueButton.execute : exitstatus, succeed? , exited?
...
Change IO.popen to BigBlueButton.execute in /core/scripts/rap-worker.rb (2)
2011-06-29 17:39:25 -05:00
gugat
1c45591583
Change BigBlueButton.execute to use Open4
2011-06-29 00:08:58 -05:00
gugat
b72e140be9
Execute mencoder command with BigBlueButton.execute in archive.rb
2011-06-28 19:35:45 +00:00
gugat
9526a5c713
Merge branch 'master' of git://github.com/bigbluebutton/bigbluebutton into respaldo
2011-06-28 15:34:21 +00:00
Richard Alam
7f4d38b5a6
- process metdata properly and simple playback
2011-06-26 10:56:03 -04:00
Richard Alam
d044221d70
- start implementing get recording api
2011-06-22 15:53:27 -04:00
gugat
794d419631
Substitute IO.popen by BigBlueButton.execute in presentation.rb and video.rb
2011-05-25 07:06:36 +00:00
gugat
25bb768026
Return output in BigBlueButton.execute
...
Use BigBlueButton.execute in determine_length_of_audio_from_file in audio.rb
2011-05-25 03:50:05 +00:00
gugat
9038522311
Change BigBlueButton.execute to log error properly
2011-05-25 00:43:48 +00:00
Richard Alam
ef40a1cb28
- cleanup
...
- make the length of the blank video into a float instead of int. This way we hope to have
a blank video with 8.74sec long instead of 8sec long.
2011-06-15 12:20:10 -04:00
Richard Alam
12c5b34cea
- store start and stop webcam events by sending message from video app
...
instead of relying on status event
2011-06-13 14:32:07 -04:00
Richard Alam
1af29981fd
- move the rap core god conf into default god/conf
2011-06-08 21:14:52 -04:00
Fred Dixon
b5cd824a29
Added lsb-section to record and playback god init.d script
2011-06-08 15:28:22 -07:00
Richard Alam
e67534997b
- move so that it gets built as part of bbb-record-core
2011-06-08 17:35:15 -04:00
Richard Alam
f2c603c1a5
- create god scripts to manage record-and-processing script
2011-06-07 14:54:38 -04:00
Richard Alam
350d71b53e
- setup logger properly
2011-06-06 16:09:53 -04:00
Richard Alam
f2b6b07112
- no need to "sudo -u tomcat6" as main script already runs as tomcat6
2011-06-06 14:58:16 -04:00
Richard Alam
9609de20a9
- run as tomcat6 user
2011-06-06 14:45:25 -04:00
Richard Alam
870acbf50e
- start automating archive, ingest, publish
2011-06-06 14:42:38 -04:00
Richard Alam
87a53dce50
- archive only new recordings
2011-06-06 13:38:16 -04:00
Richard Alam
d5eaaee2b7
- ffmpeg that comes with Ubuntu 10.04 segfaults when using padbottom/top/left/right
...
- need to upgrade to newest ffmpeg based on instructions in http://ubuntuforums.org/showpost.php?p=9868359&postcount=1289
2011-06-06 12:08:05 -04:00
Richard Alam
6b6b5bea1f
- look into recorded .done file to see if the meeting needs to be archived
2011-06-03 12:17:51 -04:00
Richard Alam
1bb6e20291
- renamed ingenst-and-processing script
...
- log when saving metadata
2011-06-03 11:15:24 -04:00
Richard Alam
6d82190ba5
- paddings must be even
2011-06-01 18:27:27 -04:00
Richard Alam
d142763b58
- use pad_top/bottom/left/right options for ffmpeg that comes with Ubuntu 10.04
2011-06-01 18:16:50 -04:00
Richard Alam
6208587706
- update SystemTimer to 1.2.3
2011-05-27 19:45:05 -04:00
Richard Alam
c7c69296f8
- scale webcams to fit 640x480 while maintaining aspect ratio
2011-05-26 09:56:59 -04:00
Richard Alam
6f314df412
- make the deskshare fit into 640x480 frame size while maintaining aspect ratio
2011-05-25 16:06:16 -04:00
Richard Alam
353b4e6868
- fix matching start and stop events
2011-05-25 13:20:03 -04:00
Richard Alam
26bf7f5344
- fix problem where event name isn't extracted from redis properly
2011-05-25 10:17:14 -04:00
Richard Alam
d5149a168c
have metadata as attribs instead of nodes
2011-05-24 18:29:16 -04:00
Richard Alam
0c128872ea
- extract metadata from events.xml and generate index.html in publish dir for simple playback
2011-05-24 18:16:54 -04:00
Richard Alam
c89cc5b777
- fix so that logs are written in /var/log/bigbluebutton/ using the ff convention
...
<playback-type>-process-<meeting-id>.log
2011-05-24 13:58:56 -04:00
Richard Alam
442e510953
- minor changes to make xml attrib names consistent
2011-05-24 13:27:32 -04:00
Richard Alam
705f849a64
- make script dir part of core instead of separate bin dir for easier triggering of build/packaging of bbb-record-core package
2011-05-22 17:10:22 -04:00
Richard Alam
e25d803a5a
- cleanup
2011-05-22 16:42:28 -04:00
Richard Alam
aa1708c1c2
- change paths to locate bigbluebutton.yml and the core/lib directory
2011-05-22 16:41:44 -04:00
Richard Alam
60a03364ee
move this around to separate simple, matterhorn, and core rec-and-playback for packaging
2011-05-22 16:21:29 -04:00
Richard Alam
6bca8db210
- rename rap to core record and playback
2011-05-22 16:02:46 -04:00