Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (50)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Les images

    15 mai 2013
  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (5529)

  • How can I use ffmpeg inside my wpf application

    6 avril 2022, par Kanoto

    I'm having some issue about using ffmpeg in my wpf project, I dunno why but it seems to not work inside msvc.

    


    ErrorLoadFFmpeg

    


    But it seems to work just fine in cmd.
I'm trying to use it in GoProControl project.
I already added path, $PATH with "C :\FFmpeg" and "C :\FFmpeg\bin" as well.
I have no idea why it doesn't work.

    


    using Newtonsoft.Json.Linq;&#xA;using System;&#xA;using System.Collections.Generic;&#xA;using System.Diagnostics;&#xA;using System.Linq;&#xA;using System.Net;&#xA;using System.Net.Sockets;&#xA;using System.Text;&#xA;using System.Threading.Tasks;&#xA;using System.Windows;&#xA;using System.Windows.Controls;&#xA;using System.Windows.Data;&#xA;using System.Windows.Documents;&#xA;using System.Windows.Input;&#xA;using System.Windows.Media;&#xA;using System.Windows.Media.Imaging;&#xA;using System.Windows.Navigation;&#xA;using System.Windows.Shapes;&#xA;&#xA;namespace GoProControl&#xA;{&#xA;    /// <summary>&#xA;    /// Logique d&#x27;interaction pour MainWindow.xaml&#xA;    /// </summary>&#xA;    public partial class GoProWindowsControl : Window&#xA;    {&#xA;        bool VERBOSE = false;&#xA;&#xA;        //Sends Record command to GoPro Camera, must be in Video mode!&#xA;        bool RECORD = true;&#xA;&#xA;        //Converts GoPro camera live stream via FFMPEG to a local source, must be in Video mode!&#xA;        bool STREAM = false;&#xA;&#xA;        //Saves the feed to a custom location&#xA;        bool SAVE = false;&#xA;&#xA;        private bool m_status;&#xA;&#xA;        WebClient myWebClient;&#xA;&#xA;&#xA;        public GoProWindowsControl()&#xA;        {&#xA;            myWebClient = new WebClient();&#xA;            m_status = false;&#xA;            InitializeComponent();&#xA;&#xA;            InitializeMainWindow();&#xA;&#xA;            InitializeFFME();&#xA;        }&#xA;&#xA;        private void InitializeMainWindow()&#xA;        {&#xA;&#xA;            PreviewKeyDown &#x2B;= OnWindowKeyDown;&#xA;&#xA;        }&#xA;&#xA;        private void InitializeFFME()&#xA;        {&#xA;            Unosquare.FFME.Library.FFmpegDirectory = @"C:\FFmpeg";&#xA;            if (VERBOSE == false)&#xA;                Unosquare.FFME.Library.FFmpegLogLevel = FFmpeg.AutoGen.ffmpeg.AV_LOG_PANIC;&#xA;            else&#xA;                Unosquare.FFME.Library.FFmpegLogLevel = FFmpeg.AutoGen.ffmpeg.AV_LOG_ERROR;&#xA;            Unosquare.FFME.Library.FFmpegLoadModeFlags = FFmpeg.AutoGen.FFmpegLoadMode.VideoOnly;&#xA;&#xA;            Unosquare.FFME.Library.LoadFFmpeg();&#xA;        }&#xA;

    &#xA;

  • This code is transcode video file using ffmpeg convter. How to handle if video transcoding is fail and get information of failure reason [on hold]

    16 octobre 2016, par Yuvi
    String command ="ffmpeg command for transcode video";

      //System.out.println("command-->"+command);
       Process proc = Runtime.getRuntime().exec(command);

       System.out.println("process-->"+proc);

       BufferedReader reader =  new BufferedReader(new InputStreamReader(proc.getErrorStream()));
       System.out.println("reader-->"+reader);
       String line = "";
       while((line = reader.readLine()) != null) {
           System.out.print(line + "\n");
       }

       System.out.println("out stream :: "+proc.getOutputStream());
  • this code is transcode video file using ffmpeg convter. how to i handle if video transcoding is fail and get information of failure reason.

    15 octobre 2016, par Yuvi

    String command ="ffmpeg command for transcode video" ;

      //System.out.println("command-->"+command);
       Process proc = Runtime.getRuntime().exec(command);

       System.out.println("process-->"+proc);

       BufferedReader reader =  new BufferedReader(new InputStreamReader(proc.getErrorStream()));
       System.out.println("reader-->"+reader);
       String line = "";
       while((line = reader.readLine()) != null) {
           System.out.print(line + "\n");
       }

       System.out.println("out stream :: "+proc.getOutputStream());