JuliaIO / VideoIO.jl

Reading and writing of video files in Julia via ffmpeg
https://juliaio.github.io/VideoIO.jl/stable
Other
127 stars 53 forks source link

Build broken #75

Closed SimonDanisch closed 5 years ago

SimonDanisch commented 8 years ago
INFO: Attempting to Create directory /home/s/.julia/v0.5/VideoIO/deps/downloads
INFO: Directory /home/s/.julia/v0.5/VideoIO/deps/downloads already created
INFO: Downloading file http://www.ffmpeg.org/releases/ffmpeg-2.3.2.tar.gz
INFO: Done downloading file http://www.ffmpeg.org/releases/ffmpeg-2.3.2.tar.gz
INFO: Attempting to Create directory /home/s/.julia/v0.5/VideoIO/deps/src
INFO: Directory /home/s/.julia/v0.5/VideoIO/deps/src already created
INFO: Attempting to Create directory /home/s/.julia/v0.5/VideoIO/deps
INFO: Directory /home/s/.julia/v0.5/VideoIO/deps already created
INFO: Path /home/s/.julia/v0.5/VideoIO/deps/src/ffmpeg-2.3.2 already created
INFO: Attempting to Create directory /home/s/.julia/v0.5/VideoIO/deps/builds/libavfilter
INFO: Directory /home/s/.julia/v0.5/VideoIO/deps/builds/libavfilter already created
INFO: Changing Directory to /home/s/.julia/v0.5/VideoIO/deps/builds/libavfilter
install prefix            /home/s/.julia/v0.5/VideoIO/deps/usr
source path               /home/s/.julia/v0.5/VideoIO/deps/src/ffmpeg-2.3.2
C compiler                gcc
C library                 glibc
ARCH                      x86 (generic)
big-endian                no
runtime cpu detection     yes
yasm                      yes
MMX enabled               yes
MMXEXT enabled            yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AVX enabled               yes
XOP enabled               yes
FMA3 enabled              yes
FMA4 enabled              yes
i686 features enabled     yes
CMOV is fast              yes
EBX available             yes
EBP available             yes
debug symbols             yes
strip symbols             yes
optimize for size         no
optimizations             yes
static                    yes
shared                    no
postprocessing support    yes
new filter support        yes
network support           yes
threading support         pthreads
safe bitstream reader     yes
SDL support               no
opencl enabled            no
texi2html enabled         no
perl enabled              yes
pod2man enabled           yes
makeinfo enabled          no

External libraries:
iconv           xlib            zlib

