JuliaIO / VideoIO.jl

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

Problem loading VideoIO #61

Closed shashi closed 9 years ago

shashi commented 9 years ago

I tried both the current release and master branch, but using VideoIO gives me this error:

julia> using VideoIO
ERROR: AVCodec_ not defined
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in reload_path at loading.jl:152
 in _require at loading.jl:67
 in require at loading.jl:54
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in reload_path at loading.jl:152
 in _require at loading.jl:67
 in require at loading.jl:51
while loading /home/shashi/.julia/v0.3/VideoIO/src/ffmpeg/AVCodecs/v54/libavcodec_h.jl, in expression starting on line 2205
while loading /home/shashi/.julia/v0.3/VideoIO/src/ffmpeg/AVCodecs/v54/LIBAVCODEC.jl, in expression starting on line 1
while loading /home/shashi/.julia/v0.3/VideoIO/src/ffmpeg/AVCodecs/src/AVCodecs.jl, in expression starting on line 7
while loading /home/shashi/.julia/v0.3/VideoIO/src/VideoIO.jl, in expression starting on line 8

I have ffmpeg 2.7.1 and these packages with "libav" in them. (dpkg -l | grep libav):

ii  gstreamer1.0-libav:amd64                       1.2.4-1~ubuntu1                            amd64        libav plugin for GStreamer
ii  libav-tools                                    6:9.18-0ubuntu0.14.04.1                    amd64        Multimedia player, server, encoder and transcoder
ii  libavc1394-0:amd64                             0.5.4-2                                    amd64        control IEEE 1394 audio/video devices
ii  libavcodec54:amd64                             7:1.2.6-1~trusty1                          amd64        FFmpeg codec library
ii  libavdevice53:amd64                            7:1.2.6-1~trusty1                          amd64        FFmpeg device handling library
ii  libavfilter3:amd64                             7:1.2.6-1~trusty1                          amd64        FFmpeg video filtering library
ii  libavformat54:amd64                            7:1.2.6-1~trusty1                          amd64        FFmpeg file format library
ii  libavresample1:amd64                           7:1.2.6-1~trusty1                          amd64        FFmpeg audo resampling library
ii  libavutil52:amd64                              7:1.2.6-1~trusty1                          amd64        FFmpeg utility library
kmsquire commented 9 years ago

Hi Shashi, can you checkout master and see if that works? If so, I'll take a new release.

shashi commented 9 years ago

It works. :100: Thanks! :)