mail-archives/mono-osx/2012-June/004994.html

77 строки
3.8 KiB
HTML
Исходник Постоянная ссылка Обычный вид История

2019-06-06 22:05:17 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] OutputDataReceived event not raised when using the Process class together with Ffmpeg?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=Re%3A%20%5BMono-osx%5D%20OutputDataReceived%20event%20not%20raised%20when%20using%20the%0A%20Process%20class%20together%20with%20Ffmpeg%3F&In-Reply-To=%3C1339019439574-4649761.post%40n4.nabble.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<style type="text/css">
pre {
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
}
</style>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="004993.html">
<LINK REL="Next" HREF="004995.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] OutputDataReceived event not raised when using the Process class together with Ffmpeg?</H1>
<B>johot</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=Re%3A%20%5BMono-osx%5D%20OutputDataReceived%20event%20not%20raised%20when%20using%20the%0A%20Process%20class%20together%20with%20Ffmpeg%3F&In-Reply-To=%3C1339019439574-4649761.post%40n4.nabble.com%3E"
TITLE="[Mono-osx] OutputDataReceived event not raised when using the Process class together with Ffmpeg?">johan.otterud at gmail.com
</A><BR>
<I>Wed Jun 6 21:50:39 UTC 2012</I>
<P><UL>
<LI>Previous message: <A HREF="004993.html">[Mono-osx] OutputDataReceived event not raised when using the Process class together with Ffmpeg?
</A></li>
<LI>Next message: <A HREF="004995.html">[Mono-osx] OutputDataReceived event not raised when using the Process class together with Ffmpeg?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4994">[ date ]</a>
<a href="thread.html#4994">[ thread ]</a>
<a href="subject.html#4994">[ subject ]</a>
<a href="author.html#4994">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>UPDATE: Argh, it almost works now :P I have a different problem now. This
time (thanks to your code!) I get all the data before Ffmpeg starts
encoding, but the data when it actual encodes (for example the current
progress) comes after the process is finished in one big chunk. It must have
something to do with threading etc. It's like my program gets locked up
during the encoding and then unlocks when it is finished. Not sure how to
fix it, could it be that more threads are spawned when the actual encoding
starts... hmm
--
View this message in context: <A HREF="http://mono.1490590.n4.nabble.com/OutputDataReceived-event-not-raised-when-using-the-Process-class-together-with-Ffmpeg-tp4649705p4649761.html">http://mono.1490590.n4.nabble.com/OutputDataReceived-event-not-raised-when-using-the-Process-class-together-with-Ffmpeg-tp4649705p4649761.html</A>
Sent from the Mono - OSX mailing list archive at Nabble.com.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="004993.html">[Mono-osx] OutputDataReceived event not raised when using the Process class together with Ffmpeg?
</A></li>
<LI>Next message: <A HREF="004995.html">[Mono-osx] OutputDataReceived event not raised when using the Process class together with Ffmpeg?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4994">[ date ]</a>
<a href="thread.html#4994">[ thread ]</a>
<a href="subject.html#4994">[ subject ]</a>
<a href="author.html#4994">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>