Enabled decoders:
aac         bink            gsm_ms
aac_latm        binkaudio_dct       h261
aasc            binkaudio_rdft      h263
ac3         bintext         h263i
ac3_fixed       bmp         h263p
adpcm_4xm       bmv_audio       h264
adpcm_adx       bmv_video       hevc
adpcm_afc       brender_pix     hnm4_video
adpcm_ct        c93         huffyuv
adpcm_dtk       cavs            iac
adpcm_ea        cdgraphics      idcin
adpcm_ea_maxis_xa   cdxl            idf
adpcm_ea_r1     cinepak         iff_byterun1
adpcm_ea_r2     cljr            iff_ilbm
adpcm_ea_r3     cllc            imc
adpcm_ea_xas        comfortnoise        indeo2
adpcm_g722      cook            indeo3
adpcm_g726      cpia            indeo4
adpcm_g726le        cscd            indeo5
adpcm_ima_amv       cyuv            interplay_dpcm
adpcm_ima_apc       dca         interplay_video
adpcm_ima_dk3       dfa         jacosub
adpcm_ima_dk4       dirac           jpeg2000
adpcm_ima_ea_eacs   dnxhd           jpegls
adpcm_ima_ea_sead   dpx         jv
adpcm_ima_iss       dsd_lsbf        kgv1
adpcm_ima_oki       dsd_lsbf_planar     kmvc
adpcm_ima_qt        dsd_msbf        lagarith
adpcm_ima_rad       dsd_msbf_planar     loco
adpcm_ima_smjpeg    dsicinaudio     mace3
adpcm_ima_wav       dsicinvideo     mace6
adpcm_ima_ws        dvbsub          mdec
adpcm_ms        dvdsub          metasound
adpcm_sbpro_2       dvvideo         microdvd
adpcm_sbpro_3       dxa         mimic
adpcm_sbpro_4       dxtory          mjpeg
adpcm_swf       eac3            mjpegb
adpcm_thp       eacmv           mlp
adpcm_vima      eamad           mmvideo
adpcm_xa        eatgq           motionpixels
adpcm_yamaha        eatgv           movtext
aic         eatqi           mp1
alac            eightbps        mp1float
alias_pix       eightsvx_exp        mp2
als         eightsvx_fib        mp2float
amrnb           escape124       mp3
amrwb           escape130       mp3adu
amv         evrc            mp3adufloat
anm         exr         mp3float
ansi            ffv1            mp3on4
ape         ffvhuff         mp3on4float
ass         ffwavesynth     mpc7
asv1            fic         mpc8
asv2            flac            mpeg1video
atrac1          flashsv         mpeg2video
atrac3          flashsv2        mpeg4
atrac3p         flic            mpeg_xvmc
aura            flv         mpegvideo
aura2           fourxm          mpl2
avrn            fraps           msa1
avrp            frwu            msmpeg4v1
avs         g2m         msmpeg4v2
avui            g723_1          msmpeg4v3
ayuv            g729            msrle
bethsoftvid     gif         mss1
bfi         gsm         mss2
msvideo1        qpeg            ulti
mszh            qtrle           utvideo
mts2            r10k            v210
mvc1            r210            v210x
mvc2            ra_144          v308
mxpeg           ra_288          v408
nellymoser      ralf            v410
nuv         rawvideo        vb
on2avc          realtext        vble
opus            rl2         vc1
paf_audio       roq         vc1image
paf_video       roq_dpcm        vcr1
pam         rpza            vima
pbm         rv10            vmdaudio
pcm_alaw        rv20            vmdvideo
pcm_bluray      rv30            vmnc
pcm_dvd         rv40            vorbis
pcm_f32be       s302m           vp3
pcm_f32le       sami            vp5
pcm_f64be       sanm            vp6
pcm_f64le       sgi         vp6a
pcm_lxf         sgirle          vp6f
pcm_mulaw       shorten         vp7
pcm_s16be       sipr            vp8
pcm_s16be_planar    smackaud        vp9
pcm_s16le       smacker         vplayer
pcm_s16le_planar    smc         vqa
pcm_s24be       smvjpeg         wavpack
pcm_s24daud     snow            webp
pcm_s24le       sol_dpcm        webvtt
pcm_s24le_planar    sonic           wmalossless
pcm_s32be       sp5x            wmapro
pcm_s32le       srt         wmav1
pcm_s32le_planar    ssa         wmav2
pcm_s8          subrip          wmavoice
pcm_s8_planar       subviewer       wmv1
pcm_u16be       subviewer1      wmv2
pcm_u16le       sunrast         wmv3
pcm_u24be       svq1            wmv3image
pcm_u24le       svq3            wnv1
pcm_u32be       tak         ws_snd1
pcm_u32le       targa           xan_dpcm
pcm_u8          targa_y216      xan_wc3
pcm_zork        text            xan_wc4
pcx         theora          xbin
pgm         thp         xbm
pgmyuv          tiertexseqvideo     xface
pgssub          tiff            xl
pictor          tmv         xsub
pjs         truehd          xwd
png         truemotion1     y41p
ppm         truemotion2     yop
prores          truespeech      yuv4
prores_lgpl     tscc            zero12v
ptx         tscc2           zerocodec
qcelp           tta         zlib
qdm2            twinvq          zmbv
qdraw           txd

