Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#142 | Link |
|
Registered User
Join Date: Jan 2012
Posts: 104
|
Error on Install in Ubuntu 12.04
I have ubuntu 12.04 with all the newest updates up to today.
I followed the instructions in https://github.com/avxsynth/avxsynth/wiki/System-Setup but encountered an error. In ffmpeg Code:
sudo checkinstall.... Code:
dpkg: warning: downgrading ffmpeg from 4:0.8.3-0ubuntu0.12.04.1 to 0.11.1-1. (Reading database ... 244393 files and directories currently installed.) Preparing to replace ffmpeg 4:0.8.3-0ubuntu0.12.04.1 (using .../ffmpeg_0.11.1-1_i386.deb) ... Unpacking replacement ffmpeg ... dpkg: dependency problems prevent configuration of ffmpeg: libav-tools (4:0.8.3-0ubuntu0.12.04.1) breaks ffmpeg (<< 4:0.8~) and is installed. Version of ffmpeg to be configured is 0.11.1-1. dpkg: error processing ffmpeg (--install): dependency problems - leaving unconfigured Errors were encountered while processing: ffmpeg ~ ~ ~ ~ ~ ~ ~ ~ Another minor docu problem: In AVXSynth Build step 2, one should mention that directory has to be changed before this step. Still I was able to successfully execute the final version test. |
|
|
|
|
|
#143 | Link |
|
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,501
|
It's just the Debian epoch in the checkinstall step. Add a 5: (or 7: for Quantal users, but you could just go with 7: for Precise, the only thing that matters is that the number is higher than the one used for the stuff in the official repositories) to the beginning of it so it won't conflict with the system packages. This is also required of using ffmpeg from git.
So instead of: Code:
sudo checkinstall --pkgname=ffmpeg --pkgversion="0.11.1" --backup=no --deldoc=yes --fstrans=no --default Code:
sudo checkinstall --pkgname=ffmpeg --pkgversion="5:0.11.1" --backup=no --deldoc=yes --fstrans=no --default |
|
|
|
|
|
#145 | Link |
|
Registered User
Join Date: Jan 2013
Posts: 18
|
Hi guys,
thank you for porting AviSynth to linux !!! I downloaded and installed it using the wiki, but it seems I can't use the FFVideoSource() function. If I run Version() with AVXEdit, it works perfect. But if I run FFVideoSource(source="video.avi") (video.avi exists in the current folder), it says "unable to run script", with no additional info. Is there something I missed ? Thanks
Last edited by @xi@g@me; 27th January 2013 at 20:24. Reason: corrected ABXEdit to AVXEdit |
|
|
|
|
|
#147 | Link |
|
Registered User
Join Date: Jan 2013
Posts: 18
|
Hi qyot27,
I run the script using EVXEdit, not from the shell (in the other case I would have used avxFrameServer). I also think the error come from ffms2. How can I check it is correctly installed ? my ubuntu is the 64 bits version. Perhaps I have an incompability with the ffms2 plugin ? (64 vs. 32) Last edited by @xi@g@me; 27th January 2013 at 21:56. Reason: spelling mistake correction |
|
|
|
|
|
#149 | Link |
|
Registered User
Join Date: Jun 2010
Posts: 4
|
Hi
I've just compiled avxsynth on mandriva 2010.2: 1. ffmpeg (0.11 version) as static libraries PHP Code:
PHP Code:
PHP Code:
PHP Code:
What have I been doing wrong? Is any option for debug? Plesken Last edited by plesken666; 28th January 2013 at 11:43. |
|
|
|
|
|
#150 | Link |
|
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,501
|
You didn't load any video. The documentation on the AvxSynth Github Wiki isn't really clear about this (and gives a bad example because it doesn't flesh this out at all), but AviSynth syntax has an implicit last. You're assigning the video to a variable, rather than letting the implicit last deal with it, but then you don't call the variable, resulting in a script that won't work at all. You either need to:
A) Get rid of the src= assignment entirely, as it's redundant in this case (as is the source=). B) Call the src variable before calling ConvertToYV12(), which should be unnecessary anyway if you're dealing with MPEG-4 ASP. Code:
src=FFVideoSource("source.ext")
src.ConvertToYV12()
Code:
src=FFVideoSource("source.ext")
src
ConvertToYV12()
Code:
FFVideoSource("source.ext")
ConvertToYV12()
Code:
FFVideoSource("source.ext")
|
|
|
|
|
|
#153 | Link |
|
Registered User
Join Date: Jan 2013
Posts: 18
|
@ qyot27 :
here are the outputs : sudo apt-cache show libffms2-dev : Package: libffms2-dev Priority: optional Section: universe/libdevel Installed-Size: 163 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org> Architecture: amd64 Source: ffms2 Version: 2.17-1 Depends: libffms2-2 (= 2.17-1), libavformat-dev, libavcodec-dev, libswscale-dev, libpostproc-dev, libavutil-dev, zlib1g-dev Recommends: ffmsindex Filename: pool/universe/f/ffms2/libffms2-dev_2.17-1_amd64.deb Size: 38170 MD5sum: bef398a6a81103c8e567aab58fafecbd SHA1: e2b12b1bca361a5365c06266ebe1bee84bed7d4b SHA256: aa918b245699552e50aeb564327ca1382508cb58e650d70852c7ced53edc3f8a Description-en: Development files for libffms2 A cross platform ffmpeg wrapper library, and some additional content for things ffmpeg doesn't handle well. A more friendly API and an easy way to say "open and decompress this, I don't care how". . This package contain headers and other files needed to compile and link against libffms2. Homepage: http://code.google.com/p/ffmpegsource/ Description-md5: 44f41716b4c49809a59c24b888b4d800 Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu sudo apt-cache show ffms2 : Package: ffms2 Status: install ok installed Priority: extra Section: checkinstall Installed-Size: 976 Maintainer: root@axiagame-linux Architecture: amd64 Version: 2.17-1 Provides: ffms2 Description: Package created with checkinstall 1.6.2 I have seen the posts above, so I would like to add that "video.avi" is a video I captured with DxTory on a video game. I wish to create a whole process of encoding in command line so I can relay this task to my seconday PC equiped with linux. I need to use avxSynth as the captured video has a VFR (FFVideoSource with fps parameter set), and I also need to do the encoding on a x64 machine since the source video file is very heavy and 2GB of RAM is not enough for x264 encoder. I had a new look and the exact error message is : "Failed processing script from AVXSynth Editor" as it was for plesken666 thank you
|
|
|
|
|
|
#154 | Link |
|
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,501
|
Are you sure that libavxffms2.so was built when you built AvxSynth itself? Do you see it in the result of
Code:
ls -R /usr/local/lib/avxsynth Concerning the 64-bit situation, the only thing you need to be aware of is that 64-bit compiles need --enable-pic (or equivalent) to be specified where possible so that everyone compiles cleanly. For FFmpeg, it's --enable-pic, for FFMS2 and AvxSynth, it's --with-pic (although since they both use autotools, it might be used by default on 64-bit). |
|
|
|
|
|
#155 | Link |
|
Registered User
Join Date: Jan 2013
Posts: 18
|
here is what I got :
axiagame@axiagame-linux:~$ ls -R /usr/local/lib/avxsynth/ /usr/local/lib/avxsynth/: libautocrop.so libavxffms2.so libavxframecapture.so libavxsubtitle.so the plug-in seems to be present. I did a file on each of the 4 DLLs, they are all 64 bit ELF binaries |
|
|
|
|
|
#156 | Link |
|
Pajas Mentales...
Join Date: Dec 2004
Location: Spanishtán
Posts: 497
|
working for me
ffmpeg 1.0.1 form repository https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/ffmpeg ffmpegsource 2.17 https://aur.archlinux.org/packages/ff/ffmpegsource/PKGBUILD avxsynth git https://aur.archlinux.org/packages/av/avxsynth-git/PKGBUILD http://wstaw.org/m/2013/01/28/plasma-desktopjt3071.png greetings |
|
|
|
|
|
#157 | Link | |
|
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,501
|
I was really just thinking about this part:
Quote:
I can almost bet that the 'ffmpeg' from the repositories doesn't support Dxtory-captured content, because it's really the fork, and the commit that specifically says it adds support for Dxtory only exists in mainline FFmpeg (where it was added in December 2011). The solution, in any case, is very likely to be to compile FFmpeg, then recompile FFMS2, then finally recompile AvxSynth, and try again. |
|
|
|
|
|
|
#158 | Link |
|
Registered User
Join Date: Jan 2013
Posts: 18
|
OK, here is the point :
I tried to open with virtual dub on windows (using an avs script with the same contents). It lags for a long time (indexing ?) then tell me : "insanity detected : empty frame returned" I tried to directly index the video file using ffmsindex.exe (still from windows), and it tells me the index file has been correctly created, but the files is only 486 octets length... If I try to repoen with virtual dub, I still get the same problem after the same time. (with avxsynth, the error is immediate when I try to open the file) I removed ffms2, ffmpeg, libffms2-dev and avxsynth to try to recompile everything (and the avxsynth lib directory), but it seems that the git repository of ffmpeg provided by sl1pkn07 does nor work (git tells me the server shall call get update-server-cache because some file is missing). I'll wait a bit, hoping the git issue will not last and try to recompile everything after that. |
|
|
|
|
|
#160 | Link |
|
Registered User
Join Date: Jan 2013
Posts: 18
|
OK, I thought there were git repositories, but if I go on the links I find some sort of script.
I'm not an expert of linux, how do I run those scripts ? I bet they are the scripts needed to build & install each package ? |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|