Recherche avancée

Médias (91)

Autres articles (61)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

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

Sur d’autres sites (5562)

  • ffmpeg does not fill in my provided buffer

    14 avril 2018, par thelearner

    I’m trying to pipe a mp4 video to ffmpeg to generate a thumbnail. Unfortunately, ffmpeg does not fill in my provided buffer, even though the whole command execution is successful.

    I’m reading the video from a http request body :

    videoData, err := ioutil.ReadAll(r.Body)

    This is how I push it to ffmpeg :

    log.Print("Creating thumbnail..")

    width := 640
    height := 360
    log.Print("Size of the video: ", len(videoData))


    cmd := exec.Command("ffmpeg", "-i", "pipe:0", "-vframes", "1", "-s", fmt.Sprintf("%dx%d", width, height), "-f",  "singlejpeg", "-frame_size", fmt.Sprintf("%d", totalVideoBytes), "-")

    cmd.Stdin = bytes.NewReader(videoData)

    var imageBuffer bytes.Buffer
    cmd.Stdout = &imageBuffer
    err := cmd.Run()

    if err != nil {
       log.Panic("ERROR")
    }

    imageBytes := imageBuffer.Bytes()

    This is the error output :

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff05d002600]stream 0, offset 0x5ded : partial file

    pipe:0 : Invalid data found when processing input

    Finishing stream 0:0 without any data written to it.

    frame= 0 fps=0.0 q=0.0
    Lsize= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
    video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
    muxing overhead : unknown

    Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)

    Thanks a lot, any help is appreciated.

  • Anomalie #4807 (Fermé) : Bigup ajoute son JS dans les forms du public même quand il n’est pas conf...

    2 juin 2021, par b b
  • avfilter/vf_remap : add fill color option

    14 février 2020, par Paul B Mahol
    avfilter/vf_remap : add fill color option
    
    • [DH] doc/filters.texi
    • [DH] libavfilter/vf_remap.c