Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (60)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

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

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

Sur d’autres sites (8021)

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

               }
           }

       }
    }
  • FFMPEG merge two .mp4 videos - resolution distorted

    9 juin 2016, par Misha Moryachok

    I am trying to merge two .mp4 videos, and in some cases the seconds video part is distorted in the output video. Providing an example below :
    https://www.youtube.com/watch?v=wWMNTBWJ37A

    The real video is : https://www.youtube.com/watch?v=ASio-j-Epi8

    As you can see, we added intro before the real content, however, the real content is stretched.
    In my opinion it happens because first video is 1280x720 and the second is 460x720.

    Providing commands for merging videos :

    *1st step (convert the videos from .mp4 to .ts)

    ffmpeg -i videoPathMP4 -c copy -bsf:v h264_mp4toannexb -f mpegts videoPathTS

    *2nd step (merge videos)

    ffmpeg -i "concat:$video1 | $video2" -c copy -bsf:a aac_adtstoasc $meagePathMP4

    Video output is like you saw in provided videolink on youtube.
    I also tried to change the first video resolution to be like the second video :

    ffmpeg -i inputVideo.mp4 -s 460x720 outputVideo.mp4

    However it doesn’t helped.
    Is anyone know how to solve this ?
    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)