Hi Maxim, On my machine conversion to *.mp4 by latest code not being done.
I debug the conversion related code and It is not showing any error on console. So that’s why I ran conversion command from command line and it is showing : Unknown encoder 'libfdk_aac' . Do I need to upgrade any software like ffmpeg etc? Command I copy after debugging and ran to command line is below: E:\open-meeting\software\ffmpeg-latest-win64-static\bin\ffmpeg -y -itsoffset 00:00:03.624 -i E:\itutor\From-Maxim\openmeetings\openmeetings-server\target\server\webapps\openmeetings\streams\2\rec_13_stream_5af652f7-359f-4fc4-af72-ccaa1094ba48_2017_09_27_19_04_46.flv -i E:\itutor\From-Maxim\openmeetings\openmeetings-server\target\server\webapps\openmeetings\streams\2\rec_13_stream_7472625F-992B-BBEE-6C50-C37959682BD5_2017_09_27_19_04_46_FULL_WAVE.wav -c:v h264 -crf 24 -pix_fmt yuv420p -preset medium -profile:v baseline -c:a libfaac -c:a libfdk_aac -ar 22050 -b:a 32k -s 1024x576 E:\itutor\From-Maxim\openmeetings\openmeetings-server\target\server\webapps\openmeetings\streams\hibernate\62aa7f62-ca02-4a42-b45d-10cf7fd4ede1.mp4 Thanks, Amit From: Maxim Solodovnik [mailto:solomax...@gmail.com] Sent: Wednesday, September 27, 2017 4:47 PM To: K, Amit (MIND) <ami...@mind-infotech.com> Cc: user@openmeetings.apache.org Subject: Re: Warning!!!PossibleSpam Re: Warning!!!PossibleSpam Re: Recording stop case: 4.0.0: If existed unexpected Works as expected both locally and on demo server I need reproducible steps The error you are observing might be "displayed" due to stream is being closed twice This should not affect conversion process On Wed, Sep 27, 2017 at 6:11 PM, K, Amit (MIND) <ami...@mind-infotech.com<mailto:ami...@mind-infotech.com>> wrote: Hi Maxim, I cleaned all modules and build again and recording is saving successful as *.flv. But as I click on Stop Recording, the conversion process is not done and showing below exception: DEBUG 09-27 16:35:46.744 1934070 298 o.a.o.c.r.RecordingService [NioProcessor-7] - Stream Not Found :: 7 DEBUG 09-27 16:35:46.745 1934071 299 o.a.o.c.r.RecordingService [NioProcessor-7] - Available Streams :: 0 ERROR 09-27 16:35:46.745 1934071 311 o.a.o.c.r.RecordingService [NioProcessor-7] - [removeListener] java.lang.IllegalStateException: Could not find Listener to stop! metaId 7 at org.apache.openmeetings.core.remote.RecordingService.removeListener(RecordingService.java:304) at org.apache.openmeetings.core.remote.RecordingService.stopStreamRecord(RecordingService.java:321) Seems it is not able to find listener to stop recording and halt the process. Thanks, Amit From: Maxim Solodovnik [mailto:solomax...@gmail.com<mailto:solomax...@gmail.com>] Sent: Wednesday, September 27, 2017 1:51 PM To: K, Amit (MIND) <ami...@mind-infotech.com<mailto:ami...@mind-infotech.com>> Cc: user@openmeetings.apache.org<mailto:user@openmeetings.apache.org> Subject: Re: Warning!!!PossibleSpam Re: Warning!!!PossibleSpam Re: Recording stop case: 4.0.0: If existed unexpected Never saw exception like this What were the steps? On Wed, Sep 27, 2017 at 1:16 PM, K, Amit (MIND) <ami...@mind-infotech.com<mailto:ami...@mind-infotech.com>> wrote: Thanks Maxim for your continuous support. I was testing in code which I cloned few week before. Today I cloned the latest code in absolutely separate workspace but while try to start recording (Click on Start Recording button) it does nothing and in screenshare.log below logs printed: INFO 09-27 11:38:11.076 1362 o.q.i.StdSchedulerFactory [javawsApplicationMain] - Quartz scheduler 'CoreScreenShare' initialized from an externally provided properties instance. INFO 09-27 11:38:11.076 1366 o.q.i.StdSchedulerFactory [javawsApplicationMain] - Quartz scheduler version: 2.3.0 DEBUG 09-27 11:38:11.360 215 o.a.o.s.Core [javawsApplicationMain] - initialized DEBUG 09-27 11:38:12.749 323 o.a.o.s.Core [AWT-EventQueue-2] - captureScreenStart DEBUG 09-27 11:38:12.777 197 o.a.o.s.Core [AWT-EventQueue-2] - host: localhost, port: 1935, app: openmeetings/2, publish: 57870a4e-bc79-4ea0-b18c-cbf63fd9224c INFO 09-27 11:38:12.778 281 o.r.c.n.r.BaseRTMPClientHandler [AWT-EventQueue-2] - rtmp://localhost:1935/openmeetings/2 WARN 09-27 11:38:13.622 155 o.r.c.n.r.RTMPMinaIoHandler [NioProcessor-2] - Exception caught org.apache.commons.codec.binary.Hex.encodeHexString([B)Ljava/lang/String; WARN 09-27 11:38:13.623 155 o.r.c.n.r.RTMPMinaIoHandler [NioProcessor-2] - Exception caught org.apache.commons.codec.binary.Hex.encodeHexString([B)Ljava/lang/String; WARN 09-27 11:38:13.623 155 o.r.c.n.r.RTMPMinaIoHandler [NioProcessor-2] - Exception caught org.apache.commons.codec.binary.Hex.encodeHexString([B)Ljava/lang/String; This issue may not be related to port (1935) as in old code recording is doing good. Can you please give some hint about this exception. Really thankful to you for your kind support. Thanks, Amit From: Maxim Solodovnik [mailto:solomax...@gmail.com<mailto:solomax...@gmail.com>] Sent: Wednesday, September 27, 2017 8:35 AM To: K, Amit (MIND) <ami...@mind-infotech.com<mailto:ami...@mind-infotech.com>> Cc: user@openmeetings.apache.org<mailto:user@openmeetings.apache.org> Subject: Re: Warning!!!PossibleSpam Re: Warning!!!PossibleSpam Re: Recording stop case: 4.0.0: If existed unexpected Just have tested with secure hash: everything works as expected What version are you using? On Tue, Sep 26, 2017 at 6:18 PM, K, Amit (MIND) <ami...@mind-infotech.com<mailto:ami...@mind-infotech.com>> wrote: Dear Maxim, Here are the steps: 1. Jump to the conference room directly by using API call. 2. Click on the icon top right ( “Open new dialogue with sharing screen” title shown) to download JNLP (applet). 3. Run applet. 4. Now click on “Start Recording”. 5. After few minutes just close applet by click on Close button (Top right cross button in applet). Output: As cross button is clicked, recording stopped immediately and *.flv is created successfully but no conversion is done so no *.mp4 file created in /hibernate directory. Thanks, Amit From: Maxim Solodovnik [mailto:solomax...@gmail.com<mailto:solomax...@gmail.com>] Sent: Tuesday, September 26, 2017 4:25 PM To: K, Amit (MIND) <ami...@mind-infotech.com<mailto:ami...@mind-infotech.com>> Cc: user@openmeetings.apache.org<mailto:user@openmeetings.apache.org> Subject: Re: Warning!!!PossibleSpam Re: Warning!!!PossibleSpam Re: Recording stop case: 4.0.0: If existed unexpected Works for me (local OM, latest sources) What were your steps? On Tue, Sep 26, 2017 at 5:51 PM, Maxim Solodovnik <solomax...@gmail.com<mailto:solomax...@gmail.com>> wrote: I'll double-check what is going on FLV is bigger than mp4 in size cause different compression algorithms are used On Tue, Sep 26, 2017 at 5:40 PM, K, Amit (MIND) <ami...@mind-infotech.com<mailto:ami...@mind-infotech.com>> wrote: Yes Maxim.. you are right. Stream is saving directly *.flv to /stream directory and converted to *.mp4 as we click on “Stop Recording” button and this .mp4 file is saved to /hibernate dir. But in case I closed recording application (applet) by close button (Upper right corner) then only *.fly file exist in “/stream” folder and no conversion process happened (*.mp4) so no *.mp4 file created in /hibernate folder. Actually *.flv file are more in size then than *.mp4 (What I observed) . If suppose for same recording *.flv is 10MB the corresponding *.mp4 will be around 2MB. Thanks, Amit From: Maxim Solodovnik [mailto:solomax...@gmail.com<mailto:solomax...@gmail.com>] Sent: Tuesday, September 26, 2017 3:44 PM To: K, Amit (MIND) <ami...@mind-infotech.com<mailto:ami...@mind-infotech.com>> Cc: user@openmeetings.apache.org<mailto:user@openmeetings.apache.org> Subject: Warning!!!PossibleSpam Re: Warning!!!PossibleSpam Re: Recording stop case: 4.0.0: If existed unexpected Actually the file being recorded is *.flv No matter how recording was stopped: "Stop recording" button, "Close web-app", unplug network cable recording will stop processing and start converting as soon as "disconnected" event will reach the server (might take some time for 'tunneling' scenario due to nature of RTMP over HTTP) On Tue, Sep 26, 2017 at 5:03 PM, K, Amit (MIND) <ami...@mind-infotech.com<mailto:ami...@mind-infotech.com>> wrote: aammm…. This is the day I need to say sorry twice in a single day for the information I provided to Maxim.. ☹ Actually I am not facing any error. I just want to confirm the behavior of the application in below scenario. I am in testing the recording feature on 4.0.0 version of OM. And my scenario is: 1. I downloaded recording applet. 2. Now click on “Start Recording” and started recording from conference type room. 3. Now normally we click the “Stop Recording” to stop recording. 4. But there may a situation that the application crashed (applet) or by mistaken Close button is clicked. So in that cases recording is stopped but may be some functions those should be executed after “Stop Recording” click event , not executed as recording is stopped by different way. So in this case the recording will be processed (conversion from .wav to mp4) normally or application will behave some different manner. Thanks, Amit Thanks, Amit From: Maxim Solodovnik [mailto:solomax...@gmail.com<mailto:solomax...@gmail.com>] Sent: Tuesday, September 26, 2017 2:08 PM To: K, Amit (MIND) <ami...@mind-infotech.com<mailto:ami...@mind-infotech.com>> Cc: Openmeetings user-list <user@openmeetings.apache.org<mailto:user@openmeetings.apache.org>> Subject: Warning!!!PossibleSpam Re: Recording stop case: 4.0.0: If existed unexpected This usually means some error occurred, you need to check both client and server logs for more details On Tue, Sep 26, 2017 at 3:34 PM, K, Amit (MIND) <ami...@mind-infotech.com<mailto:ami...@mind-infotech.com>> wrote: Hi Maxim, Sorry for the short information. Actually my mean was: In normal scenario: Recording is saved as .wav format and at the time of stop it is converted to .mp4 format. But what happened in below case: 1. I started recording from conference type room. 2. After few minutes, the browser is closed or JNLP (Applet) is closed by close button means “Stop Recording” button not clicked. Thanks, Amit From: Maxim Solodovnik [mailto:solomax...@gmail.com<mailto:solomax...@gmail.com>] Sent: Tuesday, September 26, 2017 1:15 PM To: K, Amit (MIND) <ami...@mind-infotech.com<mailto:ami...@mind-infotech.com>> Cc: Openmeetings user-list <user@openmeetings.apache.org<mailto:user@openmeetings.apache.org>> Subject: Re: Recording stop case: 4.0.0: If existed unexpected Hello Amit, I'm not sure what do you mean by "I existed unexpected then the recording will still be saved" If you have started the recording it should be displayed in File tree under My Recordings On Tue, Sep 26, 2017 at 1:53 PM, K, Amit (MIND) <ami...@mind-infotech.com<mailto:ami...@mind-infotech.com>> wrote: Dear Maxim, One quick question: 4.0.0. I started recording and suppose I existed unexpected then the recording will still be saved and converted or not? Thanks, Amit ________________________________ The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus/trojan/worms/malicious code transmitted by this email. www.motherson.com<http://www.motherson.com> -- WBR Maxim aka solomax ________________________________ The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus/trojan/worms/malicious code transmitted by this email. www.motherson.com<http://www.motherson.com> -- WBR Maxim aka solomax ________________________________ The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus/trojan/worms/malicious code transmitted by this email. www.motherson.com<http://www.motherson.com> -- WBR Maxim aka solomax ________________________________ The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus/trojan/worms/malicious code transmitted by this email. www.motherson.com<http://www.motherson.com> -- WBR Maxim aka solomax -- WBR Maxim aka solomax ________________________________ The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus/trojan/worms/malicious code transmitted by this email. www.motherson.com<http://www.motherson.com> -- WBR Maxim aka solomax ________________________________ The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus/trojan/worms/malicious code transmitted by this email. www.motherson.com<http://www.motherson.com> -- WBR Maxim aka solomax ________________________________ The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus/trojan/worms/malicious code transmitted by this email. www.motherson.com<http://www.motherson.com> -- WBR Maxim aka solomax ________________________________ The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus/trojan/worms/malicious code transmitted by this email. www.motherson.com