EDIT: The ./configure line should be one continuous line -----Original Message----- From: Stephen Cottham [mailto:stephen.cott...@robertbird.com.au] Sent: 14 December 2012 09:06 To: openmeetings-user@incubator.apache.org Subject: RE: New to OpenMeetings; looking for input before installation
Could you try removing ffmepg and then recompiling with the following options: ./configure --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-libgsm --enable-libfaac --enable-gpl --enable-nonfree To do this: wget http://ffmpeg.org/releases/ffmpeg-0.11.1.tar.gz tar -zxvf ffmpeg-0.11.1.tar.gz cd ffmpeg-0.11.1 ./configure --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-libgsm --enable-libfaac --enable-gpl --enable-nonfree make make install Once its installed issue the ffmpeg -version commands again. -----Original Message----- From: Mikael Kurula [mailto:alcar...@gmail.com] Sent: 14 December 2012 08:58 To: openmeetings-user@incubator.apache.org Subject: Re: New to OpenMeetings; looking for input before installation Hey! Thanks a lot for taking such interest in my problems! :D Here are the version numbers. bash-4.1$ sudo yum info ffmpeg Loaded plugins: downloadonly, fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * rpmforge: mirror.awanti.com Available Packages Name : ffmpeg Arch : x86_64 Version : 0.6.5 Release : 1.el6.rf Size : 2.7 M Repo : rpmforge Summary : Utilities and libraries to record, convert and stream audio and video URL : http://ffmpeg.org/ License : GPL Description : FFmpeg is a very fast video and audio converter. It can also grab from a : live audio/video source. : The command line interface is designed to be intuitive, in the sense that : ffmpeg tries to figure out all the parameters, when possible. You have : usually to give only the target bitrate you want. FFmpeg can also convert : from any sample rate to any other, and resize video on the fly with a high : quality polyphase filter. : : Available rpmbuild rebuild options : : --without : lame vorbis theora faad faac gsm xvid x264 a52dec altivec bash-4.1$ java -version java version "1.6.0_32" Java(TM) SE Runtime Environment (build 1.6.0_32-b05) Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode) bash-4.1$ ls -la /etc/alternatives/java* lrwxrwxrwx 1 root root 39 Dec 14 10:08 /etc/alternatives/java -> /usr/local/lib/jvm/jdk1.6.0_32/bin/java lrwxrwxrwx 1 root root 48 Dec 14 10:04 /etc/alternatives/javac -> /usr/lib/jvm/java-1.6.0-openjdk.x86_64/bin/javac lrwxrwxrwx 1 root root 49 Dec 14 10:04 /etc/alternatives/javac.1.gz -> /usr/share/man/man1/javac-java-1.6.0-openjdk.1.gz lrwxrwxrwx 1 root root 50 Dec 14 10:04 /etc/alternatives/javadoc -> /usr/lib/jvm/java-1.6.0-openjdk.x86_64/bin/javadoc lrwxrwxrwx 1 root root 51 Dec 14 10:04 /etc/alternatives/javadoc.1.gz -> /usr/share/man/man1/javadoc-java-1.6.0-openjdk.1.gz lrwxrwxrwx 1 root root 48 Dec 14 10:04 /etc/alternatives/javah -> /usr/lib/jvm/java-1.6.0-openjdk.x86_64/bin/javah lrwxrwxrwx 1 root root 49 Dec 14 10:04 /etc/alternatives/javah.1.gz -> /usr/share/man/man1/javah-java-1.6.0-openjdk.1.gz lrwxrwxrwx 1 root root 48 Dec 14 10:04 /etc/alternatives/javap -> /usr/lib/jvm/java-1.6.0-openjdk.x86_64/bin/javap lrwxrwxrwx 1 root root 49 Dec 14 10:04 /etc/alternatives/javap.1.gz -> /usr/share/man/man1/javap-java-1.6.0-openjdk.1.gz lrwxrwxrwx 1 root root 38 Dec 14 10:04 /etc/alternatives/java_sdk -> /usr/lib/jvm/java-1.6.0-openjdk.x86_64 lrwxrwxrwx 1 root root 38 Dec 12 22:13 /etc/alternatives/java_sdk_1.6.0 -> /usr/lib/jvm/java-1.6.0-openjdk.x86_64 lrwxrwxrwx 1 root root 46 Dec 12 22:13 /etc/alternatives/java_sdk_1.6.0_exports -> /usr/lib/jvm-exports/java-1.6.0-openjdk.x86_64 lrwxrwxrwx 1 root root 46 Dec 14 10:04 /etc/alternatives/java_sdk_exports -> /usr/lib/jvm-exports/java-1.6.0-openjdk.x86_64 lrwxrwxrwx 1 root root 38 Dec 12 22:13 /etc/alternatives/java_sdk_openjdk -> /usr/lib/jvm/java-1.6.0-openjdk.x86_64 lrwxrwxrwx 1 root root 46 Dec 12 22:13 /etc/alternatives/java_sdk_openjdk_exports -> /usr/lib/jvm-exports/java-1.6.0-openjdk.x86_64 lrwxrwxrwx 1 root root 41 Dec 14 10:04 /etc/alternatives/javaws -> /usr/local/lib/jvm/jdk1.6.0_32/bin/javaws bash-4.1$ pdf2swf --version pdf2swf - part of swftools 0.9.1 bash-4.1$ ffmpeg -version ffmpeg version 0.10.6 built on Dec 12 2012 22:26:19 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4) configuration: --enable-libmp3lame libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 bash-4.1$ sox --version sox: SoX v14.2.0 I'd like to replace ffmpeg above compiled by myself with the package maintainer's version if possible. I restarted red5 in debug mode as suggested; the following ended up in the console: bash-4.1$ ./red5-debug.sh > red5debuglog.txt SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/var/www/openmeetings/red5.jar!/org/slf4j/impl/StaticLoggerBin der.class] SLF4J: Found binding in [jar:file:/var/www/openmeetings/lib/logback-classic-1.0.3.jar!/org/slf4j /impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. Dec 14, 2012 10:44:57 AM org.apache.axis2.deployment.util.TempFileManager <clinit> INFO: TempFileManager::unable to delete /tmp/axis2-tmp-5693606510742629468.tmp The attached file red5debuglog.txt is the result of recording a short clip (or two short clips actually, because I first forgot to change the quality to maximum). I also attach a file screensharing.log that I by coincidence found in the home folder of my client. Friendly greetings, Mikael On 2012.14.12, at 10:35, Stephen Cottham wrote: > Hey Mikael, > > Can you stop your OM instance running then start it this way: > > cd /usr/lib/red5 > > then issue > > ./red5-debug.sh > > Keep this terminal session running and start to use OM 2.X - keep an > eye on this session and see if any errors or warnings pop up that may > shed some light on what is going wrong. > > From Step 10, the red5 folder(s) and the scripts are owned and run as > "nobody" > > Please report back the findings from running with the debug window. > > Best Regards > > > Stephen Cottham > Group IT Manager (Associate) > > Robert Bird Group > Level 5, 333 Ann St > Brisbane, Queensland, 4000, Australia > Phone: +6173 319 2777 (AUS) > Phone: +44207 633 2880 (UK) > Fax: +6173 319 2799 > > Mobile: +61400 756 963 (AUS) > Mobile: +447900 918 616 (UK) > Web: www.robertbird.com > > > This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses. > > Disclaimer added by CodeTwo Exchange Rules > http://www.codetwo.com > > -----Original Message----- > From: Mikael Kurula [mailto:alcar...@gmail.com] > Sent: 14 December 2012 08:18 > To: openmeetings-user@incubator.apache.org > Subject: Re: New to OpenMeetings; looking for input before > installation > > Hi! > > What do you mean by "encoder" here? Red5 or ffmpeg? The flv output by > red5 (?) was already corrupted and red5 is included with OM, so it > seems unlikely red5 is broken for me but working fine for everybody else. > Which libraries does red5 depend on to generate the flv? > > As prompted by Stephen, I checked /webapps/openmeetings/config.xml. In > particular, my video frame rate was set to 30 even if it said that the > default is 15. I had no comment that I would have changed it, but it > can still be that I did. Anyway, changing that to 15 did not fix the > problems with the video playing too fast (because of lost frames it > seems). > > I also downgraded from jre 7 to jre 6u32, installing it properly via > the alternatives command this time, but that didn't help either. (The > env command returns nothing associated to java.) > > As what type of user are you btw. supposed to run the OM server? I > didn't understand if Stephen's script starts openmeetings as root or > as a non-privileged user? I run it using my own unprivileged account. > > Fg, > MiK > > > On 2012.13.12, at 15:25, Maxim Solodovnik wrote: > >> raw file is generated by red5 server. >> If I were you I would start from set up all third party tools (1 >> minute file played in 10 secods seems to be encoder issue) >> >> you can get latest build here >> https://builds.apache.org/job/openmeetings/lastSuccessfulBuild/artifa >> c >> t/ (produced on daily basis) >> >> >> On Thu, Dec 13, 2012 at 6:28 PM, Mikael Kurula <alcar...@gmail.com> > wrote: >> Hello Solomax! >> >> Thanks for you input again! I used only --enable-libmp3lame, since > that was the only one mentioned in the installation instructions at > http://incubator.apache.org/openmeetings/installation.html . Do the > instructions need updating? >> >> Anyway, I don't think I'm having problems with ffmpeg. I now looked a > little bit deeper into this, doing the following: >> >> 1. I went to my conference room and recorded a 1 min 10 sec clip at > the highest quality. >> 2. The final output file, flvRecording_35.avi has this length, but >> the > video only plays until around 10 seconds, super fast, then it stops > there, as expected since that has been the behaviour here all the time. >> 3. The flv file containing the video ingredient for > flvRecording_35.avi, called > rec_35_stream_d579934cc40ab48c8604eb35a2243a31_13_12_2012_13_10_28.flv > , > is also only around 10 seconds. >> >> So, how is the raw flv video data being generated in OM; I guess the > problem lies there? >> >> And, to rephraze my old question: I don't want to generate the avi > file since it only wastes space for me, and I want to improve the > sound quality. What part of the code do I need to tweak for that? >> >> If I want to try out later versions of OM than 2.0, where can I >> download these? I'm afraid that I'm partially struggling with bugs >> that might already have been fixed in later releases. (The Upgrading >> instructions on the apache openmeetings web page only talks about how >> to make and restore backups, not how to upgrade the OM installation.) >> >> Friendly greetings, >> Mikael >> >> >> >> >> On 2012.13.12, at 04:28, Maxim Solodovnik wrote: >> >>> Hello Mikael, >>> >>> I personally build ffmpeg 10.3 from the sources all the time >>> IMPORTANT: it should be configured with the following options before > >>> build --enable-libmp3lame --enable-libxvid --enable-libvorbis >>> --enable-libgsm --enable-libfaac --enable-gpl --enable-nonfree >>> >>> also please ensure flashsv and flashsv2 decoder/encoder are enable >>> after configure >>> >>> >>> According to your recording problem: I wish I have your machine to >>> fix the recordings :))) It is really hard to fix without being able >>> to reproduce :( >>> >>> I'll try to take a look at this message at the code. >>> >>> >>> >>> >>> On Thu, Dec 13, 2012 at 7:11 AM, Mikael Kurula <alcar...@gmail.com> > wrote: >>> Dimitri, >>> >>> Thanks a lot for your friendly and constructive message! With your >>> help I now managed to install the libreoffice converter, so now I >>> can import almost any imaginable file format to the whiteboard, >>> which is awesome. :) (The alternative command didn't find Oracle's >>> java on my server, but I changed the symlink to java in >>> /etc/alternatives by hand.) >>> >>> Unfortunately, unlike you (and perhaps most users it seems?), my > situation is not that everything "just works"; therefore I ask for > help here. I also hope that my questions indicate issues which might > need to be addressed before OpenMeetings can be accessible to the wide > public; I suppose it is in the interest of the developers to at least > be aware of my problems. I'm very surprised if nobody else has these > problems. And it says on a page somewhere that the OM project is > grateful for any feedback; maybe my questions can be regarded as > feedback from a not-quite-so-technical user. >>> >>> I tried looking at the mailing list archive again, but I can't find > a way to search per author (or per keyword either for that matter), so > I cannot find your earlier posts. If you happen to know the answer to > any of my questions in this post, then I'd be most grateful: >>> >>> http://mail-archives.apache.org/mod_mbox/incubator-openmeetings-user >>> /201212.mbox/%3C081FEEE9-ACDF-4E35-B8B4-CA0910711F88%40gmail.com%3E >>> >>> After I wrote that post, I have now found some suggestions for > server hardware for OM, but it's still not clear to me if the fact > that my server is a single 2 GHz cpu with only 2GB of RAM is connected > to my problem 3 or not. We have so far only been testing with one or > two clients at once. >>> >>> I had a new look at the installation instructions for CentOS 6 and I > installed all the listed packages using yum. I didn't want to follow > these instructions earlier, because as I have understood, you > shouldn't install software from source outside of your package > manager. In Ubuntu it's easy to compile from source with the package > manager but in CentOS it seems very complicated; I have tried without success a few times. >>> >>> Desperate to get the recordings to work, I anyway tried installing > ffmpeg-0.10.6.tar.bz2 from source (I chose version 0.10.6 because it > says in the OpenMeetings installation instructions that OM is tested > against ffmpeg 10.3), since my version from the package manager was > antique. Unfortunately, that didn't improve anything. I didn't compile > flvtools from source, because the package maintainer's version was > 0.9.1. >>> >>> Which version of flvtools and ffmpeg are you using if I may ask? > What other packages could cause me recording problems? And what are > the CPU/RAM specifications of your server? Which version of OM do you > use and where did you download it if you have a newer version than > 2.0? I downloaded 2.0 from the download page, since I got the > impression that is the latest stable version, but I'd be happy to test > with newer versions in case there is hope they'd work better for me. >>> >>> Very grateful for any help as usual, Mikael >>> >>> >>> On 12 December 2012 15:56, Dimitri Yioulos <dyiou...@onpointfc.com> > wrote: >>> Mikael, >>> >>> This response is more motivational than technical: >>> >>> I had no problem at all using OM/LibreOffice with Oracle's Java. >>> Both OpenJDK and Java 7 are installed on my machine, but I've made >>> Java 7 the "active" version using the alternatives command. >>> Likewise, using MySQL works, as does recording. I'm sure you're >>> searching the mailing list archive for some guidance (you'll see >>> plenty of shouts for help from me :-) ). Also, I found that this >>> how-to: >>> >>> http://code.google.com/p/openmeetings/wiki/InstallationCentOS5 >>> >>> is a good starting point for installing OM on CentOS (5 and 6). >>> >>> What I've found (surprise, surprise) is that you do have to tweak >>> and test to get everything working just right. I suppose these are >>> the "rough edges" of the current OM release. However, this release >>> has come a long way from earlier ones, which I tried in the >>> way-back. I'm thinking that future releases will be kick-a**. >>> >>> Keep at it; it's worth the effort! >>> >>> Dimitri >>> >>> >>> On Wednesday 12 December 2012 8:23:10 am Mikael Kurula >>> wrote: >>>> Hi! >>>> >>>> I'm also in the process of trying out if OpenMeetings is a possible >>>> alternative to Adobe Connect, with which I'm utterly fed up. >>>> >>>> The only problem I had with CentOS is that LibreOffice for CentOS 6 >>>> depends on OpenJDK whereas OpenMeetings need Oracle's Java. >>>> Somebody better att juggling with with yum probably can probably >>>> solve this easily (in which case I'd be grateful for help). >>>> >>>> Avoiding MySQL sounds like a reasonable idea to me, since I ran >>>> into this problem: >>>> https://issues.apache.org/jira/browse/OPENMEETINGS-488 >>>> (From what I understood this is very rare.) >>>> >>>> Right now my only showstopper issues are with recording, so I could >>>> suggest you check out if the recording capabilities are sufficient >>>> for your needs. In addition to the messages I've posted to the >>>> users list, I'm also having this problem: >>>> https://issues.apache.org/jira/browse/OPENMEETINGS-270 >>>> >>>> Otherwise OpenMeetings would surely do the job just fine for me, so >>>> I sincerely hope I can make the recordings work, but I need help >>>> from the OM experts for that. :) >>>> >>>> Friendly greetings, >>>> Mikael >>>> >>>> On 2012.12.12, at 15:09, Nicklas af Ekenstam wrote: >>>>> Thanks Dimitri, >>>>> >>>>> That's helpful nonetheless. I may try both CentOS and Ubuntu then. >>>>> >>>>> I also found something which I think answers my somewhat ill >>>>> articulated question regarding upstream relay servers: >>>>> https://cwiki.apache.org/confluence/display/OPENMEETING >>>>> S/Cluster+Master-Slave+overview >>>>> >>>>> Thanks again, >>>>> Nicklas >>>>> >>>>> On Wed, Dec 12, 2012 at 2:04 PM, Dimitri Yioulos >>>>> <dyiou...@onpointfc.com> wrote: Hi, Nicklas. >>>>> >>>>> I can't answer any of your technical questions, but can say that >>>>> I've installed OM on a VMware virtual machine running CentOS 6.3. >>>>> It works a treat. Others have installed it on machines running >>>>> Ubuntu. I guess that's a matter of personal choice depending on, >>>>> for example, the distro you're most comfortable with, or run in >>>>> your environment. >>>>> >>>>> HTH. >>>>> >>>>> Dimitri >>>>> >>>>> >>>>> On Wednesday 12 December 2012 5:55:41 am Nicklas af Ekenstam >>>>> >>>>> wrote: >>>>>> Hello, >>>>>> >>>>>> I am in the process of setting up a proof of concept based on >>>>>> OpenMeetings and would very much appreciate your input on a few >>>>>> questions before I get started. >>>>>> The goal of this proof of concept is to evaluate if OpenMeetings >>>>>> would be a suitable replacement for a current system based on >>>>>> Adobe Connect. (I sure hope >>>>>> so.) >>>>>> >>>>>> What I would like to do is install a fully working OpenMeetings >>>>>> environment that we can play around with. As I would propably >>>>>> have to take this on the road I'm wondering if a VMware based >>>>>> install would work? I see that there are some VMware images >>>>>> available for download but I think I would prefer to do the >>>>>> install from scratch myself in order to assess the installation >>>>>> process as well. >>>>>> >>>>>> I'm thinking of doing the install in one of our Vsphere clusters >>>>>> and, if I need to take it on the road with me, export it to >>>>>> VMware Workstation images and run locally on one (or more) >>>>>> laptops with my own networking equipment. >>>>>> >>>>>> These are my questions: >>>>>> What is a solid choice for the OS/distro? I'm guessing, based on >>>>>> reading the Wiki, that CentOS is a good choice; but what version? >>>>>> Or should I look into one of the other fine distros out there? >>>>>> >>>>>> I'm looking to try the clustering features as well on this >>>>>> project so, based on that, how many servers - performing what >>>>>> tasks - do you propose I setup? I would like to use PostgreSQL >>>>>> for the DB, but MySQL would also work. Two servers running >>>>>> OpenMeetings and one server running the database? >>>>>> >>>>>> I would also like to explore SIP connectivity so perhaps one >>>>>> server running Asterisk (or similiar)? >>>>>> >>>>>> Do I need any more servers for something that would, pretty much, >>>>>> mimic a real live situation? >>>>>> >>>>>> And while I'm asking questions: >>>>>> Is there a way to extend OpenMeetings so that video broadcasts >>>>>> could use upstream relaying servers somehow? We have schools in >>>>>> different locations and it would be nice if people in these >>>>>> schools could connect to a locally installed relay server for the >>>>>> video feed instead of each of them having to go the main >>>>>> OpenMeetings server gobbling up unnecessary bandwidth in the >>>>>> process. >>>>>> >>>>>> Thanks in advance, >>>>>> Nicklas >>>>> >>>>> -- >>>>> This message has been scanned for viruses and dangerous content by >>>>> MailScanner, and is believed to be clean. >>> >>> >>> >>> -- >>> This message has been scanned for viruses and dangerous content by >>> MailScanner, and is believed to be clean. >>> >>> >>> >>> >>> >>> -- >>> WBR >>> Maxim aka solomax >> >> >> >> >> -- >> WBR >> Maxim aka solomax > >