Build to support h264 encoding, flash player 11

982 views
Skip to first unread message

Gustavo Salazar

unread,
Aug 1, 2012, 8:23:00 PM8/1/12
to bigblueb...@googlegroups.com

Hi everyone,

For developers working with the latest changes in master, specifically in bigbluebutton-client, there are new changes to support h264 enconding from flash player 11


To get it working, after  having the latest changes, and "bbb-conf --setup-dev client" executed, follow these steps:
  • Download playerglobal.swc version 11.2
wget http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_2.swc
mkdir /home/firstuser/dev/tools/flex-4.5.0.20967/frameworks/libs/player/11.2
mv playerglobal11_2.swc /home/firstuser/dev/tools/flex-4.5.0.20967/frameworks/libs/player/11.2/playerglobal.swc
chmod 775 /home/firstuser/dev/tools/flex-4.5.0.20967/frameworks/libs/player/11.2/playerglobal.swc

  • New parameters were added to the module "VideoconfModule" in config.xml, so use the new config.xml.template 
cd ~/dev/bigbluebutton/bigbluebutton-client
cp resources/config.xml.template src/conf/config.xml

  •  Set your ip address in src/conf/config.xml
sed -i "s/HOST/YOUR_IP_ADDRESS/g" src/conf/config.xml

  • Compile
cd ~/dev/bigbluebutton/bigbluebutton-client
ant



In a new session in your server, if you have enabled logs in the client, after  sharing webcam you should see a line like this in  the log window:

 [INFO] Using H264 codec for video.


 

--
Gustavo Salazar (Guga)


Felipe Cecagno

unread,
Aug 2, 2012, 1:18:16 PM8/2/12
to bigblueb...@googlegroups.com, mc...@googlegroups.com
Hi Guga,

Good job! Pretty cool to see H.264 working on BigBlueButton! :)

I've done some analysis on the delay among BigBlueButton 0.8 and the current master branch with H.264 enabled. The 0.8 version is running in a dedicate server in the local network, while the development version is running in a virtual machine. I've attached an image to illustrate how I did measure the end-to-end delay. A webcam is pointed to the stopwatch, and the remote video (the stopwatch image which goes to the server and comes back) is captured as well. From this configuration I've got some snapshots (5 from h.264 and 11 from h.263).

The result is that the average delay on H.263 was 202ms, while on H.264 the result was 1334ms. It means that the video delay increases more than 1 second when using H.264. The increase of delay will result in a bad experience related to the lip sync, since BigBlueButton doesn't implement any synchronization mechanism between voice and video.

Of course, the H.264 parametrization was the default one, so maybe there are parameters to be tuned. I just would like to start this conversation on how to reduce the delay.

About the bandwidth, I've done a quick experiment using the webcam pointed to the stopwatch (so the image is changing all the time), and the resolution used was 320x240. The bandwidth measured was as follows:
H.263 => 220Kb/s (Kilobits)
H.264 => 100Kb/s (Kilobits)

Great reduce of bandwidth, and probably a better image quality. Let's do some effort now to reduce the delay. :)
That's it. Best regards,

--
   
Felipe Cecagno
   Mconf Development Team



--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
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.

h263 4 170ms.png

fkitd

unread,
Sep 27, 2012, 11:14:42 AM9/27/12
to bigblueb...@googlegroups.com
hi
is there any progress on running h264 with bbb?

Fred Dixon

unread,
Sep 27, 2012, 5:32:49 PM9/27/12
to bigblueb...@googlegroups.com
Hi Roshan,

The support for h.264 video codec for webcams in the BigBlueButton client is in 0.81-dev.  See


When we release 0.81-beta, you'll be able to enable h.264 video by changing the above parameter from false to true.


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




On Thu, Sep 27, 2012 at 8:14 AM, fkitd <roshan.en...@gmail.com> wrote:
hi
is there any progress on running h264 with bbb?

--
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/-/G_yPS5ttYjAJ.

jagdeep goel

unread,
Feb 17, 2013, 3:46:38 AM2/17/13
to bigblueb...@googlegroups.com
Hello,

please send me the instructions how we can stream big blue button stream via jw player using h264 encoding form.


Thanks

Fred Dixon

unread,
Feb 17, 2013, 9:04:51 AM2/17/13
to BigBlueButton-dev
Jagdeep,

Don't double post.  We've already answered your question in this thread



Also, in the future, when you have a new question, please post to a new thread.  You've posted your question twice to two existing threads.


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


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.

To post to this group, send email to bigblueb...@googlegroups.com.

jagdeep goel

unread,
Mar 15, 2013, 2:09:37 PM3/15/13
to bigblueb...@googlegroups.com
Hello all,


Deskshare is not working at my side and i also want to know how many people maximum allowed in a room and how many maximum room we can  create it on bbb.I Impleamented the streaming on jwplayer but it show the user video only it can not show the bbb interface  like whiteboard,dekstop sharing,on jwplayer how we can achieve this.

thanks
Jagdeep Goel


On Wednesday, 1 August 2012 17:23:00 UTC-7, Gustavo Salazar wrote:

Fred Dixon

unread,
Mar 15, 2013, 2:40:38 PM3/15/13
to BigBlueButton-dev
Hi Jagdeep,

Deskshare is not working at my side 

Was it working before with your server?  Did you make changes?  Can you check the desktop sharing using


 i also want to know how many people maximum allowed in a room 



>I Impleamented the streaming on jwplayer but it show the user video 
> only it can not show the bbb interface  like whiteboard,dekstop sharing,on jwplayer how we can achieve this.

Jagdeep,

You've posted this question three times in the past month.  

What you are asking is not compatible with how we designed BigBlueButton.  When you load the BigBlueButton client, each client module makes an independent connection to the BigBlueButton server where it receives events.  The presentation module, for example, does not receive a video stream; rather, it receives a stream of events -- such as go to page X, move mouse, draw line, etc. -- that keeps everyone in sync.

These series events are very small, require minimal bandwidth, and are the basis of recordings for later playback.   

We (the core developers) are focused on getting 0.81 to beta and working on the HTML5 client.  What you are asking not a feature that we've got planned for BigBlueButton.

That's not to say it can't be done -- BigBlueButton is open source and you are more than welcome to modify and extend the product, but the reason it's not been done before and the reason your not getting a lot of response reflects the design of BigBlueButton and the current focus of the project.


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




--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.

jagdeep goel

unread,
Mar 16, 2013, 1:17:53 AM3/16/13
to bigblueb...@googlegroups.com
Hello sir,

Thanks for reply i want to stream bbb via jw player and when i tried it is implemented i just see only the video of user only and works very fine with just 10 second delay,But i also want to be stream whiteboard,deskshare via jw player.Desk share is never work for me before even i can't see it before.

Thanks
Jagdeep
Reply all
Reply to author
Forward
0 new messages