The error reported is: "Unknown encoder 'libfdk_aac'" Your ffmpeg doesn't have necessary codec :( You need to download/recompile with 'libfdk_aac' support
On Wed, Jul 12, 2017 at 11:27 PM, Mehta, Ashish (MIND) < ashish.me...@mind-infotech.com> wrote: > Hello Maxim, > > > > I am getting error while saving the recording. I tried to debug it so the > conversion from FINAL_WAVE to mp4 is causing the problem. Below is the > error what I am getting during the process: > > > > 1. Error while MP4 conversion: > > process: generate MP4 > > command: C:\ffmpeg-latest-win64-static\bin\ffmpeg -y -itsoffset > 00:00:04.276 -i E:\Devworkspaces\open-meeings-08july\open-meetings-html5\ > openmeetings-server\target\server\webapps\openmeetings\ > streams\11\rec_1_stream_353c4d89-946d-49f1-b790- > c651ef5b8a50_2017_07_11_11_51_11.flv -i E:\Devworkspaces\open-meeings- > 08july\open-meetings-html5\openmeetings-server\target\ > server\webapps\openmeetings\streams\11\rec_1_stream_ > 353c4d89-946d-49f1-b790-c651ef5b8a50_2017_07_11_11_51_11_FINAL_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:\Devworkspaces\open-meeings-08july\open-meetings-html5\ > openmeetings-server\target\server\webapps\openmeetings\ > upload\files\null\391829b7-b9e7-47c9-82a2-e23a2ab8ba5c\ > 391829b7-b9e7-47c9-82a2-e23a2ab8ba5c.mp4 > > exception: null > > error: ffmpeg version N-83585-ga5c1c7a Copyright (c) 2000-2017 the FFmpeg > developers > > built with gcc 5.4.0 (GCC) > > configuration: --enable-gpl --enable-version3 --enable-cuda > --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx > --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig > --enable-frei0r --enable-gnutls --enable-iconv --enable-libass > --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype > --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug > --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb > --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp > --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora > --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc > --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp > --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid > --enable-libzimg --enable-lzma --enable-zlib > > libavutil 55. 47.100 / 55. 47.100 > > libavcodec 57. 80.101 / 57. 80.101 > > libavformat 57. 66.102 / 57. 66.102 > > libavdevice 57. 2.100 / 57. 2.100 > > libavfilter 6. 73.100 / 6. 73.100 > > libswscale 4. 3.101 / 4. 3.101 > > libswresample 2. 4.100 / 2. 4.100 > > libpostproc 54. 2.100 / 54. 2.100 > > [flv @ 0000000002442cc0] video stream discovered after head already parsed > > Input #0, flv, from 'E:\Devworkspaces\open-meeings-08july\open-meetings- > html5\openmeetings-server\target\server\webapps\ > openmeetings\streams\11\rec_1_stream_353c4d89-946d-49f1- > b790-c651ef5b8a50_2017_07_11_11_51_11.flv': > > Metadata: > > server : Red5 > > creationdate : Tue Jul 11 11:51:42 EDT 2017 > > canSeekToEnd : true > > noaudiocodec : 0 > > Duration: 00:00:27.00, start: 0.000000, bitrate: 963 kb/s > > Stream #0:0: Video: flashsv, bgr24, 1024x576, 962 kb/s, 10 fps, 10 > tbr, 1k tbn > > Guessed Channel Layout for Input Stream #1.0 : mono > > Input #1, wav, from 'E:\Devworkspaces\open-meeings-08july\open-meetings- > html5\openmeetings-server\target\server\webapps\ > openmeetings\streams\11\rec_1_stream_353c4d89-946d-49f1- > b790-c651ef5b8a50_2017_07_11_11_51_11_FINAL_WAVE.wav': > > Duration: 00:00:32.59, bitrate: 705 kb/s > > Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, > s16, 705 kb/s > > Unknown encoder 'libfdk_aac' > > > > exitValue: 1 > > out: > > > > 2. Error while creating preview JPG: > > process: generate preview JPG > > command: C:\ffmpeg-latest-win64-static\bin\ffmpeg -y -i > E:\Devworkspaces\open-meeings-08july\open-meetings-html5\ > openmeetings-server\target\server\webapps\openmeetings\ > upload\files\null\391829b7-b9e7-47c9-82a2-e23a2ab8ba5c\ > 391829b7-b9e7-47c9-82a2-e23a2ab8ba5c.mp4 -vcodec mjpeg -vframes 100 -an > -f rawvideo -s 1024x576 E:\Devworkspaces\open-meeings- > 08july\open-meetings-html5\openmeetings-server\target\ > server\webapps\openmeetings\streams\hibernate\391829b7- > b9e7-47c9-82a2-e23a2ab8ba5c.jpg > > exception: null > > error: ffmpeg version N-83585-ga5c1c7a Copyright (c) 2000-2017 the FFmpeg > developers > > built with gcc 5.4.0 (GCC) > > configuration: --enable-gpl --enable-version3 --enable-cuda > --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx > --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig > --enable-frei0r --enable-gnutls --enable-iconv --enable-libass > --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype > --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug > --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb > --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp > --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora > --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc > --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp > --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid > --enable-libzimg --enable-lzma --enable-zlib > > libavutil 55. 47.100 / 55. 47.100 > > libavcodec 57. 80.101 / 57. 80.101 > > libavformat 57. 66.102 / 57. 66.102 > > libavdevice 57. 2.100 / 57. 2.100 > > libavfilter 6. 73.100 / 6. 73.100 > > libswscale 4. 3.101 / 4. 3.101 > > libswresample 2. 4.100 / 2. 4.100 > > libpostproc 54. 2.100 / 54. 2.100 > > E:\Devworkspaces\open-meeings-08july\open-meetings-html5\ > openmeetings-server\target\server\webapps\openmeetings\ > upload\files\null\391829b7-b9e7-47c9-82a2-e23a2ab8ba5c\ > 391829b7-b9e7-47c9-82a2-e23a2ab8ba5c.mp4: No such file or directory > > > > exitValue: 1 > > out: > > > > > > Can you please help me out to find out how I can resolve this issue. The > same functionality is working fine on your demo link. > > > > Thank You! > > > > Regards, > > Ashish Mehta > > ------------------------------ > > 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 > -- WBR Maxim aka solomax