Open stancho44 opened 4 years ago
Hi @stancho44,
Do you prefer to build on Windows but not sure if it works on Windows?
It does. You could use a X terminal that supports Linux commands. Examples of X terminals are:
Then you can build the package by just following the steps.
If you have questions of any step of the build that confuses you, feel free to ask!
Thanks. I'll try the windows subsystem for Linux. I'll let you know if I have any trouble with it
hello @wu-yuhui , Sorry for the very late reply I am getting this error when I was on step 9.
`root@RyzAndShine:/mnt/c/FFMPEG# ./configure --prefix=/usr/local/transform/ffmpeg --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopencv --extra-libs='-lTransform360 -lstdc++'
: Permission deniedonfigure: : bad variable nameport: LC_ALL`
did I follow the install wrong? I am using the windows subsystem for Linux
Seems like you don't have permission. Try chmod +x configure
first.
https://askubuntu.com/questions/623461/bash-configure-permission-denied
I got this error when I put chmod +x configure before the configure command ` root@RyzAndShine:/mnt/c/FFMPEG# chmod +x configure root@RyzAndShine:/mnt/c/FFMPEG# ./configure --prefix=/usr/local/transform/ffmpeg --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopencv --extra-libs='-lTransform360 -lstdc++'./configure --prefix=/usr/local/transform/ffmpeg --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopencv --extra-libs='-lTransform360 -lstdc++'
: not found: 9: ./configure: : bad variable nameport: LC_ALL `
Just to confirm, is there a configure
binary in your FFMPEG
folder, because it states "not found".
if I do ls -al
to the FFMPEG repro, my configure
is as this line:
-rwxrwxrwx 1 yuhuiwu yuhuiwu 256885 May 13 13:40 configure*
I got this when I did ls -al to the FFmpeg directory -rwxrwxrwx 1 root root 264356 May 7 23:21 configure
Sorry for the late response
I got this error when I put chmod +x configure before the configure command ` root@RyzAndShine:/mnt/c/FFMPEG# chmod +x configure root@RyzAndShine:/mnt/c/FFMPEG# ./configure --prefix=/usr/local/transform/ffmpeg --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopencv --extra-libs='-lTransform360 -lstdc++'./configure --prefix=/usr/local/transform/ffmpeg --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopencv --extra-libs='-lTransform360 -lstdc++'
: not found: 9: ./configure: : bad variable nameport: LC_ALL `
If this about is your actual command, it seems like you pasted the command twice. Try this agin?
./configure --prefix=/usr/local/transform/ffmpeg --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopencv --extra-libs='-lTransform360 -lstdc++'
I get the same error
root@RyzAndShine:/mnt/c/FFMPEG# ./configure --prefix=/usr/local/transform/ffmpeg --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopencv --extra-libs='-lTransform360 -lstdc++' : not found: 9: ./configure: : bad variable nameport: LC_ALL root@RyzAndShine:/mnt/c/FFMPEG#
According to https://stackoverflow.com/questions/33320452/bad-variable-name-using-read-var
When they run
#!/bin/bash
echo "Type some Text:"
read var
echo "You entered: "$var
The output is
user@Ubuntu:/media/buff/ShellScript$ sh test.sh
Type some Text:
:bad variable nameread var
You entered:
So when looking at your error code and also ./configure
in FFMpeg floder
: not found: 9: ./configure: : bad variable nameport: LC_ALL root@RyzAndShine:/mnt/c/FFMPEG#
I suspect you accidentally modified the configure
file. So try to undo it to the original configure file and run the command again.
I haven't changed the configure file from the initial state and it has the "export lc_all" in the file itself. See attached image
i had the same when trying to compile ffmpeg. It was because i used windows to clone the git repository but tried configure in the windows subsystem based Ubuntu from windows store. re-cloning from inside ubuntu solved it
Maybe because the file was created using windows not linux. You should convert it to linux for example https://unix.stackexchange.com/a/365679/59618
Hi, I am trying to get a copy of a build for windows. I was working on ubuntu trying to get a build by following the instructions but was completely lost. I don't use Linux often and I am very confused about what each application do and if I did it successfully. If anyone has a windows build with this filter I would appreciate your kindness.