Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (98)

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (9488)

  • Save live video stream .m3u8 to MP4. Video freezes for a few seconds

    11 octobre 2020, par Frodo Baggins

    I am trying to save in MP4 an .m3u8 live stream using FFMPEG.

    


    The version in use is the following : $ ffmpeg -v
ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 7 (Ubuntu 7.5.0-3ubuntu1 18.04)

    


    While the command used for saving the stream in MP4 is the the one below :

    


    ffmpeg -y -i https://stream.m3u8 —map 0 —vcodec copy -acodec copy / output.mp4

    


    The file can be successfully opened and played with VLC even though every 3-5 seconds I see that the video freezes every few seconds.

    


    I wonder if it's something that I am missing in the above command.

    


    I also verified whether the issue was related to the connection in use but it does not seem related.

    


  • Save first an last frame as a picture

    7 octobre 2020, par Oscar Thees

    I try to cut out the last and the first frame of videos. The following commands work for specific files :

    


    ffmpeg -i TLC00000.AVI -vframes 1 first.jpeg    
ffmpeg -sseof -2 -i TLC00000.AVI -update 1 -q:v 1 last.jpg
    


    


    However, when I start looping them over several files in a directory I am starting to run into problems.

    


    SET "source=C:\Users\...\...\%%~nF"
SET "first=C:\Users\...\...\first%%~nF"
SET "last=C:\Users\...\...\last\%%~nF"

for %%F in (*.AVI) do (
    If not Exist source MkDir first
    ffmpeg -i %%F -vframes 1 first\%%~nF-%%3d.first.jpg)

for %%F in (*.AVI) do (
    If not Exist source MkDir last
    ffmpeg -sseof -2 -i %%F -update 1 -q:v 1 last\%%~nF-%%3d.last.jpg)
Pause


    


    Any help with how to make this loop working is warmly welcome.

    


  • How to save the stream URL chunks as a video in NodeJs

    2 octobre 2020, par Harsh Lodhi

    I'm trying to download a piece of video from the below URL using axios.

    


    https://r5---sn-gwpa-civy.googlevideo.com/videoplayback?...&range=32104-500230


    


    I'm using below code to fetch the above URL and for save the chunk to the mp4 file.

    


    axios({
        url: MY_URL`,
        method: 'GET',
        responseType: 'stream'
    }).then(function (response) {
        let buffArray = []
        response.data.on('data', (chunk) => {
            buffArray .push(chunk)
        })

        response.data.on('end', (chunk) => {
            let buff = Buffer.concat(buffArray)
            fs.writeFile('output.mp4', buff, (dt) => {
                console.log("File created");
            })
        })
    })


    


    above code is working fine and I'm able to save the video but the video is not able to play.
when I set the range in URL from &range=32104-500230 to &range=0-500230 then video is working properly. Please try to help that how can I save a video from small chunk of video stream instead of saving full video.