Playing webcam videos in the HTML5 player

1,157 views
Skip to first unread message

Stéphane Lux

unread,
Jul 9, 2012, 11:39:25 AM7/9/12
to bigblueb...@googlegroups.com
Hi,

I'm working on the integration of the webcam videos of the users in the HTML5 popcorn player.

Here is a screenshot of the current version of the player:



If someone is interested in the code, let me know. 

Work is still in progress.

Kind regards,
Stéphane

Chad Pilkey

unread,
Jul 9, 2012, 1:35:42 PM7/9/12
to bigblueb...@googlegroups.com
Stéphane,

It's looking really good. I'm really looking forward to the final product.

I have on question through. Will the recordings have all of the participants videos played back or only the presenter?

Chad

Fred Dixon

unread,
Jul 9, 2012, 2:50:03 PM7/9/12
to bigblueb...@googlegroups.com
Hi  Stéphane,

Cool!  We would encourage you to share your work with others via a GitHub account.

Also, if you would like to contribute it to the project, please see


Again, its cool to see others building up on the record and playback architecture.


Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton





--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/GSlpGjMe0ZUJ.
To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.





Stéphane Lux

unread,
Jul 10, 2012, 1:23:52 AM7/10/12
to bigblueb...@googlegroups.com
Hi Chad,

the final version will include the videos of all participants. 

Regards,
Stéphane
--
LUXio IT-Solutions & Coaching 
Dipl.-Ing. Stéphane Lux · Hauptstr. 141a · 51399 Burscheid · Germany
T +49 2174 891 360 · M +49 151 275 293 14 · F  +49 3222 996 003 8
USt-IdNr.: DE 277 223 274

Diese E-Mail ist persönlich & vertraulich. Ihre Inhalte sind rechtlich geschützt. Die nicht-authorisierte Nutzung ist nicht gestattet. 
This e-mail is privileged, confidential, and subject to copyright. Any unauthorized use or disclosure is prohibited.




--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/Kq0con3cUBUJ.

Felipe Cecagno

unread,
Jul 11, 2012, 10:36:46 AM7/11/12
to bigblueb...@googlegroups.com
Hi Stéphane,

I'd be interested to follow your progress as well. Is it available on GitHub?
Well done!

Regards,

--
   
Felipe Cecagno
   Mconf Development Team

Stéphane Lux

unread,
Jul 11, 2012, 10:41:23 AM7/11/12
to bigblueb...@googlegroups.com
Hi Felipe,

I will post the code this week on gitub.

Mit freundlichen Grüßen · With best regards

Stéphane Lux

--
LUXio IT-Solutions & Coaching 
Dipl.-Ing. Stéphane Lux · Hauptstr. 141a · 51399 Burscheid · Germany
T +49 2174 891 360 · M +49 151 275 293 14 · F  +49 3222 996 003 8
USt-IdNr.: DE 277 223 274

Diese E-Mail ist persönlich & vertraulich. Ihre Inhalte sind rechtlich geschützt. Die nicht-authorisierte Nutzung ist nicht gestattet. 
This e-mail is privileged, confidential, and subject to copyright. Any unauthorized use or disclosure is prohibited.

Kim Quang Đặng

unread,
Jul 12, 2012, 3:49:18 AM7/12/12
to bigblueb...@googlegroups.com
I am very interested in this project. I'm looking for solutions to playback webcam. I tried installing Matterhorn to playback all video but failing to build Matterhorn because mising -jars file when run Matterhorn.

Hoping that this project will help me and I'm waiting this code about this project live on github. 
Dang Kim Quang
Phone:  (+84) (0) 935730246
------------------------
Developer - CaoY Viet Nam


Stéphane Lux

unread,
Jul 12, 2012, 8:39:39 AM7/12/12
to bigblueb...@googlegroups.com
Here is a screenshot of the current release of the popcorn player with webcam integration:

I have pushed the current version on github.

I'm currently working on integration of the webcam videos of all participants. 

Feedback appreciated.

Regards,
Stéphane

Kim Quang Đặng