Enabled encoders:
a64multi        jpegls          prores
a64multi5       ljpeg           prores_aw
aac         mjpeg           prores_ks
ac3         movtext         qtrle
ac3_fixed       mp2         r10k
adpcm_adx       mp2fixed        r210
adpcm_g722      mpeg1video      ra_144
adpcm_g726      mpeg2video      rawvideo
adpcm_ima_qt        mpeg4           roq
adpcm_ima_wav       msmpeg4v2       roq_dpcm
adpcm_ms        msmpeg4v3       rv10
adpcm_swf       msvideo1        rv20
adpcm_yamaha        nellymoser      s302m
alac            pam         sgi
alias_pix       pbm         snow
amv         pcm_alaw        sonic
ass         pcm_f32be       sonic_ls
asv1            pcm_f32le       srt
asv2            pcm_f64be       ssa
avrp            pcm_f64le       subrip
avui            pcm_mulaw       sunrast
ayuv            pcm_s16be       svq1
bmp         pcm_s16be_planar    targa
cinepak         pcm_s16le       tiff
cljr            pcm_s16le_planar    tta
comfortnoise        pcm_s24be       utvideo
dca         pcm_s24daud     v210
dnxhd           pcm_s24le       v308
dpx         pcm_s24le_planar    v408
dvbsub          pcm_s32be       v410
dvdsub          pcm_s32le       vorbis
dvvideo         pcm_s32le_planar    wavpack
eac3            pcm_s8          webvtt
ffv1            pcm_s8_planar       wmav1
ffvhuff         pcm_u16be       wmav2
flac            pcm_u16le       wmv1
flashsv         pcm_u24be       wmv2
flashsv2        pcm_u24le       xbm
flv         pcm_u32be       xface
g723_1          pcm_u32le       xsub
gif         pcm_u8          xwd
h261            pcx         y41p
h263            pgm         yuv4
h263p           pgmyuv          zlib
huffyuv         png         zmbv
jpeg2000        ppm

