[Ffmpeg-devel] [PATCH] http_seek feature added
I. Po
yyymmmm
Tue Jul 18 17:38:00 CEST 2006
Hi, all.
I don't see any reason, which disallow me to type in shell command like
ffmpeg -ss 00:01:00 -i http://some.host/some.file ... ,
except http_seek are not implemented in http.c file.
A made some changes in this file, so now you are free to run
processing of remote streams with arbitrary start point.
Note: I implemented not all of seek functionality, but only needed for
processing like described above. It means:
- SEEK_SET mode fully implemented
- SEEK_END partial implemented only with pos == -1. In this case I
just returning file_size-1, but don't do anything else.
- SEEK_CUR mode not implemented
- no stress-testing been made
-------------- next part --------------
A non-text attachment was scrubbed...
Name: http.c.seek.patch
Type: application/octet-stream
Size: 6589 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060718/06d36825/attachment.obj>
More information about the ffmpeg-devel
mailing list