Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (74)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (7652)

  • Videos encoded by FFMPEG (mpeg codec) cannot be played on iOS14

    28 septembre 2020, par vanste25

    I have a piece of code that uses ffmpeg with default mpeg codec to merge multiple videos and audio songs.

    


    ffmpeg -i input1.mp4 -i input2.mp4 -filter_complex "concat=n=2:v=1:a=1" -f MOV -vn -y output.mp4


    


    Everything worked on iOS13 and after the update to iOS14, videos are black and cannot be played by any player. Sound is there and it's good.
I tried to switch to h264 and it works good, but as you already know, h264 is under GPL and it is expensive and requires code to be open sourced which is not acceptable for me.

    


    What was changed ? Anything in release notes ?
Is that a bug ? Or a feature ?

    


    Thanks

    


  • can we play ffplay videos continuously ? [closed]

    19 avril 2021, par Eswar T

    My requirement is to play ffplay videos as they are joined
I do know we can play the one after the other using

    


    ffplay -i 1.mp4 && ffplay -i 2.mp4


    


    but here using this method a tab is being opened for each video and I need close to starting playing video some query is there a way to day them directly without this opening and closing tabs

    


    Hope my query is clear
Thank you

    


    I want to play edited videos how we can do with ffplay

    


    ffplay -i 1.mp4 -ss 00:00:30.100 -t 00:00:10 -af volume=2.0,atempo=2.0-vf transpose=0,transpose=0,setpts=1/0.5*PTS,fps=30) && ffplay -i 2.mp4 -ss 00:00:30.100 -t 00:00:10 -af volume=2.0,atempo=2.0-vf transpose=0,transpose=0,setpts=1/0.5*PTS,fps=30)


    


  • Merge videos in c# asp.net using ffmpeg

    3 juillet 2012, par Arun Kumar

    Is it possible to merge the two videos by c# asp.net with the help of ffmpeg. In the ffmpeg documentation they gave us cat command. But it wont works in asp.net. I thought it only for linux.

    cat intermediate1.mpg intermediate2.mpg > intermediate_all.mpg

    asp.net execute this command but there is no output. Help me.

    namespace demo
    {
       public partial class Default : System.Web.UI.Page
       {
           protected void Button2_Click(object sender, EventArgs e)
           {
               string strFile = "cars1.flv";
               MergeFiles(strFile);
           }

           public void MergeFiles(string strFile)
           {
               string strParam;
               string Path_FFMPEG = Server.MapPath("~/ffmpeg/bin/ffmpeg.exe");

               //Converting a video into mp4 format
               string strOrginal = Server.MapPath("~/Videos/");
               strOrginal = strOrginal + strFile;
               string strConvert = Server.MapPath("~/Videos/ConvertedFiles/");
               string strExtn = Path.GetExtension(strOrginal);
               if (strExtn != ".mp4")
               {
                   strConvert = strConvert + strFile.Replace(strExtn, ".mp4");
                   strParam  = "-i " + strOrginal + " " + strConvert;
                   //strParam = "-i " + strOrginal + " -same_quant " + strConvert;
                   process(Path_FFMPEG, strParam);
               }

               //Merging two videos              
               String video1 = Server.MapPath("~/Videos/Cars1.mp4");
               String video2 = Server.MapPath("~/Videos/ConvertedFiles/Cars2.mp4");
               String strResult = Server.MapPath("~/Videos/ConvertedFiles/Merge.mp4");
               //strParam = "-loop_input -shortest -y -i " + video1 + " -i " + video2 + " -acodec copy -vcodec mjpeg " + strResult;

               strParam = " -i " + video1 + " -i " + video2 + " -acodec copy -vcodec mjpeg " + strResult;

               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)
               {

               }
           }

       }
    }