summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* mpegtsenc: fix PMT PID calculationMans Rullgard2011-01-31
| | | | | | | 445996aa51f4f1d9a26456a8511988291a720ba0 caused the PMT PID to be off by one. This corrects it. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Rename attribute_used to av_used and move it to attributes.hMans Rullgard2011-01-31
| | | | | | This is consistent with most of the other attribute macros. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace defines in libavformat/mpegtsenc.c with AVOptionsGeorgi Chorbadzhiyski2011-01-31
| | | | | | | | | | | | | | | | | | | | | | | Around 01/28/11 18:56, Ronald S. Bultje scribbled: > That patch is now merged, can you submit the update to muxers.texi? > Then we'll apply the whole thing. See attached. I hope the documentation is enough. -- Georgi Chorbadzhiyski http://georgi.unixsol.org/ From c236024b8254f5c2c45934c30fff390cb0e55a5e Mon Sep 17 00:00:00 2001 From: Georgi Chorbadzhiyski <gf@unixsol.org> Date: Tue, 25 Jan 2011 13:09:17 +0200 Subject: [PATCH] mpegts: Replace defines in with AVOptions This patch adds support for setting transport_stream_id, original_network_id, service_id, pmt_start_pid and start_pid in mpegts muxer. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add documentation for the image2 muxer.Stefano Sabatini2011-01-31
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* VC1testenc: convert pts values to correct time-base.Reimar Döffinger2011-01-31
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* asf/wtv: use service_provider and service_name metadata tagsRonald S. Bultje2011-01-31
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Make ffmpeg warns the user when the selected sample format is ignored.Stefano Sabatini2011-01-31
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Slightly simplify VP8 inter_predictJason Garrett-Glaser2011-01-30
| | | | Merge an if and a switch.
* In ffplay:get_video_frame(), use frame->pkt_pts rather than reordered_opaque.Stefano Sabatini2011-01-30
| | | | | | AVCodecContext.reordered_opaque is deprecated for this specific use. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ffplay: in video_thread(), use av_dlog() for timestamp logging.Stefano Sabatini2011-01-30
| | | | | | | Disable logging of rescaled timestamps if DEBUG is not enabled. Avoid debug log spamming with -loglevel debug. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegts: remove get_pts duplicate of ff_parse_pes_pts.Vasyl' Vavrychuk2011-01-30
| | | | | Signed-off-by: Vasyl' Vavrychuk <vvavrychuk@gmail.com> Signed-off-by: Mans Rullgard <mans@mansr.com>
* Enable native build on QNX/x86Mans Rullgard2011-01-30
|
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* Flush final frames in libfaac encoder.Justin Ruggles2011-01-29
| | | | | | | Gives decoded output identical in length to faac commandline encoder. Fixes Issue 670. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix memory leak in ALS decoder in big endian systemsVitor Sessak2011-01-29
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Rearrange MpegEncContext to simplify access from asmMans Rullgard2011-01-29
| | | | | | | | | This moves the fields needed by asm near the top, before any structs or other members which complicate the offset calculation. Modifying other structs will no longer require updating the offsets, and the asm code is slightly simpler due to the smaller offsets. Signed-off-by: Mans Rullgard <mans@mansr.com>
* doc: modify style for texi2html 1.78+Janne Grunau2011-01-29
| | | | | | | | | | | | The generated HTML files are similar to the ones generated with texi2html 1.56k used on the website. Tested with texi2html 1.78 and 5.0. 1.78 is the minimal recommended version. The removed @sp from the titlepage section were ignored until texi2html 5.0. If not removed the pages generated by 5.0 will have ugly empty space around the title.
* Fix overread in altivec DSP function sad16Vitor Sessak2011-01-29
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Vorbis-in-Ogg: Do not set timebase to invalid valuesReimar Döffinger2011-01-29
| | | | | | | | | | Avoids an assert when the sample rate is invalid and the timebase is thus set to e.g. 1/0. Sample file is http://samples.mplayerhq.hu/ogg/fuzzed-srate-crash.ogg This is a quick fix for a crash, not a final solution. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: update MpegEncContext offsetsMans Rullgard2011-01-29
|
* Move ff_emulated_edge_mc() into DSPContext.Ronald S. Bultje2011-01-28
|
* Optimize C version of ff_emulated_edge_mc().Ronald S. Bultje2011-01-28
| | | | | From ~780 cycles to 551 cycles, mostly just by using libc memcpy() instead of manually shuffling individual bytes around.
* mpegtsenc: support CODEC_ID_AAC_LATMPeter Ross2011-01-28
| | | | | | | | | | | | | | | $subject. Have used this for loopback testing with mpegts.c. -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B) [2. text/x-diff; 0001-mpegtsenc-support-CODEC_ID_AAC_LATM.patch] From 0f7f9db4b7da1793996af6dda84298507703759a Mon Sep 17 00:00:00 2001 From: Peter Ross <pross@xvid.org> Date: Sun, 9 Jan 2011 09:45:50 +1100 Subject: [PATCH] mpegtsenc: support CODEC_ID_AAC_LATM Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtspenc: include os_support.h for system without HAVE_POLL_HDave Yeo2011-01-28
| | | | | | fix compile on OS/2 Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* asfdec: ensure that the whole tag is read.Anton Khirnov2011-01-28
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* os_support: make poll() fallbacks conditional on CONFIG_NETWORKMans Rullgard2011-01-28
| | | | | | | | | | | poll() is only used by networking code, so the fallback should only be built if networking is enabled. Also remove CONFIG_FFSERVER condition from the declarations. This should fix building on systems without poll(), broken by a8475bbdb64e638bd8161df9647876fd23f8a29a. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make the image2 demuxer log more verboseStefano Sabatini2011-01-28
| | | | | | | Add an error message in case the user requests to write more than one file and the path does not contain a "%d" or "%0Nd" pattern. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Update mpegts test referenceMans Rullgard2011-01-28
| | | | | | The output was changed by a7827a17c6b3388322350456d445c94b3a82cd25. Signed-off-by: Mans Rullgard <mans@mansr.com>
* aacdec: Convert some loop copies into memcpy()s.Alex Converse2011-01-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add muxers.texi file.Stefano Sabatini2011-01-28
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* In mpegts "reserved_future_use" field must be set to 1 in SDT tableGeorgi Chorbadzhiyski2011-01-28
| | | | | | | | | | | According to EN 300 468 section 3.1 (Definitions): Unless otherwise specified within the present document all "reserved_future_use" bits is set to "1". This was not the case for SDT generation so this patch fixes it. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* In the rawvideo decoder, set pkt_pts in the output frame.Stefano Sabatini2011-01-28
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* In the start_frame() debug log, print the reference pos value rather than ↵Stefano Sabatini2011-01-28
| | | | | | | | | | the evaluated value converted to int. That's required because -1 is evaluated as NAN, which converted back to int looks like a random number, this is especially annoying when debugging sources with undefined pos (as the video4linux2 device). Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Fix VP8 aliasing problems.Ronald S. Bultje2011-01-28
| | | | Replace * (uint32_t *) buf accesses with AV_WN32A/AV_COPY32.
* rtsp: make ff_sdp_parse return value forwardedLuca Barbato2011-01-28
| | | | | the sdp demuxer did not forward it at all while the rtsp demuxer assumed a single kind of error
* os: replace select with pollLuca Barbato2011-01-28
| | | | | Select has limitations on the fd values it could accept and silently breaks when it is reached.
* Make ff_float_to_int16*_c() static.Alex Converse2011-01-28
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Hide demuxers', muxers' and protocols' objects via the ld version script.Diego Elio Pettenò2011-01-28
| | | | | | This reduces the symbols exported by libavformat from 699 to 451. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Hide the now-prefixed decoders, encoders, parsers, bsf, hwaccel objects.Diego Elio Pettenò2011-01-28
| | | | | | | This significantly reduces the size of the symbol table in the generated ELF shared object (as well as the other linked tables). Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics: indentation and spacingJustin Ruggles2011-01-28
|
* Remove the add bias hack for the C version of DSPContext.float_to_int16_*().Justin Ruggles2011-01-28
|
* mov: add support for little-endian utf16 chapter namesJohn Stebbins2011-01-28
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* movenc: byteswap codec_tag in mov_write_ms_tagJanne Grunau2011-01-28
| | | | based on Alex Converse's "Fix ADPCM MS in mov muxing" patch
* In mov muxer, mux adpcm_ms and adpcm_ima_wav the way quicktime supports itBaptiste Coudurier2011-01-28
| | | | | | In mov demuxer, set adpcm_ms and adpcm_ima_wav frame size to stsd samples per packet. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Add special case for 2nd-order IIR filter.Justin Ruggles2011-01-28
| | | | 40% faster in ff_iir_filter_flt() when c->order == 2.
* Add ff_ to AVHWAccel decodersLuca Barbato2011-01-27
| | | | | | That unbreaks compilation of vaapi and dxva2 Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
* mov: simplify mov_read_chapters() by using avio_get_str16beAnton Khirnov2011-01-26
| | | | | | It probably also fixes a memleak or two. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Revert "mov: simplify mov_read_chapters() by using avio_get_str16be"Mans Rullgard2011-01-26
| | | | | This reverts commit c34461b35b68ff1f3d04540e0279383c51be8cee. The wrong version of the patch was committed.
* VP8: don't overread edges on fourtap MC.Ronald S. Bultje2011-01-26
| | | | | | | Fix C VP8 H+V MC functions which do two-dimensional 4/6-tap filters to not overread beyond their edges if the second filter is 4-tap, since the outer pixels aren't there anymore since 44002d8323023c35f51d523a7d305e45103ba7a1.