Интересный факт: Только что успешно загрузил видеофильм .avi кодек xvid. Размер файла 1.5 Гб , проигрывается нормально, только тормоза при проигрывании (картинка дергается).
И еще: " обычно, если файл не сконвертировался, в дереве, рядом с вновь >>>> появившимся файлом, появляется значок ошибки >>>> на него можно кликнуть и посмотреть "что в деталях" не так" Да, только что появились ошибки такого характера. Например, ранее пытался загрузить файл .avi и такой лог: process: uploadVideo ID :: 17 command: /usr/local/bin/ffmpeg -y -i /opt/red5321/webapps/openmeetings/upload/files/701f6192-38ae-4000-837d-f5d0fe77c9e2/701f6192-38ae-4000-837d-f5d0fe77c9e2.avi -c:v h264 -c:a libfaac -c:a libfdk_aac -pix_fmt yuv420p /opt/red5321/webapps/openmeetings/upload/files/701f6192-38ae-4000-837d-f5d0fe77c9e2/701f6192-38ae-4000-837d-f5d0fe77c9e2.mp4 exception: null error: ffmpeg version git-2017-05-04-390c6ee Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18) configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libfreetype --enable-libspeex --enable-libtheora libavutil 55. 61.100 / 55. 61.100 libavcodec 57. 93.100 / 57. 93.100 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 88.100 / 6. 88.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 [avi @ 0x3916420] Could not find codec parameters for stream 1 (Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, 2 channels, s16p, 128 kb/s): unspecified frame size Consider increasing the value for the 'analyzeduration' and 'probesize' options Guessed Channel Layout for Input Stream #0.1 : stereo Input #0, avi, from '/opt/red5321/webapps/openmeetings/upload/files/701f6192-38ae-4000-837d-f5d0fe77c9e2/701f6192-38ae-4000-837d-f5d0fe77c9e2.avi': Duration: 00:00:18.12, start: 0.000000, bitrate: 801 kb/s Stream #0:0: Video: h264 (Main) (H264 / 0x34363248), yuv420p(progressive), 640x480, 739 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 50 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16p, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (mp3 (native) -> aac (libfdk_aac)) Press [q] to stop, [?] for help [libx264 @ 0x394a280] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2 [libx264 @ 0x394a280] profile High, level 3.0 [libx264 @ 0x394a280] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Too many packets buffered for output stream 0:0. [libx264 @ 0x394a280] frame I:1 Avg QP:18.65 size: 3504 [libx264 @ 0x394a280] frame P:122 Avg QP:20.36 size: 1942 [libx264 @ 0x394a280] frame B:6 Avg QP:21.43 size: 349 [libx264 @ 0x394a280] consecutive B-frames: 90.7% 9.3% 0.0% 0.0% [libx264 @ 0x394a280] mb I I16..4: 28.1% 66.2% 5.7% [libx264 @ 0x394a280] mb P I16..4: 1.2% 2.2% 0.1% P16..4: 23.3% 2.7% 2.4% 0.0% 0.0% skip:68.1% [libx264 @ 0x394a280] mb B I16..4: 0.5% 0.4% 0.0% B16..8: 20.2% 0.3% 0.0% direct: 0.2% skip:78.3% L0:31.8% L1:67.9% BI: 0.3% [libx264 @ 0x394a280] 8x8 transform intra:62.7% inter:54.5% [libx264 @ 0x394a280] coded y,uvDC,uvAC intra: 27.5% 23.6% 4.8% inter: 9.0% 10.3% 0.9% [libx264 @ 0x394a280] i16 v,h,dc,p: 36% 36% 21% 7% [libx264 @ 0x394a280] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 16% 46% 2% 1% 1% 1% 1% 1% [libx264 @ 0x394a280] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 23% 26% 4% 3% 3% 3% 4% 4% [libx264 @ 0x394a280] i8c dc,h,v,p: 68% 14% 16% 1% [libx264 @ 0x394a280] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0x394a280] ref P L0: 84.9% 6.2% 6.4% 2.5% [libx264 @ 0x394a280] ref B L0: 69.8% 30.2% [libx264 @ 0x394a280] kb/s:450.85 Conversion failed! exitValue: 1 out: process: previewUpload ID :: 17 command: /usr/local/bin/ffmpeg -y -i /opt/red5321/webapps/openmeetings/upload/files/701f6192-38ae-4000-837d-f5d0fe77c9e2/701f6192-38ae-4000-837d-f5d0fe77c9e2.mp4 -codec:v mjpeg -vframes 1 -an -f rawvideo -s 640x480 /opt/red5321/webapps/openmeetings/upload/files/701f6192-38ae-4000-837d-f5d0fe77c9e2/701f6192-38ae-4000-837d-f5d0fe77c9e2.jpg exception: null error: ffmpeg version git-2017-05-04-390c6ee Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18) configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libfreetype --enable-libspeex --enable-libtheora libavutil 55. 61.100 / 55. 61.100 libavcodec 57. 93.100 / 57. 93.100 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 88.100 / 6. 88.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4271400] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible! [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4271400] moov atom not found /opt/red5321/webapps/openmeetings/upload/files/701f6192-38ae-4000-837d-f5d0fe77c9e2/701f6192-38ae-4000-837d-f5d0fe77c9e2.mp4: Invalid data found when processing input exitValue: 1 out: Вот лог при попытке загрузить другой .avi -файл : process: uploadVideo ID :: 16 command: /usr/local/bin/ffmpeg -y -i /opt/red5321/webapps/openmeetings/upload/files/c3cac35b-a7eb-44b6-afdc-d8e72161faac/c3cac35b-a7eb-44b6-afdc-d8e72161faac.avi -c:v h264 -c:a libfaac -c:a libfdk_aac -pix_fmt yuv420p /opt/red5321/webapps/openmeetings/upload/files/c3cac35b-a7eb-44b6-afdc-d8e72161faac/c3cac35b-a7eb-44b6-afdc-d8e72161faac.mp4 exception: null error: ffmpeg version git-2017-05-04-390c6ee Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18) configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libfreetype --enable-libspeex --enable-libtheora libavutil 55. 61.100 / 55. 61.100 libavcodec 57. 93.100 / 57. 93.100 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 88.100 / 6. 88.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 [avi @ 0x3948420] Could not find codec parameters for stream 1 (Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, 2 channels, s16p, 128 kb/s): unspecified frame size Consider increasing the value for the 'analyzeduration' and 'probesize' options Guessed Channel Layout for Input Stream #0.1 : stereo Input #0, avi, from '/opt/red5321/webapps/openmeetings/upload/files/c3cac35b-a7eb-44b6-afdc-d8e72161faac/c3cac35b-a7eb-44b6-afdc-d8e72161faac.avi': Duration: 00:00:12.75, start: 0.000000, bitrate: 817 kb/s Stream #0:0: Video: h264 (Main) (H264 / 0x34363248), yuv420p(progressive), 640x480, 30.03 fps, 30 tbr, 30.03 tbn, 50 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16p, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (mp3 (native) -> aac (libfdk_aac)) Press [q] to stop, [?] for help [libx264 @ 0x3adb920] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2 [libx264 @ 0x3adb920] profile High, level 3.0 [libx264 @ 0x3adb920] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 frame= 133 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A Too many packets buffered for output stream 0:0. [libx264 @ 0x3adb920] frame I:1 Avg QP:18.06 size: 5478 [libx264 @ 0x3adb920] frame P:124 Avg QP:20.92 size: 1624 [libx264 @ 0x3adb920] frame B:4 Avg QP:24.67 size: 662 [libx264 @ 0x3adb920] consecutive B-frames: 94.6% 3.1% 2.3% 0.0% [libx264 @ 0x3adb920] mb I I16..4: 24.2% 65.3% 10.5% [libx264 @ 0x3adb920] mb P I16..4: 1.8% 1.6% 0.1% P16..4: 29.5% 4.5% 1.3% 0.0% 0.0% skip:61.3% [libx264 @ 0x3adb920] mb B I16..4: 0.2% 0.2% 0.0% B16..8: 20.5% 1.1% 0.2% direct: 0.3% skip:77.4% L0:54.1% L1:39.2% BI: 6.7% [libx264 @ 0x3adb920] 8x8 transform intra:50.0% inter:85.4% [libx264 @ 0x3adb920] coded y,uvDC,uvAC intra: 24.7% 47.8% 5.6% inter: 7.9% 12.6% 0.1% [libx264 @ 0x3adb920] i16 v,h,dc,p: 10% 65% 11% 15% [libx264 @ 0x3adb920] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 34% 31% 2% 3% 2% 6% 1% 3% [libx264 @ 0x3adb920] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 32% 19% 4% 5% 3% 6% 2% 5% [libx264 @ 0x3adb920] i8c dc,h,v,p: 51% 41% 6% 3% [libx264 @ 0x3adb920] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0x3adb920] ref P L0: 86.4% 4.1% 7.7% 1.8% [libx264 @ 0x3adb920] ref B L0: 92.2% 7.5% 0.2% [libx264 @ 0x3adb920] kb/s:389.74 Conversion failed! exitValue: 1 out: process: previewUpload ID :: 16 command: /usr/local/bin/ffmpeg -y -i /opt/red5321/webapps/openmeetings/upload/files/c3cac35b-a7eb-44b6-afdc-d8e72161faac/c3cac35b-a7eb-44b6-afdc-d8e72161faac.mp4 -codec:v mjpeg -vframes 1 -an -f rawvideo -s 640x480 /opt/red5321/webapps/openmeetings/upload/files/c3cac35b-a7eb-44b6-afdc-d8e72161faac/c3cac35b-a7eb-44b6-afdc-d8e72161faac.jpg exception: null error: ffmpeg version git-2017-05-04-390c6ee Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18) configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libfreetype --enable-libspeex --enable-libtheora libavutil 55. 61.100 / 55. 61.100 libavcodec 57. 93.100 / 57. 93.100 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 88.100 / 6. 88.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x369b400] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible! [mov,mp4,m4a,3gp,3g2,mj2 @ 0x369b400] moov atom not found /opt/red5321/webapps/openmeetings/upload/files/c3cac35b-a7eb-44b6-afdc-d8e72161faac/c3cac35b-a7eb-44b6-afdc-d8e72161faac.mp4: Invalid data found when processing input exitValue: 1 out: >Среда, 10 мая 2017, 16:53 +06:00 от Maxim Solodovnik <solomax...@gmail.com>: > >опять же вот этот путь /opt/log/openmeetings.log >очень странный >может проблема с правами? (пользователь, запустивший red5, имеет право >на запись в /opt/webapps/openmeetings? > >2017-05-10 17:50 GMT+07:00 Maxim Solodovnik < solomax...@gmail.com >: >> Последняя версия MySql драйвера 5.1.42 >> приложенный лог - от инсталляции, не от конвертации >> можете по шагам сделать как я написал? >> >> У меня машины для разработки и сервера на Убунте >> на ЦентОС давно не ставил (инструкции пишет Альваро, вроде проверяет как-то) >> >> 2017-05-10 17:47 GMT+07:00 Alexey An < osad...@mail.ru.invalid >: >>> Я готов даже установить не на Centos, если есть проверенный вариант с >>> другим дистрибутивом Линукса. >>> >>> Ранее пытался поставить на Debian 8, там тоже ошибки, но там не получилось >>> даже дойти до конца установки. Столько нужно было искать зависимостей, пока >>> я их нашел и установил, прошло много времени. >>> >>> Устанавливал также на Centos 7.3, та же ошибка что и на текущей версии 6.9 >>> - видео упорно не хочет загружаться. >>> >>> Осталось только пробовать на Ubuntu, но просто на работе стандартно мы >>> работаем только с Debin / Centos. >>> >>> >>> Все вышеприведенные попытки установки делал согласно pdf- мануалам типа >>> 1.Installation OpenMeetings 3.2.1 on Debian 8 и др. >>> >>> Попробовал поменять размер в конфиге max_upload_size: >>> >>> Вместо 1073741824 выставил 8589934592 , перегрузил полностью сервер, >>> ничего не поменялось. >>> >>> >>> Кроме этого установил новую версию MySQL Connector Java версии 5.1.9, >>> скачивал отсюда: >>> >>> http://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.9/ >>> >>> >>> Ничего не помогает! >>> >>> >>> Вот фрагмент лога: >>> >>> >>> [root@om ~]# tail -f /opt/log/openmeetings.log >>> DEBUG 05-04 18:24:27.891 o.a.o.s.q.s.ReminderJob:44 >>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - >>> ReminderJob.remindMeetings >>> WARN 05-04 18:24:27.893 o.a.o.d.d.b.ConfigurationDao:119 >>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - >>> Could not find key in configurations: application.base.url >>> WARN 05-04 18:24:27.895 o.a.o.d.d.b.ConfigurationDao:119 >>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - >>> Could not find key in configurations: number.minutes.reminder.send >>> DEBUG 05-04 18:24:29.230 o.a.o.i.ImportInitvalues:197 [Openmeetings - >>> Installation] - ErrorMappings ADDED >>> DEBUG 05-04 18:24:31.806 o.a.o.i.ImportInitvalues:355 [Openmeetings - >>> Installation] - Configurations ADDED >>> DEBUG 05-04 18:24:32.198 o.a.o.u.c.CryptProvider:32 [Openmeetings - >>> Installation] - getInstanceOfCrypt:: configKeyCryptClassName: >>> org.apache.openmeetings.util.crypt.SHA256Implementation >>> DEBUG 05-04 18:24:32.331 o.a.o.i.ImportInitvalues:440 [Openmeetings - >>> Installation] - Installation - User Added user-Id 1 >>> DEBUG 05-04 18:24:42.912 o.a.o.c.m.MailHandler:279 >>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] - >>> sendMails enter ... >>> DEBUG 05-04 18:24:42.917 o.a.o.c.m.MailHandler:281 >>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] - >>> Number of emails in init queue 0 >>> DEBUG 05-04 18:24:42.917 o.a.o.c.m.MailHandler:286 >>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] - >>> ... sendMails done. >>> >>> >>> >>> Ошибки самой конвертации не вижу нигде. (((( >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>>Среда, 10 мая 2017, 15:55 +06:00 от Maxim Solodovnik < solomax...@gmail.com >>>>>: >>>> >>>>с этим Cetos'ом вечно что-то не слава богу >>>>в Админ->Конфиг максимальный размер файла не меняли? >>>> >>>>проблемы только в большими mp4? большие avi работают? >>>>можно кусок лога "в момент загрузки файла" >>>> >>>>то есть >>>>1) дойти до загрузки >>>>2) в отдельной консоли сказать tail -f openmeetings.log >>>>3) получить ошибку конвертации >>>>4) остановить tail >>>>5) выслать лог >>>> >>>>2017-05-10 16:50 GMT+07:00 Alexey An < osad...@mail.ru.invalid >: >>>>> Добрый день. >>>>> >>>>> В том-то и дело, что этот файл не появляется в списке, т.к. он не может >>>>> загрузиться. >>>>> Т.е., выходит стандартная ошибка и все. >>>>> >>>>> >>>>> Прикладываю атачмент со скриншотами чтобы легче было. >>>>> >>>>> >>>>> Куда копать можно еще? >>>>> >>>>> >>>>> Среда, 10 мая 2017, 15:26 +06:00 от Maxim Solodovnik < >>>>> solomax...@gmail.com >: >>>>> >>>>> день добрый >>>>> обычно, если файл не сконвертировался, в дереве, рядом с вновь >>>>> появившимся файлом, появляется значок ошибки >>>>> на него можно кликнуть и посмотреть "что в деталях" не так >>>>> >>>>> 2017-05-10 16:17 GMT+07:00 Alexey An < osad...@mail.ru.invalid >: >>>>>> >>>>>> Добрый день! >>>>>> >>>>>> >>>>>> Просьба подсказать следующее. Следующей проблемой касательно видеофайлов >>>>>> занимаюсь уже неделю и никак не могу ее решить. >>>>>> >>>>>> Centos 6.9. 64 bit+ последние обновления в качестве виртуальной машины >>>>>> (первый вариант) и напрямую установлен на ПК (второй вариант) >>>>>> >>>>>> Версия Openmeetings: >>>>>> >>>>>> Наименование >>>>>> OpenMeetings >>>>>> Версия >>>>>> 3.2.1 >>>>>> Ревизия >>>>>> 1787288 >>>>>> Дата билда >>>>>> 2017/03/17 05:19 >>>>>> >>>>>> >>>>>> Установку делал почти все согласно руководству Installation OpenMeetings >>>>>> 3.2.1 on Centos 6.8.pdf , написанную Alvaro Bustos . >>>>>> >>>>>> Единственное, пункт 9 касательно установки FFMPEG по указанному скрипту у >>>>>> меня не сработало до конца.Точнее установка скрипта заканчивается тем, >>>>>> что >>>>>> path to x.265 not found. >>>>>> Соот-но, ошибка заключалась в том, что при первом запуске OM и где нужно >>>>>> указать пути, указание пути /usr/local/bin напротив параметра FFMPEG >>>>>> выдал >>>>>> ошибку, что FFMPEG не найден по такому пути. Поэтому при вводе команды >>>>>> ffmpeg в Linux выдается ошибка, что не найдена такая команда. >>>>>> >>>>>> Нашел альтернативный скрипт https://gist.github.com/mustafaturan/7053900 >>>>>> под названием latest-ffmpeg-centos6.sh. Отличие только в том, что в этом >>>>>> скрипте нет данных по x.265, но обойдусь без него. >>>>>> >>>>>> Установка этого скрипта проходит без проблем. Запуск команды ffmpeg >>>>>> проходит как полагается, т.е. выдается информация о наличии таких-то >>>>>> кодеков. >>>>>> >>>>>> ОМ запускается и работает без проблем за исключением только загрузки >>>>>> видеороликов. >>>>>> >>>>>> При входе в любую комнату и попытке добавить видео (например .mp4) через >>>>>> выходит ошибка " Во время обработки файла произошла ошибка " >>>>>> >>>>>> При этом заметил, что короткие видеофайлы размером примерно 3 мб грузятся >>>>>> и воспроизводятся нормально, а размером от 30 мб и выше никак не хотят >>>>>> загружаться. >>>>>> >>>>>> В логах ничего подозрительного не нашел. Прикладываю кусок: >>>>>> >>>>>> >>>>>> DEBUG 05-05 11:42:14.319 SessiondataDao.java 60309581 191 >>>>>> org.apache.openmeetings.db.dao.server.SessiondataDao >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-5] - >>>>>> ****** clearSessionTable: >>>>>> DEBUG 05-05 11:42:14.321 SessiondataDao.java 60309583 193 >>>>>> org.apache.openmeetings.db.dao.server.SessiondataDao >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-5] - >>>>>> clearSessionTable: 0 >>>>>> DEBUG 05-05 11:42:14.325 ReminderJob.java 60309587 44 >>>>>> org.apache.openmeetings.service.quartz.scheduler.ReminderJob >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-6] - >>>>>> ReminderJob.remindMeetings >>>>>> DEBUG 05-05 11:43:06.330 MailHandler.java 60361592 267 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-7] - >>>>>> resetSendingStatus enter ... >>>>>> DEBUG 05-05 11:43:06.331 MailHandler.java 60361593 279 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] - >>>>>> sendMails enter ... >>>>>> DEBUG 05-05 11:43:06.332 MailHandler.java 60361594 281 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] - >>>>>> Number of emails in init queue 0 >>>>>> DEBUG 05-05 11:43:06.332 MailHandler.java 60361594 286 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] - >>>>>> ... sendMails done. >>>>>> DEBUG 05-05 11:43:06.332 MailHandler.java 60361594 274 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-7] - >>>>>> ... resetSendingStatus done. >>>>>> DEBUG 05-05 11:43:09.327 MailHandler.java 60364589 267 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-7] - >>>>>> resetSendingStatus enter ... >>>>>> DEBUG 05-05 11:43:09.330 MailHandler.java 60364592 274 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-7] - >>>>>> ... resetSendingStatus done. >>>>>> DEBUG 05-05 11:43:09.332 MailHandler.java 60364594 279 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-1] - >>>>>> sendMails enter ... >>>>>> DEBUG 05-05 11:43:09.333 MailHandler.java 60364595 281 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-1] - >>>>>> Number of emails in init queue 0 >>>>>> DEBUG 05-05 11:43:09.333 MailHandler.java 60364595 286 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-1] - >>>>>> ... sendMails done. >>>>>> DEBUG 05-05 11:43:51.327 ReminderJob.java 60406589 44 >>>>>> org.apache.openmeetings.service.quartz.scheduler.ReminderJob >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-1] - >>>>>> ReminderJob.remindMeetings >>>>>> DEBUG 05-05 11:43:54.326 ReminderJob.java 60409588 44 >>>>>> org.apache.openmeetings.service.quartz.scheduler.ReminderJob >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] - >>>>>> ReminderJob.remindMeetings >>>>>> DEBUG 05-05 11:44:06.344 MailHandler.java 60421606 279 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] - >>>>>> sendMails enter ... >>>>>> DEBUG 05-05 11:44:06.345 MailHandler.java 60421607 281 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] - >>>>>> Number of emails in init queue 0 >>>>>> DEBUG 05-05 11:44:06.345 MailHandler.java 60421607 286 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] - >>>>>> ... sendMails done. >>>>>> DEBUG 05-05 11:44:09.346 MailHandler.java 60424608 279 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10] >>>>>> - >>>>>> sendMails enter ... >>>>>> DEBUG 05-05 11:44:09.347 MailHandler.java 60424609 281 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10] >>>>>> - >>>>>> Number of emails in init queue 0 >>>>>> DEBUG 05-05 11:44:09.347 MailHandler.java 60424609 286 >>>>>> org.apache.openmeetings.core.mail.MailHandler >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10] >>>>>> - >>>>>> ... sendMails done. >>>>>> >>>>>> ################################ >>>>>> >>>>>> [root@om log]# tail -f /opt/log/openmeetings.log >>>>>> >>>>>> DEBUG 05-04 18:24:27.891 o.a.o.s.q.s.ReminderJob:44 >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - >>>>>> ReminderJob.remindMeetings >>>>>> WARN 05-04 18:24:27.893 o.a.o.d.d.b.ConfigurationDao:119 >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - >>>>>> Could not find key in configurations: application.base.url >>>>>> WARN 05-04 18:24:27.895 o.a.o.d.d.b.ConfigurationDao:119 >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-8] - >>>>>> Could not find key in configurations: number.minutes.reminder.send >>>>>> DEBUG 05-04 18:24:29.230 o.a.o.i.ImportInitvalues:197 [Openmeetings - >>>>>> Installation] - ErrorMappings ADDED >>>>>> DEBUG 05-04 18:24:31.806 o.a.o.i.ImportInitvalues:355 [Openmeetings - >>>>>> Installation] - Configurations ADDED >>>>>> DEBUG 05-04 18:24:32.198 o.a.o.u.c.CryptProvider:32 [Openmeetings - >>>>>> Installation] - getInstanceOfCrypt:: configKeyCryptClassName: >>>>>> org.apache.openmeetings.util.crypt.SHA256Implementation >>>>>> DEBUG 05-04 18:24:32.331 o.a.o.i.ImportInitvalues:440 [Openmeetings - >>>>>> Installation] - Installation - User Added user-Id 1 >>>>>> DEBUG 05-04 18:24:42.912 o.a.o.c.m.MailHandler:279 >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] - >>>>>> sendMails enter ... >>>>>> DEBUG 05-04 18:24:42.917 o.a.o.c.m.MailHandler:281 >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] - >>>>>> Number of emails in init queue 0 >>>>>> DEBUG 05-04 18:24:42.917 o.a.o.c.m.MailHandler:286 >>>>>> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-9] - >>>>>> ... sendMails done. >>>>>> ###################### >>>>>> [root@om log]# tail -f /opt/log/ >>>>>> openmeetings.log red5.log >>>>>> [root@om log]# tail -f /opt/log/red5.log >>>>>> 2017-05-04 18:24:32,409 [Openmeetings - Installation] WARN >>>>>> o.a.openmeetings.db.dao.room.SipDao - There is no Asterisk configured >>>>>> 2017-05-04 18:24:32,554 [Openmeetings - Installation] WARN >>>>>> o.a.openmeetings.db.dao.room.SipDao - There is no Asterisk configured >>>>>> 2017-05-04 18:24:32,610 [Openmeetings - Installation] WARN >>>>>> o.a.openmeetings.db.dao.room.SipDao - There is no Asterisk configured >>>>>> 2017-05-04 18:24:32,677 [Openmeetings - Installation] WARN >>>>>> o.a.openmeetings.db.dao.room.SipDao - There is no Asterisk configured >>>>>> 2017-05-04 18:24:32,733 [Openmeetings - Installation] WARN >>>>>> o.a.openmeetings.db.dao.room.SipDao - There is no Asterisk configured >>>>>> 2017-05-04 18:24:32,789 [Openmeetings - Installation] WARN >>>>>> o.a.openmeetings.db.dao.room.SipDao - There is no Asterisk configured >>>>>> 2017-05-04 18:24:32,861 [Openmeetings - Installation] WARN >>>>>> o.a.openmeetings.db.dao.room.SipDao - There is no Asterisk configured >>>>>> 2017-05-04 18:24:32,923 [Openmeetings - Installation] WARN >>>>>> o.a.openmeetings.db.dao.room.SipDao - There is no Asterisk configured >>>>>> 2017-05-04 18:24:32,990 [Openmeetings - Installation] WARN >>>>>> o.a.openmeetings.db.dao.room.SipDao - There is no Asterisk configured >>>>>> 2017-05-04 18:24:33,073 [Openmeetings - Installation] WARN >>>>>> o.a.openmeetings.db.dao.room.SipDao - There is no Asterisk configured >>>>>> >>>>>> >>>>>> Что еще заметил по этой проблеме . >>>>>> >>>>>> Дома устанавливал то же самое на Vmware Workstation 12, при этом часть >>>>>> видеороликов, которые не запускались ранее, начинают проигрывать. >>>>>> >>>>>> На работе мы используем гипервизор KVM + Proxmox VE. Установка виртуалки >>>>>> и >>>>>> запуск того же ролика идет с отрицательным результатом, т.е. ошибка " Во >>>>>> время обработки файла произошла ошибка " >>>>>> >>>>>> >>>>>> Пробовал установить то же самое на ПК с параметрами: >>>>>> >>>>>> Intel i5 шестого поколения >>>>>> ОЗУ 8 GB >>>>>> Video встроенная >>>>>> HDD 120 Gb >>>>>> >>>>>> Результат - проигрывание мелких файлов в mpg4 или avi проходит нормально, >>>>>> а размером больше также не проигрываются. >>>>>> >>>>>> Устал уже бороться с этой проблемой, просьба большая подсказать куда >>>>>> копать? >>>>>> >>>>>> >>>>>> C уважением, Алексей. >>>>> >>>>> >>>>> >>>>> -- >>>>> WBR >>>>> Maxim aka solomax >>>>> >>>>> >>>>> >>>>> C уважением, Алексей. >>>> >>>> >>>> >>>>-- >>>>WBR >>>>Maxim aka solomax >>> >>> >>> C уважением, Алексей. >> >> >> >> -- >> WBR >> Maxim aka solomax > > > >-- >WBR >Maxim aka solomax C уважением, Алексей. * Выход * Файл * Действия Публичная комната для видео с доской * Участники * Документы Мои файлы (Локальное устройство) Paris.jpg ownCloud Manual.pdf tz2.doc Услуги по роумингу.ppt 1000a.avi 1011aa_00001.avi 1117aa.avi Logan_2016_WEBRip_by_Dalemake.avi test.avi Файлы из комнаты (Общее устройство) Мои записи Публичные записи Публичные записи (Alstron) Размер домашнего накопителя 740.3 MB Размер публичного накопителя 0 Активность и действия Чат * Все * Комната: 4 :) A B I S U Отправить Во время обработки файла произошла ошибка Close Код выхода Сообщения конвертации 1 process: uploadVideo ID :: 17 command: /usr/local/bin/ffmpeg -y -i /opt/red5321/webapps/openmeetings/upload/files/701f6192-38ae-4000-837d-f5d0fe77c9e2/701f6192-38ae-4000-837d-f5d0fe77c9e2.avi -c:v h264 -c:a libfaac -c:a libfdk_aac -pix_fmt yuv420p /opt/red5321/webapps/openmeetings/upload/files/701f6192-38ae-4000-837d-f5d0fe77c9e2/701f6192-38ae-4000-837d-f5d0fe77c9e2.mp4 exception: null error: ffmpeg version git-2017-05-04-390c6ee Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18) configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libfreetype --enable-libspeex --enable-libtheora libavutil 55. 61.100 / 55. 61.100 libavcodec 57. 93.100 / 57. 93.100 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 88.100 / 6. 88.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 [avi @ 0x3916420] Could not find codec parameters for stream 1 (Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, 2 channels, s16p, 128 kb/s): unspecified frame size Consider increasing the value for the 'analyzeduration' and 'probesize' options Guessed Channel Layout for Input Stream #0.1 : stereo Input #0, avi, from '/opt/red5321/webapps/openmeetings/upload/files/701f6192-38ae-4000-837d-f5d0fe77c9e2/701f6192-38ae-4000-837d-f5d0fe77c9e2.avi': Duration: 00:00:18.12, start: 0.000000, bitrate: 801 kb/s Stream #0:0: Video: h264 (Main) (H264 / 0x34363248), yuv420p(progressive), 640x480, 739 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 50 tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16p, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (mp3 (native) -> aac (libfdk_aac)) Press [q] to stop, [?] for help [libx264 @ 0x394a280] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2 [libx264 @ 0x394a280] profile High, level 3.0 [libx264 @ 0x394a280] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Too many packets buffered for output stream 0:0. [libx264 @ 0x394a280] frame I:1 Avg QP:18.65 size: 3504 [libx264 @ 0x394a280] frame P:122 Avg QP:20.36 size: 1942 [libx264 @ 0x394a280] frame B:6 Avg QP:21.43 size: 349 [libx264 @ 0x394a280] consecutive B-frames: 90.7% 9.3% 0.0% 0.0% [libx264 @ 0x394a280] mb I I16..4: 28.1% 66.2% 5.7% [libx264 @ 0x394a280] mb P I16..4: 1.2% 2.2% 0.1% P16..4: 23.3% 2.7% 2.4% 0.0% 0.0% skip:68.1% [libx264 @ 0x394a280] mb B I16..4: 0.5% 0.4% 0.0% B16..8: 20.2% 0.3% 0.0% direct: 0.2% skip:78.3% L0:31.8% L1:67.9% BI: 0.3% [libx264 @ 0x394a280] 8x8 transform intra:62.7% inter:54.5% [libx264 @ 0x394a280] coded y,uvDC,uvAC intra: 27.5% 23.6% 4.8% inter: 9.0% 10.3% 0.9% [libx264 @ 0x394a280] i16 v,h,dc,p: 36% 36% 21% 7% [libx264 @ 0x394a280] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 16% 46% 2% 1% 1% 1% 1% 1% [libx264 @ 0x394a280] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 23% 26% 4% 3% 3% 3% 4% 4% [libx264 @ 0x394a280] i8c dc,h,v,p: 68% 14% 16% 1% [libx264 @ 0x394a280] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 0x394a280] ref P L0: 84.9% 6.2% 6.4% 2.5% [libx264 @ 0x394a280] ref B L0: 69.8% 30.2% [libx264 @ 0x394a280] kb/s:450.85 Conversion failed! exitValue: 1 out: 1 process: previewUpload ID :: 17 command: /usr/local/bin/ffmpeg -y -i /opt/red5321/webapps/openmeetings/upload/files/701f6192-38ae-4000-837d-f5d0fe77c9e2/701f6192-38ae-4000-837d-f5d0fe77c9e2.mp4 -codec:v mjpeg -vframes 1 -an -f rawvideo -s 640x480 /opt/red5321/webapps/openmeetings/upload/files/701f6192-38ae-4000-837d-f5d0fe77c9e2/701f6192-38ae-4000-837d-f5d0fe77c9e2.jpg exception: null error: ffmpeg version git-2017-05-04-390c6ee Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18) configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libfreetype --enable-libspeex --enable-libtheora libavutil 55. 61.100 / 55. 61.100 libavcodec 57. 93.100 / 57. 93.100 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 88.100 / 6. 88.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4271400] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible! [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4271400] moov atom not found /opt/red5321/webapps/openmeetings/upload/files/701f6192-38ae-4000-837d-f5d0fe77c9e2/701f6192-38ae-4000-837d-f5d0fe77c9e2.mp4: Invalid data found when processing input exitValue: 1 out: