Recherche avancée

Médias (0)

Mot : - Tags -/signalement

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

Autres articles (47)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

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

Sur d’autres sites (6562)

  • avcodec/cfhd : Keep track of which subbands have been read

    3 avril 2021, par Michael Niedermayer
    avcodec/cfhd : Keep track of which subbands have been read
    

    This avoids use of uninitialized data
    also several checks are inside the band reading code
    so it is important that it is run at least once

    Fixes : out of array accesses
    Fixes : 28209/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-5684714694377472
    Fixes : 32124/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-5425980681355264
    Fixes : 30519/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-4558757155700736

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/cfhd.c
    • [DH] libavcodec/cfhd.h
  • mp4 file upload issue in multer of node.js

    20 mars 2021, par 이훈석

    I'm trying to upload mp4 file by using multer in node.js

    &#xA;

    (View)VideoUploadPage.js

    &#xA;

    import React, { useState } from "react";&#xA;import Axios from "axios";&#xA;&#xA;&#xA;function VideoUploadPage() {&#xA;&#xA;const onDrop = (files) => {&#xA;    let formData = new FormData();&#xA;    const config = {&#xA;      header: { "content-type": "multipart/form-data" },&#xA;    };&#xA;    formData.append("file", files[0]);&#xA;    console.log(files);&#xA;&#xA;    Axios.post("/api/video/uploadfiles", formData, config).then((response) => {&#xA;      if (response.data.success) {&#xA;        console.log(response.data);&#xA;      } else {&#xA;        alert("비디오 업로드를 실패 했습니다.");&#xA;      }&#xA;    });&#xA;  };&#xA;&#xA;}&#xA;

    &#xA;

    (Server)

    &#xA;

    video.js

    &#xA;

    const express = require("express");&#xA;const router = express.Router();&#xA;const multer = require("multer");&#xA;const path = require("path");&#xA;const ffmpeg = require("fluent-ffmpeg");&#xA;&#xA;&#xA;&#xA;let storage = multer.diskStorage({&#xA;  destination: (req, file, cb) => {&#xA;    cb(null, "uploads/");&#xA;  },&#xA;  filename: (req, file, cb) => {&#xA;    cb(null, `${Date.now()}_${file.originalname}`);&#xA;  },&#xA;  fileFilter: (req, file, cb) => {&#xA;    const ext = path.extname(file.originalname);&#xA;    if (ext !== ".mp4") {&#xA;      return cb(res.status(400).end("only mp4 is allowed"), false);&#xA;    }&#xA;    cb(null, true);&#xA;  },&#xA;});&#xA;&#xA;const upload = multer({ storage: storage }).single("file");&#xA;&#xA;router.post("/uploadfiles", (req, res) => {&#xA;  upload(req, res, (err) => {&#xA;    if (err) {&#xA;      return res.json({ success: false, err });&#xA;    }&#xA;    return res.json({&#xA;      success: true,&#xA;      url: res.req.file.path,&#xA;      fileName: res.req.file.filename,&#xA;    });&#xA;  });&#xA;});&#xA;

    &#xA;

    At the video.js destination : (req, file, cb) => &#xA;cb(null, "uploads/")&#xA; <----- I can check which file is going to upload with console.log(response.data), but there is no mp4 file in the "uploads" folder.

    &#xA;

    When I changed "uploads/" to my local directory path, mp4 file is on the uploads folder ....

    &#xA;

    ex : "C :// /uploads"

    &#xA;

    Any idea ?

    &#xA;

  • How to use delogo with ffmpeg when logo starts at y=0

    22 avril 2021, par Valentin

    I have a 1920x800 video, all content, no black bars. At the top of the frame (y=0) there is a station logo I want to remove (presumably the original capture was cropped, leaving a half of a station logo inside the usable frame). Since the logo I'm trying to remove starts at the very top of the frame and because the default band=1 option that cannot be changed anymore (the option was seemingly removed from the API), the command needs to take it into account and make y=1 :

    &#xA;

    ffmpeg -i video.mp4 -vf "delogo=x=1696:y=1:w=113:h=32:show=1" output.mp4&#xA;

    &#xA;

    but this breaks the interpolation, since that 1px on top is completely dirtying the box :&#xA;Logo with show=1 so we see the problem

    &#xA;

    Tries with y=0 fail with or without trying to specify the band width (with band=0 or the alias t=0) :

    &#xA;

    ffmpeg -i video.mp4 -vf "delogo=x=1696:y=0:w=113:h=33:band=0" output.mp4&#xA;[Parsed_delogo_0 @ 0000020528a7cf00] Option &#x27;band&#x27; not found&#xA;ffmpeg -i video.mp4 -vf "delogo=x=1696:y=0:w=113:h=33:t=0" output.mp4&#xA;[Parsed_delogo_0 @ 000002b9b87acf40] Option &#x27;t&#x27; not found&#xA;ffmpeg -i video.mp4 -vf "delogo=x=1696:y=0:w=113:h=33" output.mp4&#xA;[delogo @ 0000023d971cd000] Logo area is outside of the frame.&#xA;

    &#xA;

    Is there a solution to this ?

    &#xA;