[FFmpeg-devel] [PATCH] lavf: add subfile protocol.

Nicolas George george at nsup.org
Wed Feb 26 11:45:23 CET 2014


L'octidi 8 ventôse, an CCXXII, Carl Eugen Hoyos a écrit :
> Am I correct that start is equivalent to "-skip_initial_bytes"?

Hum, it does indeed have a similar use case, but -skip_initial_bytes works
by discarding bytes before starting reading the file: it will only work with
files that are read sequentially. That excludes formats that have an index
at the end, and that excludes seeking.

With this protocol, you could open an AVI file in the middle of an TAR
archive and play it, including seeking.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140226/2a9e55a7/attachment.asc>


More information about the ffmpeg-devel mailing list