Enabled hwaccels:
h263_vaapi      mpeg2_vaapi     vc1_vaapi
h264_vaapi      mpeg2_xvmc      wmv3_vaapi
mpeg1_xvmc      mpeg4_vaapi
Enabled parsers:
aac         dvd_nav         mpegvideo
aac_latm        dvdsub          opus
ac3         flac            png
adx         gsm         pnm
bmp         h261            rv30
cavsvideo       h263            rv40
cook            h264            tak
dca         hevc            vc1
dirac           mjpeg           vorbis
dnxhd           mlp         vp3
dpx         mpeg4video      vp8
dvbsub          mpegaudio       vp9
Enabled demuxers:
aac         h263            nut
ac3         h264            nuv
act         hevc            ogg
adf         hls         oma
adp         hnm         paf
adx         ico         pcm_alaw
aea         idcin           pcm_f32be
afc         idf         pcm_f32le
aiff            iff         pcm_f64be
amr         ilbc            pcm_f64le
anm         image2          pcm_mulaw
apc         image2_alias_pix    pcm_s16be
ape         image2_brender_pix  pcm_s16le
aqtitle         image2pipe      pcm_s24be
asf         image_bmp_pipe      pcm_s24le
ass         image_dpx_pipe      pcm_s32be
ast         image_exr_pipe      pcm_s32le
au          image_j2k_pipe      pcm_s8
avi         image_pictor_pipe   pcm_u16be
avr         image_png_pipe      pcm_u16le
avs         image_sgi_pipe      pcm_u24be
bethsoftvid     image_sunrast_pipe  pcm_u24le
bfi         image_tiff_pipe     pcm_u32be
bink            ingenient       pcm_u32le
bintext         ipmovie         pcm_u8
bit         ircam           pjs
bmv         iss         pmp
boa         iv8         pva
brstm           ivf         pvf
c93         jacosub         qcp
caf         jv          r3d
cavsvideo       latm            rawvideo
cdg         live_flv        realtext
cdxl            lmlm4           redspark
cine            loas            rl2
concat          lrc         rm
data            lvf         roq
daud            lxf         rpl
dfa         m4v         rsd
dirac           matroska        rso
dnxhd           mgsts           rtp
dsf         microdvd        rtsp
dsicin          mjpeg           sami
dts         mlp         sap
dtshd           mlv         sbg
dv          mm          sdp
dxa         mmf         sdr2
ea          mov         segafilm
ea_cdata        mp3         shorten
eac3            mpc         siff
epaf            mpc8            sln
ffm         mpegps          smacker
ffmetadata      mpegts          smjpeg
filmstrip       mpegtsraw       smush
flac            mpegvideo       sol
flic            mpl2            sox
flv         mpsub           spdif
fourxm          msnwc_tcp       srt
frm         mtv         str
g722            mv          subviewer
g723_1          mvi         subviewer1
g729            mxf         swf
gif         mxg         tak
gsm         nc          tedcaptions
gxf         nistsphere      thp
h261            nsv         tiertexseq
tmv         voc         wsvqa
truehd          vplayer         wtv
tta         vqf         wv
tty         w64         xa
txd         wav         xbin
vc1         wc3         xmv
vc1t            webm_dash_manifest  xwma
vivo            webvtt          yop
vmd         wsaud           yuv4mpegpipe
vobsub
Enabled muxers:
a64         ipod            pcm_s24be
ac3         ircam           pcm_s24le
adts            ismv            pcm_s32be
adx         ivf         pcm_s32le
aiff            jacosub         pcm_s8
amr         latm            pcm_u16be
asf         lrc         pcm_u16le
asf_stream      m4v         pcm_u24be
ass         matroska        pcm_u24le
ast         matroska_audio      pcm_u32be
au          md5         pcm_u32le
avi         microdvd        pcm_u8
avm2            mjpeg           psp
bit         mkvtimestamp_v2     rawvideo
caf         mlp         rm
cavsvideo       mmf         roq
crc         mov         rso
data            mp2         rtp
daud            mp3         rtsp
dirac           mp4         sap
dnxhd           mpeg1system     segment
dts         mpeg1vcd        smjpeg
dv          mpeg1video      smoothstreaming
eac3            mpeg2dvd        sox
f4v         mpeg2svcd       spdif
ffm         mpeg2video      speex
ffmetadata      mpeg2vob        srt
filmstrip       mpegts          stream_segment
flac            mpjpeg          swf
flv         mxf         tee
framecrc        mxf_d10         tg2
framemd5        null            tgp
g722            nut         truehd
g723_1          oga         uncodedframecrc
gif         ogg         vc1
gxf         oma         vc1t
h261            opus            voc
h263            pcm_alaw        w64
h264            pcm_f32be       wav
hds         pcm_f32le       webm
hevc            pcm_f64be       webm_dash_manifest
hls         pcm_f64le       webvtt
ico         pcm_mulaw       wtv
ilbc            pcm_s16be       wv
image2          pcm_s16le       yuv4mpegpipe
image2pipe

