Recherche avancée

Médias (91)

Autres articles (112)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

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

  • Change the audio of the video based on start and end time

    4 avril 2022, par Vuqar Samed

    Lets say I have sample video named "samplevideo" and sample audio named "sampleaudio". I want to replace the audio of the samplevideo with the sampleaudio starting from 5 sec to 12 sec. Until 5 sec mark the video audio won't change, then sampleaudio starts and lasts for 7 sec.

    


    I tried to come up with ffmpeg command that solves this problem :

    


    ffmpeg -i samplevideo.mp4  -i sampleaudio.aac -ss 20 -map 0:v  -map 1:a -c:v copy output.mp4


    


    Problem :
    
It cuts video starting from 20 sec time mark. What I want is to persist the video and the original audio stream until it hits desired time mark and then use sampleaudio until desired end time.

    


    I would appreciate any help.

    


  • How to extract all audio start and end time from a video file using ffmpeg

    29 avril 2020, par user3699262

    I need to know from a video file, how do I extract all audio timestamp meaning start time and end time of each dialog. Having tried with multiple ffmpeg or ffprobe commands but not getting the desire result.

    



    My desire result would be like,

    



    'text' : "Hello Robert ! How are you", 'start' : 0.15, 'end' : 1.00
'text' : "Hey, I'm fine. What's about you ?", 'start' : 1.35, 'end' : 2.05
.
.

    


  • ffprobe : how do I get the time zone of creation date ?

    29 août 2022, par Paolo Benvenuto

    I have a video made with a canon camera (actually a PowerShow G5Xm2), I want to extract the creation date metadata, and I found that I can see it with :

    


    $ ffprobe -i myfile.MP4 -show_entries stream_tags
[.....]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'myfile.MP4':
  Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp42avc1CAEP
    make            : 
    make-eng        : 
    model           : 
    model-eng       : 
    creation_time   : 2022-08-28T15:25:09.000000Z
  Duration: 00:00:53.96, start: 0.000000, bitrate: 29939 kb/s
  Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080, 29639 kb/s, 25 fps, 25 tbr, 25k tbn, 50k tbc (default)
    Metadata:
      creation_time   : 2022-08-28T15:25:09.000000Z
      vendor_id       : [0][0][0][0]
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 253 kb/s (default)
    Metadata:
      creation_time   : 2022-08-28T15:25:09.000000Z
      vendor_id       : [0][0][0][0]
[STREAM]
TAG:creation_time=2022-08-28T15:25:09.000000Z
TAG:language=eng
TAG:vendor_id=[0][0][0][0]
[/STREAM]
[STREAM]
TAG:creation_time=2022-08-28T15:25:09.000000Z
TAG:language=eng
TAG:vendor_id=[0][0][0][0]
[/STREAM]


    


    The creation date in in UTC, and it has the format "%Y-%m-%dT%H :%M :%S.%fZ". The camera has the info of the time zone, and actually it converted the local time to UTC time, so I suppose that the MP4 should hide somewhere the time zone info.

    


    How do I see it ?