Hi! Thanks Alexei, now the compilation went through!
And I made a new recording test at full quality, and still the video plays around 5-10x faster than the audio, so no improvement at all on my 32-bit Ubuntu 12.04. I also tried with ffmpeg version 0.10.3 instead of 0.11.1 recommended by Stephen. Still doesn't work. I compiled ffmpeg version 0.10.3 also on my CentOS 6 server (as well as the version of swftools recommended by Stephen), and installed the last daily build, as proposed by Solomax. I tried recording and the recording still looks the same, playing back much too fast, probably due to skipped frames. However, clicking on the recording in the recordings screen, I now got a pop-up saying that errors were encountered processing the file, so at least I got some information which may be useful for debugging. The error text is attached below my name. A few remarks for Stephen with respect to his very helpful installation instructions: 1. I did not understand the following comment on the first page "N.B – When copying and pasting commands please check that symbols and character returns are correctly copied across.", maybe because English is not my native language, is it possibly connected to 2?: 2. Many multiple-line commands in the guide don't work to copy-paste, because there is a newline in the pdf but there is no \ at the end of the line to tell the bash shell to wait for another line. Some multiple-line commands have the \ and they work fine. 3. The download command for the mysql connector didn't work for me, the following does work: wget http://mysql.ntu.edu.tw/Downloads/Connector-J/mysql-connector-java-5.1.20.zip Friendly greetings, Mikael --- 8< --- Log:18.12.2012 15:30:57 generateFFMPEG process: generateFFMPEG command; [/usr/local/bin/ffmpeg, -async, 1, -i, /var/www/openmeetings-2.1.0.r1423249-18-12-2012_0218/webapps/openmeetings/streams/1/rec_5_stream_1_18_12_2012_15_30_34.flv, /var/www/openmeetings-2.1.0.r1423249-18-12-2012_0218/webapps/openmeetings/streams/1/rec_5_stream_1_18_12_2012_15_30_34_WAVE.wav] exception: null error: ffmpeg version 0.10.3 Copyright (c) 2000-2012 the FFmpeg developers built on Dec 18 2012 11:44:47 with gcc 4.4.6 20120305 (Red Hat 4.4.6-4) configuration: --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-libgsm --enable-libfaac --enable-gpl --enable-nonfree 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 libpostproc 52. 0.100 / 52. 0.100 [flv @ 0x1ee23a0] Broken FLV file, which says no streams present, this might fail [flv @ 0x1ee23a0] decoding for stream 0 failed [flv @ 0x1ee23a0] Could not find codec parameters (Video: none) [flv @ 0x1ee23a0] decoding for stream 1 failed [flv @ 0x1ee23a0] Could not find codec parameters (Audio: none, 0 channels) /var/www/openmeetings-2.1.0.r1423249-18-12-2012_0218/webapps/openmeetings/streams/1/rec_5_stream_1_18_12_2012_15_30_34.flv: could not find codec parameters exitValue: null out: The sizes of the relevant files in .../streams/1: -rw-r--r-- 1 mkurula cllpersonal 213 Dec 18 15:30 rec_5_stream_1_18_12_2012_15_30_34.flv -rw-r--r-- 1 mkurula cllpersonal 0 Dec 18 15:30 rec_5_stream_1_18_12_2012_15_30_34.flv.ser -rw-r--r-- 1 mkurula cllpersonal 1777010 Dec 18 15:30 rec_5_stream_a948b304ef039ef5a680a7ee29253623_18_12_2012_15_30_34_FINAL_WAVE.wav -rw-r--r-- 1 mkurula cllpersonal 11424672 Dec 18 15:30 rec_5_stream_a948b304ef039ef5a680a7ee29253623_18_12_2012_15_30_34.flv On 17/12/12 23:24, Alexei Fedotov wrote: > Please update libraries, this helped me with this error yesterday: > > $ ant clean.ivy > > > On Tue, Dec 18, 2012 at 1:14 AM, Mikael Kurula > <[email protected]> > wrote: > >> Hello Stephen and others! >> >> >> I now tried to follow your (Stephen Cottham's) installation instructions for >> Ubuntu 12.04, found at >> >> https://cwiki.apache.org/confluence/download/attachments/27838216/Installing+OM2.x+On+Ubuntu64+-+Headless.pdf?version=9&modificationDate=1342975689000 >> >> (I don't have a machine running 12.10). I installed the OM package >> downloadable at: >> http://incubator.apache.org/openmeetings/downloads.html >> >> (below referred to as "the official OM package") and it had precisely the >> same problem of the video playing super fast (approximately 6x speed) when I >> recorded at the highest quality as my previous reports, also all referring >> to the official OM package. My earlier reports were from a CentOS 6 64-bit >> system, where I had installed all packages via the package manager. Now I >> used a Ubuntu 12.04 32-bit system (using the 32-bit Oracle JDK), installing >> everything but the java exactly according to Stephen's instructions. The >> problems were precisely the same, so I don't think it is a question of >> compiling the dependencies of the correct version from source using the >> right switches, but rather that the problem lies elsewhere. (I now did >> different is that I used jdk-6u38-linux-i586.bin instead for the recommeded >> 6u32 64-bit Java, because I could not find 6u32 for 32-bit systems. On my >> 64-bit CentOS 6 server I use the recommended java package, so I don't think >> it's the number of bits or the java version that is my problem. Besides, >> Dimitri reported that Java 7 is also fine.) >> >> Since the recording function in the official OM package did not work in this >> other environment either, I then went on to try to compile the latest OM >> from source instead, and after half an hour of compilation, I got the >> following error : >> >> >> --- lots of text cut out, showing only the last few lines of output --- >> >> [ivy:resolve] ...................................................... >> (42221kB) >> >> -extract-tgz: >> [echo] Going to extract >> /root/.ivy2/cache/openlaszlo/openlaszlo/tgzs/openlaszlo-4.9.tgz to the >> /usr/adm/2.0/build >> [ivy:resolve] >> [ivy:resolve] :: problems summary :: >> [ivy:resolve] :::: ERRORS >> [ivy:resolve] The following error occurred while executing this line: >> [ivy:resolve] /usr/adm/2.0/build.xml:884: src >> '/root/.ivy2/cache/openlaszlo/openlaszlo/tgzs/openlaszlo-4.9.tgz' doesn't >> exist. >> [ivy:resolve] >> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS >> >> BUILD FAILED >> /usr/adm/2.0/build.xml:887: The following error occurred while executing >> this line: >> /usr/adm/2.0/build.xml:739: impossible to resolve dependencies: >> The following error occurred while executing this line: >> /usr/adm/2.0/build.xml:884: src >> '/root/.ivy2/cache/openlaszlo/openlaszlo/tgzs/openlaszlo-4.9.tgz' doesn't >> exist. >> >> Total time: 29 minutes 3 seconds >> >> root@lexell:/usr/adm/2.0# >> >> >> >> I solved this by manually downloading openlaszlo-4.9.tgz and putting it in >> /root/.ivy2/cache/openlaszlo/openlaszlo/tgzs/ and re-running >> /usr/adm/apache-ant-1.8.4/bin/ant -Ddb=mysql, but I guess somebody should be >> interested in the fact that the build failed. After 5 minutes I got BUILD >> SUCCESFUL. I went on following the instructions, later I pointed my web >> browser at >> http://localhost:5080/openmeetings/install >> , I filled in the >> information, pushed INSTALL, and after a while I got the following error >> screen: >> >> HTTP Status 500 - >> >> ________________________________ >> >> type Exception report >> >> message >> >> description The server encountered an internal error () that prevented it >> from fulfilling this request. >> >> exception >> >> java.lang.NullPointerException >> >> org.apache.velocity.tools.view.VelocityView.performMerge(VelocityView.java:942) >> org.apache.velocity.tools.view.VelocityView.merge(VelocityView.java:902) >> >> org.apache.velocity.tools.view.VelocityViewServlet.mergeTemplate(VelocityViewServlet.java:318) >> >> org.apache.velocity.tools.view.VelocityViewServlet.doRequest(VelocityViewServlet.java:220) >> >> org.apache.velocity.tools.view.VelocityViewServlet.doPost(VelocityViewServlet.java:192) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:637) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:717) >> >> org.openmeetings.servlet.outputhandler.ServletRequestExFilter.doFilter(ServletRequestExFilter.java:53) >> >> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:77) >> >> note The full stack trace of the root cause is available in the Apache >> Tomcat/6.0.32 logs. >> >> ________________________________ >> >> Apache Tomcat/6.0.32 >> >> The file /usr/lib/red5/log/red5.log that is referred to in the error screen >> above is attached. The exceptions are at the end of the file. From here I >> cannot get any further myself; I need advice? For your information, I also >> attach /usr/lib/red5/log/openmeetings.log that has a lot of errors at the >> end. I see that OpenJPA is mentioned in these errors, but I'm sure that I >> have configured the MySQL persistence correctly, because exactly the same >> configuration worked for the official OM package that I installed before, >> and the MySQL database openmeetings is populated on server startup. (Yes, I >> dropped the openmeetings database and re-created it for the new install >> using Stephen's instructions.) >> >> >> So, any further advice to help me get the compilation of the latest OM >> through? >> >> >> Friendly greetings, >> >> Mikael >> >> >> >> >> >> >> >> On 14/12/12 10:39, Stephen Cottham wrote: >> >> Also just for clarity: >> >> Can you tell me the full output of these commands: >> >> java -version >> ls -la /etc/alternatives/java* >> pdf2swf --version >> ffmpeg -version >> sox --version >> >> >> 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:[email protected] >> ] >> Sent: 14 December 2012 08:18 >> To: >> [email protected] >> >> 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/artifac >> >> t/ (produced on daily basis) >> >> >> On Thu, Dec 13, 2012 at 6:28 PM, Mikael Kurula >> <[email protected]> >> >> >> 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 >> <[email protected]> >> >> >> 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 >> <[email protected]> >> >> >> 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 >> >> <[email protected]> >> 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 >> >> >> >> >>
