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.

cron could not convert video

9 years 8 months ago
Licenses:
JomSocial Expired

I have a problem with uploading videos. link for cron job gives me this message

<messages><message>Could not convert video</message><message>No temporary videos to delete...

The video stays in pending even though my hosting fullfills all requirements.
Hwd mediashare is able to convert videos and fetch thumbnails without problems so I know that the server can do it.

Please Help. I thought video upload would be fixed with version 3.2

The following user(s) said Thank You: samanet
9 years 8 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Camron,

May i know your os server, what os server are you using? Also you already installed ffmpeg right?

Thx

9 years 8 months ago
Licenses:
JomSocial Expired

Hi Dimas,

have linux on cirtex shared hosting. Yes they have installed ffmpeg. all of their servers have ffmpeg. I made sure I chose a server that supports video website hosting.

As you can see here this video was properly processed on the same server by the hwdmediashare extension
oveemo.com/index.php?option=com_hwdmedia...1&Itemid=297&lang=en

PS: i just tested upploading a video from iphone (.mov) and upload and conversion was successfull.

uploading .mp4 video gives me unsupoorted format error
and .3gp from android is still not being converted.

Also the video player in 3.2 is still Flash.
Jomsocial advertised mobile video. Most mobile platforms dont support flash. this has allready been discussed here 8 months ago

www.jomsocial.com/forum/photos-videos/89...g-on-mobile?start=42

Not happy!!!

I have had my subscription for 6 months now and this is still not fixed. I dont think I should have to pay for a license renewal If the advertised function never worked.

Untill You get this fixed how can I replace the "upload video" button with a link to a different page?

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

Hi Camron,

I just uploaded the video and can be converted very will, look at here oveemo.com/index.php?option=com_communit...6&Itemid=281&lang=en

Well, the Pseudo streaming is not supported with html5 video, so it wont work on mobile.. if you set Pseudo setting to yes, the video code will use the flash player instead html5 video.

thx

9 years 8 months ago
Licenses:
JomSocial Expired

Thank you,
My mistake about the flash issue then I am glad.
I still have videos stuck in pending even though very short videos are being processed.
Videos longer than 10 or 20 seconds dont seem to be processed.

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

hi Camron,

Can you provide me the sample video, please? I will try it on my end, I afraid this issue caused by your own video, which that video encode already broken.

thank you

9 years 8 months ago
Licenses:
JomSocial Expired

Sure

Video1 0002-MakeUp.mov 15mb
When trying to upload this I get "video file type not supported" error even though I have already successfully uploaded and converted 2 mb .mov files.
oveemo.com/0002-MakeUp.mov

video2 20140813_164606.3gpp 519.4 kB when uploading from pc also gives me "video file type not supported" but I can upload it from my "samsung galaxy expression" but even when uploaded jomsocial will not convert this file.
oveemo.com/20140813_164606.3gpp

also I am unable to upload videos that have been saved on iphone and Ipad because files are compressed by the device and renamed trim.name.mov instead of name.mov

Thanks

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

this extension is .3gpp (oveemo.com/20140813_164606.3gpp) i replaced to 3gp and uploaded fine..

Anyway, can you run this code on your server and let me know how it goes ?

/usr/bin/ffmpeg -y -i /home/zencuben/public_html/oveemo.com/images/originalvideos/957/tlcOM5gAP81.3gp -vcodec libx264 -acodec aac -ab 64k -strict -2 -crf 23 -s 480x360  /home/zencuben/public_html/oveemo.com/images/videos/957/OAYWbd5QF75.mp4

thank you

9 years 8 months ago
Licenses:
JomSocial Expired

I will get back to you after running the code ASAP. however .3gpp is the file created by my "samsung galaxy expression" and I can't change it to .3gp when uploading video from my phone.

I don't understand why this file is created as .3gpp but I guess this is something that needs to be compensated for by the jomsocial script

9 years 8 months ago
Licenses:
JomSocial Expired

Here is the response given to me after running your code on my server

