Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (58)

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

  • Place two videos side by side using ffmpeg ?and download it as one file

    5 août 2019, par marceloo1223

    I have two video files, which I want to play side by side and download them later. I used FFMPEG to merge them as one :

    protected void combinetwovideo()
    {
       string strParam;
       string Path_FFMPEG = Path.Combine(HttpContext.Current.Server.MapPath(ConfigurationManager.AppSettings["FFMpegPath"]));
       string apppath=HttpRuntime.AppDomainAppPath;
       //Merging two videos              
       String video1=apppath+"\\recordings\\client2019-08-03 02_23_59";
       String video2 =apppath+"\\userrecord\\User2019-08-03 02_24_00";
       String strResult =apppath+"\\RESULT\\";
       strParam = string.Format("-i ('" + video1 + "') -i ('" + video2 + "') -filter_complex \'[0:v]pad=iw*2:ih[int];[int][1:v]overlay=W/2:0[vid]' /-map [vid] -c:v libx264 -crf 23 -preset veryfast output.mp4");
       process(Path_FFMPEG, strParam);
    }
    public void process(string Path_FFMPEG, string strParam)
    {
       try
       {
           Process ffmpeg = new Process();
           ProcessStartInfo ffmpeg_StartInfo = new ProcessStartInfo(Path_FFMPEG, strParam);
           ffmpeg_StartInfo.UseShellExecute = false;
           ffmpeg_StartInfo.RedirectStandardError = true;
           ffmpeg_StartInfo.RedirectStandardOutput = true;
           ffmpeg.StartInfo = ffmpeg_StartInfo;
           ffmpeg_StartInfo.CreateNoWindow = true;
           ffmpeg.EnableRaisingEvents = true;
           ffmpeg.Start();
           ffmpeg.WaitForExit();
           ffmpeg.Close();
           ffmpeg.Dispose();
           ffmpeg = null;
       }
       catch (Exception ex)
       {
       }
    }

    But this method outputs nothing and does not throw any errors. I’m confused about the strParam query. Did I write it wrong or am I missing something. Any help would be apreciated.

  • FFMPEG Webvtt m3u8 download into single vtt file, ignore the "X-TIMESTAMP-MAP=MPEGTS=" (timestamp sync problem)

    5 janvier 2021, par Panda Xia

    I want to download the subtitle of a video, it has separated m3u8 file for subtitle :

    


    webvtt source in m3u8 format : https://sdn-global-streaming-cache.3qsdn.com/9378/files/19/05/1199332/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes.ism/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000.m3u8

    


    looks like :

    


    #EXTM3U
#EXT-X-VERSION:4
## Created with Unified Streaming Platform(version=1.9.5)
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-MEDIA-SEQUENCE:1
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-TARGETDURATION:989
#USP-X-TIMESTAMP-MAP:MPEGTS=900000,LOCAL=1970-01-01T00:00:00Z
#EXTINF:24.72, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-1.webvtt
#EXTINF:2.56, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-13.webvtt
#EXTINF:50.88, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-14.webvtt
#EXTINF:3.079, no desc
Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000-40.webvtt
#EXTINF:60.401, no desc
....


    


    Then use the command to download the multiple webvtts into one vtt file "EN.vtt" :

    


    ffmpeg -i  "https://sdn-global-streaming-cache.3qsdn.com/9378/files/19/05/1199332/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes.ism/Dqt6jZBkvX2nLyY4CGhxmpK89PbQRFV7-drm-aes-textstream_deu=1000.m3u8"  "DE.vtt"


    


    In output "DE.vtt" the X-TIMESTAMP-MAP=MPEGTS:xxxxxx,LOCAL:00:00:00.000 from each webvtt file (webvtt in m3u8) are ignored.

    


    so that the time Synchronisation is broken, the start time of each Segment always begins from 00:00:00, looks like :

    


    WEBVTT

00:00.000 --> 00:02.560
So viel Macht.

00:00.000 --> 00:03.079
Was er sagte.

00:00.000 --> 00:04.680
oder
die Schönheit

00:00.000 --> 00:01.440
Er sagte immer:

00:00.000 --> 00:03.840
Auf seinen Klang 

00:00.000 --> 00:07.519
Seine Paranoia.


    


    Could ffmpeg support the relative time stamp to convert into absolute time stamp ?
Or use other method to download perfect webvvt file ?

    


  • Is there any way to use ffmpeg to download the video url and sync the video and audio without encoding ?

    20 juin 2023, par Daniel Lee

    I downloaded a video URL with audio, but the duration of the video and the duration of the audio are different and I want to match them.

    


    I want to use the shortest option, but I can only do that by extracting the audio separately and taking two inputs, audio and video.

    


    Is there an easy way ?

    


      

    1. used apad option
    2.