Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (39)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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 (4844)

  • The C compiler "clang.exe" is not able to compile a simple test program

    8 octobre 2020, par M. Bilal Asif

    I am trying to compile shell script that compiles the C project library, but i am stuck at this when it comes to compile the nmake part.

    


    I am using NDK 21 and cmake version is 3.10

    


    I am using shell script using bash same as defined here, i want to compress this library as they showing in the docs running ./android.sh

    


    Please check the link : https://github.com/tanersener/mobile-ffmpeg#52-build-scripts

    


    here is the attached log :

    


    DEBUG: Downloading library source: cpu-features

DEBUG: Checking if cpu-features is already downloaded at /d/Bilals/Projects/GithubProjects/mobile-ffmpeg/src/cpu-features

INFO: cpu-features library already downloaded

INFO: cpu-features already downloaded. Source folder found at /d/Bilals/Projects/GithubProjects/mobile-ffmpeg/src/cpu-features

-- Building for: NMake Makefiles
-- Check for working C compiler: D:/Bilals/PcBackupData/sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe
CMake Error: Generator: execution of make failed. Make command was: "nmake" "/NOLOGO" "cmTC_adf3f\fast"
-- Check for working C compiler: D:/Bilals/PcBackupData/sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe -- broken
CMake Error at D:/Bilals/PcBackupData/sdk/cmake/3.10.2.4988404/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message):
  The C compiler

    "D:/Bilals/PcBackupData/sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/bin/clang.exe"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: D:/Bilals/Projects/GithubProjects/mobile-ffmpeg/android/build/cpu-features/arm/CMakeFiles/CMakeTmp
    
    Run Build Command:"nmake" "/NOLOGO" "cmTC_adf3f\fast"
    The system cannot find the file specified
    Generator: execution of make failed. Make command was: "nmake" "/NOLOGO" "cmTC_adf3f\fast"
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:9 (project)


-- Configuring incomplete, errors occurred!
See also "D:/Bilals/Projects/GithubProjects/mobile-ffmpeg/android/build/cpu-features/arm/CMakeFiles/CMakeOutput.log".
See also "D:/Bilals/Projects/GithubProjects/mobile-ffmpeg/android/build/cpu-features/arm/CMakeFiles/CMakeError.log".


    


    and here is my environmental variables

    


    enter image description here

    


  • How can I synchronize a method call with alsa playback ?

    23 novembre 2015, par modwizcode

    I’m trying to write a program that will synchronize lights to playback of a basic wav file. I’ve struggled through all the alsa docs, the source for ffplay.c and searched around on the internet, but it’s difficult to figure out how to do what seems like a common and simple task.

    Basically I want to do two things, the first is to read keypress events while the audio is playing and store the offsets in a file. The second is take those queue files and load them later, this time on a different audio device like a raspberry pi.

    I’m struggling with how to first account for the latency in the initial capture of the offset positions and then how to handle that latency when I playback on a completely different hardware device.

    I know snd_pcm_delay() is used by the ffmpeg suite to deal with some of this, but I’m really struggling with even the basic technique. It’s not a complicated playback mechanism, just a blocking write in a loop.

    I’d post some code, but I don’t have it with me at the moment and it’s just a mess of the current hacks that aren’t working.

  • Generating thumbnail from video using php classes

    4 janvier 2014, par user2582858

    I was using the exec command to generate thumbnails via ffmpeg..
    My method was :

    exec("ffmpeg -f image2 -i /home/phedra/imgs/image/img%03d.png -r 12 -s 610x489 /home/phedra/imgs/video/out.avi", $out);

    but my senior team member told me that using exec command is not a good practice because it is a dangerous command and It may harm server.. So find any other technique.. I struggled alot but didnt find any comprehensive method other than this..
    Can anybody tell me anyother way to generate thumbnail from video using php class from scratch (With an example if possible), so that I could understand completely, Moreover also tell me the library link to download and settings for server if any setting needed to be done before using that technque(My server system is based on Ubuntu and the framework for developement is codeignitter)..

    (Third party api tool for generating thumbnail is also welcome but the necessary thing is that it must be free :))