Recherche avancée

Médias (91)

Autres articles (73)

  • 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 ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (8628)

  • Recursive ffmpeg batch script within Windows

    30 septembre 2013, par Tisch

    Complete change to the question !

    I now have the following script :

    @echo off
    REM keep a counter for files converted
    set /A nfile=0
    REM do not copy empty folders or any files
    @echo Copying directory structure from %0 to %1 ...
    xcopy /T %1 %2
    REM walk directory structure and convert each file in quiet mode
    for /R %1 %%v in (*.mp4, *.aac, *.flv, *.m4a, *.mp3) do (
       echo converting "%%~nxv" ...
       ffmpeg -v quiet -i "%%v" -vcodec libx264 "%2\%%~nv-converted.mp4"
       set /A nfile+=1
    )
    echo Done! Converted %nfile% file(s)

    Taken from : http://mostlybuggy.wordpress.com/2012/09/25/windows-batch-file-how-to-copy-and-convert-folders-recursively-with-ffmpeg/

    The videos are converting as expected when I run the following command :

    convert ..\..\folder ..\..\converted\

    However, the converted files end up in "converted" and not in their respective sub-folders.

    Any ideas ?

  • Building FFMPEG library for iOS5.1 ARMv7

    25 octobre 2012, par Jimmy

    I'm trying to use the FFMPEG library in an XCode 4.5.1 project. And I'm trying to build it for ARMv7

    But I'm running into some major issues, I'm hoping that someone can walk me through how to do it ? I feel a little sketched out reading material thats a couple months old. I'm not aware of the changes.

    New Update (after a lot of time)

    I want to help everyone out that is having this problem because its so frustrating. heres how you do it. I've pasted the configuration stage. This is my ./configure

    ./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --enable-cross-compile --arch=arm --target-os=darwin
      --cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin/arm-apple-darwin10-llvm-gcc-4.2
      --as='gas-preprocessor/gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin/arm-apple-darwin10-llvm-gcc-4.2'
      --sysroot=/applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
      --cpu=cortex-a8
      --extra-ldflags='-isysroot /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk'
      --enable-pic
      --disable-bzlib --disable-gpl --disable-shared --enable-static --disable-mmx --disable-debug --disable-neon
      --extra-cflags='-pipe -Os -gdwarf-2 -isysroot /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -m${thumb_opt:-no-thumb} -mthumb-interwork'

    This ended up working for me. I had the following problems.

    • I had to download ( https://github.com/yuvi/gas-preprocessor ) copy the file gas-preprocessor.pl at /usr/local/bin. Set permissions to read write (777)
    • Make sure I'm using the right GCC compiler : /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/bin/arm-apple-darwin10-llvm-gcc-4.2
    • Make sure I'm using the right SDK : /applications/xcode.app/contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
    • —extra-cflags="-arch armv7" causes bugs in the configure. take it out. This was causing my gcc compile errors. (specifically this one : error : unrecognized command line option “-arch”.)

    I'll let you guys know how much further I get.

  • Using FFMpeg av_read_frame in PHP ?

    29 juin 2015, par ScottyB

    I’m hoping to incorporate FFMpeg in a PHP script. My understanding is that the two best solutions are to use the command line via exec() and extract results or use PHP-FFMpeg (https://github.com/PHP-FFMpeg/PHP-FFMpeg).

    What I want to do is walk through a video frame-by-frame, and I think I need to use av_read_frame(). What’s the best way to use that from PHP ? I don’t think it’s available from the command line or PHP-FFMpeg. Should I write a C program (using XCode) to do what I want and call it from my PHP script ?

    Thanks !