<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.2.1">
</HEAD>
<BODY>
Le mardi 08 novembre 2011 à 10:05 +0100, Eugen Funk a écrit :<BR>
<BLOCKQUOTE TYPE=CITE>
Hello Nicolas,<BR>
thank you for the advise.<BR>
Could you explain shortly what this part does?:
<PRE>
fd=4 4>&1 1>&2
</PRE>
</BLOCKQUOTE>
I write to file descriptor (fd) 4, redirect stdout to stderr (1>&2) et redirect fd 4 to stdout (4>&1). This prevent corruption by standard ouput. I don't pretend this is a clean solution, also you most likely want a queue2 to deal with connecion speed change.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
I was thinkig to use librsync, because the connection between the server and the client is quite unstable.<BR>
Rsync has the ability to check which part of the file has been transfered correctly (hierarchical checksums) and retransfers the required part again.<BR>
</BLOCKQUOTE>
As said, rsync only works if you store the file to your local disk first, which already works in GStreamer. Honestly I thought that you mean connection speed is unstable, but if you loose connection, that is something else.<BR>
<BR>
good luck,<BR>
Nicolas<BR>
<BR>
</BODY>
</HTML>