- 17 Nov, 2016 1 commit
-
-
Christian Suloway authored
Signed-off-by: Christian Suloway <csuloway@globaleagleent.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 30 Aug, 2016 2 commits
-
-
Simon Hailes authored
cyrpto allows reading of data which has been aes-128-cbc encrypted given a key and an iv. But it did not handle filetypes which require seeking... e.g. it failed on an encrypted .mp4 file. example: take 25.mp4 created with: ffmpeg -f lavfi -i sine=frequency=1000:beep_factor=2:r=48000:duration=720.0 -f lavfi -i testsrc=duration=720.0:rate=25 -vcodec libx264 -cmp 22 -timecode 10:00:00:00 -r 25 -y out\25.mp4 encrypt with: openssl enc -aes-128-cbc -K 12345678901234567890123456789012 -iv 12345678901234567890123456789012 -in 25.mp4 -out 25.enc then to transcode in ffmpeg: ffmpeg -key 12345678901234567890123456789012 -iv 12345678901234567890123456789012 -i crypto:25.enc -vcodec mpeg4 -r 25 -y 25dec.mp4 prior to this modification, the transcode would fail. Note also: crypto previously maked both reads and writes as streamed, which caused the whole file to be read before the transcode started. Now, for read only, if the underlying layer is not marked as streamed, then crypto is not. This should enable efficient reading of encrypted containers which require seeking. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Simon Hailes authored
the current implementation reads in chunks of 149x16=2384 bytes. Seems more logical for it to read in chunks of 4096 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 24 Mar, 2016 1 commit
-
-
Martin Storsjö authored
Since all URLContexts have the same AVOptions, such AVOptions will be applied on the outermost context only and removed from the dict, while they probably make sense on all contexts. This makes sure that rw_timeout gets propagated to the innermost URLContext (to make sure it gets passed to the tcp protocol, when opening a http connection for instance). Alternatively, such matching options would be kept in the dict and only removed after the ffurl_connect call. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 04 Mar, 2016 1 commit
-
-
Derek Buitenhuis authored
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 22 Feb, 2016 2 commits
-
-
Anton Khirnov authored
This way, the decisions about which protocols are available for use in any given situations can be delegated to the caller.
-
Anton Khirnov authored
Instead of a linked list constructed at av_register_all(), store them in a constant array of pointers. Since no registration is necessary now, this removes some global state from lavf. This will also allow the urlprotocol layer caller to limit the available protocols in a simple and flexible way in the following commits.
-
- 02 Feb, 2016 1 commit
-
-
Michael Niedermayer authored
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 14 Feb, 2015 1 commit
-
-
Diego Biurrun authored
-
- 09 Dec, 2014 1 commit
-
-
Michael Niedermayer authored
Fixes Ticket 4167 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 02 Dec, 2014 2 commits
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Christian Suloway authored
Signed-off-by: Christian Suloway <csuloway@globaleagleent.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 30 Aug, 2013 1 commit
-
-
Thilo Borgmann authored
-
- 11 Oct, 2012 1 commit
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 09 Oct, 2012 1 commit
-
-
Duncan Salerno authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 31 Aug, 2012 1 commit
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 13 Nov, 2011 2 commits
-
-
Anton Khirnov authored
Not used anywhere yet, support for passing options from avio_open() will follow.
-
Martin Storsjö authored
Change all uses of these function to pass the relevant callback on.
-
- 10 Nov, 2011 2 commits
-
-
Anton Khirnov authored
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 12 Oct, 2011 1 commit
-
-
Anton Khirnov authored
-
- 09 Jun, 2011 1 commit
-
-
Etienne Buira authored
This fixes a potential double free. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 08 Jun, 2011 3 commits
-
-
Michael Niedermayer authored
This reverts commit 7d89f7cb. Revert at authors request, and its buggy missing &
-
Etienne Buira authored
This fixes a potential double free. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Etienne Buira authored
-
- 17 May, 2011 1 commit
-
-
Anton Khirnov authored
-
- 29 Apr, 2011 1 commit
-
-
Anton Khirnov authored
-
- 24 Apr, 2011 1 commit
-
-
Martin Storsjö authored
Using av_freep is generally good practice. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 22 Apr, 2011 1 commit
-
-
Martin Storsjö authored
This can later be extended to support other AES bit sizes, encryption, other crypto algorithms, reading the key from a URL, etc. In order to use it, the key and initialization vector has to be passed via AVOptions. Since such options can't be passed to protocols from the command line, the protocol is currently only for libavformat internal use. Signed-off-by: Martin Storsjö <martin@martin.st>
-