unread,
Jul 12, 2012, 10:17:34 PM7/12/12
to bigblueb...@googlegroups.com
Hi, how to use code in github. I downloaded this code. How to install to server ?


Regards,
Stéphane

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/u_niFCaDSUIJ.

To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.

Ahmad Bassel AlShalah

unread,
Jul 14, 2012, 8:41:17 PM7/14/12
to bigblueb...@googlegroups.com
thanks alot for your nice modification.

but i have do this modifications on the source of BBB, but it seams that the file :
record-and-playback/slides/scripts/publish/slides.rb

not working to publish the recorded files and sessions

note that before modification it was working for me with all function.

I think if you can give us breaf explain about installing it.

thanks again

Stéphane Lux

unread,
Jul 16, 2012, 3:20:09 PM7/16/12
to bigblueb...@googlegroups.com
Hi,

short update for my player modification:

The popcorn player supports the playback up to 8 different webcams:



I'm working on a dynamic layout of the recorded webcams (similar to the videodock module of the client).

The release of the code on github will follow soon.

Kind regards,
Stéphane

Fred Dixon

unread,
Jul 16, 2012, 3:52:52 PM7/16/12
to bigblueb...@googlegroups.com
Hi Stéphane,

Very cool!


Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton




--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/G9HOYei-4jEJ.

Stéphane Lux

unread,
Jul 17, 2012, 9:32:45 AM7/17/12
to bigblueb...@googlegroups.com
I have updated the code on github:


Installation instructions
2. Install ffmpeg
3. Install bbb-playback-slides:

$ sudo apt-get install bbb-playback-slides

4. copy contents of record-and-playback directory from github to the server
5. copy modified files