Enabled protocols:
cache           hls         rtmpt
concat          http            rtp
crypto          httpproxy       srtp
data            md5         subfile
ffrtmphttp      mmsh            tcp
file            mmst            udp
ftp         pipe            unix
gopher          rtmp
Enabled filters:
aconvert        decimate        overlay
adelay          dejudder        owdenoise
aecho           delogo          pad
aeval           deshake         pan
aevalsrc        drawbox         perms
afade           drawgrid        perspective
aformat         earwax          phase
ainterleave     ebur128         pixdesctest
allpass         edgedetect      pp
alphaextract        elbg            psnr
alphamerge      equalizer       pullup
amerge          extractplanes       removelogo
amix            fade            replaygain
amovie          field           rgbtestsrc
anull           fieldmatch      rotate
anullsink       fieldorder      sab
anullsrc        flanger         scale
apad            format          select
aperms          fps         sendcmd
aphaser         framepack       separatefields
aresample       framestep       setdar
aselect         geq         setfield
asendcmd        gradfun         setpts
asetnsamples        haldclut        setsar
asetpts         haldclutsrc     settb
asetrate        hflip           showcqt
asettb          highpass        showinfo
ashowinfo       histeq          showspectrum
asplit          histogram       showwaves
astats          hqdn3d          shuffleplanes
astreamsync     hqx         signalstats
atempo          hue         silencedetect
atrim           idet            sine
avectorscope        il          smartblur
bandpass        interlace       smptebars
bandreject      interleave      smptehdbars
bass            join            split
bbox            kerndeint       spp
biquad          life            stereo3d
blackdetect     lowpass         super2xsai
blackframe      lut         swapuv
blend           lut3d           telecine
boxblur         lutrgb          testsrc
cellauto        lutyuv          thumbnail
channelmap      mandelbrot      tile
channelsplit        mcdeint         tinterlace
color           mergeplanes     transpose
colorbalance        movie           treble
colorchannelmixer   mp          trim
colormatrix     mpdecimate      unsharp
compand         mptestsrc       vflip
concat          negate          vignette
copy            noformat        volume
crop            noise           volumedetect
cropdetect      null            w3fdif
curves          nullsink        yadif
dctdnoiz        nullsrc         zoompan
Enabled bsfs:
aac_adtstoasc       imx_dump_header     mp3_header_decompress
chomp           mjpeg2jpeg      noise
dump_extradata      mjpega_dump_header  remove_extradata
h264_mp4toannexb    mov2textsub     text2movsub
Enabled indevs:
dv1394          lavfi           v4l2
fbdev           oss
Enabled outdevs:
fbdev           v4l2            xv
oss
License: GPL version 2 or later
Creating config.mak, config.h, and doc/config.texi...
config.h is unchanged
config.asm is unchanged
libavutil/avconfig.h is unchanged
ERROR: LoadError: File AbstractString["config.status"] was not created successfully (Tried to run BinDeps.SynchronousStepCollection(Any[setenv(`/home/s/.julia/v0.5/VideoIO/deps/src/ffmpeg-2.3.2/configure --enable-gpl --prefix=/home/s/.julia/v0.5/VideoIO/deps/usr`,Union{ASCIIString,UTF8String}["PATH=/home/s/.julia/v0.5/VideoIO/deps/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games","SESSION=ubuntu","LIBVA_DRIVERS_PATH=/opt/intel/mediasdk/lib64","DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path","UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/757","UPSTART_JOB=unity7","DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-lLxNnSlNmK","NODE_ENV=production","DESKTOP_STARTUP_ID=compiz-968-sd-/usr/share/atom/atom-0_TIME64718","XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0","XDG_SESSION_DESKTOP=ubuntu","XDG_SESSION_TYPE=x11","USER=s","XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg","LC_NUMERIC=de_DE.UTF-8","QT_IM_MODULE=ibus","LC_TIME=de_DE.UTF-8","LC_MEASUREMENT=de_DE.UTF-8","SESSIONTYPE=gnome-session","INSTANCE=","GDMSESSION=ubuntu","LC_TELEPHONE=de_DE.UTF-8","CLUTTER_IM_MODULE=xim","XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/","SHELL=/bin/bash","XDG_SEAT=seat0","XAUTHORITY=/home/s/.Xauthority","GOOGLE_API_KEY=AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q","GTK_MODULES=unity-gtk-module","GNOME_KEYRING_PID=","GTK_IM_MODULE=ibus","QT_QPA_PLATFORMTHEME=appmenu-qt5","XMODIFIERS=@im=ibus","HOME=/home/s","NODE_PATH=/usr/share/atom/resources/app.asar/exports","GTK2_MODULES=overlay-scrollbar","MFX_HOME=/opt/intel/mediasdk","LIBVA_DRIVER_NAME=iHD","IM_CONFIG_PHASE=1","COMPIZ_CONFIG_PROFILE=ubuntu","UPSTART_INSTANCE=","XDG_CURRENT_DESKTOP=Unity","LANG=en_US.UTF-8","SHLVL=0","LOGNAME=s","LC_MONETARY=de_DE.UTF-8","XDG_RUNTIME_DIR=/run/user/1000","GNOME_DESKTOP_SESSION_ID=this-is-deprecated","DESKTOP_SESSION=ubuntu","GDM_LANG=en_US","SSH_AUTH_SOCK=/run/user/1000/keyring/ssh","LC_PAPER=de_DE.UTF-8","LC_ADDRESS=de_DE.UTF-8","GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/atom.desktop","PWD=/home/s","DISPLAY=:0","UPSTART_EVENTS=xsession started","COMPIZ_BIN_PATH=/usr/bin/","LANGUAGE=en_US","XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/s","XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0","CPPFLAGS= -I/home/s/.julia/v0.5/VideoIO/deps/usr/include","LDFLAGS= -L/home/s/.julia/v0.5/VideoIO/deps/usr/lib -Wl,-rpath -Wl,/home/s/.julia/v0.5/VideoIO/deps/usr/lib","XDG_VTNR=7","MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path","XDG_SESSION_ID=c1","LC_NAME=de_DE.UTF-8","LC_IDENTIFICATION=de_DE.UTF-8","ATOM_HOME=/home/s/.atom","PKG_CONFIG_PATH=/home/s/.julia/v0.5/VideoIO/deps/usr/lib/pkgconfig","GIO_LAUNCHED_DESKTOP_FILE_PID=1726","QT4_IM_MODULE=xim","OPENBLAS_MAIN_FREE=1","GNOME_KEYRING_CONTROL=","JOB=unity-settings-daemon"])],"","") )
 in error at ./error.jl:21
 in run at /home/s/.julia/v0.4/BinDeps/src/BinDeps.jl:442
 in run at /home/s/.julia/v0.4/BinDeps/src/BinDeps.jl:478 (repeats 2 times)
 in satisfy! at /home/s/.julia/v0.4/BinDeps/src/dependencies.jl:752

