944,181 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 6268
  • PHP RSS
You are currently viewing page 11 of this multi-page discussion thread; Jump to the first page
Oct 23rd, 2009
0
Re: Making tutorials - your wishlist
I managed to fix the error but I need to know the locations ffmpeg, flvtool2 and mencoder. According to the installation diognistic they are installed but I need to know their locations. Their defaults pre-entered are all within /usr/bin/ but I can't see them in there so does anybody know where else those modules may be installed?
Sponsor
Featured Poster
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
cwarn23 is offline Offline
3,004 posts
since Sep 2007
Oct 23rd, 2009
0
Re: Making tutorials - your wishlist
You can download the docs which explains how to install the extension here:
http://www.phpshield.com/encrypt_php...p?action=dload
Moderator
Reputation Points: 457
Solved Threads: 101
Nearly a Posting Virtuoso
digital-ether is offline Offline
1,250 posts
since Sep 2005
Oct 24th, 2009
0
Re: Making tutorials - your wishlist
Have you fixed the video yet?
Reputation Points: 235
Solved Threads: 193
Nearly a Posting Virtuoso
kkeith29 is offline Offline
1,315 posts
since Jun 2007
Oct 24th, 2009
0
Re: Making tutorials - your wishlist
Click to Expand / Collapse  Quote originally posted by cwarn23 ...
I managed to fix the error but I need to know the locations ffmpeg, flvtool2 and mencoder. According to the installation diognistic they are installed but I need to know their locations. Their defaults pre-entered are all within /usr/bin/ but I can't see them in there so does anybody know where else those modules may be installed?
Your web host support should be helpful there.

From the shell, do:

PHP Syntax (Toggle Plain Text)
  1. echo $PATH

To see each folder that is searched for commands.

You can then just search each folder like:

PHP Syntax (Toggle Plain Text)
  1. ls /usr/bin | grep "ffmpeg\|flvtool2\|mencoder"

or to search all in one go, something like:

PHP Syntax (Toggle Plain Text)
  1. echo $PATH | sed s/\:/\ /g | xargs find | grep 'ffmpeg\|flvtool2\|mencoder'

the above takes the system path and searches each directory in there for ffmpeg, flvtool2 and mencoder.

On the shared hosting I use, I got:

PHP Syntax (Toggle Plain Text)
  1. /usr/bin/ffmpeg
  2. /bin/flvtool2

Of course, you could have those binaries in a folder not added to the system path, so you'll can either use "find" to search around, or just:

PHP Syntax (Toggle Plain Text)
  1. ls | grep 'ffmpeg\|flvtool2\|mencoder'

In folders you think it may be in.
Moderator
Reputation Points: 457
Solved Threads: 101
Nearly a Posting Virtuoso
digital-ether is offline Offline
1,250 posts
since Sep 2005
Oct 24th, 2009
0
Re: Making tutorials - your wishlist
I am trying to upload it into the cms at http://syntax.cwarn23.info/ however I just get a internal server 500 error and another error saying "ERROR: Failed to find flength file". So the cms suggested a few posts ago just isn't working.

[edit]
I just tried the above commands but they did not reviel the locations of those directories. I have also tried browsing the root with a SCP program but still can't find it even though the installation said it was installed. Also as previously mentioned, the progress bar for uploading videos only displays an error.
[/edit]
Last edited by cwarn23; Oct 24th, 2009 at 1:26 am. Reason: added info
Sponsor
Featured Poster
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
cwarn23 is offline Offline
3,004 posts
since Sep 2007
Nov 9th, 2009
0
Re: Making tutorials - your wishlist
Looks like I might just embed the videos in my mediawiki cms but I have just uploaded the latest video at http://syntax.cwarn23.info/media/new.html
Took 24 hours to upload and I've improved the quality but haven't checked the entire video for the blank out due to it's size. So if anybody would like to comment on it continue.
Sponsor
Featured Poster
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
cwarn23 is offline Offline
3,004 posts
since Sep 2007
Nov 10th, 2009
0
Re: Making tutorials - your wishlist
Video doesn't play, at least for me
Reputation Points: 462
Solved Threads: 392
Senior Poster
evstevemd is offline Offline
3,681 posts
since Jun 2007
Nov 10th, 2009
0
Re: Making tutorials - your wishlist
Played for me but the video has a quality rate of 250kbps and a 6 second buffer. Unfortunately any less quality and the code is grainy. I'm using Opera 10 but does anybody recommend a better wmv2flv converter... Also can anybody else get it to play...
Sponsor
Featured Poster
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
cwarn23 is offline Offline
3,004 posts
since Sep 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Count Files in Server
Next Thread in PHP Forum Timeline: Show Data from SQL Database Using PHP





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC