Git Product home page Git Product logo

x264-ffmpeg-up-to-date's People

Watchers

 avatar

x264-ffmpeg-up-to-date's Issues

libx264 fails to compile

##What steps will reproduce the problem?
1. run ffmpegupdate.sh on lucid

##What is the expected output? What do you see instead?
I expected ffmpeg, i got "Sorry something went wrong installing FFmpeg"

##What version of the product are you using? On what operating system?
ffmpegupdate version 8 25 sept 2011 on ubuntu lucid

##Please provide any additional information below.

This may be a follow-up to #16:

Compiling x264 fails - It complains about my version of yasm (which is up to 
date according to apt-get, and so is nasm btw) and then the Makefile fails on 
'include config.mak' ... and then ffmpeg fails on a missing x264.

I'll attach the log but here are 3 notable snippets:

downloading, building and installing x264
Initialized empty Git repository in /usr/local/src/x264/.git/
Found yasm 0.8.0.2194
Minimum version is yasm-1.0.0
If you really want to compile without asm, configure with --disable-asm.
Makefile:3: config.mak: No such file or directory
./configure
Found yasm 0.8.0.2194
Minimum version is yasm-1.0.0
If you really want to compile without asm, configure with --disable-asm.
make: *** [config.mak] Error 1

[snip]

ERROR: libx264 not found

If you think configure made a mistake, make sure you are using the latest
version from Git. 

[snip]

Installing with make...Installing with install...

========================= Installation results ===========================
Makefile:2: config.mak: No such file or directory
Makefile:45: /common.mak: No such file or directory
Makefile:82: /libavutil/Makefile: No such file or directory
Makefile:148: /doc/Makefile: No such file or directory
Makefile:149: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'.  Stop.

****  Installation failed. Aborting package creation.

Cleaning up...OK

Bye.

./ffmpegupdate8.sh: line 245: hash: x264: not found
./ffmpegupdate8.sh: line 245: hash: ffmpeg: not found
./ffmpegupdate8.sh: line 245: hash: ffplay: not found
./ffmpegupdate8.sh: line 245: hash: ffprobe: not found
./ffmpegupdate8.sh: line 396: kill: (9853) - No such process

The attached log is the first run ever. ffmpeg and x264 were installed 
originally thru apt-get.

Original issue reported on code.google.com by [email protected] on 26 Oct 2011 at 1:03

Attachments:

Hardy dependencies are outdated

libfaad-dev and liblame-dev are no longer used. libxext-dev is missing for 
x11grab.

Yasm is now 1.1.0.

'--deldoc=yes' has been added to the checkinstall line. This is simply to allow 
the source directories to be delete by a non-root user.

Original issue reported on code.google.com by [email protected] on 23 Dec 2010 at 8:02

Could you add Linux Mint also?

was gonna try the script on my Linux Mint since is the same as Ubuntu, But I 
Guess the script doesnt like that.

http://img15.imageshack.us/img15/2917/uuu003.png


Original issue reported on code.google.com by [email protected] on 17 Apr 2010 at 8:13

Improve build speed by using make -j <number of processor cores> (with patched scripts)

Hi, 

Most computer systems have at least two (virtual) CPU cores and using them
will speed up the build script. The idea is to determine how many cores
your system has and use them all. 

I inserted this piece of code in the install and update scripts:

{{{
# Speed up build time using multpile processor cores.
NO_OF_CPUCORES=`grep -c ^processor /proc/cpuinfo 2>/dev/null`
if [ ! "$?" = "0" ]
then
    NO_OF_CPUCORES=2
fi
}}}

Next, I replaced all make commands with make -j $NO_OF_CPUCORES in vi like
this:

:%s/make/make -j $NO_OF_CPUCORES/g

I attached the edited files.

Original issue reported on code.google.com by Louwrentius on 30 May 2010 at 9:18

Attachments:

Wrong download path in config file

What steps will reproduce the problem?
1. Change download path in ffmpeginv and ffmpegupv to a custom one.
2. Run both, ffmpeginv and ffmpegupv.
3. ffmpegupv asks you to save a config file (which is /etc/ffmpegup.conf)
4. This config file will contain the default download path (/usr/local/src) and 
thus produce an error.

What is the expected output? What do you see instead?

It should save the modified path in the config file.

What version of the product are you using? On what operating system?

