[chronojump] Edit event can play video with ffmpeg



commit 54133edf5550faae8177b7ae3643a9c4826e8716
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Feb 8 18:14:28 2019 +0100

    Edit event can play video with ffmpeg

 src/gui/event.cs | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/event.cs b/src/gui/event.cs
index 6431a96c..db805318 100644
--- a/src/gui/event.cs
+++ b/src/gui/event.cs
@@ -315,8 +315,16 @@ public class EditEventWindow
                {
                        LogB.Information("Exists and clicked " + videoFileName);
 
-                       Webcam webcam = new WebcamMplayer ();
-                       Webcam.Result result = webcam.PlayFile(videoFileName);
+                       /*
+                        * using mplayer
+                        *
+                        * Webcam webcam = new WebcamMplayer ();
+                        * Webcam.Result result = webcam.PlayFile(videoFileName);
+                        */
+
+                       //using ffmpeg
+                       Webcam webcam = new WebcamFfmpeg (Webcam.Action.PLAYFILE, UtilAll.GetOSEnum(), "");
+                       Webcam.Result result = webcam.PlayFile (videoFileName);
                }
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]