Recherche avancée

Médias (0)

Mot : - Tags -/configuration

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

Autres articles (100)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

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

  • ffmpeg -var_stream_map Invalid keyval "v:0

    22 septembre 2020, par rmrf fly

    the ffmpeg command is correct,

    


    use ffmpeg command execute at command line is ok,

    


    int windows10 use java exec the command is ok ,

    


    by only in linux when i use java exec the ffmpeg command throw expection

    


    the command :

    


    ffmpeg -i /data/vsftpd/Anchor.mp4 -b:v:0 1000k -b:v:1 256k -b:a:0 64k -b:a:1 32k -map 0:v -map 0:a -map 0:v -map 0:a -f hls -var_stream_map "v:0,a:0 v:1,a:1" -hls_segment_filename 'file_%v_%03d.ts' out_%v.m3u8


    


    enter image description here

    


    [hls @ 0xd31b5c0] Invalid keyval "v:0
[hls @ 0xd31b5c0] Variant stream info update failed with status ffffffea
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument


    


    jar

    


    <dependency>&#xA;   <groupid>org.apache.commons</groupid>&#xA;   <artifactid>commons-exec</artifactid>&#xA;   <version>1.3</version>&#xA;</dependency>&#xA;

    &#xA;

    java code

    &#xA;

    public static int exeCommand(String command, OutputStream out) throws ExecuteException, IOException {&#xA;    CommandLine commandLine = CommandLine.parse(command);&#xA;    PumpStreamHandler pumpStreamHandler = null;&#xA;    if (null == out) {&#xA;        pumpStreamHandler = new PumpStreamHandler();&#xA;    } else {&#xA;        pumpStreamHandler = new PumpStreamHandler(out);&#xA;    }&#xA;&#xA;    // time out 10s&#xA;    ExecuteWatchdog watchdog = new ExecuteWatchdog(10000);&#xA;&#xA;    DefaultExecutor executor = new DefaultExecutor();&#xA;    executor.setStreamHandler(pumpStreamHandler);&#xA;    //executor.setWatchdog(watchdog);&#xA;&#xA;    return executor.execute(commandLine);&#xA;}&#xA;

    &#xA;

  • avformat/hlsenc : increase initial program date time precision

    18 juillet 2020, par Marton Balint
    avformat/hlsenc : increase initial program date time precision
    

    Also query time only once, not for every variant stream, otherwise variant
    streams might get a slightly different initial program date time. And we can
    set this unconditionally because HLS_PROGRAM_DATE_TIME flag is checked
    elsewhere.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavformat/hlsenc.c
  • use ffmpeg in vba to change video format

    3 juillet 2020, par Iban Arriola

    I want to change the video format of the embedded videos that appears in a presentation. I achieve to export the video file to another folder using the following code :

    &#xA;&#xA;

            Dim Finame As Variant&#xA;        Dim oApp As Object&#xA;        Dim StoreFolder As Variant&#xA;        Dim Videoname As Variant&#xA;        Dim FileNameFolder As Variant&#xA;&#xA;        MkDir "C:\template\videoZip"&#xA;&#xA;        Set oApp = CreateObject("Shell.Application")&#xA;        FileNameFolder = "C:\template\videoZip\"&#xA;        Finame = ActivePresentation.Path &amp; "\" &amp; ActivePresentation.Name&#xA;        StoreFolder = "C:\template\created_files\"&#xA;        oApp.Namespace("C:\template\videoZip\").CopyHere Finame&#xA;        Name "C:\template\videoZip\" &amp; ActivePresentation.Name As "C:\template\videoZip\" &amp; ActivePresentation.Name &amp; ".zip"&#xA;&#xA;&#xA;        oApp.Namespace(FileNameFolder).CopyHere oApp.Namespace("C:\template\videoZip\" &amp; ActivePresentation.Name &amp; ".zip").items&#xA;&#xA;        Dim firstCount As Integer&#xA;        Dim lastCount As Integer&#xA;&#xA;        For j = 1 To videoNum&#xA;            firstCount = oApp.Namespace(StoreFolder).items.count&#xA;            Videoname = "C:\template\videoZip\ppt\media\media" &amp; j &amp; ".mp4"&#xA;            oApp.Namespace(StoreFolder).CopyHere Videoname&#xA;            lastCount = oApp.Namespace(StoreFolder).items.count&#xA;            If firstCount = lastCount Then&#xA;                MsgBox "The video has problems loading and it will not be shown (Only mp4 supported)"&#xA;            End If&#xA;        Next j&#xA;&#xA;        Set objFSO = CreateObject("Scripting.FileSystemObject")&#xA;        objFSO.deletefolder "C:\template\videoZip"&#xA;    End If&#xA;

    &#xA;&#xA;

    As I said, with this peace of code I can get all the videos that are in the presentation. Now I want to change the format of them. I heard that it is possible using ffmpeg. Other solutions to change format are welcome too.

    &#xA;