- 08 12月, 2014 4 次提交
-
-
由 Joakim Plate 提交于
This uses the RIFF header stored size to figure out the expected AVI file size, instead of the actual file. To work fully it requires handling failed avio_seek() instead of assuming they always succeed. Some fate file has been cut off and contains half a frame at the end which previously was not output during demuxing. This frame is now output to encoder, thus the fate diff update. Bug-Id: 261 Signed-off-by: NVittorio Giovara <vittorio.giovara@gmail.com>
-
由 Carl Eugen Hoyos 提交于
-
由 Martin Storsjö 提交于
Tell the user that the RTP muxer needs to be used to packetize the data - using the RTP protocol on its own isn't enough. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Luca Barbato 提交于
Having more than 10 consecutive frames decoded as mp3 should be considered a clear signal that the sample is mp3 and not mpegps. Reported-By: NFlorian Iragne <florian@iragne.fr> CC: libav-stable@libav.org
-
- 07 12月, 2014 1 次提交
-
-
由 Luca Barbato 提交于
Bug-Id: 773 CC: libav-stable@libav.org
-
- 05 12月, 2014 1 次提交
-
-
由 Matthieu Bouron 提交于
Fixes decting channel layout for files with uncommon audio, such as FL and FR in two separate streams. Introduced in 3bab7cd1. CC: libav-devel@libav.org Sample-Id: ticket1474.mov Signed-off-by: NVittorio Giovara <vittorio.giovara@gmail.com>
-
- 04 12月, 2014 1 次提交
-
-
由 Luca Barbato 提交于
The function takes a size and not an offset. CC: libav-stable@libav.org Sample-Id: rm_deadlock.rm Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-
- 03 12月, 2014 1 次提交
-
-
由 Luca Barbato 提交于
CC: libav-stable@libav.org
-
- 02 12月, 2014 7 次提交
-
-
由 Florent Le Coz 提交于
As per the RFCs: http://tools.ietf.org/html/rfc3555#page-38 http://tools.ietf.org/html/rfc3003 CC: libav-stable@libav.org
-
由 Jean-Baptiste Mardelle 提交于
-
由 Fredrik Axelsson 提交于
Signed-off-by: NFredrik Axelsson <fraxbe@gmail.com> Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
-
由 Thilo Borgmann 提交于
This allows to load metadata entries longer than 1024 bytes. Displaying them is still limited to 1024 characters, but applications can load them fully now. Signed-off-by: NVittorio Giovara <vittorio.giovara@gmail.com>
-
由 Vittorio Giovara 提交于
-
由 Vittorio Giovara 提交于
-
由 Vittorio Giovara 提交于
With --disable-optimizations, the DCE of some compilers does not remove such unused code, causing linking failure.
-
- 29 11月, 2014 1 次提交
-
-
由 Martin Storsjö 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 28 11月, 2014 6 次提交
-
-
由 Martin Storsjö 提交于
This fixes the build on compilers that interpreted the earlier code as a variable length array (which we intentionally disallow). Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Bryan Huh 提交于
This allows one to specify templated segment names for init-segments, media-segments, and for the base-url in the case of single-file. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
Currently, when streaming to an RTMP server, any time a packet of type RTMP_PT_NOTIFY is encountered, the packet is prepended with @setDataFrame before it gets sent to the server. This is incorrect; only packets for onMetaData and |RtmpSampleAccess should invoke @setDataFrame on the RTMP server. Specifically, the current bug manifests itself when trying to stream onTextData or onCuePoint invocations. This fix addresses that problem and ensures that the @setDataFrame is only prepended for onMetaData and |RtmpSampleAccess. Since data is fed to the rtmp_write function in smaller pieces (depending on the calling IO buffer size), we can't generally assume that the whole packet (or even the whole command string) is available at once, therefore we can only check the command string once the full packet has been transferred to us for sending. Based on a patch by Jeffrey Wescott. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
We try to avoid mixing av_malloc with av_realloc, since av_malloc may be implemented with functions that can't (formally) be mixed with the functions used in av_realloc. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 27 11月, 2014 3 次提交
-
-
由 Martin Storsjö 提交于
This reverts commit b9d08c77. After taking MoveFileEx into use, we can replace files with renames on windows as well. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
This allows getting the normal unix semantics, where a rename allows replacing an existing file. Based on a suggestion by Reimar Döffinger. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
This doesn't add any dependency on library internals, since this only is a static inline function that gets built into each of the calling functions - this is only to reduce the code duplication. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 26 11月, 2014 2 次提交
-
-
由 Martin Storsjö 提交于
This allows setting the right fragment number if doing random-access writing of fragments, and also allows reading the current sequence number. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
This allows creating a later mp4 fragment without sequentially writing the earlier ones before (when called from a segmenter). Normally when writing a fragmented mp4 file sequentially, the first timestamps of a fragment are adjusted to match the end of the previous fragment, to make sure the timestamp is the same, even if it is calculated as the sum of previous fragment durations. (And for the first packet in a file, the offset of the first packet is written using an edit list.) When writing an individual mp4 fragment discontinuously like this (with potentially writing the earlier fragments separately later), there's a risk of getting a gap in the timeline if the duration field of the last packet in the previous fragment doesn't match up with the start time of the next fragment. Using this requires setting -avoid_negative_ts make_non_negative (or -avoid_negative_ts 0). Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 25 11月, 2014 3 次提交
-
-
由 Martin Storsjö 提交于
This makes sure that the internal utf8 path names are handled properly - the normal file handling functions assume path names are in the native codepage, which isn't utf8. This assumes that the tools outside of lavf don't use the mkdir definition. (The tools don't do the same reading of command line parameters as wchar either - they probably won't handle all possible unicode file parameters properly, but at least work more predictably if no utf8/wchar conversion is involved.) This is moved further down in os_support.h, since windows.h shouldn't be included before winsock2.h, while io.h needs to be included before the manual defines for lseek functions. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
On windows, rename(2) will fail if the target file exists. On unix this trick is used to make sure that people reading the file either will get the full previous file, or the full new version of the file, but no intermediate version. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Uwe L. Korn 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 24 11月, 2014 3 次提交
-
-
由 Martin Storsjö 提交于
This makes sure that segments actually start at a keyframe (and makes sure we don't split segments twice in a row, with one segment consisting of only a handful of packets), when one stream uses b-frames while another one doesn't. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Vittorio Giovara 提交于
Bug-Id: CID 1238993
-
由 Vittorio Giovara 提交于
CC: libav-stable@libav.org Bug-Id: CID 29261
-
- 23 11月, 2014 3 次提交
-
-
由 Martin Storsjö 提交于
Don't write any bitrate attribute if it isn't known. As long as one doesn't want automatic bitrate switching, playback can work just fine even if it isn't set. If strict standard compliance is requested, this is still considered an error, since the attribute is mandatory according to the spec. Based on a patch by Rodger Combs. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
The same file already includes this header a few lines further above. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Michael Niedermayer 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 21 11月, 2014 1 次提交
-
-
由 Luca Barbato 提交于
CC: libav-stable@libav.org Bug-Id: CID 1087092
-
- 19 11月, 2014 2 次提交
-
-
由 Martin Storsjö 提交于
The chained flv muxer wants one set of tags - normally this set could be signaled via the AVOutputFormat codec_tag field (as smoothstreamingenc and dashenc do). hdsenc doesn't signal it, since the FLV codec tag arrays aren't exported from flvenc.c. This can lead to the caller keeping an original codec tag from the originating container here, which would then be a mismatch for the FLV muxer. Since we don't really care about what codec tag the caller might have set, just clear it and let the lavf muxer layer set the right one for the chained FLV muxer later instead. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 18 11月, 2014 1 次提交
-
-
由 Vittorio Giovara 提交于
CC: libav-stable@libav.org Bug-Id: CID 717497
-