By EveryWishEveryStar on Monday, 30 April 2018
Posted in Technical Issues
Replies 4
Likes 0
Views 670
Votes 0
I am having trouble with videos processing. The encoding gets stuck at zero no matter what I do and how far I search.
I have been in contact numerous times with my server. They have given me the best ffmpeg they can, which should be the v.2.8.x ffmpeg.

This is the information they gave me;

This static ffmpeg version is linked to the previous filepath we had sent you:
/usr/local/bin/ffmpeg-new

Here is the full output for this specific ffmpeg version:
# /opt/icert/bin/ffmpeg-new -version
ffmpeg version N-45774-g223f3dff8-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-libxml2 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libfribidi --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg
libavutil 56. 15.100 / 56. 15.100
libavcodec 58. 19.100 / 58. 19.100
libavformat 58. 13.100 / 58. 13.100
libavdevice 58. 4.100 / 58. 4.100
libavfilter 7. 18.100 / 7. 18.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100
libpostproc 55. 2.100 / 55. 2.100

Any help would be so very much appreciated! =)
Thank you guys!
It seems like your FFmpeg return this following log message when encoding the video :


ffmpeg version N-45774-g223f3dff8-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-libxml2 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libfribidi --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg
libavutil 56. 15.100 / 56. 15.100
libavcodec 58. 19.100 / 58. 19.100
libavformat 58. 13.100 / 58. 13.100
libavdevice 58. 4.100 / 58. 4.100
libavfilter 7. 18.100 / 7. 18.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100
libpostproc 55. 2.100 / 55. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/elevent1/public_html/media/com_easysocial/videos/16/02a2d43eba379f2248d246405b7fa434':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2015-04-02T10:12:46.000000Z
Duration: 00:00:29.10, start: 0.000000, bitrate: 134 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 1064x720 [SAR 1:1 DAR 133:90], 132 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)
Metadata:
creation_time : 2015-04-02T10:12:46.000000Z
handler_name : Mainconcept MP4 Video Media Handler
encoder : AVC Coding
Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (/home/elevent1/public_html/media/com_easysocial/videos/16/f6e4c990.mp4) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x6257380] using SAR=1/1
[libx264 @ 0x6257380] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!


Currently i have no ideas why it shown these error yet, It might be the most FFmpeg version is not compatible with Easysocial, perhaps you can request with your webhosting provider to re-check again whether that is possible to install FFmpeg 2.8.x version ? Because different of FFmpeg version, it might be those command syntax also different.
·
Monday, 30 April 2018 21:07
·
0 Likes
·
0 Votes
·
0 Comments
·
I forwarded this to them asking them to take a look and possibly install the 2.8.x version.

They will be poking around the admin as well.

"Where you are configuring the specific video conversion scripts and modules." -server

I gave them these paths. Are there more they should look at?
/home/elevent1/public_html/media/com_easysocial/videos/
/home/elevent1/public_html/components/com_easysocial/controllers/videos.php

I will keep you updated if they find something.

Thank you guys for all the help!
·
Tuesday, 01 May 2018 03:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi guys,

Well my server got back with me... there next 2 versions they both return NULL...
I have also disabled everything i use from techjoomla. every com, plg and mod... Still nothing =/

**From Server
We have added FFMPEG 2.8.14 to your account. The path is:
/home/elevent1/bin/ffmpeg2.8.14 =ENCODING NULL%

There is also FFPROBE available:
/home/elevent1/bin/ffprobe2.8.14 =ENCODING NULL%

/opt/icert/bin/ffmpeg-new =ENCODING 0%


Not sure what is going on here lol
·
Tuesday, 01 May 2018 09:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a public holiday for us here.

Thanks for getting back to us, it seems like your FFmpeg return this error which is better than before


ffmpeg version 2.8.14 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18)
configuration:
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
Unrecognized option 'crf'.
Error splitting the argument list: Option not found


Based on what i read those forum post who having the same issue with this, it seems like you doesn't install/compile this libx264 library into your FFmpeg, 2.8.14 can you try read this following Compilation Guide if it help much you here? Or you can just pass to your webhosting provider who handle your case regarding this.

https://trac.ffmpeg.org/wiki/CompilationGuide/Centos

Keep us updated then.
·
Tuesday, 01 May 2018 10:50
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post