$ cd record-and-playback/
$ sudo cp -r slides/playback/slides/* /var/bigbluebutton/playback/slides/
$ udo cp core/lib/recordandplayback/generators/video.rb /usr/local/bigbluebutton/core/lib/recordandplayback/generators/
$ sudo cp slides/scripts/process/slides.rb /usr/local/bigbluebutton/core/scripts/process/
$ sudo cp slides/scripts/publish/slides.rb /usr/local/bigbluebutton/core/scripts/publish/

5. restart bbb

$ sudo bbb-conf --clean 

Regards,
Stéphane

Felipe Cecagno

unread,
Jul 17, 2012, 10:10:54 AM7/17/12
to bigblueb...@googlegroups.com
Well done, Stéphane! We will try it for sure, thanks for sharing!

Regards,

--
   
Felipe Cecagno
   Mconf Development Team



--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/FF3Gi-h4lz4J.

Kim Quang Đặng

unread,
Jul 17, 2012, 9:53:28 PM7/17/12
to bigblueb...@googlegroups.com
Hi Stéphane Lux , thanks for sharing. Very cool. I will try now. :-)



--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/FF3Gi-h4lz4J.

To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.

Kim Quang Đặng

unread,
Jul 17, 2012, 11:22:06 PM7/17/12
to bigblueb...@googlegroups.com
Hi Stéphane Lux  , How can I download source code of branch  popcornplayer-with-webcamvideos . Please help me. 

Kim Quang Đặng

unread,
Jul 18, 2012, 12:47:18 AM7/18/12
to bigblueb...@googlegroups.com
I have followed the support on the stackoverflow (here) to checkout source code of the branch  popcornplayer-with-webcamvideos  . and results is very good .
But In my current Firefox 13.0.1 , I can not see the webcam at the beginning of a course. And when the playback, I caught the error is: Video format or MIME type is not supported. Then, I can not playback.

Inline image 1

On chrome, everything is OK.
image.png

Stéphane Lux

unread,
Jul 18, 2012, 1:33:38 AM7/18/12
to bigblueb...@googlegroups.com
Hi Kim,

thank you for testing. 

Firefox does not support the playback of H.264 Videos. I will fix this by converting the video in another format for firefox.

If you are using Windows , you can try this plugin for playing H.264 videos in Firefox.

Regards,
Stéphane

Firefox does not support the playpack of 

To post to this group, send email to bigbluebutton-dev@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-dev+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.
--
Dang Kim Quang
Phone:  (+84) (0) 935730246
------------------------
Developer - CaoY Viet Nam





--
Dang Kim Quang
Phone:  (+84) (0) 935730246
------------------------
Developer - CaoY Viet Nam


Ahmad Bassel AlShalah

unread,
Jul 26, 2012, 10:53:05 PM7/26/12
to bigblueb...@googlegroups.com
Hi Mr.  Stéphane Lux 

I would like to thank you for your effort regarding your modification of webcam viewing in playback.

Am using your modify webcam playback for one of LMS project of course using BBB too, but am using only the first playback modify which is for processing 1 webcam only because i need only teacher to access and share webcam, so no need to process other viewers webcam.

I face one problem with it, when am recording the meeting with share webcam, everything is ok, playback ok, webcam process ok. But when am recording the meeting without share webcam, the processing of meeting and publishing the meeting are stopped without continue of publishing xml files and other files to published folder.

Please if you can help me with this problem i will be very grateful.

Thanks again
 


On Monday, July 9, 2012 7:39:25 PM UTC+4, Stéphane Lux wrote:

Kim milky

unread,
Jul 27, 2012, 2:39:28 AM7/27/12
to bigblueb...@googlegroups.com
Hi Stéphane Lux,
Now, when playbacking the video , to fast-forward or slow-down the videos I need to drag the mouse to the bottom of the playback page, it is very inconvenient. I usually just needs  playback only 1 webcam of teacher. 

How can change the height html of the video playback to put a video in slow motion, fast forward ..? or have an easy way to do this ?

Stéphane Lux

unread,
Jul 27, 2012, 3:40:43 AM7/27/12
to bigblueb...@googlegroups.com
Hi Kim,

you can change the html file in the directory /var/bigbluebutton/playback/slides/

Currently the video size is static (8 webcam videos). I will make it dynamically, so that if there is only one webcam video, the video size will be smaller to fit only one video. 

Regards

Stéphane

Ahmad Bassel AlShalah

unread,
Jul 28, 2012, 2:30:52 PM7/28/12
to bigblueb...@googlegroups.com
can anyone help me with this problem i mentioned above ? because everything is ok but when meeting dont have webcam it not published at all something wrong with this code

Ahmad Bassel AlShalah

unread,
Jul 28, 2012, 2:32:46 PM7/28/12
to bigblueb...@googlegroups.com
when this modification are finished because am very interesting on it.

thanks in advanced

Stéphane Lux

unread,
Jul 28, 2012, 4:04:44 PM7/28/12
to bigblueb...@googlegroups.com
I'm on vacation, but Felipe will release some modifications  soon.

Regards

Stéphane
--
LUXio IT-Solutions & Coaching 
Dipl.-Ing. Stéphane Lux · Hauptstr. 141a · 51399 Burscheid · Germany
T +49 2174 891 360 · M +49 151 275 293 14 · F  +49 3222 996 003 8
USt-IdNr.: DE 277 223 274

Diese E-Mail ist persönlich & vertraulich. Ihre Inhalte sind rechtlich geschützt. Die nicht-authorisierte Nutzung ist nicht gestattet. 
This e-mail is privileged, confidential, and subject to copyright. Any unauthorized use or disclosure is prohibited.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/ESkcwh4yqicJ.
To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.

gigo

unread,
Aug 2, 2012, 6:51:01 PM8/2/12
to bigblueb...@googlegroups.com

 

First thank you Stéphane, your modifications to the popcorn player looks great.

I was wondering if you had any gestiment on when you would change the layout to the webcams to support more than 8? Or allow anything to be resizable?

Also I was wondering if the webcams have to be combined or not, like would it be possible to make the popcorn player look just like the default bbb and allow users to control where and how large each element is in bbb playback just the same way that they can in a bbb meeting itself. Just replace the top bar of the screen with the play pause seek playback functions. That way it would be one familiar interface whether you were in a live meeting or a recorded one

Fred Dixon

unread,
Aug 3, 2012, 8:19:15 AM8/3/12
to bigblueb...@googlegroups.com
Hi Gigo,

Wow -- you must have quite the conference to support more than eight simultaneous webcams.

Inspired by Stéphane's work, we (the core developers) are working on integrating the playback of webcams into BigBlueButton 0.81 for this summer.   In 0.81, there will be a new playback format called 'presentation', which records and plays back all activity -- mouse movement, whiteboard, and pan/zoom -- that occurs within the presentation area.  To this we will be adding playback of webcams.

In terms of look and feel, the new playback format will resemble the slides playback.  As for modifying the layout itself (such as changing the orientation of windows), the playback is HTML, it would be possible for others to modify a playback format to suite their needs.

We'll be posting more updates on the new playback format shortly.

We're all using the same record and playback architecture, and we are really encouraged by the work of Stéphane and others who are building upon it.

Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/HHMc_NdYZv4J.

Michael

unread,
Aug 5, 2012, 5:25:25 AM8/5/12
to bigblueb...@googlegroups.com
Hi Fred,
  Will the playback of webcam in BigBlueButton 0.81 require running deskshare? I would prefer if it didn't.
Regards,
Michael

Fred Dixon

unread,
Aug 5, 2012, 6:53:46 AM8/5/12
to bigblueb...@googlegroups.com
Hi Michael,

Playback of webcams in BigBlueButton 0.81 (currently under development) will not require running desktop sharing.  

However, we won't be playing back the desktop sharing in BigBlueButton 0.81.   For that, you'll still want to use the Matterhorn integration.


Regards... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/pIuDp9BQaJcJ.
Message has been deleted

Michael

unread,
Aug 5, 2012, 8:30:25 AM8/5/12
to bigblueb...@googlegroups.com
Hi Fred!
  Thanks for the quick answer. It's good news for me. I don't need to play back desktop sharing for now.
Regards,
Michael

Maksim Ustinov

unread,
Oct 21, 2012, 7:00:29 PM10/21/12
to bigblueb...@googlegroups.com
Hello Stéphane,

I installed all necessary libraries and followed all steps that you described. Everything went smooth but when I'm trying to record the meeting I'm getting strange error. It is saying that _user01-blank-beginning.flv file cannot be found. Here is the error I'm getting:


ubuntu@ip-10-86-141-248:~$ ffmpeg -i /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/user01-blank-beginning.flv -loglevel info -v -10 -sameq -f mpegts /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/user01-blank-beginning.flv.mpg
ffmpeg version 0.11.2 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 21 2012 02:45:54 with gcc 4.4.3
  configuration: --enable-version3 --enable-postproc --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
/var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/user01-blank-beginning.flv: No such file or directory


And another error from /var/log/bigbluebutton/slides/process-6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608.log


# Logfile created on 2012-10-21 22:22:44 +0000 by logger.rb/25413
I, [2012-10-21T22:22:44.626252 #14007]  INFO -- : Task: Processing events
I, [2012-10-21T22:22:44.626423 #14007]  INFO -- : Task: Getting start audio recording events
I, [2012-10-21T22:22:44.627331 #14007]  INFO -- : Task: Getting stop audio recording events
I, [2012-10-21T22:22:44.627626 #14007]  INFO -- : Task: Matching start and stop events
I, [2012-10-21T22:22:44.627708 #14007]  INFO -- : Task: Determine start and stop timestamps for unmatched event
I, [2012-10-21T22:22:44.627773 #14007]  INFO -- : Task: Determining if recording file exist
I, [2012-10-21T22:22:44.627859 #14007]  INFO -- : Task: Getting length of audio
I, [2012-10-21T22:22:44.632026 #14007]  INFO -- : Executing: sox /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608-1350858063329.wav -n stat 2>&1
I, [2012-10-21T22:22:44.638857 #14007]  INFO -- : Output: ["Samples read:            137280\n", "Length (seconds):      8.580000\n", "Scaled by:         2147483647.0\n", "Maximum amplitude:     0.141449\n", "Minimum amplitude:    -0.147552\n", "Midline amplitude:    -0.003052\n", "Mean    norm:          0.008201\n", "Mean    amplitude:    -0.000008\n", "RMS     amplitude:     0.017602\n", "Maximum delta:         0.054504\n", "Minimum delta:         0.000000\n", "Mean    delta:         0.002320\n", "RMS     delta:         0.005143\n", "Rough   frequency:          743\n", "Volume adjustment:        6.777\n"] 
I, [2012-10-21T22:22:44.639100 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:44.639186 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:44.639266 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:44.639499 #14007]  INFO -- : Determined audio length from stats using sox [8580]
I, [2012-10-21T22:22:44.639585 #14007]  INFO -- : Determined audio length is [8580]
I, [2012-10-21T22:22:44.639698 #14007]  INFO -- : Task: Generating audio paddings
I, [2012-10-21T22:22:44.639795 #14007]  INFO -- : Task: Getting the timestamp of the first event.
I, [2012-10-21T22:22:44.640205 #14007]  INFO -- : Task: Getting the timestamp of the first event.
I, [2012-10-21T22:22:44.640556 #14007]  INFO -- : Task: Creating audio gap event
I, [2012-10-21T22:22:44.859195 #14007]  INFO -- : Task: Generating silence. Filename: /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/8010.wav with duration 8010 milliseconds
I, [2012-10-21T22:22:44.864429 #14007]  INFO -- : Executing: sox /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/8010.wav.dat -b 16 -r 16000 -c 1 -s /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/8010.wav
I, [2012-10-21T22:22:44.963076 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:44.963204 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:44.963280 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:44.963788 #14007]  INFO -- : Task: Concatenating audio files
I, [2012-10-21T22:22:44.969661 #14007]  INFO -- : Executing: sox /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/8010.wav /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608-1350858063329.wav /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/recording.wav
I, [2012-10-21T22:22:44.971904 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:44.972044 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:44.972148 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:44.972281 #14007]  INFO -- : Converting .wav to .ogg
I, [2012-10-21T22:22:44.976050 #14007]  INFO -- : Executing: oggenc -Q -o /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio.ogg /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/recording.wav 2>&1
I, [2012-10-21T22:22:45.131101 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:45.131300 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:45.131402 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:45.131753 #14007]  INFO -- : Task: Getting presentations from events
I, [2012-10-21T22:22:45.133290 #14007]  INFO -- : Task: Getting number of pages in presentation
I, [2012-10-21T22:22:45.133636 #14007]  INFO -- : Task: Extracting a page from pdf file
I, [2012-10-21T22:22:45.136845 #14007]  INFO -- : Executing: ghostscript -sDEVICE=pdfwrite -dNOPAUSE -dQUIET -dBATCH -dFirstPage=1 -dLastPage=1 -sOutputFile=/var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/presentation/default/slide-1.pdf /etc/bigbluebutton/nopdfmark.ps /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/presentation/default/default.pdf
I, [2012-10-21T22:22:46.158210 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:46.158422 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:46.158521 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:46.158641 #14007]  INFO -- : Task: Converting .pdf to .png
I, [2012-10-21T22:22:46.169575 #14007]  INFO -- : Executing: convert -density 300x300 -resize 800x600 -quality 90 +dither -depth 8 -colors 256 /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/presentation/default/slide-1.pdf /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/presentation/default/slide-1.png
I, [2012-10-21T22:22:54.067552 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:54.067767 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:54.067873 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:54.067990 #14007]  INFO -- : Processing webcam videos
I, [2012-10-21T22:22:54.068116 #14007]  INFO -- : Task: Processing events
I, [2012-10-21T22:22:54.068213 #14007]  INFO -- : Task: Getting start audio recording events
I, [2012-10-21T22:22:54.069790 #14007]  INFO -- : Task: Getting stop audio recording events
I, [2012-10-21T22:22:54.070522 #14007]  INFO -- : Task: Matching start and stop events
I, [2012-10-21T22:22:54.070615 #14007]  INFO -- : Task: Determine start and stop timestamps for unmatched event
I, [2012-10-21T22:22:54.070695 #14007]  INFO -- : Task: Determining if recording file exist
I, [2012-10-21T22:22:54.070794 #14007]  INFO -- : Task: Getting length of audio
I, [2012-10-21T22:22:54.074948 #14007]  INFO -- : Executing: sox /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608-1350858063329.wav -n stat 2>&1
I, [2012-10-21T22:22:54.080284 #14007]  INFO -- : Output: ["Samples read:            137280\n", "Length (seconds):      8.580000\n", "Scaled by:         2147483647.0\n", "Maximum amplitude:     0.141449\n", "Minimum amplitude:    -0.147552\n", "Midline amplitude:    -0.003052\n", "Mean    norm:          0.008201\n", "Mean    amplitude:    -0.000008\n", "RMS     amplitude:     0.017602\n", "Maximum delta:         0.054504\n", "Minimum delta:         0.000000\n", "Mean    delta:         0.002320\n", "RMS     delta:         0.005143\n", "Rough   frequency:          743\n", "Volume adjustment:        6.777\n"] 
I, [2012-10-21T22:22:54.080515 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:54.080625 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:54.080720 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:54.080967 #14007]  INFO -- : Determined audio length from stats using sox [8580]
I, [2012-10-21T22:22:54.081069 #14007]  INFO -- : Determined audio length is [8580]
I, [2012-10-21T22:22:54.081169 #14007]  INFO -- : Task: Generating audio paddings
I, [2012-10-21T22:22:54.081254 #14007]  INFO -- : Task: Getting the timestamp of the first event.
I, [2012-10-21T22:22:54.082098 #14007]  INFO -- : Task: Getting the timestamp of the first event.
I, [2012-10-21T22:22:54.082614 #14007]  INFO -- : Task: Creating audio gap event
I, [2012-10-21T22:22:54.289580 #14007]  INFO -- : Task: Generating silence. Filename: /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/8010.wav with duration 8010 milliseconds
I, [2012-10-21T22:22:54.294143 #14007]  INFO -- : Executing: sox /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/8010.wav.dat -b 16 -r 16000 -c 1 -s /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/8010.wav
I, [2012-10-21T22:22:54.393395 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:54.393552 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:54.393625 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:54.394045 #14007]  INFO -- : Task: Concatenating audio files
I, [2012-10-21T22:22:54.399575 #14007]  INFO -- : Executing: sox /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/8010.wav /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608-1350858063329.wav /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/recording.wav
I, [2012-10-21T22:22:54.402486 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:54.402633 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:54.402801 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:54.402930 #14007]  INFO -- : Converting .wav to .ogg
I, [2012-10-21T22:22:54.406818 #14007]  INFO -- : Executing: oggenc -Q -o /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio.ogg /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio/recording.wav 2>&1
I, [2012-10-21T22:22:54.561715 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:54.561900 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:54.562002 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:54.562134 #14007]  INFO -- : Task: Creating blank canvas
I, [2012-10-21T22:22:54.565296 #14007]  INFO -- : Executing: convert -size 320x240 xc:#EEEEEE /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/canvas.jpg
I, [2012-10-21T22:22:54.575877 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:54.576064 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:54.576171 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:54.576288 #14007]  INFO -- : Task: Getting the timestamp of the first event.
I, [2012-10-21T22:22:54.577594 #14007]  INFO -- : Task: Getting the timestamp of the last event
I, [2012-10-21T22:22:54.578432 #14007]  INFO -- : Task: Getting start video events
I, [2012-10-21T22:22:54.579110 #14007]  INFO -- : Task: Getting stop video events
I, [2012-10-21T22:22:54.579864 #14007]  INFO -- : webcam_user_ids: ["01"]
I, [2012-10-21T22:22:54.579986 #14007]  INFO -- : Task: Matching the start and stop events
I, [2012-10-21T22:22:54.580072 #14007]  INFO -- : Task: Finding video events that match
I, [2012-10-21T22:22:54.580164 #14007]  INFO -- : Task: Generating video paddings
I, [2012-10-21T22:22:54.580261 #14007]  INFO -- : Task: Creating blank video
I, [2012-10-21T22:22:54.588720 #14007]  INFO -- : Executing: ffmpeg -loop_input -t 12.753 -i /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/canvas.jpg -loglevel fatal -v -10 -r 1000 /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/user01-blank-beginning.flv
I, [2012-10-21T22:22:54.588992 #14007]  INFO -- : Success ?:  false
I, [2012-10-21T22:22:54.589102 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:54.589209 #14007]  INFO -- : Exit status: 1
I, [2012-10-21T22:22:54.589368 #14007]  INFO -- : Task: Stripping audio from video
I, [2012-10-21T22:22:54.599604 #14007]  INFO -- : Executing: ffmpeg -i /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/video/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/320x2401-1350858064405.flv -loglevel fatal -v -10 -an -vcodec copy /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/stripped-wc-320x2401-1350858064405.flv
I, [2012-10-21T22:22:54.602763 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:54.602898 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:54.603039 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:54.630127 #14007]  INFO -- : Scaling the video to the max width and height
I, [2012-10-21T22:22:54.630378 #14007]  INFO -- : Task: Determine if video is less that max width and height
I, [2012-10-21T22:22:54.633454 #14007]  INFO -- : Executing: ffmpeg -i /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/stripped-wc-320x2401-1350858064405.flv -loglevel fatal -v -10 -aspect 4:3 -r 1000 -sameq  -vf scale=320:240  /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/scaled-wc-320x2401-1350858064405.flv
I, [2012-10-21T22:22:54.664883 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:54.665110 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:54.665234 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:54.665392 #14007]  INFO -- : Task: Concatenating videos
I, [2012-10-21T22:22:54.665524 #14007]  INFO -- : Task: Converting .flv to .mpg
I, [2012-10-21T22:22:54.669464 #14007]  INFO -- : Executing: ffmpeg -i /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/user01-blank-beginning.flv -loglevel fatal -v -10 -sameq -f mpegts /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/user01-blank-beginning.flv.mpg
I, [2012-10-21T22:22:54.673906 #14007]  INFO -- : Success ?:  false
I, [2012-10-21T22:22:54.674075 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:54.674173 #14007]  INFO -- : Exit status: 1
I, [2012-10-21T22:22:54.674295 #14007]  INFO -- : Task: Converting .flv to .mpg
I, [2012-10-21T22:22:54.679497 #14007]  INFO -- : Executing: ffmpeg -i /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/scaled-wc-320x2401-1350858064405.flv -loglevel fatal -v -10 -sameq -f mpegts /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/scaled-wc-320x2401-1350858064405.flv.mpg
I, [2012-10-21T22:22:54.763962 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:54.764175 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:54.764285 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:54.764445 #14007]  INFO -- : Task: Concatenating .mpg files
I, [2012-10-21T22:22:54.767424 #14007]  INFO -- : Executing: cat /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/user01-blank-beginning.flv.mpg /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/scaled-wc-320x2401-1350858064405.flv.mpg >  /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/webcam.mpg
E, [2012-10-21T22:22:54.771151 #14007] ERROR -- : Error: stderr: ["cat: /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/temp/user01-blank-beginning.flv.mpg: No such file or directory\n"]
I, [2012-10-21T22:22:54.771366 #14007]  INFO -- : Success ?:  false
I, [2012-10-21T22:22:54.771486 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:54.771590 #14007]  INFO -- : Exit status: 1
I, [2012-10-21T22:22:54.771704 #14007]  INFO -- : Task: Converting .mpg to .flv
I, [2012-10-21T22:22:54.779546 #14007]  INFO -- : Executing: ffmpeg -i  /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/webcam.mpg -loglevel fatal -v -10 -sameq  /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/webcam-user01.flv
I, [2012-10-21T22:22:54.954703 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:54.954921 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:54.955016 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:54.955123 #14007]  INFO -- : videofilter: pad=640:960:0:0:0xEEEEEE 
I, [2012-10-21T22:22:54.958008 #14007]  INFO -- : Executing: ffmpeg -i /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/webcam-user01.flv -loglevel fatal -r 1000 -sameq -v -10 -vf "pad=640:960:0:0:0xEEEEEE " /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/webcams.flv
I, [2012-10-21T22:22:55.830890 #14007]  INFO -- : Success ?:  true
I, [2012-10-21T22:22:55.831112 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:55.831218 #14007]  INFO -- : Exit status: 0
I, [2012-10-21T22:22:55.843639 #14007]  INFO -- : Executing: ffmpeg -i /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/audio.ogg  -i /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/webcams.flv  -loglevel fatal -v -10  -vcodec libx264 -profile high -preset slow -b 1000k -threads 0  -map 1:0 -map 0:0 -ar 22050 /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350858052608/webcams.mp4
I, [2012-10-21T22:22:55.853463 #14007]  INFO -- : Success ?:  false
I, [2012-10-21T22:22:55.853662 #14007]  INFO -- : Process exited? true
I, [2012-10-21T22:22:55.853765 #14007]  INFO -- : Exit status: 1

Do you know why this is happening?
I tried to read your code but not very familiar with Ruby. Any suggestions will be greatly appreciated.
Thanks

Maksim Ustinov

unread,
Oct 21, 2012, 9:18:24 PM10/21/12
to bigblueb...@googlegroups.com


Here is additional log info to my previous post:

ubuntu@ip-10-86-141-248:$ sudo bbb-conf -d
  -- ERRORS found in /var/log/bigbluebutton/* -- 
/var/log/bigbluebutton/bbb-rap-worker.log:E, [2012-10-22T01:04:05.529903 #9860] ERROR -- : Error: stderr: ["/usr/lib/ruby/1.9.2/fileutils.rb:1423:in `stat': No such file or directory - /var/bigbluebutton/recording/process/slides/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350867695834/webcams.mp4 (Errno::ENOENT)\n", "\tfrom /usr/lib/ruby/1.9.2/fileutils.rb:1423:in `block in fu_each_src_dest'\n", "\tfrom /usr/lib/ruby/1.9.2/fileutils.rb:1437:in `fu_each_src_dest0'\n", "\tfrom /usr/lib/ruby/1.9.2/fileutils.rb:1421:in `fu_each_src_dest'\n", "\tfrom /usr/lib/ruby/1.9.2/fileutils.rb:391:in `cp'\n", "\tfrom /usr/local/bigbluebutton/core/scripts/publish/slides.rb:51:in `<main>'\n"]

   -- ERRORS found in /usr/share/red5/log/* -- 
/usr/share/red5/log/bigbluebutton.log:2012-10-22 01:01:38,979 [NioProcessor-6] ERROR o.b.w.v.f.a.PopulateRoomCommand - Not XML: [Conference 70424 not found]
/usr/share/red5/log/bigbluebutton.log:2012-10-22 01:01:46,908 [EslEventNotifier-1] ERROR o.b.w.v.f.a.RecordConferenceCommand - Not XML: [Record file /var/freeswitch/meetings/6e35e3b2778883f5db637d7a5dba0a427f692e91-1350867695834-1350867706889.wav]
 




On Tuesday, July 17, 2012 6:32:45 AM UTC-7, Stéphane Lux wrote:

Chipie

unread,
Oct 22, 2012, 1:31:57 AM10/22/12
to bigblueb...@googlegroups.com
Hi Maksim,

bbb 0.81 will support the playback of recorded webcam videos. There will be a beta soon. 

Best regards,
Stéphane

Fred Dixon

unread,
Oct 22, 2012, 7:38:56 AM10/22/12
to bigblueb...@googlegroups.com
Hi Maksim,

We've incorporated playback of multiple webcams into BigBlueButto 0.81-dev, which we're working towards releasing beta.  For more information, see


and watch the recording of the recent community call.  We talk about the playback of multiple webcams around 20:00 into the call.


Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/6UUVwQtxpQ0J.
Reply all
Reply to author
Forward
0 new messages