Completing ffmpeg installation


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Completing ffmpeg installation
# 1  
Old 01-26-2007
Completing ffmpeg installation

Hello.

i am new to unix, though have quite a substantial background of other systems.
i recently installed ffmpeg and mencoder on a unix server, which holds a website, in order to use these programs from the website.

after installation, i can activate both commands directly using putty,
no matter what my current working library is.
but, when i try to run it from the website (i have a php script that uses exec('ffmprg ..')) i get the following message in the apache error log:

sh: /ffmpeg: No such file or directory

the program was installed in usr/local/lib. does this mean it can function only for the user who installed it? how do i make it accessible to all users?
also, why is the '/' coming before the 'ffmpeg' in the message? (it is not written in the script). does this have any relation to the problem?
i've been fighting with this for hours now, and i am sure it's a stupid newbie mistake. please help me.
# 2  
Old 01-29-2007
Quote:
Originally Posted by noamon
the program was installed in usr/local/lib. does this mean it can function only for the user who installed it? how do i make it accessible to all users?
It means that not all users may have it in their PATH.

When running ./configure, be sure to give it the correct PREFIX. That tells it where to install.
Quote:
also, why is the '/' coming before the 'ffmpeg' in the message? (it is not written in the script). does this have any relation to the problem?
No idea. Show us the script.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash not calling function after completing

In the below bash the function execute is started with the while true at the end of the script. Currently, this works and processing does begin. The function panel in bold does not get called after execute completes, therefore the user does not get the menu selection and the files just loop... (3 Replies)
Discussion started by: cmccabe
3 Replies

2. What is on Your Mind?

Congratulations Scrutinizer for completing 3000 THANKS in the forum.

Hello Scrutinizer, Many Many Many heartily congratulations :b: to you sir(my/our HERO) to complete 3000 THANKS into the forum :b:. This shows how good you are in forums/answering people/helping/guiding people here. You are a true CHAMP, inspiration for LOT of people here. I THANK you for your... (13 Replies)
Discussion started by: RavinderSingh13
13 Replies

3. Shell Programming and Scripting

Code exits before completing

The lines in bold check the value of a user input, if it is not one of the expected genes (GJB2, MECP2, PHOX2B), the user is shown a list of formats to use and the variant is entered. It is then supposed to printf that entered variant? Thank you :). name() { printf "\n\n" printf... (2 Replies)
Discussion started by: cmccabe
2 Replies

4. Shell Programming and Scripting

Need help with completing a bash script

Hello All, I am automating a task using bash script and got stuck at this. From the below input, Meta Device Members (20) : { ---------------------------------------------------------------------- BCV DATA RDF DATA ... (7 Replies)
Discussion started by: Sam R
7 Replies

5. Shell Programming and Scripting

Looping not completing in shell script

Hi, Iam using below code to login to servers to get cpu utilisation. but output is coming for only one server. code is below root@blr-svr-oclan-01 # more SSSC_CPU_UTIL1.sh #!/bin/sh echo "CPU UTILIZATION" while read line; do IDLE=`/usr/local/bin/sshpass -p 'xxx' ssh xxx@$line 'sar 2 2' |... (1 Reply)
Discussion started by: surender reddy
1 Replies

6. Homework & Coursework Questions

Help completing lab.

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: ''you are missing the /home/smichaels/Labs/lab2b/group file, please create it as per step 12 of the lab. once... (4 Replies)
Discussion started by: ink
4 Replies

7. Shell Programming and Scripting

shell script exiting before completing

I have a script which has the following statement, /opt/oracle/product/9i/bin/sqlplus << EOC >> $LOG_FILE 2>&1 username/password ---- Enters the SQL prompt @/export/home/oracle/shells/grant_userview.sql ---Runs the SQL script @/export/home/oracle/shells/grant_proc_userview.sql ---Runs the... (6 Replies)
Discussion started by: welldone
6 Replies

8. UNIX for Dummies Questions & Answers

Completing Command Entry without Typing

Hi, In my UNIX (KSH) sytem, in order to Complete Command Entry without Typing the whole path or name, I have to use ESC+\ where as I am used to press TAB key to do the same. Can anyone tell me where we need to change the settings of the keyboard combination so that when I press TAB key the file... (6 Replies)
Discussion started by: jisha
6 Replies

9. Shell Programming and Scripting

tcsh + completing a sub-directory entry

As part of a script Im designing, I am required to allow the command line to finish off part of a series of sub-directory entries. Basically what I want to do is cp /root/parent/part of subs name + other part of subs name/file /other_root/other_parent/other_sub/file without facing... (0 Replies)
Discussion started by: JamesGoh
0 Replies

10. Shell Programming and Scripting

Terminate session on completing script

Hai all.. How do i terminate my telnet session automatically when my java applicatiion exits. i have a file run which executes my java application and takes care of all class and library path settings prior to the execution. I would like to terminate my session when my application exits. The... (4 Replies)
Discussion started by: deepsteptom
4 Replies
Login or Register to Ask a Question