[vlc-devel] [PATCH] livehttp - keep index file up to date when doing non-live transcoding on Windows
Rémi Denis-Courmont
remi at remlab.net
Thu Feb 17 19:33:52 CET 2011
Le jeudi 17 février 2011 20:01:31 Rob, vous avez écrit :
> the point is to make the content useable before the whole transcode has
> finished.
>
> at the moment on windows, the process for transcoding a movie is something
> like:
>
> 1) livehttp outputs first segment, and index.m3u8 referencing segment 1
> 2) outputs all the other segments, updating index.m3u8.tmp
> (step 2 might take 30mins or so for a movie)
> 3) index.m3u8 is with the index.m3u8.tmp
And that points at a bug in Win32's vlc_rename(), not the in the livehttp
output plugin.
> the patch gets rid of the facade of the .tmp file.
The patch introduces a bug on POSIX systems, which we took great pain to
avoid. This is not acceptable.
--
Rémi Denis-Courmont
http://www.remlab.info/
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list