Might this be a BinDeps issue, @tkelman ? I sadly don't know what this config.status is about...

kmsquire commented 8 years ago

Looks like a BinDeps issue, but not positive--might just be how VideoIO.jl is using BinDeps

SimonDanisch commented 8 years ago

Any ideas, @tkelman ?

tkelman commented 8 years ago

Does a normal source build of ffmpeg create a config.status? That is a standard file created by autotools (see https://commons.wikimedia.org/wiki/File:Autoconf-automake-process.svg), but if ffmpeg's configure script is actually not autotools just pretending to be, then the Autotools provider line will need to be adjusted to handle a different file that actually does get created, probably config.mak here (which is a nonstandard name).

SimonDanisch commented 8 years ago

Does a normal source build of ffmpeg create a config.status?

I'm not sure how to verify this...

What would be the change to the Autotools provider line? Then I can just change it and see if it works...

tkelman commented 8 years ago

Run the same configure command in a local download of the source? I don't remember offhand what arguments the BinDeps providers take, would have to look into the source.

kmsquire commented 8 years ago

@SimonDanisch, I added you as a collaborator. I just became a father, and I'm not expecting to have time to work on this much in the near future. If you can fix some of the issues here, please use your best judgement and merge appropriate fixes.

(This includes removing the Images.jl dependency, if you wish... my hope was to create a VideoImages.jl package for that, but not going to happen soon...)

SimonDanisch commented 8 years ago

Great to hear, congratulations :) Sadly, I myself also have a lot of other things on my priority list which come first :( Hope to spend some time on fixing this up soon, though!

bjarthur commented 7 years ago

@tkelman is right. ffmpeg's configure script is indeed just pretending to be autotools:

[ffmpeg]$ head configure 
#!/bin/sh
#
# FFmpeg configure script
#
# Copyright (c) 2000-2002 Fabrice Bellard
# Copyright (c) 2005-2008 Diego Biurrun
# Copyright (c) 2005-2008 Mans Rullgard
#

# Prevent locale nonsense from breaking basic text processing.

compare with fftw's configure script:

[fftw-3.3.3]$ head configure
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for fftw 3.3.3.
#
# Report bugs to <fftw@fftw.org>.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
#
#

so what to do about the missing config.status file...

IanButterworth commented 5 years ago

Hopefully well and truly fixed by now, most recently with #176