root@usc25 [~]# /usr/bin/ffmpeg -y -i /home/zencuben/public_html/oveemo.com/images/originalvideos/957/tlcOM5gAP81.3gp -vcodec libx264 -acodec aac -ab 64k -strict -2 -crf 23 -s 480x360 /home/zencuben/public_html/oveemo.com/images/videos/957/OAYWbd5QF75.mp4
ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers
  built on Apr  1 2013 12:12:33 with gcc 4.4.7 20120313 (Red Hat 4.4.7-3)
  configuration: --prefix=/usr --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libfaac --enable-libmp3lame --enable-libopenjpeg --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib
  libavutil    50. 43. 0 / 50. 43. 0
  libavcodec   52.123. 0 / 52.123. 0
  libavformat  52.111. 0 / 52.111. 0
  libavdevice  52.  5. 0 / 52.  5. 0
  libavfilter   1. 80. 0 /  1. 80. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/zencuben/public_html/oveemo.com/images/originalvideos/957/tlcOM5gAP81.3gp':
  Metadata:
    major_brand     : 3gp4
    minor_version   : 0
    compatible_brands: isom3gp4
    creation_time   : 2014-08-13 20:46:44
  Duration: 00:00:37.86, start: 0.000000, bitrate: 109 kb/s
    Stream #0.0(eng): Video: h263, yuv420p, 176x144 [PAR 12:11 DAR 4:3], 95 kb/s, 14.99 fps, 29.97 tbr, 90k tbn, 29.97 tbc
    Metadata:
      creation_time   : 2014-08-13 20:46:44
    Stream #0.1(eng): Audio: amrnb, 8000 Hz, 1 channels, flt, 12 kb/s
    Metadata:
      creation_time   : 2014-08-13 20:46:44
Incompatible sample format 'flt' for codec 'aac', auto-selecting format 's16'
[buffer @ 0x1212d20] w:176 h:144 pixfmt:yuv420p tb:1/1000000 sar:12/11 sws_param:
[scale @ 0x1212400] w:176 h:144 fmt:yuv420p -> w:480 h:360 fmt:yuv420p flags:0x4
[libx264 @ 0x1219ba0] Default settings detected, using medium profile
[libx264 @ 0x1219ba0] using SAR=1/1
[libx264 @ 0x1219ba0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x1219ba0] profile High, level 3.0
[libx264 @ 0x1219ba0] 264 - core 130 r2274 c832fe9 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - 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=1 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
[aac @ 0x123a260] Too many bits per frame requested
Output #0, mp4, to '/home/zencuben/public_html/oveemo.com/images/videos/957/OAYWbd5QF75.mp4':
    Stream #0.0(eng): Video: libx264, yuv420p, 480x360 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
    Metadata:
      creation_time   : 2014-08-13 20:46:44
    Stream #0.1(eng): Audio: libfaac, 8000 Hz, 1 channels, s16, 64 kb/s
    Metadata:
      creation_time   : 2014-08-13 20:46:44
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height

My server admin says: "It appears that the specified bitrate is too high:
[aac @ 0x123a260] Too many bits per frame requested"

Does this help?

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

I see , can you ask again to your server admin for the solution of bitrate? because this issue something happens of several server, but that is very rare..

thank you

9 years 7 months ago
Licenses:
JomSocial Expired

Here's the response from my server admin. I hope this helps.

Hi,

You are most welcome. I think there isn't a specific maximum rate other than it must not exceed that of the source (otherwise logically it wouldn't be possible to process). In this instance I lowered it from 64k to 32k and no error was returned:

root@usc25 [~]# /usr/bin/ffmpeg -y -i /home/zencuben/public_html/oveemo.com/images/originalvideos/957/tlcOM5gAP81.3gp -vcodec libx264 -acodec aac -ab 32k -strict -2 -crf 23 -s 480x360 /home/zencuben/public_html/oveemo.com/images/videos/957/OAYWbd5QF75.mp4
ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers
  built on Apr  1 2013 12:12:33 with gcc 4.4.7 20120313 (Red Hat 4.4.7-3)
  configuration: --prefix=/usr --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libfaac --enable-libmp3lame --enable-libopenjpeg --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib
  libavutil    50. 43. 0 / 50. 43. 0
  libavcodec   52.123. 0 / 52.123. 0
  libavformat  52.111. 0 / 52.111. 0
  libavdevice  52.  5. 0 / 52.  5. 0
  libavfilter   1. 80. 0 /  1. 80. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/zencuben/public_html/oveemo.com/images/originalvideos/957/tlcOM5gAP81.3gp':
  Metadata:
    major_brand     : 3gp4
    minor_version   : 0
    compatible_brands: isom3gp4
    creation_time   : 2014-08-13 20:46:44
  Duration: 00:00:37.86, start: 0.000000, bitrate: 109 kb/s
    Stream #0.0(eng): Video: h263, yuv420p, 176x144 [PAR 12:11 DAR 4:3], 95 kb/s, 14.99 fps, 29.97 tbr, 90k tbn, 29.97 tbc
    Metadata:
      creation_time   : 2014-08-13 20:46:44
    Stream #0.1(eng): Audio: amrnb, 8000 Hz, 1 channels, flt, 12 kb/s
    Metadata:
      creation_time   : 2014-08-13 20:46:44
