/modules/jrCore/tools/ffmpeg' has size=15950411 instead of 15951292

soaringeagle
@soaringeagle
8 years ago
3,304 posts
i see someone else posted issues uploading vids too
but you know i been trying to figure out this ffmpeg issue i had for a long time (at 1st only converted music but only when og wasnt selected) and not vids now nothing does

weird the url listed doesnt match the 1 i was uploading and testing
its a user account that i dont thinks even logged on


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 06/17/17 12:14:57PM
michael
@michael
8 years ago
7,772 posts
not understanding. What is ".....but only when og wasnt selected....."

Steps to reproduce please.
brian
@brian
8 years ago
10,148 posts
Sounds like something is corrupting the ffmpeg binary...


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
8 years ago
3,304 posts
we had a diferent version installed at the system level and i meant when you have convert to ogg set in the audio conversion settings for greater compatability for smart phones etc
but yea my suspicion is since we had a ffmpehg installed at the system level then used yup remove ffmpehg itsstill expecting the version previously installed/
or, theres conflicting dependencies
i need a way to clean it all up
and if i copied ffmpeg from 1 core version to the next overwritting the 1 in latest version that should solve any curruption
but i dont think that is exactly whats wrong
what should the jr version size be


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
8 years ago
10,148 posts
-rwxr-xr-x  1 jamroom jamroom 15951292 Feb 24 20:25 ffmpeg



--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
8 years ago
3,304 posts
steps to reproduce
for many months only music converted not vids
i had someone attempt to fix it fe installed ffmpeg we changed the config to use system ffmpeg which failed instantly
i removed system ffmpeg and config line it went back to using the jr provided 1 and again fails instantly with this error.additionaly
in the past music converted but vids would require resetting queue worker to even get it to start, then the queue worker had 100% of 1 core used for many minutes i used trace on the process and would end in sigkill without converting after a few minutes

i believe its a dependency conflict with a diferent version..but this wrong size errors brand new and that only started after attempting to use a system installed version, then going back to using jr


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
8 years ago
3,304 posts
brian:
-rwxr-xr-x  1 jamroom jamroom 15951292 Feb 24 20:25 ffmpeg

whats this// shouldnt this be chown -rwxr-xr-x 1 jamroom jamroom ffmpeg?


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
8 years ago
10,148 posts
I just posted you the output of ls -l on the ffmpeg binary, so you can see the SIZE.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
8 years ago
3,304 posts
oh srry haha i didn't understand what you meant im not fully awake yet


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
8 years ago
10,148 posts
soaringeagle:
oh srry haha i didn't understand what you meant im not fully awake yet

no worries :) I need at least one full cup of coffee before my brain is up and running lol


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
8 years ago
3,304 posts
-rwxr-xr-x 1 dreadlockssite psacln 15950411 Feb 19 22:39 ffmpeg
also seems to have a weird owner
let me try to correct that


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
8 years ago
3,304 posts
i figured repair modules would have fixed it though


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
8 years ago
10,148 posts
Repair Modules fixes jamroom module data in the database - it does not change things on your file system (and likely does not have permissions to change ownership on files).


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
8 years ago
3,304 posts
heres a weirdness just discovered.
in jr core it shows 6.0.7 installed
in filezilla, following the symlink brings me to 6.0.6 not 6.0.7 directory


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
8 years ago
3,304 posts
now imgetting a 500 error when trying to click priority only in activity viewer.

but i am not seeing the same error (though ls gives wrong size still)
it still fails instanly being removed from queue


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
8 years ago
3,304 posts
uploaded new core ran integrity check i still get size 15950411
correct me if im wrong but you do not need ffmpeg installed at system level..right? i do ffmpeg -version and get comand not found


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
8 years ago
7,772 posts
ffmpeg is the main tool to convert media. Its what transforms videos into playable formats that work on the web. On jamroom hosting we offload the ffmpeg converstion to the cluster for processing, so no, you dont need ffmpeg on the server, but you do need it somewhere if your site uses videos.

There is a tool at
ACP -> MODULES -> DEVELOPER -> DEVELOPER TOOLS -> TOOLS -> REBASE MODULES

that will move the jrCore-version-6.0.7 back down to jrCore and delete all the other versions so you dont have any symlinks. (or old versions to revert to.)
soaringeagle
@soaringeagle
8 years ago
3,304 posts
ok so..should i do yum install ffmpeg again
i thought because i did that i might have had 2 conflicting versions with conflictimg dependencies.
from past discussions i thought only the 1 in jamroom core tools was needed with no extra depenencies added?
i want to be sure i got this right


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
8 years ago
7,772 posts
Docs: "HowTo: Use a different FFMPEG binary"
https://www.jamroom.net/the-jamroom-network/documentation/howto/4641/howto-use-a-different-ffmpeg-binary

