summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mpeg12: use drop_frame_flag to fix timecode debug format.Clément Bœsch2011-10-171-3/+4
|
* AVOptions: rename remaining FF_OPT_TYPE_* to AV_OPT_TYPE_*.Clément Bœsch2011-10-1719-119/+119
|
* segment: Fix typo in segment_basenameMichael Niedermayer2011-10-171-1/+1
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* segment: replace strdup() by av_strdup()Michael Niedermayer2011-10-171-1/+1
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* Merge remote-tracking branch 'luzero/segment'Michael Niedermayer2011-10-174-1/+237
|\ | | | | | | | | | | | | | | | | | | | | * luzero/segment: segment: extend options segment: basic pattern support and playlist output segment: introduce segmented chain muxer output-example: extend duration ratecontrol: estimate twice the qscale values Merged-by: Michael Niedermayer <[email protected]>
| * segment: extend optionsLuca Barbato2011-10-131-5/+10
| | | | | | | | let set an alternate path for the segment files.
| * segment: basic pattern support and playlist outputLuca Barbato2011-10-121-4/+13
| | | | | | | | Yet another option half implemented, more will follow...
| * segment: introduce segmented chain muxerLuca Barbato2011-10-123-0/+222
| | | | | | | | | | Initial test code, the filename isn't yet guessed and the file index isn't printed yet.
| * output-example: extend durationLuca Barbato2011-10-121-1/+1
| |
| * ratecontrol: estimate twice the qscale valuesLuca Barbato2011-10-121-2/+2
| | | | | | | | | | This had been the fix used by Michael Niedermayer to solve the ratecontrol convergence issue.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-1711-192/+230
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: w32threads: support for frame multithreading avcodec: remove stray @deprecated comment Conflicts: libavcodec/utils.c libavcodec/w32thread.c Merged-by: Michael Niedermayer <[email protected]>
| * | w32threads: support for frame multithreadingSteven Walters2011-10-1610-190/+230
| | | | | | | | | | | | | | | | | | | | | | | | Replace our incomplete w32threads implementation with x264's pthreads w32threads wrapper. Relicensed to LGPL with kind permission by Pegasys Inc. Signed-off-by: Janne Grunau <[email protected]>
| * | avcodec: remove stray @deprecated commentMans Rullgard2011-10-161-2/+0
| | | | | | | | | | | | Signed-off-by: Mans Rullgard <[email protected]>
* | | Merge remote-tracking branch 'cus/stable'Michael Niedermayer2011-10-161-70/+53
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cus/stable: ffplay: avoid window resize crash on osx with libsdl 1.2.14 ffplay: add delay multiple times to frame_timer if it is less than current time ffplay: remove early frame drop functionality ffplay: calculate target clock dynamically, make code more readable Merged-by: Michael Niedermayer <[email protected]>
| * | | ffplay: avoid window resize crash on osx with libsdl 1.2.14Jean First2011-10-161-6/+0
| | | | | | | | | | | | | | | | Signed-off-by: Marton Balint <[email protected]>
| * | | ffplay: add delay multiple times to frame_timer if it is less than current timeMarton Balint2011-10-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the picture queue is empty, or when the calculated delay is 0, frame_timer is not increased but we are still displaying the old frame. When we eventually get a frame, where the computed delay is positive, so we don't need to drop any more frames, then it is best to update frame_timer to be as near as the current time as it can. This way we dont't have to wait several frames to add the necesarry delays to frame_timer to reach current time, therefore there are no extra frame drops after reaching a positive delay. Signed-off-by: Marton Balint <[email protected]>
| * | | ffplay: remove early frame drop functionalityMarton Balint2011-10-161-17/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current impementation of early frame drops (dropping frames before adding them to the picture queue) has multiple problems: Even after gettin A-V sync, the frame droping continues until VideoState->skip_frames reaches 1, which can take a lot of time causing useless additional frame drops and bad AV-sync. This issue can be easily triggered with for example changing the audio stream. Also video_refresh currenly does not handle early skipped frames in every case, for example if we skip a frame, then the last frame duration calculation will compute the duration of the sum of the skipped frame and the duration of the frame before that, and in compute_target_delay we may multiply this unusually big delay. Signed-off-by: Marton Balint <[email protected]>
| * | | ffplay: calculate target clock dynamically, make code more readableMarton Balint2011-10-161-47/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since target clock is based on the current A-V delay, it is better calculate it when we actually need it rather than when we put a picture in the picture queue. The patch also makes a code a bit more readable by renaming some delay variables to duration, and converting compute_target_time to a delay calculating function which does not modify the state. Factoring out the iteration of the pictq to standalone function is also done in this patch. Signed-off-by: Marton Balint <[email protected]>
* | | | av_tempfile: dont try the current directory with mkstemp() unless we are on ↵Michael Niedermayer2011-10-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | windows Signed-off-by: Michael Niedermayer <[email protected]>
* | | | av_tempfile: change mode for fallback to 0600 to match mkstemp()Michael Niedermayer2011-10-161-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | | av_tempfile: Pass int log_offset, void *log_ctxMichael Niedermayer2011-10-165-7/+8
| | | | | | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | | av_tempfile: fix error codesMichael Niedermayer2011-10-161-2/+3
| | | | | | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | | av_tempfile: use O_EXCLMichael Niedermayer2011-10-161-1/+4
| | | | | | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | | av_tempfile: try tempnam(NULL) firstMichael Niedermayer2011-10-161-1/+3
| | | | | | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | | cache: add todo listMichael Niedermayer2011-10-161-0/+7
| | | | | | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | | lavd/lavfi: compute and use the used samples buffer size for the output ↵Stefano Sabatini2011-10-161-1/+3
|/ / / | | | | | | | | | | | | | | | | | | audio packet size Do not assume the used size is the same of the allocated size, as it was wrongly assumed. Fix audio playback when the two values differ.
* | | Allow to overwrite input stream tags.Carl Eugen Hoyos2011-10-162-1/+10
| | |
* | | cache: Fallback to using the cache size for AVSEEK_SIZE if the underlaying ↵Michael Niedermayer2011-10-161-1/+8
| | | | | | | | | | | | | | | | | | protocol has nothing better. Signed-off-by: Michael Niedermayer <[email protected]>
* | | add cache protocolMichael Niedermayer2011-10-163-0/+132
| | | | | | | | | | | | | | | | | | This allows backward seeking on top of some non seekable streams. Signed-off-by: Michael Niedermayer <[email protected]>
* | | av_tempfile: handle missing O_BINARYMichael Niedermayer2011-10-161-0/+3
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | av_tempfile: fix alloc type for !HAVE_MKSTEMPMichael Niedermayer2011-10-161-1/+4
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | Move av_tempfile() into libavutil, it is a generically usefull thing and its ↵Michael Niedermayer2011-10-164-41/+44
| | | | | | | | | | | | | | | | | | small. Signed-off-by: Michael Niedermayer <[email protected]>
* | | Do not warn about wrong channel layout if no channel layout is defined.Carl Eugen Hoyos2011-10-161-1/+1
| | |
* | | Support decoding ASP variant from QNAP Systems.Carl Eugen Hoyos2011-10-161-0/+1
| | | | | | | | | | | | Fixes part of ticket #560.
* | | asf: export all the DRM stuff, some of it are human readable strings.Michael Niedermayer2011-10-161-1/+14
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <[email protected]>
* | | asf: dont warn the user about digital sigantures, they should on their own ↵Michael Niedermayer2011-10-161-1/+1
| | | | | | | | | | | | | | | | | | not cause failure. Signed-off-by: Michael Niedermayer <[email protected]>
* | | asf: export encryption information from asf.Michael Niedermayer2011-10-161-0/+2
| | | | | | | | | | | | | | | | | | This way user apps can choose to skip such content. Signed-off-by: Michael Niedermayer <[email protected]>
* | | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-169-283/+408
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: prores: get correct size for coded V plane if alpha is present prores: do not set pixel format on codec init pthread: prevent updating AVCodecContext from itself in frame_thread_free pthread: copy coded frame dimensions in update_context_from_thread vp8: prevent read from uninitialized memory in decode_mvs vp8: force reallocation in update_thread_context after frame size change vp8: fix return value if update_dimensions fails matroskadec: fix out of bounds write adpcmdec: calculate actual number of output samples for each decoder. adpcmdec: check remaining buffer size before decoding next block in the ADPCM IMA WAV decoder. adpcmdec: do not terminate early in ADPCM IMA Duck DK3 decoder. adpcmdec: remove unneeded buf_size==0 check. adpcmdec: remove unneeded zeroing of *data_size dnxhdenc: fixed signed multiplication overflow Conflicts: tests/ref/fate/prores-alpha tests/ref/fate/truemotion1-24 Merged-by: Michael Niedermayer <[email protected]>
| * | prores: get correct size for coded V plane if alpha is presentMans Rullgard2011-10-152-4/+6
| | | | | | | | | | | | | | | | | | | | | The size check must be updated to take into account both manners in which v_data_size might be set. Signed-off-by: Mans Rullgard <[email protected]>
| * | prores: do not set pixel format on codec initMans Rullgard2011-10-152-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The pixel format is not known until the frame header is parsed. Guessing it here only causes trouble for the caller if the guess turns out to be wrong (and actually causes very wrong output by avconv/avplay). Signed-off-by: Mans Rullgard <[email protected]>
| * | pthread: prevent updating AVCodecContext from itself in frame_thread_freeRonald S. Bultje2011-10-151-1/+1
| | | | | | | | | | | | Signed-off-by: Janne Grunau <[email protected]>
| * | pthread: copy coded frame dimensions in update_context_from_threadRonald S. Bultje2011-10-151-0/+3
| | | | | | | | | | | | Signed-off-by: Janne Grunau <[email protected]>
| * | vp8: prevent read from uninitialized memory in decode_mvsRonald S. Bultje2011-10-151-0/+1
| | | | | | | | | | | | Signed-off-by: Janne Grunau <[email protected]>
| * | vp8: force reallocation in update_thread_context after frame size changeRonald S. Bultje2011-10-151-9/+19
| | | | | | | | | | | | Signed-off-by: Janne Grunau <[email protected]>
| * | vp8: fix return value if update_dimensions failsRonald S. Bultje2011-10-151-1/+1
| | | | | | | | | | | | Signed-off-by: Janne Grunau <[email protected]>
| * | matroskadec: fix out of bounds writeRonald S. Bultje2011-10-151-1/+1
| | | | | | | | | | | | Signed-off-by: Janne Grunau <[email protected]>
| * | adpcmdec: calculate actual number of output samples for each decoder.Justin Ruggles2011-10-141-120/+231
| | | | | | | | | | | | | | | This also allows for removing some of the buf_size checks and using the sample count for some of the decoding loops.
| * | adpcmdec: check remaining buffer size before decoding next block in theJustin Ruggles2011-10-141-1/+1
| | | | | | | | | | | | ADPCM IMA WAV decoder.
| * | adpcmdec: do not terminate early in ADPCM IMA Duck DK3 decoder.Justin Ruggles2011-10-144-143/+147
| | | | | | | | | | | | | | | There are still 2 nibbles to decode once the last byte in the packet has been read. Updated FATE reference.
| * | adpcmdec: remove unneeded buf_size==0 check.Justin Ruggles2011-10-141-3/+0
| | | | | | | | | | | | This is already done by avcodec_decode_audio3()