Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (77)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (9195)

  • Error trying to load ffmpeg library in dart

    24 juillet 2021, par Vinícius Pereira

    I'm a new programmer in de Dart world and I'm trying some stuff to learn more.
I'm trying to create a application that outputs audio from a file. I checked pub and I haven't found anything that suits my needs. So I found about dart:ffi and about ffmpeg capabilities.

    


    For the past few days I'm trying to load the ffmpeg libraries (avcodec, avformat, etc.) into my code but I haven't succeded.

    


    This is my code.

    


    var libraryPath = path.join(Directory.current.path, 'bin', 'avcodec.dll');
final dylib = ffi.DynamicLibrary.open(libraryPath);


    


    This is the error I got :

    


    Exception has occurred.
ArgumentError (Invalid argument(s): Failed to load dynamic library 'C:\Users\[MYUSER]\Documents\Code\Dart\ffmpeg\bin\avcodec.dll': 126)


    


    What I've tried so far :

    


      

    • Checked the path, it's right ;
    • 


    • Tried to import another library (sqlite3) with success ;
    • 


    • Tried to compile the DLLs myself and also tried prebuilt ones (from the links on ffmpeg site)
    • 


    


    My dart version Dart SDK version: 2.13.4 (stable) on "windows_x64"

    


    Whats the procedure to properly use the ffmpeg library with dart ?

    


  • ffmpeg with m3u8 : video and audio not synchronized

    3 avril 2017, par lemel

    I noticed while using ffmpeg to download m3u8 streaming playlist, I get sometimes faster video.
    If the content of the url master.m3u8 is the following :

    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=620941,RESOLUTION=640x352,CODECS="avc1.4d401f,mp4a.40.2"
    https://hello/world.m3u8

    If I’m not mistaken, ffmpeg should be able to decode the EXT-X-STREAM-INF information and assign the default value while downloading.
    But when I run the following command :

    ffmpeg -i "https://hello/darkness/my/old/friend/master.m3u8" -c copy "Some Video File.ts"

    I get a video that is faster than the Audio.
    If I run this command without the -c copy :

    ffmpeg -i "https://hello/darkness/my/old/friend/master.m3u8" "Some Video File.ts"

    I get a video and audio synchronized. But the video quality is worse.

    What’s the problem ?

  • ffmpwg failed with code 1 at ChildProcess

    13 janvier 2021, par awabs

    I am trying to add a watermark over the a video in firebase storage using firebase functions and ffmpeg,
but no matter what I try it always exit the same error.

    


     return spawn('ffmpeg', ['-i', tmpFilePath, '-vf',`drawtext="text='hello World'`, tmpFilePath]);


    


    And I tried this as well :

    


            return spawn('ffmpeg', ['-i', tmpFilePath, '-i', tmpLogoPath, '-filter_complex', '"overlay=10:10"', tmpFilePath]);


    


    console log :

    


    ChildProcessError: `ffmpeg -i /tmp/anything -vf drawtext="text=&#x27;Stack Overflow&#x27; /tmp/anything` failed with code 1&#xA;at ChildProcess.<anonymous> (/workspace/node_modules/child-process-promise/lib/index.js:132:23)&#xA;at ChildProcess.emit (events.js:315:20)&#xA;at ChildProcess.EventEmitter.emit (domain.js:506:15)&#xA;at maybeClose (internal/child_process.js:1021:16)&#xA;at Socket.<anonymous> (internal/child_process.js:443:11)&#xA;at Socket.emit (events.js:315:20)&#xA;at Socket.EventEmitter.emit (domain.js:506:15)&#xA;at Pipe.<anonymous> (net.js:674:12)&#xA;at Pipe.callbackTrampoline (internal/async_hooks.js:120:14)&#xA;</anonymous></anonymous></anonymous>

    &#xA;