Incompatible sample format 'flt' for codec 'aac', auto-selecting format 's16'
[buffer @ 0x12fad20] w:176 h:144 pixfmt:yuv420p tb:1/1000000 sar:12/11 sws_param:
[scale @ 0x12fa400] w:176 h:144 fmt:yuv420p -> w:480 h:360 fmt:yuv420p flags:0x4
[libx264 @ 0x1301ba0] Default settings detected, using medium profile
[libx264 @ 0x1301ba0] using SAR=1/1
[libx264 @ 0x1301ba0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x1301ba0] profile High, level 3.0
[libx264 @ 0x1301ba0] 264 - core 130 r2274 c832fe9 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - 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=1 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
Output #0, mp4, to '/home/zencuben/public_html/oveemo.com/images/videos/957/OAYWbd5QF75.mp4':
  Metadata:
    major_brand     : 3gp4
    minor_version   : 0
    compatible_brands: isom3gp4
    creation_time   : 2014-08-13 20:46:44
    encoder         : Lavf52.111.0
    Stream #0.0(eng): Video: libx264, yuv420p, 480x360 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 30k tbn, 29.97 tbc
    Metadata:
      creation_time   : 2014-08-13 20:46:44
    Stream #0.1(eng): Audio: libfaac, 8000 Hz, 1 channels, s16, 32 kb/s
    Metadata:
      creation_time   : 2014-08-13 20:46:44
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
frame= 1125 fps= 51 q=29.0 Lsize=    3737kB time=00:00:37.47 bitrate= 817.0kbits/s dup=561 drop=0    
video:3592kB audio:131kB global headers:0kB muxing overhead 0.386086%
frame I:6     Avg QP:22.84  size: 12348
[libx264 @ 0x1301ba0] frame P:998   Avg QP:25.02  size:  3588
[libx264 @ 0x1301ba0] frame B:121   Avg QP:29.51  size:   187
[libx264 @ 0x1301ba0] consecutive B-frames: 81.2% 10.5%  8.3%  0.0%
[libx264 @ 0x1301ba0] mb I  I16..4:  5.3% 86.4%  8.2%
[libx264 @ 0x1301ba0] mb P  I16..4:  0.6%  6.2%  0.6%  P16..4: 25.2% 13.1%  4.5%  0.0%  0.0%    skip:49.7%
[libx264 @ 0x1301ba0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8: 20.1%  0.3%  0.1%  direct: 0.3%  skip:79.2%  L0:54.1% L1:39.9% BI: 5.9%
[libx264 @ 0x1301ba0] 8x8 transform intra:83.3% inter:78.1%
[libx264 @ 0x1301ba0] coded y,uvDC,uvAC intra: 74.0% 63.3% 28.4% inter: 22.9% 16.6% 1.1%
[libx264 @ 0x1301ba0] i16 v,h,dc,p: 50% 20%  7% 22%
[libx264 @ 0x1301ba0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 19% 10%  4%  7%  7%  7%  7%  8%
[libx264 @ 0x1301ba0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 18%  9%  5%  9%  8%  8%  6%  7%
[libx264 @ 0x1301ba0] i8c dc,h,v,p: 40% 24% 26% 11%
[libx264 @ 0x1301ba0] Weighted P-Frames: Y:0.3% UV:0.0%
[libx264 @ 0x1301ba0] ref P L0: 71.4% 15.6%  6.4%  6.5%  0.1%
[libx264 @ 0x1301ba0] ref B L0: 95.5%  4.4%  0.0%
[libx264 @ 0x1301ba0] ref B L1: 98.4%  1.6%
[libx264 @ 0x1301ba0] kb/s:783.74

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

Hi Camron,

I see, that information very helpfull.. for fxing this please you open this file components/com_community/libraries/videos.php, find this code :

$cmd[]	= '-acodec aac -ab 64k';

replace to :
$cmd[]	= '-acodec aac -ab 32k';

I hope it will help

Thank you

9 years 7 months ago
Licenses:
JomSocial Expired

This helped a little. All videos that were in que were converted but am having problems with new videos.

- sumsung galaxy express: will successfully upload .3gpp videos but Unable to convert still in que. (samsung creates .3gpp when "limit for MMS" is selected before recording)
# 500 internal server error when I run: index.php?option=com_community&task=cron&lang=en.
then on page reload
# <message>No videos pending for conversion.</message>
but video still in que

-samsung galaxy express: unable to upload 5mb mp4 video "file type not supported" (but I can upload 5 mb .mp4 from pc).

-iphone/ipad: unable to upload 5 mb .mov video "this file type is not supported" error on upload (but can upload same file from pc)

-iphone/ipad: also unable to upload trim.xxx.mov when iphone auto compresses video from gallery. this makes it so i cant choose existing video and can only upload video from IOS that I "take now"

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