Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Les notifications de la ferme

    1er décembre 2010, par

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

Sur d’autres sites (9175)

  • FFMPEG, "Could not open file.. " "av_interleaved_write_frame() : Input/output error"

    10 juillet 2018, par justaguytrynabuildawebsite

    Trying to run a simple ffmpeg line on my Ubuntu 16.04 vps shell,

    ffmpeg -ss 1 -i /var/www/html/lib/vid/4581989_022810100718.mp4 -r 1 -vframes 1 /var/www/html/lib/thumbnail/4581989_022810100718/20.jpg

    but am met with

    Could not open file

    and

    av_interleaved_write_frame(): Input/output error

    I have already tried giving the ../lib/vid folder in question 777 permissions but it didnt help.

    Full print-out :

    ffmpeg version 2.8.14-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
    configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
    libavutil      54. 31.100 / 54. 31.100
    libavcodec     56. 60.100 / 56. 60.100
    libavformat    56. 40.101 / 56. 40.101
    libavdevice    56.  4.100 / 56.  4.100
    libavfilter     5. 40.101 /  5. 40.101
    libavresample   2.  1.  0 /  2.  1.  0
    libswscale      3.  1.101 /  3.  1.101
    libswresample   1.  2.101 /  1.  2.101
    libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/html/lib/vid/4581989_022810100718.mp4':
    Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf56.36.100
    Duration: 00:00:04.90, start: 0.000000, bitrate: 2595 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1820x1024 [SAR 1:1 DAR 455:256], 2593 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
     handler_name    : VideoHandler
    [swscaler @ 0x1652280] deprecated pixel format used, make sure you did set range correctly
    Output #0, image2, to '/var/www/html/lib/thumbnail/4581989_022810100718/20.jpg':
    Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf56.40.101
    Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 1820x1024 [SAR 1:1 DAR 455:256], q=2-31, 200 kb/s, 1 fps, 1 tbn, 1 tbc (default)
    Metadata:
     handler_name    : VideoHandler
     encoder         : Lavc56.60.100 mjpeg
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
    Press [q] to stop, [?] for help
    [image2 @ 0x16103a0] Could not open file : /var/www/html/lib/thumbnail/4581989_022810100718/20.jpg
    av_interleaved_write_frame(): Input/output error
    frame=    1 fps=0.0 q=3.4 Lsize=N/A time=00:00:01.00 bitrate=N/A    
    video:48kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Conversion failed!
  • How to fix the error "duplicate symbol _LOG_BUFFER_LENGTH"

    25 mai 2019, par Florentin Lupascu

    I have a Unity project embedded into Swift 4 and when I build the project I get an error from a plugin named FFmpeg (used to record the screen) and the error is next :

    duplicate symbol _LOG_BUFFER_LENGTH in:
       /Users/developers/Library/Developer/Xcode/DerivedData/DemoApp-bszfgmzljpyourbdjoxkdabtilki/Build/Intermediates.noindex/DemoApp.build/Debug-iphoneos/DemoApp.build/Objects-normal/arm64/cmdutils.o
       /Users/developers/Library/Developer/Xcode/DerivedData/DemoApp-bszfgmzljpyourbdjoxkdabtilki/Build/Intermediates.noindex/DemoApp.build/Debug-iphoneos/DemoApp.build/Objects-normal/arm64/ffmpeg.o
    duplicate symbol _LOG_BUFFER_LENGTH in:
       /Users/developers/Library/Developer/Xcode/DerivedData/DemoApp-bszfgmzljpyourbdjoxkdabtilki/Build/Intermediates.noindex/DemoApp.build/Debug-iphoneos/DemoApp.build/Objects-normal/arm64/cmdutils.o
       /Users/developers/Library/Developer/Xcode/DerivedData/DemoApp-bszfgmzljpyourbdjoxkdabtilki/Build/Intermediates.noindex/DemoApp.build/Debug-iphoneos/DemoApp.build/Objects-normal/arm64/ffmpeg_wrapper.o
    duplicate symbol _LOG_BUFFER_LENGTH in:
       /Users/developers/Library/Developer/Xcode/DerivedData/DemoApp-bszfgmzljpyourbdjoxkdabtilki/Build/Intermediates.noindex/DemoApp.build/Debug-iphoneos/DemoApp.build/Objects-normal/arm64/cmdutils.o
       /Users/developers/Library/Developer/Xcode/DerivedData/DemoApp-bszfgmzljpyourbdjoxkdabtilki/Build/Intermediates.noindex/DemoApp.build/Debug-iphoneos/DemoApp.build/Objects-normal/arm64/intercept.o
    ld: 3 duplicate symbols for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    I want to specify that if I export the project from Unity to Xcode without to embed it is working perfectly with this Plugin.
    What can be the problem with this error ?

    Until now I tried next thing to remove the error but none helped me :

    • I checked if I have "-ObjC" in Xcode in "Other Linker Flags" and I don’t have.
    • I removed a duplicate library (“libil2cpp.a”) from "Link Binary With Libraries" (XCODE)
    • I changed ’No Common Blocks’ from Yes to No (under Targets->Build Settings->Apple LLVM - Code Generation )

    At the end I have the same error.
    Here is a print screen :

    Duplicate Symbol Errors

    Thank you so much if you spend your time to read this and any idea will be helpful.

  • Integrating FFMPEG using cmake : dlopen failed : library "libavutil.so.56" not found

    26 novembre 2018, par Hamed Momeni

    This question is a subsequent thread following this other question of mine.

    After finally managing to successfully building the apk file using gradle and cmake to integrate FFMPEG into an Android project I am facing a new exception which is thrown when calling System.loadLibrary.

    java.lang.UnsatisfiedLinkError: dlopen failed: library "libavutil.so.56" not found
           at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
           at java.lang.System.loadLibrary(System.java:1657)
           at com.hmomeni.canto.activities.EditActivity.<init>(EditActivity.kt:26)
           at java.lang.Class.newInstance(Native Method)
           at android.app.Instrumentation.newActivity(Instrumentation.java:1174)
           at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2669)
           at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
           at android.app.ActivityThread.-wrap11(Unknown Source:0)
           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
           at android.os.Handler.dispatchMessage(Handler.java:106)
           at android.os.Looper.loop(Looper.java:164)
           at android.app.ActivityThread.main(ActivityThread.java:6494)
           at java.lang.reflect.Method.invoke(Native Method)
           at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
    </init>

    This is the part of code which is causing the error :

    class EditActivity : AppCompatActivity(), View.OnClickListener {

       init {
           System.loadLibrary("Canto")
       }
    ...
    }

    I tried moving the .so files inside the PROJECT/app/jniLibs and then adding the following line to build.gradle file to no avail.

    sourceSets.main.jniLibs.srcDirs = ['./jniLibs/']