Recherche avancée

Médias (91)

Autres articles (87)

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (9815)

  • Creating TS file from MP4 file - Differing durations

    2 mai 2018, par Mark Walsh

    I am running the following command to crop an MP4 file

    -i "C:\FFMPEG\Temp\S3\2ad239d1-f4b9-4854-afe4-7e28157893daHighRes.mp4" -q:v 0 -y -ss 00:00:01.000 -to 00:00:29.834 -vf "fade=t=out:st=29.334:d=0.500, scale=iw*min(1080/iw\,720/ih):ih*min(1080/iw\,720/ih),pad=1080:720:(1080-iw)/2:(720-ih)/2" "C:\FFMPEG\Temp\Crops\5ae9806e32ab040978d97013_0.ts"

    As you can see I want to crop a video of exactly 28834 milliseconds long. However the created file when inspecting it via ffprobe is 28873 milliseconds long. Why is this ?

  • Getting a single mp4 file from dash and a mpd file [closed]

    15 août 2023, par Govind Sharma

    I want to ask that I have downloaded data which contains audio and video data separately like 1.mp4, 2.mp4 etc in both audio and video folders. enter image description here
I also have it's .mpd file. How can I play this video ? or is there any way I can combine both videos and audio files in a single one. Single file for e.g. 1.mp4 video or audio nothing seem to play.

    


    I trued using ffmpeg but it gave a blurr video

    


  • To convert from avi file to mp4 file by ffmpeg command in php

    12 septembre 2018, par user27240

    The ffmpeg command in php below creates mp4 file from avi file without deleting the original avi file meaning that,for example,
    there are two files, 1221222.avi and 1221222.mp4 exist in the directry after all.

    (’for i in /xxxxx/xxxxxx/*.avi ; do ffmpeg -i "$i" -frames:v 1 "/xxxxx/xxxxxx/$(basename "$i" .avi).mp4" ; done’)

    I’d like to delete this 1221222.avi file right after the command created 1221222.mp4 file.

    Is there any command that converts the file from avi to mp4 by replacing it ? Or do I have to add delete command after the command above ?

    I would appreciate if anyone could help me out for the command.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Even though the php script below can upload avi file from local drive to application I’m currently developping, the avi will not be played at html.
    So, I’m trying to convert from the avi file to mp4 file which is working fine by using ffmpeg command in php. This ffmpeg command creates mp4, but the html still do not play it. Is it because the original avi file still exists in the directory ?

    //php
    case "video/x-msvideo":

    if($header){
       header("Content-Type: video/x-msvideo");

    $dst_im = copy($path, $dst_file);
    return "";
    }else{

    $dst_file = $dst_file . ".avi";
    shell_exec('for i in  /xxxxxx/xxxxxx/*.avi; do ffmpeg -i "$i" - frames:v 1 "/xxxxxx/xxxxxx/$(basename "$i"  .avi).mp4"; done');      

    $dst_im = copy($path, $dst_file);
    }
    unlink($dst_im);
    break;


    //html
    <video width="500" height="250" poster="video.jpg" controls="controls" preload="auto" autoplay="autoplay">
    <source type="video/mp4" src="xxxxxxxxxxxxxxxxxxxxx.mp4"></source>
    </video>