Recherche avancée

Médias (91)

Autres articles (43)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (6683)

  • ffmpeg result to a tempfile

    26 septembre 2012, par user1165201

    I am new to python and ffmpeg. I have a following question to ask.

    If I run the following command from command-line and it works.

    ffmpeg -i  1.flv  temp_filename

    If I put it in a program

      temp_file_handle, temp_filename = tempfile.mkstemp('.flv')

      command = "ffmpeg -i " + newvideo.location + " "+ temp_filename

      out = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
      res = out.communicate()

    The generated video didn't write to the tem_filename. Why ?

  • Building FFMPEG for Visual Studio development

    28 juillet 2016, par gboy

    I’m trying to use ffmpeg in Visual Studio 2013 C++ software (ultimately as part of an OpenCV project) - but right now I’m just trying to get basic FFMPEG functionality. In general, when building in Visual Studio, I build 64—bit software with Multi-threaded DLL runtime libraries. I have built ffmpeg using the general instructions for ’Native Windows compilation using ... MinGW-w64’ at http://ffmpeg.org/platform.html#Windows (I provide a more detailed set of steps I followed below...).

    After building the ffmpeg software on my system, I tried to create a simple ’hello world’ project in Visual Studio 2013. Specifically, I tried to implement the initial tutorial file presented at http://dranger.com/ffmpeg/tutorial01.html. Upon building the project, I get the error :

    c :\msys64\usr\local\ffmpeg\libavutil\common.h(45) : fatal error C1083 : Cannot
    open include file : ’libavutil/avconfig.h’ : No such file or directory

    The following are the detailed steps I took to build ffmpeg and create my basic Visual Studio project :

    ============ Building ffmpeg ===============

    1. Downloaded and intalled msys2-x86_64-20160205.exe from http://msys2.github.io
    2. Ran update-core to update the Msys2 install
    3. Ran pacman -Suu (twice) to complete the update (following the instructions about updating shortcuts, etc.)
    4. Then I quit out of the MSys2 shell and opened the MinGW-w64 Win64 Shell. In this new shell :
    5. Installed the following packages using pacman -S The list of packages I installed is : make, pkg-config, diffutils, mingw-w64-x86_64-yasm, mingw-w64-x86_64-gcc, mingw-w64-x86_64-SDL, git
    6. Then I cd’d into cd /usr/local
    7. Ran git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
    8. I wanted to build the ffmpeg library ’out-of-tree’ of this MSys64 folder. So, in the regular file system of my Windows machine I created a folder at C :\ffmpeg
    9. Back in the Win64 Shell, I cd’d to this new folder : cd /c/ffmpeg
    10. Then ran /usr/loca/ffmpeg/configure --enable-shared
    11. Then make -r
    12. And, finally make install

    Now, if I had to guess, my ’flaw’ was in the options I used when calling the ’configure’ script of ffmpeg. Do I need to use particular options so that I can take the ffmpeg libraries built here and use them as dynamic (DLL) libraries in Visual Studio ?

    ========== Configuring my Visual Studio Project ============

    Here’s how I created a simple hello world project in Visual Studio to see if ffmpeg is working.

    1. I created a new Visual C++ ’Empty Project’ in Visual Studio 2013
    2. I then configured the project properties as follows :

      a. In C/C++ => General => Additional Include Directories, I put

      C :\msys64\usr\local\ffmpeg

      b. In Linker=>General => Additional Library Directories, I pointed to each of the built library folders (basically I pointed at all of the libraries that were built to ensure I was not inadvertently missing the critical one). The list is as follows :

      • C :\ffmpeg\libavcodec
      • C :\ffmpeg\libavdevice
      • C :\ffmpeg\libavfilter
      • C :\ffmpeg\libavformat
      • C :\ffmpeg\libavutil
      • C :\ffmpeg\libswresample
      • C :\ffmpeg\libswscale
      • C :\ffmpeg

      c. In Linker=> Input => Additional Dependencies, I pointed to the particular libraries (again - I pointed to all of the ones present). The list is :

      • avcodec.lib
      • avdevice.lib
      • avfilter.lib
      • avformat.lib
      • avutil.lib
      • swresample.lib
      • swscale.lib
    3. I then created a new source file called ’tut01.c’ and copied/pasted the code from http://dranger.com/ffmpeg/tutorial01.c

    4. Then hit F7 and got the error specified above about not finding avconfig.h

    The above is my best guess as to the steps I need to follow to get this working in Windows (btw, it’s Windows 10, 64-bit) & Microsoft Visual Studio 2013. What should I change to get this basic program to build and run ?

  • ffmpeg can't find files using C ? [closed]

    14 décembre 2019, par Edoardo Colella

    I tried to use ffmpeg concatenation with popen command in C but I get "No such file or directory". If I use Linux terminal with the same command it works.

    C code :

    fp=popen("ffmpeg -i \"concat : audio/1.mp3|audio/2.mp3\" -acodec copyoutput.mp3", "r") ;
    pclose(fp) ;

    Error in Linux shell :
    audio/1.mp3|audio/2.mp3 No such file of directory found

    What could be the problem ?