
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (50)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar 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, parUnlike 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 KanotoI'm having some issue about using ffmpeg in my wpf project, I dunno why but it seems to not work inside msvc.




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;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace GoProControl
{
 /// <summary>
 /// Logique d'interaction pour MainWindow.xaml
 /// </summary>
 public partial class GoProWindowsControl : Window
 {
 bool VERBOSE = false;

 //Sends Record command to GoPro Camera, must be in Video mode!
 bool RECORD = true;

 //Converts GoPro camera live stream via FFMPEG to a local source, must be in Video mode!
 bool STREAM = false;

 //Saves the feed to a custom location
 bool SAVE = false;

 private bool m_status;

 WebClient myWebClient;


 public GoProWindowsControl()
 {
 myWebClient = new WebClient();
 m_status = false;
 InitializeComponent();

 InitializeMainWindow();

 InitializeFFME();
 }

 private void InitializeMainWindow()
 {

 PreviewKeyDown += OnWindowKeyDown;

 }

 private void InitializeFFME()
 {
 Unosquare.FFME.Library.FFmpegDirectory = @"C:\FFmpeg";
 if (VERBOSE == false)
 Unosquare.FFME.Library.FFmpegLogLevel = FFmpeg.AutoGen.ffmpeg.AV_LOG_PANIC;
 else
 Unosquare.FFME.Library.FFmpegLogLevel = FFmpeg.AutoGen.ffmpeg.AV_LOG_ERROR;
 Unosquare.FFME.Library.FFmpegLoadModeFlags = FFmpeg.AutoGen.FFmpegLoadMode.VideoOnly;

 Unosquare.FFME.Library.LoadFFmpeg();
 }



-
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 YuviString 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 YuviString 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());