Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

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

Autres articles (60)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

  • Pyspark : Use ffmpeg on the driver and workers

    13 avril 2021, par Be Chiller Too

    I'm trying to process a batch of audio files on my Spark cluster (in Databricks). I have an init script that installs ffmpeg (with apt) and pydub (with pip).

    


    I have a Dataframe of the file paths I want to process, when I call my UDF that opens/processes/exports I sometimes get the following error :

    


    pydub.exceptions.CouldntEncodeError: Encoding failed. ffmpeg/avlib returned error code: 1
...
[wav @ 0x1e1b4c0] Could not find codec parameters for stream 0 
(Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels, 768 kb/s): unspecified sample format


    


    that is to say, my UDF which uses pydub can correctly process some files, but for some other it fails. I checked with the file command, all these MP3 files seem to have the same configuration/codec. So I'm thinking that pyspark distributes the 'lines' in my dataframe to the driver and the worker, but only the driver has ffmpeg. So all the files that are processed by my worker fail.

    


    Is my assumption correct ?

    


    How can I solve this ? I don't know how to either :

    


      

    • Do the processing only on the driver (which has all the requirments)
    • 


    • Install ffmpeg on the worker too
    • 


    


  • avcodec/v4l2_buffers : don't prevent enqueue capture buffer to driver

    16 mars 2020, par Ming Qian
    avcodec/v4l2_buffers : don't prevent enqueue capture buffer to driver
    

    Enqueue/dequeue of the capture buffers should continue while draining.

    Reference : linux/Documentation/media/uapi/v4l/dev-decoder.rst

    "The client must continue to handle both queues independently,
    similarly to normal decode operation. This includes :
    ...
    - queuing and dequeuing CAPTURE buffers, until a buffer marked with
    the V4L2_BUF_FLAG_LAST flag is dequeued"

    Signed-off-by : Ming Qian <ming.qian@nxp.com>
    Signed-off-by : Andriy Gelman <andriy.gelman@gmail.com>

    • [DH] libavcodec/v4l2_buffers.c
  • I cant install ffmpeg binary driver on my laravel project

    6 janvier 2020, par oshakab

    I am trying to install ffmpeg binary on my laravel application but I am getting this error. Could not find a matching version of package php-ffmpeg/binary-driver. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (dev). I am using laravel 6.4.1

    My composer.json

    {
    "require": {
       "pawlox/video-thumbnail": "^1.0",
       "lakshmaji/thumbnail": "^1.4",
       "pion/laravel-chunk-upload": "^1.3",
       "pbmedia/laravel-ffmpeg": "^5.0"
    },

    "repositories": [{
       "type": "vcs",
       "url": "https://github.com/PHP-FFMpeg/BinaryDriver.git"
    }]
    }

    composer require php-ffmpeg/binary-driver=dev-master
    Any Solutions. Thanks