You can define which one to use if your system has many. one comes packaged with jamroom.
soaringeagle
@soaringeagle
8 years ago
3,304 posts
i tried that after doing the yum install ffmpeg and it failed immediately
i want to use the 1 in jamroom..i believe right// but does there need to be anything instakled on the system as far as dependencies does ffmpeg need to be installed

if you read up a few posts you will see that its after i tried that then tried reverting it thats when i started getting the file size errors


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
8 years ago
3,304 posts
furthermore if i installed ffmpeg and its dependencies and 1 of them is conflicting with the jr bundled 1 ids there a way to do a cleanup


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
8 years ago
3,304 posts
umm update even though i did exacty the same as before its converting at least music now (testing vids) but only when i use the alternate version not the jr bundled 1
videos still fail with this error detail
[system] unable to convert M4V video file for: video_file/363
Date
03/18/17 06:33:12PM
IP Address
208.82.131.131
URL
/kingdavidsavares
Memory
4MB
Data
ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
  built on Apr 13 2014 13:00:18 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp, -D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping
  libavutil      52. 66.100 / 52. 66.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 33.100 / 55. 33.100
  libavdevice    55. 10.100 / 55. 10.100
  libavfilter     4.  2.100 /  4.  2.100
  libswscale      2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0,  mov, mp4, m4a, 3gp, 3g2, mj2,  from '/var/www/vhosts/dreadlockssite.com/httpdocs/data/media/1/85/jrVideo_363_video_file.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isomavc1mp42
    creation_time   : 2010-04-06 21:43:23
  Duration: 00:04:31.07,  start: 0.000000,  bitrate: 550 kb/s
    Stream #0:0(und): Audio: aac (mp4a / 0x6134706D),  44100 Hz,  stereo,  fltp,  113 kb/s (default)
    Metadata:
      creation_time   : 2010-04-06 21:43:23
      handler_name    : (C) 2007 Google Inc. v08.13.2007.
    Stream #0:1(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661),  yuv420p,  480x360 [SAR 1:1 DAR 4:3],  433 kb/s,  29.97 fps,  29.97 tbr,  30k tbn,  59.94 tbc (default)
    Metadata:
      creation_time   : 2010-04-06 21:43:23
      handler_name    : (C) 2007 Google Inc. v08.13.2007.
Unknown encoder 'libfaac'

additionally i have no idea where its getting that url as thats not the url uploaded from, to, 1 i was on, or anything it seems to be veryrandom profile url


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
8 years ago
3,304 posts
michael:
ffmpeg is the main tool to convert media. Its what transforms videos into playable formats that work on the web. On jamroom hosting we offload the ffmpeg converstion to the cluster for processing, so no, you dont need ffmpeg on the server, but you do need it somewhere if your site uses videos.

There is a tool at
ACP -> MODULES -> DEVELOPER -> DEVELOPER TOOLS -> TOOLS -> REBASE MODULES

that will move the jrCore-version-6.0.7 back down to jrCore and delete all the other versions so you dont have any symlinks. (or old versions to revert to.)
i see
Warning! Do not run this rebase tool on a live Jamroom site!
This tool is designed for Jamroom Developers working with the Git version control system

are you sure i should try this on my live site?


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
8 years ago
10,148 posts
No - you don't need to do any of that. You have 2 choices:

1) Figure out why the stock, JR provided ffmpeg is being corrupted when uploaded to your server. This has been happening to you for a long time, so I would recommend getting to the bottom if it. Maybe your hosting provider can help you with that.

2) install or compile your own custom version of ffmpeg (you'll need to include libfaac) and then update your Jamroom data/config/config.php file and override the core provided ffmpeg:

$_conf['jrCore_ffmpeg_binary'] = '/usr/local/bin/ffmpeg';

Use the correct path to your custom ffmpeg.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
8 years ago
3,304 posts
ok so the yum install won't work i have to compile a version with custom configuration parameters?
the weird part is the ffmpegs currupted whether its uploaded through ftp, though the marketplace, or copied from version folder to version folder, or site to site


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
8 years ago
3,304 posts
think i got it!maybe you can figure this out? (i'll check with co hosting company to)
i uploaded ffmpeg through plesk filemanager
-rw-r--r-- 1 dreadlockssite psacln 15951292 Mar 18 20:54 ffmpeg
now the file size is correct
uploading by ft currupts it
i believe now that transfering by ftp from the marketplace currupts ffmpeg too and thats why core updates fail
is it an ftp or wget transfer sessiion used in marketplace updates?

if its ftp it is likely the ftp installed on my server thats the issue? in the past i had often had "unable to list directory contents' errors when trying to access ftp


i believe i now see that the core update and the ffmpeg issues maybe related (and now wonder if the poor database performance might be related)


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
8 years ago
3,304 posts
ugh now audio converts video fails to convert but has no error messages, it stays in queue but the process ends
back to here again
ps thats using the uncurrupted jr version


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 03/18/17 06:44:11PM

Tags