summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* lavf/avidec: Skip xxpc entries in index; fixes trac #5311Mats Peterson2016-03-10
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/mpeg: Identify sub-stream ID 0xa1 as mlp.Carl Eugen Hoyos2016-03-09
| | | | | | Fixes ticket #4786. Auto-detection seems difficult, patch mostly confirmed by http://dvd-audio.sourceforge.net/spec/aob.shtml
* Use correct msvc type specifiers for ptrdiff_t and size_t.Carl Eugen Hoyos2016-03-09
|
* lavf/mp3dec: avoid printing useless message in default log levelMoritz Barsnick2016-03-08
| | | | | | | | "Skipping 0 bytes of junk" is useless to the user, and essentially indicates a NOP. At 0 bytes, this message is now pushed back to the verbose log level. Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
* lavf/avienc: Palette changing code only concerns AV_PIX_FMT_PAL8Mats Peterson2016-03-08
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/utils: fix dts from pts code in compute_pkt_fields() during ↵Michael Niedermayer2016-03-08
| | | | | | ascending delay Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/riff: Add fourcc GTM4 from Telefactor digital audio for ASP.Carl Eugen Hoyos2016-03-07
|
* lavf/vplayerdec: support time durations with no ms specifiedClément Bœsch2016-03-07
| | | | | | | | | | | | Example found in the wild: 0:00:03:25.000 0:01:47:A legend is sung 0:01:50:Of when England was young 0:01:53:And knights|were brave and bold 0:01:59:The good king had died Reported-by: wm4
* rtp: Fix play multiple multicast streams with the same portZhao Zhili2016-03-07
| | | | | | | | | | We cannot play multiple multicast streams with the same port at the same time. This is because both rtp and rtcp port are opened in read-write mode, so they will not bind to the multicast address. Try to make rtp port as read-only by default to solve this bug. Signed-off-by: Zhao Zhili <wantlamy@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/ftp: Support response code 125 for STOR and RETR commandsRaymond Hilseth2016-03-07
| | | | | | | | | This fixes a problem where ffmpeg would hang if there is already an open data connection, and the server sends a 125 response code in reply to a STOR or RETR command. Signed-off-by: Raymond Hilseth <rhi@vizrt.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/img2dec: Use jpeg constants in jpeg_probe().Carl Eugen Hoyos2016-03-06
|
* lavf/riffdec: Remove \n from avpriv_report_missing_feature().Carl Eugen Hoyos2016-03-06
| | | | Found-by: Clément Bœsch
* avformat/rtpenc: Fix integer overflow in NTP_TO_RTP_FORMATBoris Nagels2016-03-06
| | | | | | | | | | | | | | RTCP synchronization packet was broken since commit in ffmpeg version > 2.8.3 (commit: e04b039b1528f4c7df5c2b93865651bfea168a19) Since this commit (2e814d0329aded98c811d0502839618f08642685) "rtpenc: Simplify code by introducing a macro for rescaling NTP timestamps", NTP_TO_RTP_FORMAT uses av_rescale_rnd() function to add the data to the packet. This causes an overflow in the av_rescale_rnd() function and it will return INT64_MIN. Causing the NTP stamp in the RTCP packet to have an invalid value. Github: Closes #182 Reverting commit '2e814d0329aded98c811d0502839618f08642685' solves the problem.
* mov - support seek in encrypted mp4erankor2016-03-06
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/avienc: Remove unneeded seekable testsMichael Niedermayer2016-03-06
| | | | | Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/dump: Fix context/level for payload dumpMark Harris2016-03-06
| | | | | | | Use the context and level specified to av_pkt_dump_log2(), instead of panic level (0), for dumping packet payload. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/avienc: assert that bits_per_coded_sample is within the supported ↵Michael Niedermayer2016-03-05
| | | | | | range (out of array access otherwise) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/avienc: Add support for palette side dataMats Peterson2016-03-05
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/riffenc: Handle palette for non-raw codecsMats Peterson2016-03-05
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/dump.c: Print mastering display metadataNeil Birkbeck2016-03-04
| | | | | Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/matroskadec: Add early support for some of the new colour elements.Neil Birkbeck2016-03-04
| | | | | | | | | | | | | | | Adding early support for a subset of the proposed colour elements according to the latest version of spec: https://mailarchive.ietf.org/arch/search/?email_list=cellar&gbt=1&index=hIKLhMdgTMTEwUTeA4ct38h0tmE I've left out elements for pix_fmt related things as there still seems to be some discussion around these, and the max_cll/max_fall are currently not propagated as there is not yet side data for them. The new elements are exposed under strict experimental mode. Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat: Fix member name 10LDerek Buitenhuis2016-03-04
| | | | | | | | The wrong member was remove/moved after review of the blacklist API. 10L cola. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avformat: Add a protocol blacklisting APIDerek Buitenhuis2016-03-04
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavf/movenc: Add support for palette side dataMats Peterson2016-03-04
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/utils: Normalize AVPacket.data to native endian in ff_get_packet_palette()Mats Peterson2016-03-04
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/yuv4mpegdec: fix seeking for partial filesPaul B Mahol2016-03-03
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat: use ff_standardize_creation_time for formats writing all format ↵Marton Balint2016-03-03
| | | | | | | string metadata Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/utils: add a function to standardize creation timeMarton Balint2016-03-03
| | | | | | | | | | This can be used for formats which write all format metadata as string to files, therefore non-standard creation times such as 'now' will be parsed. The standardized creation time is UTC ISO 8601 with microsecond precision. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* lavf/utils: Add ff_get_packet_palette()Mats Peterson2016-03-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/cache: Fix memleak of tree entriesMichael Niedermayer2016-03-02
| | | | | | Found-by: jamrial Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/seek-test: Support passing options to demuxers and protocolsMichael Niedermayer2016-03-02
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/mov: Set display aspect ratio for avid dv.Carl Eugen Hoyos2016-03-02
| | | | Fixes ticket #5271.
* sdp: fix opus sprop-stereo fmtp syntaxMark Harris2016-03-01
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/rtpdec_h264: Ignore invalid sprop-parameter-sets missing PPSAndrew Shulgin2016-03-01
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* hls: Add and use a memebr of AVIOInternal rather than abuse opaqueDerek Buitenhuis2016-02-29
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* Merge commit 'cae448cfbf31d492cba782bc64fc4eed556ed83d'Derek Buitenhuis2016-02-29
|\ | | | | | | | | | | | | * commit 'cae448cfbf31d492cba782bc64fc4eed556ed83d': aviobuf: add a private data struct for avio_open()ed contexts Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * aviobuf: add a private data struct for avio_open()ed contextsAnton Khirnov2016-02-22
| | | | | | | | It will be useful in the following commits.
* | avformat/protocols: Fix ff_urlcontext_child_class_next()Michael Niedermayer2016-02-29
| | | | | | | | | | | | This fixes -read_ahead_limit Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/msf: Also check the codec tag in probingMichael Niedermayer2016-02-29
| | | | | | | | | | | | Fixes probing failure Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '832a202c47a246ed15e3edc6b05dfcfa7d82c4b2'Derek Buitenhuis2016-02-29
|\| | | | | | | | | | | | | * commit '832a202c47a246ed15e3edc6b05dfcfa7d82c4b2': protocols: make the list of protocols static Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * protocols: make the list of protocols staticAnton Khirnov2016-02-22
| | | | | | | | | | Disallow other code to touch it directly, now it's only accessible through a blacklisting/whitelisting function.
* | avformat: Remove async from TESTPROGSDerek Buitenhuis2016-02-29
| | | | | | | | | | | | It is current disabled. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit '7d61dc95d741ca134d59b1f34c4e10c4c4e36f56'Derek Buitenhuis2016-02-29
|\| | | | | | | | | | | | | * commit '7d61dc95d741ca134d59b1f34c4e10c4c4e36f56': lavf: move urlcontext_child_class_next() to protocols.c Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * lavf: move urlcontext_child_class_next() to protocols.cAnton Khirnov2016-02-22
| | | | | | | | | | It needs to access the list of protocols directly, so it more properly belongs there.
* | Merge commit '0fa00d05911aa8043ecad8dead4a73cab7faadf6'Derek Buitenhuis2016-02-29
|\| | | | | | | | | | | | | * commit '0fa00d05911aa8043ecad8dead4a73cab7faadf6': lavf: move avio_enum_protocols() to protocols.c Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * lavf: move avio_enum_protocols() to protocols.cAnton Khirnov2016-02-22
| | | | | | | | It's a more appropriate place for it.
* | Merge commit '2758cdedfb7ac61f8b5e4861f99218b6fd43491d'Derek Buitenhuis2016-02-29
|\| | | | | | | | | | | | | | | | | | | | | This commit also disables the async fate test, because it used internal APIs in a non-kosher way, which no longer exists. * commit '2758cdedfb7ac61f8b5e4861f99218b6fd43491d': lavf: reorganize URLProtocols Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * lavf: reorganize URLProtocolsAnton Khirnov2016-02-22
| | | | | | | | | | | | | | | | | | | | 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.
* | Merge commit '225e84e74544062706c0159ec0737b0e1d40915f'Derek Buitenhuis2016-02-29
|\| | | | | | | | | | | | | * commit '225e84e74544062706c0159ec0737b0e1d40915f': hls: disallow opening nested files in child demuxers Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * hls: disallow opening nested files in child demuxersAnton Khirnov2016-02-22
| |