Jump to content

Unable to find ffmpeg, however it is there!


dcook

Recommended Posts

kjp4756

I just tried installing emby on centos 7 in esxi.  512MB ram, 2 vcpu.  I was able to complete the wizard with no issues.

 

Which hypervisor are you using?

 

EDIT:  I used the minimal version of centos 7.  It was a clean install.  Enable epel-release.  Installed emby. Downloaded 64bit ffmpeg daily version.

Edited by kjp4756
Link to comment
Share on other sites

So I just built a new vm, it has 600MB of Ram

 

Feel free to see for yourself: http://104.197.174.48:8096/

 

I just built this vm, and did nothing else except try to install Emby

 

 

Same error, will not complete the wizard:

58ae5f88ee6ba_Capture11.jpg

 

 

Centos Ver:

[glenhcook76@test-1 ffmpeg]$ cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core) 

Here you can see where ffmpeg is:

[glenhcook76@test-1 ffmpeg]$ cd /usr/local/bin/ffmpeg/
[glenhcook76@test-1 ffmpeg]$ pwd
/usr/local/bin/ffmpeg
[glenhcook76@test-1 ffmpeg]$ ls -ls
total 175392
44580 -rwxr-xr-x. 1 root root 45647416 Feb 21 05:50 ffmpeg
45768 -rwxr-xr-x. 1 root root 46863800 Feb 21 05:56 ffmpeg-10bit
44496 -rwxr-xr-x. 1 root root 45561080 Feb 21 05:50 ffprobe
39776 -rwxr-xr-x. 1 root root 40730616 Feb 21 05:50 ffserver
   36 -rw-r--r--. 1 root root    35147 Feb 21 05:56 GPLv3.txt
    4 drwxr-xr-x. 2 root root     4096 Feb 21 05:51 manpages
  728 -rwxr-xr-x. 1 root root   742472 Feb 21 05:50 qt-faststart
    4 -rw-r--r--. 1 root root     2674 Feb 21 05:56 readme.txt
[glenhcook76@test-1 ffmpeg]$ 

Here you can see server info:

[glenhcook76@test-1 ffmpeg]$ cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 63
model name      : Intel(R) Xeon(R) CPU @ 2.30GHz
stepping        : 0
microcode       : 0x1
cpu MHz         : 2300.000
cache size      : 46080 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms xsaveopt
bogomips        : 4600.00
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:
[glenhcook76@test-1 ffmpeg]$ cat /proc/meminfo 
MemTotal:         602832 kB
MemFree:           47504 kB
MemAvailable:      67068 kB
Buffers:               0 kB
Cached:           100452 kB
SwapCached:            0 kB
Active:           409672 kB
Inactive:          72944 kB
Active(anon):     382324 kB
Inactive(anon):     4220 kB
Active(file):      27348 kB
Inactive(file):    68724 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:        382196 kB
Mapped:            17948 kB
Shmem:              4380 kB
Slab:              38684 kB
SReclaimable:      15552 kB
SUnreclaim:        23132 kB
KernelStack:        1952 kB
PageTables:         6572 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      301416 kB
Committed_AS:     626848 kB
VmallocTotal:   34359738367 kB
VmallocUsed:        5136 kB
VmallocChunk:   34359730600 kB
HardwareCorrupted:     0 kB
AnonHugePages:    122880 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       40948 kB
DirectMap2M:      587776 kB
DirectMap1G:           0 kB

server-63623419077.txt

Link to comment
Share on other sites

I just built another VM, same as the last one 600MB ram, 1CPU and this time I installed Ubuntu 16.04

I followed the steps here: https://software.opensuse.org/download.html?project=home%3Aemby&package=emby-server

 

The setup wizard completed without any errors.  

Also I was not even prompted during the setup wizard to install and define path for ffmpeg, I am not sure why, perhaps Ubuntu includes ffmpeg by default?

 

Either way, looks like the issue with Out of Memory is specific to Centos 7.3

Link to comment
Share on other sites

When I built my previous Centos and Ubuntu VM's they did not have any /swap space

 

I built a new Centos VM, same specs (600MB Ram, 1CPU) but this time I added 1GB /swap

 

The Emby Setup Wizard completed fine and ffmpeg plays without any "out of memory errors"

 

While something is playing if I check I can see that some of the /swap space is being used.

top - 16:19:27 up 37 min,  1 user,  load average: 3.88, 4.51, 2.69
Tasks:  82 total,   2 running,  80 sleeping,   0 stopped,   0 zombie
%Cpu(s): 98.4 us,  0.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  1.6 si,  0.0 st
KiB Mem :   602832 total,    78700 free,   384980 used,   139152 buff/cache
KiB Swap:  1048572 total,   273468 free,   775104 used.    99580 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND                                                                                                                                                                      
 9178 emby      20   0  182012  85908   2496 R 99.9 14.3   8:23.23 ffmpeg          

So looks like not have any /swap on my Centos7 Vm's is what caused the issue.

 

Interesting aspect is that Ubuntu also did not have any /swap and the Emby Setup Wizard completed fine?

 

@kjp4756

When you built your Centos7 VM did you have any /swap ?

Link to comment
Share on other sites

kjp4756

Honestly I am not sure if I had swap or not.  I used the minimal iso and used defaults for everything.

 

EDIT:  Looks like there is swap on a default install.  923MB according to free -h

Edited by kjp4756
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...