Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (77)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (5896)

  • Any video format to mp4 using ffmpeg in C#

    8 juin 2015, par Sangeetha

    I am converting any format videos to mp4 format in following way using FFMPEG in c# application,

    string targetFilePath = Path.Combine(_file + @"\ffmpeg\", "ffmpeg.exe");
               string ffmpegargs = "";
               if (exten == "flv")
               {
                   ffmpegargs = " -i " + inputFileName + " -acodec libmp3lame -ar " + samplingrate + " -ab " + bitrate + " -f flv -s " + size + " " + outputFileName;
               }
               else
               {
                   ffmpegargs = " -i " + inputFileName + " " + outputFileName;
               }
              //string ffmpegargs = " -y -i " + inputFileName + " -b 2000k "+ outputFileName;
               System.Diagnostics.Process pProcess = new Process();
               pProcess.StartInfo.FileName = targetFilePath;
               pProcess.StartInfo.UseShellExecute = false;
               pProcess.StartInfo.RedirectStandardOutput = true;
               pProcess.StartInfo.CreateNoWindow = true;
               pProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
               pProcess.StartInfo.Arguments = ffmpegargs;
               pProcess.EnableRaisingEvents = true;
               pProcess.Start();
               pProcess.WaitForExit();
               pProcess.Close();
               pProcess.Dispose();
               pProcess = null;

    It works fine when convert from flv file. But when convert an avi or f4v file, able to save mp4 format in temp file. But when try to identify the file in following way it throws avformatcontext return memory corruption error.

    IntPtr pFormatContext;
               FFmpeg.av_register_all();

               int ret;
    ret = FFmpeg.av_open_input_file(out pFormatContext, this.Filename, IntPtr.Zero, 0, IntPtr.Zero);
    ret = FFmpeg.av_find_stream_info(pFormatContext);

    Throws memory corruption in the following line,

    ret = FFmpeg.av_find_stream_info(pFormatContext) ;

    What could be the reason, Or what is the mistake i am making here.

    Regards

  • FFMpeg UDP streaming - random split video effect

    12 janvier 2018, par Philmacs

    I’m trying to get a simple local preview of my webcam from an FFMpeg udp stream using an embedded Mplayer window. I can view the live stream using MPlayer but the image is unstable. I’m using the following FFMpeg command :

    ffmpeg -f dshow -video_size 640x480 -i video="Lenovo EasyCamera" -an -f rawvideo -pix_fmt yuyv422 -r 15 udp://127.0.0.1:1234

    And this is the MPlayer command :

    mplayer -demuxer rawvideo -rawvideo fps=15:w=640:h=480:format=yuy2 -nofs -noquiet -identify -idle -slave -nomouseinput -framedrop -wid 1051072

    Sometimes the stream image is OK, but intermittently the image tears randomly and this is how it looks (sorry, not enough rep for images in posts)

    http://imgur.com/sLC3FW0

    I have tried with FFPlay to see if it’s a problem with MPlayer, but I get the same result :

    ffplay -s 640x480 -pix_fmt yuyv422 -f rawvideo -i udp://127.0.0.1:1234

    http://imgur.com/06L42Cj

    This effect is happening at random. If I stop and restart the video might be OK, or it may look like the above. Using aything other than udp and rawvideo adds a delay to the video stream, which I want to avoid.

    The FFMpeg streaming guide suggest methods when you get packet loss, but as far as I’m aware I don’t seem to be getting that.

    I’m new to FFMpeg/Mplayer/video streaming and any help or thoughts greatly appreciated.

  • FFMpeg UDP streaming - random split video effect

    3 octobre 2014, par Philmacs

    I’m trying to get a simple local preview of my webcam from an FFMpeg udp stream using an embedded Mplayer window. I can view the live stream using MPlayer but the image is unstable. I’m using the following FFMpeg command :

    ffmpeg -f dshow -video_size 640x480 -i video="Lenovo EasyCamera" -an -f rawvideo -pix_fmt yuyv422 -r 15 udp://127.0.0.1:1234

    And this is the MPlayer command :

    mplayer -demuxer rawvideo -rawvideo fps=15:w=640:h=480:format=yuy2 -nofs -noquiet -identify -idle -slave -nomouseinput -framedrop -wid 1051072

    Sometimes the stream image is OK, but intermittently the image tears randomly and this is how it looks (sorry, not enough rep for images in posts)

    http://imgur.com/sLC3FW0

    I have tried with FFPlay to see if it’s a problem with MPlayer, but I get the same result :

    ffplay -s 640x480 -pix_fmt yuyv422 -f rawvideo -i udp://127.0.0.1:1234

    http://imgur.com/06L42Cj

    This effect is happening at random. If I stop and restart the video might be OK, or it may look like the above. Using aything other than udp and rawvideo adds a delay to the video stream, which I want to avoid.

    The FFMpeg streaming guide suggest methods when you get packet loss, but as far as I’m aware I don’t seem to be getting that.

    I’m new to FFMpeg/Mplayer/video streaming and any help or thoughts greatly appreciated.