i request version, that is ffmpeg: command not found?

355 views
Skip to first unread message

Okulsayfam Sitesi

unread,
Nov 25, 2014, 4:26:26 PM11/25/14
to bigbluebu...@googlegroups.com
Hi. i am installing packages but there is a problem. i used following commands but when i wrote "ffmpeg -version" -bash: ffmpeg: command not found

i added these codes in install-ffmpeg.sh via "nano install-ffmpeg.sh" 
sudo apt-get install build-essential git-core checkinstall yasm texi2html libvorbis-dev libx11-dev libxfixes-dev zlib1g-dev pkg-config

LIBVPX_VERSION
=1.2.0
FFMPEG_VERSION
=2.0.1

if [ ! -d "/usr/local/src/libvpx-${LIBVPX_VERSION}" ]; then
  cd
/usr/local/src
  sudo git clone http
://git.chromium.org/webm/libvpx.git "libvpx-${LIBVPX_VERSION}"
  cd
"libvpx-${LIBVPX_VERSION}"
  sudo git checkout
"v${LIBVPX_VERSION}"
  sudo
./configure
  sudo make
  sudo checkinstall
--pkgname=libvpx --pkgversion="${LIBVPX_VERSION}" --backup=no --deldoc=yes --default
fi

if [ ! -d "/usr/local/src/ffmpeg-${FFMPEG_VERSION}" ]; then
  cd
/usr/local/src
  sudo wget
"http://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.bz2"
  sudo tar
-xjf "ffmpeg-${FFMPEG_VERSION}.tar.bz2"
  cd
"ffmpeg-${FFMPEG_VERSION}"
  sudo
./configure --enable-version3 --enable-postproc --enable-libvorbis --enable-libvpx
  sudo make
  sudo checkinstall
--pkgname=ffmpeg --pkgversion="5:${FFMPEG_VERSION}" --backup=no --deldoc=yes --default
fi

root@bigbluebuttonvps:~# nano install-ffmpeg.sh
root@bigbluebuttonvps:~# chmod +x install-ffmpeg.sh
root@bigbluebuttonvps:~# ./install-ffmpeg.sh
./install-ffmpeg.sh: line 1: bash:: command not found
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
git-core is already the newest version.
checkinstall is already the newest version.
yasm is already the newest version.
texi2html is already the newest version.
libvorbis-dev is already the newest version.
libx11-dev is already the newest version.
libxfixes-dev is already the newest version.
zlib1g-dev is already the newest version.
pkg-config is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
root@bigbluebuttonvps:~# ffmpeg -version
-bash: ffmpeg: command not found

Fred Dixon

unread,
Nov 25, 2014, 4:47:03 PM11/25/14
to bigbluebu...@googlegroups.com
Hi Okulsayfam,

> root@bigbluebuttonvps:~# ./install-ffmpeg.sh
> ./install-ffmpeg.sh: line 1: bash:: command not found

Did you by chance create/transfer install-ffmepg.sh on/from a Window's machine?  It looks like you have carriage returns in your script that bash is hitting.

See


on how to fix.


Regards,... Fred


--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

Okulsayfam Sitesi

unread,
Nov 25, 2014, 4:54:34 PM11/25/14
to bigbluebu...@googlegroups.com
i am using putty and i opened my VPS first time. i copied codes and pasted in nano install-ffmpeg.sh via putty. my computer Windows 8. my hosting
My VPS information: "Your droplet's current kernel: Ubuntu 10.04 x64 vmlinuz-2.6.32-41-server"
 

25 Kasım 2014 Salı 23:47:03 UTC+2 tarihinde Fred Dixon yazdı:
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Fred Dixon

unread,
Nov 25, 2014, 5:17:15 PM11/25/14
to bigbluebu...@googlegroups.com
Hi Okulsayfam,

Try removing the carriage returns as indicated in the Stack Overflow link and see if that works.

The start of the script should be 

#!/bin/bash

Regards,... Fred

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Okulsayfam Sitesi

unread,
Nov 26, 2014, 2:56:16 AM11/26/14
to bigbluebu...@googlegroups.com
i see bin/bash this file is 0 KB. What do you think?
 

26 Kasım 2014 Çarşamba 00:17:15 UTC+2 tarihinde Fred Dixon yazdı:
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsubscribe...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

Fred Dixon

unread,
Nov 26, 2014, 8:26:31 AM11/26/14
to bigbluebu...@googlegroups.com
Hi Okulsayfam,

> i see bin/bash this file is 0 KB.

The file is empty and will not do anything when you run it.

If your not familiar with Linux, your going to hit a lot of basic errors.  Rather than post the errors and wait for others to respond (a long process), you can speed up the process by doing

1.  Use Google to search for any error you get.  Theses mailing lists are indexed by Google, so if the question has been asked before, you'll see it right away.

2.  Go through some basic Linux tutorials on the web.   This will give you some skills to understand the commands your entering and what it means, for example, when a file is 0 KB in size.

Regards,.. Fred

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages