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
2013-03-12Merge commit '354468fc12dcf93e7fb4af552e18906771913273'Michael Niedermayer
* commit '354468fc12dcf93e7fb4af552e18906771913273': avplay: switch to new refcounted frames API avconv: convert to new refcounted AVFrame API Conflicts: cmdutils.c ffmpeg.c ffmpeg.h ffplay.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-02ffplay: use AVFrame accessor functionsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-28ffplay: do not cycle through unavailable show modesMarton Balint
Fixes ticket #2200. Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-28ffplay: add option to disable subtitlingMarton Balint
Fixes ticket #2201. Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-28ffplay: use NAN to signal invalid external clockMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-28ffplay: if audio or video clock is invalid return NANMarton Balint
This helps us not to make bad decision (frame dropping, audio compensation) right after seeking when we do not know yet the recent audio or video clock. Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-28ffplay: allow frame dropping if we redisplay an already displayed frameMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-28ffplay: return true for pictq_prev_picture if it was successfulMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-28ffplay: only quit from audio_decode_frame before decoding when pausedMarton Balint
This way the audio clock is updated to a proper value even when the video is paused. Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-28ffplay: drop remaining frames in current audio avpacket when seekingMarton Balint
Fixes ticket #1928. Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-28ffplay: signal seek event to read threadMarton Balint
Improves seek delay. Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-25ffplay: reindent and remove pointless cast in audio_decode_frame() codeStefano Sabatini
2013-02-25ffplay: set type for channel_layout AudioParams field to int64_tStefano Sabatini
Reflect the type of the corresponding field in lavc/lavfi.
2013-02-15ffplay: only display frames if there are no pending eventsMarton Balint
Otherwise events could just pile up if displaying a frame takes more time than the duration of the frame. Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-15ffplay: remove remains of video_clockMarton Balint
We are now using a pts based approach, libavutil/libavcodec should provide the correct pts-es anyway. This also fixes an issue when seeking to a frame with a pts set to zero. Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-15ffplay: remove refresh thread to achieve more precise frame delayMarton Balint
We use a refresh loop which displays the frames and also does the polling for pending events in a non-blocking way. If we know the required delay until the next frame, then exactly that amount of sleeping will be done. After each handled event we check if we have to display a frame which kind of makes displaying the frame a high priority event. This improves greatly the smoothness of the video output especially with 50fps content. Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-10Revert "Merge commit 'db0a943266be29ff0596872ebb418dfed75d00de'"Michael Niedermayer
This reverts commit d80820655362645ae1c65d457287d7d12c04a44f, reversing changes made to 30085bd43e35acf931429dc445db5bc1869be022. This is not needed Requested-by: Marton Balint
2013-02-10Merge commit 'db0a943266be29ff0596872ebb418dfed75d00de'Michael Niedermayer
* commit 'db0a943266be29ff0596872ebb418dfed75d00de': avplay: apply the stream sample_aspect_ratio to decoded video frames Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-06ffplay: report video frame changes only in debug modeStefano Sabatini
In particular, remove distracting message: "Video frame changed from size:0x0 format:none serial:-1 to ..."
2013-02-06ffplay: extend feedback in case of video changesStefano Sabatini
2013-02-03ffplay: remove misleading comment from audio_decode_frame()Stefano Sabatini
2013-02-03ffplay: rename audio_decode_frame() variable "pts" to "audio_clock0"Stefano Sabatini
The new name better expresses what the variable is.
2013-02-03ffplay: remove pts_ptr argument from audio_decode_frame()Stefano Sabatini
The argument is no longer used outside the function. Simplify.
2013-02-03ffplay: drop redundant NULL sws_freeContext() check in stream_close()Stefano Sabatini
sws_freeContext() already checks for NULL, simplify.
2013-02-02Merge remote-tracking branch 'cus/stable'Michael Niedermayer
* cus/stable: ffplay: step to next frame if paused when seeking ffplay: move up pause functions ffplay: remember last window dimensions ffplay: fix order of setting show_mode ffplay: dynamically allocate audio buffer Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-02ffplay: extend doxy for audio_decode_frame()Stefano Sabatini
2013-02-02ffplay: step to next frame if paused when seekingMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-02ffplay: move up pause functionsMarton Balint
No change in functionality. Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-02ffplay: remember last window dimensionsMarton Balint
After this change the dimensions of single image videos will be remembered when coming back from full screen. The issue was mentioned in ticket #2174. Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-02ffplay: fix order of setting show_modeMarton Balint
Without the fix the refresh event may have got called with unset show mode. Fixes ticket #2174. Signed-off-by: Marton Balint <cus@passwd.hu>
2013-02-02ffplay: dynamically allocate audio bufferMarton Balint
We simply remove the fixed length VideoState->audio_buf2 and use the previously unused VideoState->audio_buf1. Fixes ticket #2191. Signed-off-by: Marton Balint <cus@passwd.hu>
2013-01-19ffplay: flush video filters on seekMarton Balint
Actually we just re-create the filters, since there is no way to flush them. Fixes hangup with yadif filter on seeking forward caused by a filtered frame with a pts before the seek. Signed-off-by: Marton Balint <cus@passwd.hu>
2013-01-19ffplay: use videoq.serial to detect obsolete framesMarton Balint
Previously VideoPicture->skip was used for that, using videoq.serial enables us to detect obsolete frames right after pushing flush_pkt to the packet queue, so we don't have to wait for the decoder thread to pop the flush packet anymore. This is good because until now a full video picture queue may have blocked the decoder thread. Signed-off-by: Marton Balint <cus@passwd.hu>
2013-01-14ffplay: fix sws_flagsMichael Niedermayer
Fixes Ticket45 Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-13ffplay: extend documentation for the -vf optionStefano Sabatini
In particular, make it consistent with the ffmpeg docs.
2013-01-03Replace references to "que" with the appropriate word.Clément Bœsch
"que" sounds like a slang word to me. This commit renames a few variables, fix the comments and the logging messages (sometimes along with small other typo fixes).
2012-12-28ffplay: fix type of time_diff in waveform displayMarton Balint
Fixes time diff overflow visible as showing the same few waveforms in a loop at the end of file. Signed-off-by: Marton Balint <cus@passwd.hu>
2012-12-28ffplay: always display audio visualization if mode is setMarton Balint
Fixes ticket #1903. Signed-off-by: Marton Balint <cus@passwd.hu>
2012-12-28ffplay: hide cursor on no mouse movementMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2012-12-28ffplay: reset external clock to unknown on startMarton Balint
Fixes a delay and initial frame drops on starting realtime streams with external clock. Signed-off-by: Marton Balint <cus@passwd.hu>
2012-12-28ffplay: only drop frames if not in frame step modeMarton Balint
Fixes ticket #2053. Signed-off-by: Marton Balint <cus@passwd.hu>
2012-12-28ffplay: move frame step pause from the video thread to video_refreshMarton Balint
This way we pause the video right after we displayed a new frame. Partially fixes ticket #2053. Signed-off-by: Marton Balint <cus@passwd.hu>
2012-12-25ffplay: fix greenish line on the right edge with some xv sizesMarton Balint
If the XV image linesize was different from the width, SDL would create an overlay wider than the actually requested one. This causes a greenish line on the right, because the rightmost texel is blended with unset data. This patch introduces a function which duplicates the rightmost texel to the unset space, that way the blending will be done with duplicated border texels. Signed-off-by: Marton Balint <cus@passwd.hu>
2012-12-22ffplay: fix another use of context instead of frame parametersMichael Niedermayer
Fixes Ticket2050 Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-21ffplay: fix handling of resolution changes with h264-mtMichael Niedermayer
Reviewed-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-16ffplay: provide some feedback in case the codec cannot be setStefano Sabatini
2012-12-16ffplay: set codec_id in codec contextStefano Sabatini
Set codec id in case another codec is forced on the context (e.g. when the user specify the codec with -codec). For example fix: ffplay -vcodec pgmyuv -i "tests/vsynth1/%02d.pgm"
2012-12-16ffplay: improve robustness of opt_codec(), and add options acodec,vcodec,scodecStefano Sabatini
Fail with a meaningfull error message in case of bogus input. Also the new options are more consistent with the rest of the tool options, since it does not support generic stream specifiers.
2012-11-29Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: avplay: Do not use removed av_get_int() avconv: fix variable shadowing in configure_input_audio_filter() Conflicts: ffmpeg_filter.c ffplay.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-29ffplay: increase maximum frame duration to 1 hour for streams without TS ↵Marton Balint
discontinuity Partially fixes ticket #1707. A-V sync still needs some work after seeking... Signed-off-by: Marton Balint <cus@passwd.hu>