Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-12movenc: Add a new flag for writing global sidx indexes for dashMartin Storsjö
The double meaning of the faststart flag (moving a moov atom to the start of files, making them streamable, for non-fragmented files, vs inserting a global sidx index at the start of files for fragmented files) is confusing - see 40ed1cbf1 for explanation of its origins. Since the second meaning of the flag hasn't been part of any libav release yet, just rename it to get rid of the confusion without any extra deprecation (which wouldn't get rid of the potential confusion, of users adding -movflags faststart even for fragmented files, where it isn't needed for making them "streamable"). This gets back the old behaviour, where -movflags faststart doesn't have any effect for fragmented files. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-08-10movenc: Place the sidx index after the initial moov/mdat pairMartin Storsjö
For fragmented files with non-empty moov, with a fragment index (sidx), place the index after the initial moov/mdat pair. Previously, for this pathological case, the index was written at the start of the file. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-08-10movenc: Rename reserved_moov_pos to reserved_header_posMartin Storsjö
The same field is also used for writing the sidx index header, for fragmented files, when the faststart flag is used. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-08-10movenc: Check that frag_info entries exist in mov_write_sidx_tagMartin Storsjö
This fixes crashes with pathological cases when trying to write a sidx index (via the -movflags faststart option, in combination with fragmenting options), when no fragments actually have been written. (This is possible if the empty_moov flag isn't used, so that all actual packet data is written in the moov/mdat pair, and no moof/mdat pairs have been written.) In these pathological cases, no sidx should be written at all. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-08-04asf: Use time_t where neededLuca Barbato
gmtime takes a time_t not an uint64_t.
2015-08-04asfdec: read values properlyAlexandra Hájková
The length of BOOL values is 16 bits in the Metadata Object but 32 bits in the Extended Content Description Object. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-08-02asfdec: prevent the memory leak while reading metadataAlexandra Hájková
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-31asfdec: remove improper assignement that caused wrong timestampsAlexandra Hájková
and remove unneeded variable Sample-Id: https://samples.libav.org/asf-wmv/asf-code-53/movn018.asf Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-31asfdec: do not export empty metadataAlexandra Hájková
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-31asfdec: free AVDictionaries properly when closing the demuxerAlexandra Hájková
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-30rtsp: Only interpret $ as interleaved packet indicator at the start of repliesMartin Storsjö
Allow $ as character anywhere within normal RTSP replies - both within the lines, and as the first character of RTSP header lines. (The existing old comment indicated that an inline packet could start at any line within a RTSP reply header, but that doesn't sound valid to me, and I'm not sure if the existing code handled that correctly either.) CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2015-07-30hls: Save and forward avio optionsLuca Barbato
Make possible to send the custom headers and override the user agent. Reported-by: BenWonder
2015-07-30http: Add the trailing endlines if they are missingLuca Barbato
Makes slightly easier the life of those want to use the option from the command line
2015-07-30rtmpproto: free hmac context properlyJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
2015-07-29rtmpproto: use AVHMAC instead of a custom implementationJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
2015-07-27asfdec: do not align Data Object when Broadcast Flag is setAlexandra Hájková
its size is invalid in this case Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-27lavc: Consistently prefix input buffer definesVittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-27lavc: AV-prefix all codec capabilitiesVittorio Giovara
Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-27lavc: AV-prefix all codec flagsVittorio Giovara
Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-27asfdec: interpret the first flag in an asf packet as length flagAlexandra Hájková
if the error correction flag is not set, a packet starts with payload Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-23asfdec: remove the wrong conditionAlexandra Hájková
this condition breaks reading from the pipe as data_reached variable have to be set to break while in the asf_read_header just after the Data Object is found Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-23asfdec: increment nb_streams right after the stream allocationAlexandra Hájková
to prevent possible memory leaks Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-23asfdec: set nb_streams to 0 in the asf_read_closeAlexandra Hájková
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-22asfdec: avoid crash in the case when chunk_len is 0 or pkt_len is 0Alexandra Hájková
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-22asfdec: close the demuxer properly when read_header is failingAlexandra Hájková
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-22asfdec: factor out seeking to the Data Object outside whileAlexandra Hájková
return INVALIDDARA if Data Object was not found Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-20Add a quality factor packet side dataVittorio Giovara
This is necessary to preserve the quality information currently exported with coded_frame. Add the new side data to every encoder that needs it, and use it in avconv. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-19asfdec: make nb_sub to be unsigned intAlexandra Hájková
number of subpayloads should be always positive Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-19asfdec: read the replicated data in a separate functionAlexandra Hájková
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-19asfdec: convert condition for the replicated data reading to be saferAlexandra Hájková
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-19asfdec: do not read replicated data when their length is 0Alexandra Hájková
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-17Revert "mov: Double-check that alias path is not an absolute path"Vittorio Giovara
This reverts commit 9286de045968ad456d4e752651eec22de5e89060. The change broke support for legit absolute file paths. Reported-by: Maksym Veremeyenko <verem@m1stereo.tv>.
2015-07-15mpegts: Mark the muxer as supporting variable fpsLuca Barbato
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-13mp3: Forward seeking errorsLuca Barbato
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-13asfdec: prevent memory leaks found with Coverity ScanAlexandra Hájková
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-07-12asfdec: always reset packet state after seekingHendrik Leppkes
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-11riff: Validate bitrateAndreas Cadhalpun
2015-07-11mp3: Make the seek more robustLuca Barbato
Try to parse up to 4 packets to find the closest packet. Reported-By: jan.schlueter@ofai.at
2015-07-11riff: Use the correct logging contextLuca Barbato
2015-07-10asfdec: Fix reading from the pipeAlexandra Hájková
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-09lavf/hevc: pad the RBSP buffer as required by the bistream readerAnton Khirnov
2015-07-04mpjpeg: Write the Content-lengthFrank Heckenbach
2015-07-04mpjpeg: Simplify using avio_printfLuca Barbato
2015-07-03lavc: Move deprecation warning disabling to files including the tableVittorio Giovara
Unbreak build from 7a5902c556d84a367dd64a003a4e7244fc3a73d1. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-03asfdec: prevent the infinite loop in detect unknown_subobjectAlexandra Hájková
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-03asfdec: prevent possible memory leak in the asf_read_metadata_objAlexandra Hájková
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-07-01mov: Log format rather than fourcc in stsd in trace modeVittorio Giovara
This will fix remaining format warnings.
2015-07-01mov: Adjust variable types to fix format warningsVittorio Giovara
2015-07-01dump: Use the correct abs() versionVittorio Giovara
Fix warning from clang "absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]".
2015-06-30mov: Preserve the metadata even when bit-exactness is requestedLuca Barbato
Make sure to not write the custom `encoder` string in that case. Bug-Id: 845 CC: libav-stable@libav.org