Page 8 of 11 FirstFirst ... 678910 ... LastLast
Results 71 to 80 of 108

Thread: FFmpeg Mplayer VLC - News & Howtos

  1. #71
    monkeybrain2012 is offline Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    Oct 2012
    Beans
    874

    Re: FFmpeg Mplayer VLC - News & Howtos

    Hi,

    I am trying to compile ffmpeg as a shared library in raring (--enable-shared), it seems to compile ok, but when I type ffmpeg in the terminal I get
    Code:
    ffmpeg: symbol lookup error: /usr/local/lib/libavcodec.so.55: undefined symbol: vpx_codec_vp9_dx_algo

    I had the same problem in Precise as well. Please advise.

    Thanks.

  2. #72
    Join Date
    Oct 2010
    Location
    London
    Beans
    482
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: FFmpeg Mplayer VLC - News & Howtos

    You'd probably be better off starting your own thread for that.

    Did you follow a guide for compiling?
    Please mark your thread as solved if you get a satisfactory solution to your problem.

  3. #73
    monkeybrain2012 is offline Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    Oct 2012
    Beans
    874

    Re: FFmpeg Mplayer VLC - News & Howtos

    I did follow the guide, with the exception that I compiled it as a shared library because I want to use it for compiling other things, I don't want to have multiple static libraries of the same software lying around.

  4. #74
    Join Date
    Dec 2006
    Beans
    7,349

    Re: FFmpeg Mplayer VLC - News & Howtos

    An interesting development for x264 users:

    OpenCL lookahead
    http://git.videolan.org/?p=x264.git;...9f23ec8ae5e042

    I have to admit that I cannot get this working onmy system despite having the appropriate headers in place .
    You think that's air you're breathing now?

  5. #75
    monkeybrain2012 is offline Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    Oct 2012
    Beans
    874

    Re: FFmpeg Mplayer VLC - News & Howtos

    I managed to compile ffmpeg as a shared library and it works but only with libvpx disabled. Instead of compiling from git I just grab a tarball of ffmeg-1.2, but since I got the same error in both cases I think disabling libvpx would work for the git version too.


    Code:
    $ ffmpeg -version
    ffmpeg version 1.2
    built on Apr 29 2013 16:09:13 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
    configuration: --enable-shared --enable-ffplay --enable-libopus --enable-libpulse --disable-libvpx --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-librtmp --enable-libtheora --enable-libvorbis --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
    libavutil      52. 18.100 / 52. 18.100
    libavcodec     54. 92.100 / 54. 92.100
    libavformat    54. 63.104 / 54. 63.104
    libavdevice    54.  3.103 / 54.  3.103
    libavfilter     3. 42.103 /  3. 42.103
    libswscale      2.  2.100 /  2.  1.  0
    libswresample   0. 17.102 /  0. 17.102
    libpostproc    52.  2.100 / 52.  0.  0
    Last edited by monkeybrain2012; April 29th, 2013 at 10:07 PM.

  6. #76
    Join Date
    Oct 2010
    Location
    London
    Beans
    482
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: FFmpeg Mplayer VLC - News & Howtos

    Please file a bug report about that.
    Please mark your thread as solved if you get a satisfactory solution to your problem.

  7. #77
    Join Date
    Jun 2007
    Beans
    17,337

    Re:shared FFmpeg & libvpx

    Quote Originally Posted by monkeybrain2012 View Post
    I managed to compile ffmpeg as a shared library and it works but only with libvpx disabled. Instead of compiling from git I just grab a tarball of ffmeg-1.2, but since I got the same error in both cases I think disabling libvpx would work for the git version too.
    It *could* be informative to know -
    Are you on 32 or 64 bit?
    Did you use a static libvpx build (the guide does) or a shared libvpx build or the 13.04 libvpx1 & libvpx-dev?

    Slightly off topic -
    While possibly a moot point to you I'm wondering if you realize that when building a source against a static FFmpeg that after the build you can remove that static FFmpeg build if no further use (referencing your comment about having multiple static FFmpeg builds lying around

  8. #78
    monkeybrain2012 is offline Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    Oct 2012
    Beans
    874

    Re: FFmpeg Mplayer VLC - News & Howtos

    Hi,

    It is 32 bit and I build libvpx as a shared library. Seems that I can't remove libvpx1 without removing a lot of other stuffs.

  9. #79
    Join Date
    Jun 2007
    Beans
    17,337

    Re: FFmpeg Mplayer VLC - News & Howtos

    Quote Originally Posted by monkeybrain2012 View Post
    Hi,

    It is 32 bit and I build libvpx as a shared library. Seems that I can't remove libvpx1 without removing a lot of other stuffs.
    When I get home tonight will give that a try, let you know if seeing same issue
    (just to note - may not be too much difference between git vpx & the one available in raring

  10. #80
    Join Date
    Jun 2006
    Beans
    24

    Re: FFmpeg Mplayer VLC - News & Howtos

    Quote Originally Posted by andrew.46 View Post
    An interesting development for x264 users:

    OpenCL lookahead
    http://git.videolan.org/?p=x264.git;...9f23ec8ae5e042

    I have to admit that I cannot get this working onmy system despite having the appropriate headers in place .

    build last git for a test,
    patch for building x264 with opencl on linux

    Code:
    --- a/configure   2013-04-29 21:29:38.000000000 +0200
    +++ b/configure      2013-05-02 16:11:24.000000000 +0200
    @@ -1115,8 +1115,8 @@
         # OpenCL support is only well tested on Windows/MinGW.  If you
         # wish to try it on an unsupported platform, swap the lines
         # below.  If OpenCL breaks, you get to keep both halves
    -    #opencl="yes"
    -    opencl="no"
    +    opencl="yes"
    +    #opencl="no"
     fi
     if [ "$opencl" = "yes" ]; then
         log_check "looking for perl"
    @@ -1125,7 +1125,7 @@
             echo 'OpenCL support requires perl to compile.'
             echo 'use --disable-opencl to compile without OpenCL.'
             exit 1
    -    elif [[ $cross_prefix != ""  &&  $host_os == mingw* ]] ; then
    +    elif [[ $host_os != mingw* ]] ; then
             if cc_check "CL/cl.h" "-lOpenCL"; then
                 echo 'HAVE_OPENCL=yes' >> config.mak
                 echo 'OPENCL_LIB=OpenCL' >> config.mak
    test with opencl

    Code:
    mc@debian64:~/develop-deb/x264_10/opencl$ ./x264 --threads 0 --opencl  --bitrate 800 --preset faster --tune film -o video.mkv test.mkv 
    lavf [info]: 720x404p 0:1 @ 24000/1001 fps (vfr)
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
    x264 [info]: OpenCL acceleration enabled with NVIDIA Corporation GeForce GT 440 
    x264 [info]: profile High, level 3.0
    x264 [info]: frame I:181   Avg QP:16.60  size: 23111                           
    x264 [info]: frame P:3454  Avg QP:20.32  size:  6237
    x264 [info]: frame B:4999  Avg QP:21.46  size:  1901
    x264 [info]: consecutive B-frames: 11.7% 29.1% 12.4% 46.7%
    x264 [info]: mb I  I16..4: 22.3% 42.6% 35.1%
    x264 [info]: mb P  I16..4: 11.4% 17.3%  2.8%  P16..4: 32.8% 12.4%  4.5%  0.0%  0.0%    skip:18.8%
    x264 [info]: mb B  I16..4:  1.3%  1.5%  0.2%  B16..8: 34.8%  5.9%  0.4%  direct:12.0%  skip:44.0%  L0:42.8% L1:48.8% BI: 8.4%
    x264 [info]: final ratefactor: 20.01
    x264 [info]: 8x8 transform intra:52.9% inter:48.2%
    x264 [info]: coded y,uvDC,uvAC intra: 49.1% 65.0% 17.6% inter: 11.0% 24.5% 0.3%
    x264 [info]: i16 v,h,dc,p: 53% 20% 16% 12%
    x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 15% 25%  4%  5%  6%  5%  5%  4%
    x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 15% 13%  6%  8%  9%  6%  8%  5%
    x264 [info]: i8c dc,h,v,p: 50% 18% 26%  5%
    x264 [info]: Weighted P-Frames: Y:4.8% UV:3.9%
    x264 [info]: ref P L0: 73.6% 26.4%
    x264 [info]: ref B L0: 81.7% 18.3%
    x264 [info]: ref B L1: 94.9%  5.1%
    x264 [info]: kb/s:782.51
    
    encoded 8634 frames, 121.62 fps, 782.52 kb/s
    without opencl
    Code:
    mc@debian64:~/develop-deb/x264_10/opencl$ ./x264 --threads 0  --bitrate 800 --preset faster --tune film -o video2.mkv test.mkv 
    lavf [info]: 720x404p 0:1 @ 24000/1001 fps (vfr)
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
    x264 [info]: profile High, level 3.0
    x264 [info]: frame I:184   Avg QP:16.66  size: 23148                           
    x264 [info]: frame P:3387  Avg QP:20.29  size:  6307
    x264 [info]: frame B:5063  Avg QP:21.40  size:  1900
    x264 [info]: consecutive B-frames: 11.8% 26.1% 12.1% 50.0%
    x264 [info]: mb I  I16..4: 22.4% 42.4% 35.3%
    x264 [info]: mb P  I16..4: 11.4% 17.3%  2.9%  P16..4: 32.7% 12.4%  4.5%  0.0%  0.0%    skip:18.8%
    x264 [info]: mb B  I16..4:  1.2%  1.5%  0.2%  B16..8: 34.9%  5.8%  0.4%  direct:11.9%  skip:44.1%  L0:42.5% L1:49.0% BI: 8.4%
    x264 [info]: final ratefactor: 19.95
    x264 [info]: 8x8 transform intra:52.9% inter:48.4%
    x264 [info]: coded y,uvDC,uvAC intra: 49.4% 65.3% 17.7% inter: 10.9% 24.4% 0.3%
    x264 [info]: i16 v,h,dc,p: 52% 20% 16% 12%
    x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 15% 25%  4%  5%  6%  5%  5%  4%
    x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 16% 13%  6%  8%  9%  7%  8%  5%
    x264 [info]: i8c dc,h,v,p: 50% 18% 26%  5%
    x264 [info]: Weighted P-Frames: Y:4.6% UV:3.8%
    x264 [info]: ref P L0: 74.2% 25.8%
    x264 [info]: ref B L0: 82.2% 17.8%
    x264 [info]: ref B L1: 94.8%  5.2%
    x264 [info]: kb/s:782.64
    
    encoded 8634 frames, 121.98 fps, 782.66 kb/s
    no particular difference, can it be that my video card (nvidia GT 440) is not very powerful
    Last edited by telperion; May 2nd, 2013 at 04:59 PM.

Page 8 of 11 FirstFirst ... 678910 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •