Recherche avancée

Médias (1)

Mot : - Tags -/embed

Autres articles (14)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (2083)

  • How to create watermark underlined text using ffmpeg

    31 décembre 2019, par Apoorv Srivastava

    I am trying to create a watermark with underlined text, but I am not able to find drawtext filter for underlined text.

    Here is my command :

    ffmpeg -i ./public/uploads/videos/1577703125107.mp4 -vf "[in]drawtext=fontfile= ./public/fonts/Arial/arial.ttf: text=my watermark text: fontcolor=#000000: fontsize=20: x=23:y=68 [out]" ./public/uploads/videos/1577703128790.mp4

    How can I underline text ?

  • Add more parameters to function with declared parameter

    27 novembre 2017, par Programmmereg

    I want to add two variable in addFilter() function. But the problem is that this method allows only one parameter to get. How to extend it ?

    FMpeg::fromDisk('public')
           ->open('/uploads/videos/' .$video->file_name)
           ->addFilter(function($filters) {
               $filters->clip(FFMpeg\Coordinate\TimeCode::fromSeconds($start), FFMpeg\Coordinate\TimeCode::fromSeconds($duration));
           })
           ->export()
           ->toDisk('public')

    definition of code : I can’t change this

    public function addFilter(FilterInterface $filter)
       {
           $this->filters->add($filter);

           return $this;
       }
  • extracting single frame from MediaElemet or FFmpegInterop

    13 janvier 2016, par Jakub Wisniewski

    I am writing app (Windows Phone 8.1 Store App) that allows user to connect to IP Camera. I am using FFmpeg Interop library for ffmpeg which allows me to play eg. rtsp streams in media element. I need now a way to somehow extract a single frame from stream or from media element.

    I have tested other application wchih allows connecting to IP cameras - IP Centcom, and they have working snapshots only for mjpeg streams as far as I now (they were not working for rtsp). Becouse of that I belive that it is impossible or at very least very hard to export frame from media element.

    I have different question - if anyone has ever used FFmpeg Interop and would like to help/explain me how could I modify/extend FFmpegInteropMSS to add method called ’GetThumbnailForStream’ that would work similary to ’GetMediaStreamSource’ but would return single frame (bitmap or jpg) instead of MediaStreamSource ?

    Every help would be appreciated

    EDIT :

    I have found something ;

    in MediaSampleProvider in method WriteAVPacketToStream (line 123) there is line

    auto aBuffer = ref new Platform::Array(avPacket->data, avPacket->size);

    and I belive that this is the place that stores single frame data that is needed to convert into bitmap - now since I do not know c++ too much I have a question : how can I convert it into a form that I could return via public method ?

    When returning :

    Platform::Array^

    I get

    ’FFmpegInterop::MediaSampleProvider’ : a non-value type cannot have any public data members

    EDIT2 :

    Ok I am doing approprate projection to byte according to this microsoft information, now I need to check if this is correct data.