Recherche avancée

Médias (91)

Autres articles (112)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (12397)

  • how to reencode with ffmpeg (with limited x264)

    26 mai 2012, par sarfraz

    Until now I used this script to reencode my rips for my box (tv decoder) :

    ^_^ ( ~ ) -> cat ~/++/src/convert.sh
    #! /bin/bash

    name=$(path -r "$1") # it gives the file name without the extension

    [ "$1" = *.mp4 ] && ffmpeg -i "$name".mp4 -vcodec copy -acodec copy "$name".mkv
    x264 --preset veryfast --tune animation --crf 18 --vf resize:720,576,16:15 -o "$name".tmp.mkv "$name".mkv
    mkvmerge -o "$name [freeplayer sd]".mkv "$name".tmp.mkv --no-video "$1"
    rm -rf "$name".tmp.mkv
    [ "$1" = *.mp4 ] && rm -rf "$name".mkv
    exit 0

    #EOF

    It works on my ubuntu and archlinux laptops. But it doesn’t on my desktop witch runs fedora.
    Google says that the x264 package shiped by rpmfusion doesn,t support lavf and ffms2.
    And I cannot unistall it because smplayer (witch i like) needs it.

    Ok, so I have to compile it. Google then says "you have to build ffmpeg, ffms2 tnen x264 ensuring that the flags are correctly refered." Well, didn’t work (ffms2 cannot find LIBAV - even when I am telling where - and x264 does’t configure with lavf...)

    My question is : can I use ffmpeg alone to do what my script does.
    I have ffmpeg version 0.8.11, x264 0.116.2048 59cb2eb and gcc : 4.6.1 20110804 (Red Hat 4.6.1-7)

    Any hint wound be appreciated.

    EDIT : Ok, I found that : ffmpeg -i input file -acodec copy -vcodec libx264 -preset veryfast -tune animation [that part I don’t have] output

    PS : english is not my native, plz forgive any spelling fault.

  • Map streams in ffmpeg based on title (to remove language variant)

    16 octobre 2024, par MappaM

    I have a few video files with English audio track and French audio track, because the family wants French and I prefer VO. With ffmpeg I can easily filter all tracks to keep eng and fre, the problem is there are multiple french dialects, one of them being Candian (VFQ).

    


    Therefore, with the following input streams :

    


      Stream #0:1(fre): Audio: eac3, 48000 Hz, 5.1(side), fltp, 768 kb/s (default)
    Metadata:
      title           : E-AC3 VFF
  Stream #0:2(fre): Subtitle: subrip (default) (forced)
    Metadata:
      title           : FORCED VFF
  Stream #0:3(fre): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Metadata:
      title           : AC3 VFQ
  Stream #0:4(fre): Subtitle: subrip
    Metadata:
      title           : FORCED VFQ
  Stream #0:5(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 768 kb/s
    Metadata:
      title           : E-AC3 VO


    


    The command -map 0:v: -map 0:m:language:eng -map 0:m:language:fre does not filter out anything, and I keep both audio which is wasteful. The only metadata that could be used to filter seems to be the title.

    


  • How to upload and overlay animation.html file from system and overlay over video in HTML or ANGULAR

    23 septembre 2020, par Hiren

    Hey I am trying to build an app which has a functionality of allowing a user to upload a pre-existing .HTML file from his system which contains a simple animation init

    


    I want to get that file and overlay the animation contained in .HTML file on my video and display it to the user.

    


    is that possible please help me if it is.

    


    

    

    body {
  background: #;
}

#fullScreenBox {
  height: 500px;
  width: 50%;
  background: #;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

#hiddenBox {
  width: 50%;
  height: 500px;
  background: #;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  overflow: hidden;
}

#title {
  width: 100%;
  height: 150px;
  background: #;
  /*U can also use #*/
  position: absolute;
  top: 200px;
  font-family: arial;
  font-size: 50px;
  color: white;
  text-align: center;
  opacity: 0;
}

#subtitle {
  width: 100%;
  height: 50px;
  background: #;
  /*U can also use #*/
  position: absolute;
  top: 300px;
  font-family: arial;
  font-size: 50px;
  color: red;
  text-align: center;
  opacity: 0;
}

#line01 {
  width: 25%;
  height: 4px;
  background: white;
  /*U can also use #*/
  position: absolute;
  top: 50px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  color: white;
  opacity: 0;
}

#overlay {
  position: absolute;
  color: #FFF;
  text-align: center;
  font-size: 20px;
  padding: 10px 0;
  width: 50%;
  height: 500px;
  background: #;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

#v {
  height: 500px;
  width: 100%;
}

    


    &#xA;&#xA;  <div>&#xA;    <div class="">&#xA;      <div class="webvfx" data-animate="&#x27;{&#xA;">&#xA;        LONDON&#xA;      </div>&#xA;      <div class="webvfx" data-animate="&#x27;{&#xA;">&#xA;&#xA;      </div>&#xA;&#xA;      <div class="webvfx" data-animate="&#x27;{&#xA;">&#xA;        City of Dreams!&#xA;      </div>&#xA;    </div>&#xA;</div>

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

    This is my HTML file that contains a simple animation for example which is in user system

    &#xA;

    In my application when user upload this file i want to overlay the animation contained in this file on the video as he uploads it is these any way&#xA;Thank you

    &#xA;