Recherche avancée

Médias (91)

Autres articles (27)

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

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (3565)

  • when i use ffmpeg get : HTTP error 403 Forbidden

    29 avril 2021, par Michael M1G0A4W

    i entered this :

    


    C:\Users\Michael\Desktop>ffmpeg -i "C:\Users\Michael\Desktop\1.mp4" -i "C:\Users\Michael\Desktop\1.m4a" -c copy "C:\Users\Michael\Desktop\2.mp4"


    


    But the output I received was for the URL input while I was giving the address from my computer.

    


    But the output :

    


    [https @ 00000205778cdec0] HTTP error 403 Forbidden
[dash @ 00000205777be8c0] Failed to open an initialization section
[dash @ 00000205777be8c0] Error when loading first fragment of playlist
C:\Users\Michael\Desktop\1.mp4: Server returned 403 Forbidden (access denied)


    


    At first I thought the problem was with the name or address, but after a test I realized that this is not the case

    


  • How to manually reset the offset of an mp4 video created from m4s files ?

    12 août 2020, par natdev

    I'm building a service that combine .m4s files (from a dash stream) to a mp4 video.
    
I have some sample m4s files from a random point in time of a stream,
    
using ffmpeg on those file + the init file does the job.

    


    cat init.mp4 032.m4s 033.m4s 034.m4s > output.mp4


    


    I have tried concating the m4s files to the mp4 init file and I manage to play the video,
    
but there is an offset from the encoded video segments.

    


    I guess ffmpeg does reset that somehow, and I was wondering how can I reset that offset as well ?
    
Having a little bit of experience with dash, I know that there is a field name presentationTimeOffset that is responsible to set the offset.

    


  • Execute mp4box cmd via java got error

    6 novembre 2015, par Ducthien

    sorry when I tag ffmpeg because I couldn’t tag MP4Box.But I have proplem with excuted with ffmpeg via javacode too.
    I read at How to execute cmd commands via Java but i can’t find my proplem.

    I’m tested commands in cmd, it was ok :

    MP4Box -dash 10000 -dash-profile live -segment-name output- seg -rap
    -bs-switching no input.mp4

    but when i executed cmd via java code , i get error :

    Error - only one input file found as argument, please check usage

    Below is my code, has something wrong ?

    package com.uit.reformatvideo;

    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.util.logging.Logger;

    public class ExecuteComandToFormatVideo {

       public final static String LINK_MP4BOX = "C:/MP4Box/Tools/MP4Box.exe";
       public final static String CREATE_MPD_ECLIPSE = "mp4box -dash 10000 -frag 1000 -rap -bs-switching no";
       public final static String CREATE_MPD_IE = "MP4Box -dash 10000 -dash-profile live -segment-name output-seg -rap -bs-switching no";
       private static final Logger log = Logger.getLogger(ExecuteComandToFormatVideo.class.getName());


       public static void main(String[] args) throws IOException, InterruptedException {
             String s = null;

               try {

               // run the Unix "ps -ef" command
                   // using the Runtime exec method:
                   String lsCmd[] = new String [2];
                   lsCmd[0] = LINK_MP4BOX;
                   lsCmd[1] = "MP4Box -dash 10000 -dash-profile live -segment-name output-seg -rap -bs-switching no input.mp4";
                   Process p = Runtime.getRuntime().exec(lsCmd);
                   p.waitFor();
                   BufferedReader stdInput = new BufferedReader(new
                        InputStreamReader(p.getInputStream()));

                   BufferedReader stdError = new BufferedReader(new
                        InputStreamReader(p.getErrorStream()));

                   // read the output from the command
                   System.out.println("Here is the standard output of the command:\n");
                   while ((s = stdInput.readLine()) != null) {
                       System.out.println(s);
                   }

                   // read any errors from the attempted command
                   System.out.println("Here is the standard error of the command (if any):\n");
                   while ((s = stdError.readLine()) != null) {
                       System.out.println(s);
                   }

                   System.exit(0);
               }
               catch (IOException e) {
                   System.out.println("exception happened - here's what I know: ");
                   e.printStackTrace();
                   System.exit(-1);
               }
       }

    }

    Here was out put :

    Here is the standard output of the command :

    Here is the standarderror of the command (if any) : Error - only one
    input file found as argument, please check usage