Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (100)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

Sur d’autres sites (16462)

  • Using ffserver to do UDP multicast streaming

    20 novembre 2015, par Catherine MacInnes

    Here’s the deal. I’m working with IPTV hardware and I need to output a bunch of demo streams. These are MPEG2 transport stream that need to be straight up UDP Multicast streams. I have an ffmpeg command that works great :

    ffmpeg -re -i /Volumes/Data/DemoVideos/GRAILrpsp.ts -acodec copy -vcodec copy -f mpegts udp://239.192.1.82:12000[ttl=1,buffer_size=2097157]

    What I would like to do is convert this into an ffserver config file instead of having to start a whole bunch of ffmpeg streams and then figuring out how to get them to loop. I’m sure I can do it with the right scripting but what a pain, isn’t that what ffserver is for ? But I can’t find any documentation on doing UDP streaming using ffserver. You can set a multicast address and port but it goes to RTP which this hardware isn’t designed for. Any help would be greatly appreciated.

  • fluent-ffmpeg throw er when concatenate videos

    2 mai 2020, par Romualdo Arrechea Hernández

    I'm using fluent-ffmpeg version 2.1.2.
When I execute the current code the output show off a error message :

    



    var ffmpeg = require('fluent-ffmpeg');
var glob= require('glob');
ffmpeg.setFfmpegPath("/usr/bin/ffmpeg");
ffmpeg.setFfprobePath("/usr/bin/ffprobe");
var command = ffmpeg();

const path='/home/username/somefolder/*/output.mp4';

var videos=glob.sync(path);
var output="./output.mp4";
videos.map(video=>command.addInput(video));
command.mergeToFile(output);


    



    the console output>

    



    **events.js:287&#xA;      throw er; // Unhandled &#x27;error&#x27; event&#xA;      ^&#xA;&#xA;Error: ffmpeg exited with code 1: Conversion failed!&#xA;&#xA;    at ChildProcess.<anonymous> (/home/r/Projects/prueba/node_modules/fluent-ffmpeg/lib/processor.js:182:22)&#xA;    at ChildProcess.emit (events.js:310:20)&#xA;    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)&#xA;Emitted &#x27;error&#x27; event on FfmpegCommand instance at:&#xA;    at emitEnd (/home/r/Projects/prueba/node_modules/fluent-ffmpeg/lib/processor.js:424:16)&#xA;    at endCB (/home/r/Projects/prueba/node_modules/fluent-ffmpeg/lib/processor.js:544:13)&#xA;    at handleExit (/home/r/Projects/prueba/node_modules/fluent-ffmpeg/lib/processor.js:170:11)&#xA;    at ChildProcess.<anonymous> (/home/r/Projects/prueba/node_modules/fluent-ffmpeg/lib/processor.js:182:11)&#xA;    at ChildProcess.emit (events.js:310:20)&#xA;    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)**&#xA;</anonymous></anonymous>

    &#xA;&#xA;

    The video should be created, but it's unable to concat. Some clue ?

    &#xA;

  • failed to create HWDeviceContext for h264 and Videotoolbox using FFmpeg for iOS

    21 février 2024, par Jabed Dhali

    I am attempting to decode an h264 video using hardware accelaration in FFmpeg, specially for iOS devices and utilizing VideoToolbox hardware device. While I have successfully generated decoder context, but encountering difficulties in creating hardware device context and setting buffer reference. I am new with ffmpeg and seeking assistance in resolving the issue. The relevant code snippet is here :

    &#xA;

    class Decoder_Setup {&#xA;private:&#xA;    AVCodecContext *decoder_ctx = NULL;&#xA;    const AVCodec *decoder = NULL;&#xA;    enum AVHWDeviceType type;&#xA;    AVBufferRef *buffer_ref = NULL;&#xA;    AVPixelFormat pix_fmt;&#xA;    AVCodecHWConfig *hwConfig = NULL;&#xA;    &#xA;public:&#xA;    int set();&#xA;};&#xA;&#xA;int Decoder_Setup::set() {&#xA;    type = AV_HWDEVICE_TYPE_VIDEOTOOLBOX;&#xA;    pix_fmt = AV_PIX_FMT_VIDEOTOOLBOX;&#xA;    decoder = avcodec_find_decoder_by_name("h264");&#xA;    decoder_ctx = avcodec_alloc_context3(decoder);&#xA;    &#xA;    int res = av_hwdevice_ctx_create(&amp;buffer_ref, type, NULL, NULL, 0);&#xA;    decoder_ctx->hw_device_ctx = buffer_ref;&#xA;//    decoder_ctx->get_format = (AVPixelFormat (*)(AVCodecContext *, const AVPixelFormat *)) AV_PIX_FMT_VIDEOTOOLBOX;&#xA;    avcodec_open2(decoder_ctx, decoder, NULL);&#xA;    return res;&#xA;}&#xA;

    &#xA;

    Thank you in advance for your assistance !

    &#xA;