Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Uploaded Video Files Stay in Pending Videos Section

11 years 11 months ago
Licenses:
JomSocial Expired Socialize Expired

Hi JomSocial Team,

Problem: Uploaded video files stay in pending video section.

- make sure that FFMPEG is properly installed on your server (Yes, FFMPEG is installed in the server and it is running - I have onfirmed this with web hosting provider)

- make sure that path to FFMPEg is correct in videos configuration in JomSocial (FFMPEg is correct in videos configuration in JomSocial - I have onfirmed this with web hosting provider)

- make sure that FFMPEG is in one of recent versions (Yes, FFMPEG is in one of recent versions - I have onfirmed this with web hosting provider)

- also make sure that cron job is properly configured (Yes, cron job is properly configured).

When I ran Cron Job I got:

<messages><message>Could not convert video</message><message>No temporary videos to delete.</message><message>No files to transfer.</message><message>No Videos to transfer.</message><message>No avatars or cover of users needed to be transferred</message><message>No avatars or cover of groups needed to be transferred</message><message>Removed Pending Invitation for Past Event</message></messages>

Please help!

11 years 11 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

HI Galal,

Would you mind provide me FTP access please? I will inspect the code directly..

thank you!

11 years 11 months ago
Licenses:
JomSocial Expired Socialize Expired

I have edited the post to provide FTP access.

11 years 11 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Galal,

Please you run this in your server command form, and what do you get then..

/usr/bin/ffmpeg -y -i /home/yellasawa/public_html/images/originalvideos/303/o35imquhzeL.mp4 -vcodec libx264 -acodec aac -ab 64k -strict -2 -crf 23 -s 480x360  /home/yellasawa/public_html/images/videos/303/j8FKhGU3A3Z.mp4

thank you

11 years 11 months ago
Licenses:
JomSocial Expired Socialize Expired

Hi Dimas,
Now when I visit my website home page I get the following error:

Fatal error: Class 'CVideos' not found in /home/yellasawa/public_html/components/com_community/templates/default/activities.videos.php on line 56

Regarding the server command form, here what I got:

root@vps-687 [~]# /usr/bin/ffmpeg -y -i
/home/yellasawa/public_html/images/originalvideos/303/o35imquhzeL.mp4
-vcodec libx264 -acodec aac -ab 64k -strict -2 -crf 23 -s 480x360
/home/yellasawa/public_html/images/videos/303/j8FKhGU3A3Z.mp4
FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
configuration: --prefix=/usr --libdir=/usr/lib64
--shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include
--disable-avisynth --extra-cflags='-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter
--enable-avfilter-lavf --enable-libdc1394 --enable-libdirac
--enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm
--enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl
--enable-nonfree --enable-postproc --enable-pthreads --enable-shared
--enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0

Seems stream 0 codec frame rate differs from container frame rate:
180000.00 (180000/1) -> 90000.00 (180000/2)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/home/yellasawa/public_html/images/originalvideos/303/o35imquhzeL.mp4':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: isom3gp4
Duration: 00:00:07.61, start: 0.000000, bitrate: 16570 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 1920x1080, 17082 kb/s,
30.01 fps, 90k tbr, 90k tbn, 180k tbc
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 123 kb/s
[libx264 @ 0x95d960]broken ffmpeg default settings detected
[libx264 @ 0x95d960]use an encoding preset (e.g. -vpre medium)
[libx264 @ 0x95d960]preset usage: -vpre <speed> -vpre <profile>
[libx264 @ 0x95d960]speed presets are listed in x264 --help
[libx264 @ 0x95d960]profile is optional; x264 defaults to high
Output #0, mp4, to
'/home/yellasawa/public_html/images/videos/303/j8FKhGU3A3Z.mp4':
Stream #0.0(eng): Video: libx264, yuv420p, 480x360, q=2-31, 200
kb/s, 90k tbn, 90k tbc
Stream #0.1(eng): Audio: libfaac, 48000 Hz, stereo, s16, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height
root@vps-687 [~]#

11 years 11 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

Please you try this one :

/usr/bin/ffmpeg -y -i /home/yellasawa/public_html/images/originalvideos/303/o35imquhzeL.mp4 -vcodec libx264 -acodec aac -ab 32k -strict -2 -crf 23 -s 480x360  /home/yellasawa/public_html/images/videos/303/j8FKhGU3A3Z.mp4

anyway, the error is gone now..

thank you

11 years 11 months ago
Licenses:
JomSocial Expired Socialize Expired

Hi Dimas,

Here is the output:

root@vps-687 [~]# /usr/bin/ffmpeg -y -i
/home/yellasawa/public_html/images/originalvideos/303/o35imquhzeL.mp4
-vcodec libx264 -acodec aac -ab 32k -strict -2 -crf 23 -s 480x360
/home/yellasawa/public_html/images/videos/303/j8FKhGU3A3Z.mp4
FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
configuration: --prefix=/usr --libdir=/usr/lib64
--shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include
--disable-avisynth --extra-cflags='-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter
--enable-avfilter-lavf --enable-libdc1394 --enable-libdirac
--enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm
--enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl
--enable-nonfree --enable-postproc --enable-pthreads --enable-shared
--enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0

Seems stream 0 codec frame rate differs from container frame rate:
180000.00 (180000/1) -> 90000.00 (180000/2)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/home/yellasawa/public_html/images/originalvideos/303/o35imquhzeL.mp4':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: isom3gp4
Duration: 00:00:07.61, start: 0.000000, bitrate: 16570 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 1920x1080, 17082 kb/s,
30.01 fps, 90k tbr, 90k tbn, 180k tbc
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 123 kb/s
[libx264 @ 0xf50960]broken ffmpeg default settings detected
[libx264 @ 0xf50960]use an encoding preset (e.g. -vpre medium)
[libx264 @ 0xf50960]preset usage: -vpre <speed> -vpre <profile>
[libx264 @ 0xf50960]speed presets are listed in x264 --help
[libx264 @ 0xf50960]profile is optional; x264 defaults to high
Output #0, mp4, to
'/home/yellasawa/public_html/images/videos/303/j8FKhGU3A3Z.mp4':
Stream #0.0(eng): Video: libx264, yuv420p, 480x360, q=2-31, 200
kb/s, 90k tbn, 90k tbc
Stream #0.1(eng): Audio: libfaac, 48000 Hz, stereo, s16, 32 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height
root@vps-687 [~]#


11 years 11 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Galal,

Ah I see..Please you read this www.dropbox.com/s/vhekitc2zkxo9s8/FFMPEG...Centos%206X.pdf?dl=0 and try to follow that doc for how to debug and fix this issue.

thank you

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW