summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* mux: warn if the encoders bitexact flag is set, but not the muxersAndreas Cadhalpun2015-08-30
| | | | | Based-on-patch-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* avformat/segment: atomically update list if possibleMichael Niedermayer2015-08-28
| | | | | | Fixes Ticket4802 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/mpegenc: provide better feedback in case of invalid media typeStefano Sabatini2015-08-27
|
* Merge commit 'e176639bcbf4b580edb462a6b0650e53cd5e3c04'Hendrik Leppkes2015-08-27
|\ | | | | | | | | | | | | * commit 'e176639bcbf4b580edb462a6b0650e53cd5e3c04': webm: Explicitly select libvpx, libopus and libvorbis encoders Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * webm: Explicitly select libvpx, libopus and libvorbis encodersLuca Barbato2015-08-25
| | | | | | | | | | | | | | | | And update the preference for the newer codecs now that the libraries seem stable and widespread enough. Bug-Id: 695 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * hlsenc: Support outputting specific versionsLuca Barbato2015-08-25
| | | | | | | | | | | | Right now only version 2 and version 3 are supported. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avformat/oggenc: Check segments_count for headers tooMichael Niedermayer2015-08-27
| | | | | | | | | | | | | | Fixes infinite loop and segfault in ogg_buffer_data() Fixes Ticket4806 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/mov: Support unusual alac files without frma and alac atoms.Carl Eugen Hoyos2015-08-27
| | | | | | | | Fixes ticket #4747.
* | avformat/segment: Do not free the filename twiceMichael Niedermayer2015-08-26
| | | | | | | | | | | | Bug introduced in 83a508cda5115c61b456aeb227bf770d61010961 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | matroskaenc: Fix indentationTimothy Gu2015-08-25
| | | | | | | | Found-by: Hendrik Leppkes <h.leppkes@gmail.com>
* | lavf/http: Fix parsing http request data to not read over '\0'.Stephan Holljes2015-08-25
| | | | | | | | Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
* | avformat/aa: use correct format specifier in sscanfVesselin Bontchev2015-08-25
| | | | | | | | | | | | This demuxer was broken on a large number of platforms due to usage of wrong format specifier in sscanf. This patch fixes the problem, and also adds some debug logging to reduce future debugging pain.
* | lavf/segment: Fix memleak.Carl Eugen Hoyos2015-08-25
| | | | | | | | | | Reviewed-by: Stefano Sabatini Reviewed-by: Ganesh Ajjanagadde
* | avformat/file: Check for lstat() instead of dirent.hMichael Niedermayer2015-08-25
| | | | | | | | | | | | Fixes build on mingw Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/dnxhd: Autodetect more valid files.Carl Eugen Hoyos2015-08-25
| |
* | lavf/file: check for dirent.h supportMariusz Szczepańczyk2015-08-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/file: implement directory listing callbacksLukasz Marek2015-08-25
| | | | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/hevc: Check num_long_term_ref_pics_sps to avoid potentially long loopsMichael Niedermayer2015-08-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/hevc: Fix parsing errorsArthur Grant2015-08-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | rtpenc_chain: also copy AVFMT_FLAG_BITEXACT to new AVFormatContextAndreas Cadhalpun2015-08-23
| | | | | | | | | | | | | | | | Otherwise it is impossible to make '-movflags +rtphint' bitexact after FF_API_LAVF_BITEXACT has been disabled. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | avformat: Remove use of AVFrac and AVStream->ptsMichael Niedermayer2015-08-23
| | | | | | | | | | | | | | Move field to internal part of AVStream and struct to internal.h Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | add missing FF_API_DESTRUCT_PACKET guardsAndreas Cadhalpun2015-08-22
| | | | | | | | | | Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | version: Fix two more typosTimothy Gu2015-08-22
| | | | | | | | | | Same as cafba99b5146cf10d60ceed4257f6e82380a020e but applied to lavf and lavu.
* | avformat/hls: correct comment for ensure_playlist()Ganesh Ajjanagadde2015-08-21
| | | | | | | | | | | | | | | | Comment was previously slightly incorrect. Also, it was placed in the wrong location. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Add support for Audible AA filesVesselin Bontchev2015-08-21
| | | | | | | | https://en.wikipedia.org/wiki/Audible.com#Quality
* | avformat/webmdashenc: fix uninitialized variableGanesh Ajjanagadde2015-08-20
| | | | | | | | | | | | | | | | | | Fixes -Wsometimes-uninitialized from http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1 Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/ftp: use correct enum typeGanesh Ajjanagadde2015-08-20
| | | | | | | | | | | | | | | | Fixes -Wenum-conversion from http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1 Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/mpeg: Allow users to force audio codec MLP.Carl Eugen Hoyos2015-08-20
| | | | | | | | Fixes part of ticket #4786.
* | avformat/mux: Update sidedata in ff_write_chained()Michael Niedermayer2015-08-20
| | | | | | | | | | | | Fixes Ticket4777 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/ftp: implement move and delete callbacksMariusz Szczepańczyk2015-08-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | */version.h: Add note/recommandition about bumping majorMichael Niedermayer2015-08-19
| | | | | | | | | | Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavformat/matroskaenc.c: fix small memory leaks on errorNeil Birkbeck2015-08-19
| | | | | | | | | | | | | | | | | | Fixing small leaks that can occur when mkv_write_tracks fails in mkv_write_header (e.g., if video track has unknown codec). Also changing mkv_write_seekhead to take the MatroskaMuxContext to avoid having dangling pointers. Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | FF_OPT_TYPE_* -> AV_OPT_TYPE_*.Ronald S. Bultje2015-08-18
| |
* | Replace av_dlog with ff_dlog.Ronald S. Bultje2015-08-18
| | | | | | | | | | ff_dlog checks compilability, and is non-public. av_dlog is deprecated and no longer exists if FF_API_DLOG=0.
* | Merge commit '317cfaa5e09755ed0b34af512ec687963a67bdbf'Hendrik Leppkes2015-08-18
|\| | | | | | | | | | | | | * commit '317cfaa5e09755ed0b34af512ec687963a67bdbf': asfdec: prevent the memory leak in the asf_read_metada_obj Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * asfdec: prevent the memory leak in the asf_read_metada_objAlexandra Hájková2015-08-16
| | | | | | | | | | | | | | also do not return the error code but just break reading metadata object in the case of the aspect ratio reading failure Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * hlsenc: Use AV_TIME_BASE units for all the computationsLuca Barbato2015-08-16
| | | | | | | | | | | | | | | | Do not risk mixing different timebases. CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | Merge commit '26ac22e5e7394346e9d59f800e7d4e91f4518d33'Hendrik Leppkes2015-08-18
|\| | | | | | | | | | | | | | | | | | | | | * commit '26ac22e5e7394346e9d59f800e7d4e91f4518d33': movenc: Add a new flag for writing global sidx indexes for dash Conflicts: libavformat/movenc.c libavformat/movenc.h Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * movenc: Add a new flag for writing global sidx indexes for dashMartin Storsjö2015-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | lavf/matroskadec: Fully parse and repack MP3 packetsRodger Combs2015-08-16
| | | | | | | | | | | | Fixes https://trac.ffmpeg.org/ticket/4776 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | mxfdec: set AVFMT_SEEK_TO_PTS demuxer flagMarton Balint2015-08-14
| | | | | | | | | | | | Since 53f2ef2c4afb1d49a679dea9163cb0e4671f3117 seeking is done using PTS. Signed-off-by: Marton Balint <cus@passwd.hu>
* | lavf/mpegts: apply misc option description fixesStefano Sabatini2015-08-14
| | | | | | | | Use impersonal form, drop capitalization and ending dot.
* | avformat/rmdec: MLTI with multiple MDPR supportMichael Niedermayer2015-08-14
| | | | | | | | | | | | Fixes Ticket4496 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/rmdec: Move MLTI handling out of ff_rm_read_mdpr_codecdata()Michael Niedermayer2015-08-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/ftp: implement NLST methodMariusz Szczepańczyk2015-08-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/wavdec: Detect wrongly interpreted specification about the sample ↵Michael Niedermayer2015-08-13
| | | | | | | | | | | | | | | | value in the fact chunk Fixes Ticket703 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/wavdec: Do not discard sample_count due to roundingMichael Niedermayer2015-08-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/tls_gnutls: correct version detection for certificate supportGanesh Ajjanagadde2015-08-13
| | | | | | | | | | | | | | Fixes Ticket3748 Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avisynth: fix setting stream timebaseMarton Balint2015-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | Stream timebase should be set using avpriv_set_pts_info, otherwise avctx->pkt_timebase is not correct. This should fix ticket #4766. Patch is only compile tested. Signed-off-by: Marton Balint <cus@passwd.hu> Reviewed-by: Stephen Hutchinson <qyot27@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/avidec: Simplify dshow_block_align based special case detectionMichael Niedermayer2015-08-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>