ffmpeginv1.4 and ffmpegupv1.8, Ubuntu Server 10.04

Please provide any additional information below.

Changing the location in the config file manually does the trick, as well as 
changing the hardcoded path in line 789 of ffmpegupv1.8.sh to:

 echo "INSTALL=$INSTALL" >> $CONF

Regards

Original issue reported on code.google.com by [email protected] on 18 Oct 2010 at 7:27

Oneiric not mentioned

The main page explicitly doesn't mention Oneiric even though the most recent 
news messages are after its release.  Since this could hose the system I'd 
rather not try and it do said hosing.

Would appreciate the main page giving some guidance on Oneiric (eg don't try, 
do try, not needed etc)

Original issue reported on code.google.com by rogerbinns on 27 Jan 2012 at 5:00

Errors other than exit 1 are not caught

version: ffmpegupv1.7.sh

the script checks if most commands have run successfully by checking if the 
exit state equals 1:

if [ $? = 1 ];then
  echo "error message"
  exit
fi

However, some commands may fail with a different exit code, and these are 
ignored by the script.

Best is to replace all the instances of the above with:

if [ "$?" != 0 ] ; then
  echo "error message"
  exit 1
fi



Example of failing make, returning exit code 2:

$ make -j 8 distclean
libavutil/Makefile:1: libavutil/../config.mak: No such file or directory
libavutil/../subdir.mak:96: warning: overriding commands for target `libavutil/'
libavutil/../subdir.mak:26: warning: ignoring old commands for target 
`libavutil/'
libavutil/../subdir.mak:96: warning: overriding commands for target `libavutil/'
libavutil/../subdir.mak:96: warning: ignoring old commands for target 
`libavutil/'
Makefile:232: /tests/fate.mak: No such file or directory
Makefile:233: /tests/fate2.mak: No such file or directory
Makefile:235: /tests/fate/aac.mak: No such file or directory
Makefile:236: /tests/fate/als.mak: No such file or directory
Makefile:237: /tests/fate/fft.mak: No such file or directory
Makefile:238: /tests/fate/h264.mak: No such file or directory
Makefile:239: /tests/fate/mp3.mak: No such file or directory
Makefile:240: /tests/fate/vorbis.mak: No such file or directory
Makefile:241: /tests/fate/vp8.mak: No such file or directory
make: *** No rule to make target `/tests/fate/vp8.mak'.  Stop.

$ echo $?
2

Original issue reported on code.google.com by [email protected] on 2 Oct 2010 at 12:09

ERROR: libx264 not found

What steps will reproduce the problem?
1.sudo ./ffmpeginv2.1.sh

What is the expected output? What do you see instead?
Copied from log file:
downloading, building and installing FFmpeg
Initialized empty Git repository in /usr/local/src/ffmpeg/.git/
ERROR: libx264 not found

What version of the product are you using? On what operating system?
ffmpeginv2.1.sh on Ubuntu 10.10

Please provide any additional information below.
From what I can tell x264 did install. Is it looking for libx264-dev? Each time 
I run the script it always uninstalls it.

0 -  Maintainer: [ root@Trevor-Linux ]
1 -  Summary: [ Package created with checkinstall 1.6.2 ]
2 -  Name:    [ ffmpeg ]
3 -  Version: [ 5:git-N-29974-ge6e7ba0 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ i386 ]
8 -  Source location: [ ffmpeg ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ ffmpeg ]
12 - Conflicts: [  ]
13 - Replaces: [  ]

Kernel 2.6.35-28
Platform i686

Original issue reported on code.google.com by [email protected] on 17 May 2011 at 2:45

missing a "#" comment character on line 363 in file ffmpegupv1.2.sh

What steps will reproduce the problem?
1. chmod +x ffmpegupv1.2.sh
2. su root
3. ./ffmpegupv1.2.sh

What is the expected output? What do you see instead?
Expected the shell file to execute.  

What I see is error "first," command not found.
./ffmpegupv1.2.sh: line 363: first,: command not found

What version of the product are you using? On what operating system?
ffmpegupv1.2.sh  on  Mint 8 Helena Linux O/S

Thank you,  This shell script file worked for me under Linux Mint 8.
I was building openshot video editor and downloaded the latest version
of ffmpeg  via  openshot_wizard  install.py file,  but the make encountered
an error in of of the libswscale files.  I tried using svn update, but it
quit saying file configure already exists.

I did not use the script ffmpegin1.1.sh at all.
http://www.openshotvideo.com/


Please provide any additional information below.
edit the file and insert a hash character "#" at the start of the line.


Original issue reported on code.google.com by [email protected] on 23 Apr 2010 at 7:25

Add Webm codec

Webm support:

dependency: libvpx
install libvpx via source: git clone http://git.chromium.org/webm/libvpx.git

then enable in ffmpeg config via: --enable-libvpx

Original issue reported on code.google.com by [email protected] on 19 Sep 2011 at 10:37

Need to add --enable-static to x264 config

What steps will reproduce the problem?
1.run current config script
2.
3.

What is the expected output? What do you see instead?
Error:libx264 not found. 

What version of the product are you using? On what operating system?
ubuntu maverick

Please provide any additional information below.
seems like current x264 build scripts don't build static libs by default. Need 
to update script appropriately.

Original issue reported on code.google.com by [email protected] on 18 May 2011 at 11:13

LAME installation needed for Lucid and older

FFmpeg requires LAME >= 3.98.3. The repository packages for Lucid and previous 
Ubuntu versions are too old, and therefore LAME must be compiled. This makes 
the libmp3lame-dev dependency obsolete, but I'm not sure if this dependency 
will now interfere with LAME detection in FFmpeg. The guide that the scripts 
are based on has LAME instructions.

Also, '--enable-pthreads' is no longer a valid option and is detected 
automatically.

Original issue reported on code.google.com by [email protected] on 23 Dec 2010 at 7:41

Jaunty fails to build - error in make file

Currently, attempting to build under jaunty results in the following error:

make: *** No rule to make target `libavformat/rtp_asf.h', needed by
`libavformat/rtpdec.o'. Stop.

Referring to this post here, you can fix it by editing the two following files:

in libavformat/rtpdec.d:
change rpt_asf.h to rtpdec_asf.h
change rtp_h263.h to rtpdec_h263.h
change rtp_h264.h to rtpdec_h264.h
change rtp_vorbis.h to rtpdec_xiph.h

libavformat/rtsp.d
change rpt_asf.h to rtpdec_asf.h
change rtp_vorbis.h to rtpdec_xiph.h



Original issue reported on code.google.com by [email protected] on 18 Apr 2010 at 6:06

Add better error checking to the script when things don't go as expected

What steps will reproduce the problem?
1. run the script
2.
3.

What is the expected output? What do you see instead?

http://img72.imageshack.us/img72/8227/desk1030.png


What version of the product are you using? On what operating system?
Ubuntu 10.04 64bit Desktop

Please provide any additional information below.
ill attach a log

Original issue reported on code.google.com by [email protected] on 30 Apr 2010 at 7:48

Attachments:

x264 - No support for lavf, gpac, etc...

Hi guys,
The thing is, x264 needs ffmpeg to compile with ffms, lavf and gpac support. It 
would be great to update your script so ffmpeg is not uninstalled before x264 
is compiled, I mean for those who actually need these features, but before 
updated ffmpeg itself.
I've updated the script for myself and it works great.

Original issue reported on code.google.com by [email protected] on 21 Jul 2010 at 2:51

Ubuntu 10.10 Not supported

Please update it to support the new version of Ubuntu (10.10 Maverick)

I tried to run it and it said my distro was not supported.

I have used this in the past with 10.04 and like it a lot :) 

Thanks.

Original issue reported on code.google.com by [email protected] on 10 Oct 2010 at 3:26

Missing dependencies for Lucid

checkinstall, git, yasm, libfaac, libopencore-amrnb-dev, libopencore-amrwb-dev, 
libtheora-dev

I had to install these manually. Some of these are available in the multiverse 
source.list

Original issue reported on code.google.com by [email protected] on 19 Sep 2011 at 10:00

Script does not run for the 2nd time if an error occurred

What steps will reproduce the problem?
1. run the script while missing a dependency, it should result in an error
2. re-run the script

What is the expected output? What do you see instead?
it should do the install process again, instead it exits and says all done

What version of the product are you using? On what operating system?
18.09.11 Ubuntu Lucid

removing the generated config file in /etc fixes fixes the problem

Original issue reported on code.google.com by [email protected] on 19 Sep 2011 at 10:02

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.