[mistelix/stable] Remove dependency in Fluendo fmpeg demuxer and suggest to install GStreamer Ugly plugins too



commit ce471526fa4ef6bc73a5ac93351ebd2494d7f0cc
Author: Jordi Mas <jmas softcatala org>
Date:   Mon Jul 13 17:25:44 2009 +0200

    Remove dependency in Fluendo fmpeg demuxer and suggest to install GStreamer Ugly plugins too

 libmistelix/video.c      |    6 +++---
 src/core/Dependencies.cs |    6 +++++-
 2 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/libmistelix/video.c b/libmistelix/video.c
index 07f9b1e..d9efb38 100644
--- a/libmistelix/video.c
+++ b/libmistelix/video.c
@@ -34,10 +34,10 @@ typedef struct
 supported_media supported_medias[] = 
 {
 	{"video/mpeg", "ffenc_mpeg2video", 
-		"filesrc location=\"%s\" ! flupsdemux name=demux \\ "
+		"filesrc location=\"%s\" ! mpegdemux name=demux \\ "
 		"{ffmux_dvd preload=500000 maxdelay=699999 name=mux ! filesink location=\"%s\" } \\ "
-		"{demux. ! queue ! flump3dec ! queue ! lame ! mux. } \\ "
-		"{demux. ! queue ! mpeg2dec ! ffmpegcolorspace ! videorate ! video/x-raw-yuv,format=(fourcc)I420,framerate=%u/1 ! queue ! ffenc_mpeg2video ! mux. }"},
+		"{demux.audio_00 ! queue ! flump3dec ! queue ! lame ! mux. } \\ "
+		"{demux.video_00 ! queue ! mpeg2dec ! ffmpegcolorspace ! videorate ! video/x-raw-yuv,format=(fourcc)I420,framerate=%u/1 ! queue ! ffenc_mpeg2video ! mux. }"},
 
 	{"video/x-msvideo", "avidemux", 
 		"filesrc location=\"%s\" ! decodebin name=demux \\ "
diff --git a/src/core/Dependencies.cs b/src/core/Dependencies.cs
index 992d1ca..0300b11 100644
--- a/src/core/Dependencies.cs
+++ b/src/core/Dependencies.cs
@@ -42,6 +42,7 @@ namespace Mistelix.Core
 			OGGMUX,
 			VORBISENC,
 			FLUMP3DEC,
+			ASFDEMUX,
 		};
 
 		public struct Dependency
@@ -128,7 +129,7 @@ namespace Mistelix.Core
 
 			status_checked = true;
 			List <string> codecs = MistelixLib.GetCodecs ();
-			string [] used =  {"ffenc_mpeg2video", "ffmux_dvd", "mistelixvideosrc", "theoraenc", "oggmux", "vorbisdec", "flump3dec"};
+			string [] used =  {"ffenc_mpeg2video", "ffmux_dvd", "mistelixvideosrc", "theoraenc", "oggmux", "vorbisdec", "flump3dec", "asfdemux"};
 			bool [] founds = new bool [used.Length];
 
 			// TODO: Better a hash table
@@ -154,6 +155,9 @@ namespace Mistelix.Core
 			DependencyList.Add (new Dependency (Catalog.GetString ("MP3 audio decoder"), founds [(int) Codecs.FLUMP3DEC],
 				Catalog.GetString ("Missing MP3 audio decoder. You need to install Fluendo MP3 decoder GStreamer plugin to enable MP3 import audio capabilities.")));
 
+			DependencyList.Add (new Dependency (Catalog.GetString ("GStreamer Ugly Plugins"), founds [(int) Codecs.ASFDEMUX],
+				Catalog.GetString ("Missing video decoders. Without this package Mistelix cannot provide video conversion facilities from popular formats. You need to install GStreamer Ugly Plugins package for better video import support.")));
+
 			// Check for applications
 			bool dvdauthor, spumux;
 	



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