Recherche avancée

Médias (91)

Autres articles (85)

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

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (15173)

  • Free video file converter for c#

    29 novembre 2011, par Richard77

    I'm looking for a library in C#(not commandline) that converts video files' from one format to another.

    While googling, I've seen that many people have asked this question before. Unfortunately those questions were asked years in the past. The most recent of them was aked in april of 2010.

    I've read a lot about FFMPEG, but I don't see any tutorial on how to use that library in C#.

    Please, help with sample codes if possible.

    Thanks for helping

  • avcodec/dvbsubdec : Fix conditions for fallback to default resolution

    3 décembre 2021, par softworkz
    avcodec/dvbsubdec : Fix conditions for fallback to default resolution
    

    The previous code expected a segment of type CLUT definition to exist
    in order to accept a set of segments to be complete.
    This was an incorrect assumption as the presence of a CLUT segment
    is not mandatory.
    (version 1.6.1 of the spec is probably a bit more clear about this
    than earlier versions : https://www.etsi.org/deliver/etsi_en/
    300700_300799/300743/01.06.01_20/en_300743v010601a.pdf)

    The incorrect condition prevented proper fallback to using the default
    resolution for the decoding context.

    This also adds variables and moves the fallback check to the outside
    for better clarity.

    Signed-off-by : softworkz <softworkz@hotmail.com>

    • [DH] libavcodec/dvbsubdec.c
  • why mpd file contain same resolution AdaptationSet

    18 mars, par Jahid Hasan Antor

    this is the code that i used. this code create a minifest.mpd file, with the same resolution AdaptationSet set

    &#xA;

    const createCourse = async (req: Request, res: Response, next: NextFunction) => {&#xA;    try {&#xA;        const VIDEO_STORAGE_PATH = path.join(__dirname, "../../public/uploads").replace(/\\/g, "/");&#xA;        const videoId = req.body.videoId;&#xA;        const inputPath = path.join(VIDEO_STORAGE_PATH, "original", `${videoId}.mp4`).replace(/\\/g, "/");&#xA;        const outputDir = path.join(VIDEO_STORAGE_PATH, "dash", videoId).replace(/\\/g, "/");&#xA;&#xA;        if (!fs.existsSync(outputDir)) {&#xA;            fs.mkdirSync(outputDir, { recursive: true });&#xA;        }&#xA;&#xA;        if (!ffmpegStatic) {&#xA;            return next(new Error("❌ ffmpegStatic path is null"));&#xA;        }&#xA;&#xA;        ffmpeg.setFfmpegPath(ffmpegStatic);&#xA;&#xA;        const qualities = [&#xA;            { resolution: "1280x720", bitrate: "1800k" },&#xA;            { resolution: "854x480", bitrate: "1200k" },&#xA;            { resolution: "640x360", bitrate: "800k" },&#xA;            { resolution: "426x240", bitrate: "400k" }&#xA;        ];&#xA;&#xA;        const outputMpd = path.join(outputDir, "manifest.mpd").replace(/\\/g, "/");&#xA;&#xA;        // Create FFmpeg command&#xA;        let command = ffmpeg(inputPath)&#xA;            .output(outputMpd)&#xA;            .outputOptions([&#xA;                &#x27;-f dash&#x27;, // Output format&#xA;                &#x27;-seg_duration 4&#x27;, // Segment duration in seconds&#xA;                &#x27;-window_size 10&#x27;, // Number of segments in the manifest&#xA;                &#x27;-init_seg_name init-stream$RepresentationID$.webm&#x27;, // Name for initialization segments&#xA;                &#x27;-media_seg_name chunk-stream$RepresentationID$-$Number%05d$.webm&#x27;, // Name for media segments&#xA;            ]);&#xA;&#xA;        // Add multiple resolutions&#xA;        qualities.forEach(({ resolution, bitrate }) => {&#xA;            console.log(&#x27;esolution, bitrate :>> &#x27;, resolution, bitrate);&#xA;            command&#xA;                .outputOptions([&#xA;                    `-map 0:v`, // Map the video stream&#xA;                    `-s ${resolution}`, // Set resolution&#xA;                    `-b:v ${bitrate}`, // Set bitrate&#xA;                    `-c:v libvpx-vp9`, // Use VP9 codec&#xA;                    `-c:a libopus`, // Use Opus codec&#xA;                ]);&#xA;        });&#xA;&#xA;        command&#xA;            .on("end", () => {&#xA;                console.log(`&#128640; Video processing complete: ${outputMpd}`);&#xA;            })&#xA;            .on("error", (err) => {&#xA;                console.error("❌ ffmpeg error:", err);&#xA;                next(err);&#xA;            })&#xA;            .run();&#xA;

    &#xA;