Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-09ffplay: change keyboard volume control to logarithmicMarton Balint
The command line parameter remains linear. Signed-off-by: Marton Balint <cus@passwd.hu>
2017-02-04ffplay: fix borderless mode on WindowsMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-02-02ffplay: allow borderless playback windowsLucas Sandery
For a pure video tile effect, and enabling better integration of playback windows into other programs. It would improve the looks in many situations and avoid ugly hacks like this: http://stackoverflow.com/q/31465630/315024 Signed-off-by: Lucas Sandery <lucas-sandery@users.noreply.github.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2017-01-22ffplay: fix indentation after last commitMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-01-22ffplay: do not preallocate video textureMarton Balint
Since the uploads happen in the main display function, it does not matter much. Signed-off-by: Marton Balint <cus@passwd.hu>
2017-01-12ffplay: use buffersink accessors.Nicolas George
2016-12-25ffplay: add startup volume optionGanesh Ajjanagadde
Fixes Ticket 5389. Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Ganesh Ajjanagadde <gajjanag@alum.mit.edu>
2016-12-11ffplay: fix sws_scale possible out of bounds array accessMarton Balint
As I used simple RGBA formats for subtitles and for the video texture if avfilter is disabled I kind of assumed that sws_scale won't access data pointers and strides above index 0, but apparently that is not the case. Fixes Coverity CID 1396737, 1396738, 1396739, 1396740. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Marton Balint <cus@passwd.hu>
2016-11-21ffplay: allow fallback to software rendererMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-11-21ffplay: add support for negative RGBA linesizeMarton Balint
This fixes the crash reported in ticket #5947. Signed-off-by: Marton Balint <cus@passwd.hu>
2016-10-07Merge commit 'beb62dac629603eb074a44c44389c230b5caac7c'Hendrik Leppkes
* commit 'beb62dac629603eb074a44c44389c230b5caac7c': Use AVFrame.pts instead of deprecated pkt_pts. Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-10-02ffplay: remove unused viddec_width/viddec_heightMarton Balint
Reviewed-by: Josh de Kock <josh@itanimul.li> Signed-off-by: Marton Balint <cus@passwd.hu>
2016-10-02ffplay: use decoder avctx for decoded subtitle width/heightMarton Balint
Fixes ticket #5873. Reviewed-by: Josh de Kock <josh@itanimul.li> Signed-off-by: Marton Balint <cus@passwd.hu>
2016-09-24ffplay: add SDL2 supportMarton Balint
This commit also drops SDL1 support for ffplay. Tested-by: James Almer <jamrial@gmail.com> (Windows, mingw-w64) Signed-off-by: Josh de Kock <josh@itanimul.li>
2016-08-08cmdutils: remove the current working directory from the DLL search path on win32Hendrik Leppkes
Reviewed-by: Matt Oliver <protogonoi@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-03ffplay: Fix invalid array indexMichael Niedermayer
Found-by: Thomas Guilbert <tguilbert@google.com> Fixes: clusterfuzz_usan-2016-08-02 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-29ffplay: Fix usage of private lavfi APITimo Rothenpieler
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-21Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'Clément Bœsch
* commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
2016-06-20ffplay: ensure that we buffer at least 1 second of contentMarton Balint
In order to do that, we keep track of the total duration of packets in a packet queue. Signed-off-by: Marton Balint <cus@passwd.hu>
2016-06-20ffplay: factorize checking if a stream needs additional packetsMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-05-31ffplay: simplify display codeMarton Balint
And get rid of frame_queue_prev. Signed-off-by: Marton Balint <cus@passwd.hu>
2016-05-07ffplay: force setting alsa buffer sizeMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-04-13ffplay: convert to codecparMarton Balint
Tested-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Marton Balint <cus@passwd.hu>
2016-04-05ffplay: fix silence insertion on error or pauseMarton Balint
Insertion of silence was a bit broken since df34b700981de606ca4847e1ed0bfdf9ac3e9104 because the info whether or not the source buffer supposed to be silence must be kept between callbacks. Failing to do so causes rogue samples from the last buffer to be presented, I guess even a crash can occur under some circumstances. This patch uses a NULL audio_buf to keep the silence state across audio callbacks. Reviewed-by: Lukasz Marek <lukasz.m.luki2 at gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2016-03-22ffplay: remove redundant silence bufferLukasz Marek
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
2016-03-20ffplay: Remove "&& 0" from already disabled debug codeMichael Niedermayer
Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-01-20ffplay: update docs after previous changes in ffplay mouse behaviourVittorio Gambaletta (VittGam)
Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net> Signed-off-by: Marton Balint <cus@passwd.hu>
2016-01-20ffplay: toggle full screen when double-clicking the video window with the ↵Vittorio Gambaletta (VittGam)
left mouse button Now that the seek only happens with the right mouse button, it makes sense to toggle full screen when double-clicking with the left mouse button, like other video players do. Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net> Signed-off-by: Marton Balint <cus@passwd.hu>
2016-01-20ffplay: seek only when pressing the right mouse button on the video windowVittorio Gambaletta (VittGam)
Seeking by clicking on the video window can be annoying, because the user might click on it accidentally while eg. trying to get focus on it, and ffplay seeks instead. This commit changes that behaviour to seek only when the right mouse button is used to click and drag on the window. Signed-off-by: Vittorio Gambaletta <ffmpeg-dev@vittgam.net> Signed-off-by: Marton Balint <cus@passwd.hu>
2015-12-28Revert "ffplay: Fix auto insertion point of rotation filter"Michael Niedermayer
Revert requested by Balint Marton <cus@passwd.hu> See: [FFmpeg-devel] ffplay: insertion point of the auto rotation filter - Github ticket #141 This reverts commit 9cc1e644f39ed6a32e3a9bf5d0d6d663ca5791ab.
2015-12-26ffplay: replace rint by lrintGanesh Ajjanagadde
avoids the float to integer cast, and is slightly superior in terms of rounding ("Dutch/Gauss rounding"). Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-25ffplay: Fix auto insertion point of rotation filterwanzhang
Fixes watermark rotation for videos using auto rotation Closes #141
2015-12-19ffplay: remove existing AVPicture usageMarton Balint
It is deprecated. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2015-12-06ffplay: use hypot()Ganesh Ajjanagadde
Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-10-27Replace remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes
2015-10-27Merge commit 'a5d42043093a39636a1f4021a37dd9c612479f6f'Hendrik Leppkes
* commit 'a5d42043093a39636a1f4021a37dd9c612479f6f': avformat: Always return ref-counted AVPacket Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-10-24ffplay: use a separate struct for the rescaled YUVA AVSubtitle rectanglesMarton Balint
Current code segfaults since the deprecation of AVSubtitleRect.pict because it freed/realloced AVSubtitleRect.pict.data by itself. The new code stores the generated YUVA AVSubtitle rectangles in their own struct and keeps the original AVSubtitle structure untouched, because overwriting it is considered invalid API usage. Signed-off-by: Marton Balint <cus@passwd.hu>
2015-10-12ffplay: eliminate stream_component_close forward declarationMarton Balint
No change in fuctionality. Signed-off-by: Marton Balint <cus@passwd.hu>
2015-10-12ffplay: close streams and AVFormatContext in the main threadMarton Balint
To avoid race conditions. Signed-off-by: Marton Balint <cus@passwd.hu>
2015-10-05ffplay: use correct context for av_logGanesh Ajjanagadde
Recent commits c3e8de1c248f8c742dd9e61a0c71ee56bba22c28 and 8dc6e92c3dc67a85026f3010045c7a28b1c0adc8 used av_log incorrectly. This fixes such usage. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2015-10-05ffplay: more robust condition variable creationGanesh Ajjanagadde
SDL_CreateCond can fail: https://wiki.libsdl.org/SDL_CreateCond. This patch makes creation more robust in one instance. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2015-10-05ffplay: log SDL error messagesGanesh Ajjanagadde
This logs the SDL error messages on failure of creation of SDL_CreateMutex, SDL_CreateCond, and SDL_CreateThread. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2015-10-05ffplay: more robust mutex creationGanesh Ajjanagadde
SDL_CreateMutex can fail: https://wiki.libsdl.org/SDL_CreateMutex. This patch makes creation more robust in one instance. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2015-10-04ffplay: more robust thread creationGanesh Ajjanagadde
SDL_CreateThread can fail: https://wiki.libsdl.org/SDL_CreateThread. This patch makes thread creation more robust in one instance. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2015-10-03ffplay: more robust mutex, condition variable handlingGanesh Ajjanagadde
SDL_CreateMutex and SDL_CreateCond can fail: https://wiki.libsdl.org/SDL_CreateMutex. This patch makes handling more robust in one instance. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2015-09-28doc/ffplay, ffplay: add information regarding volume controlGanesh Ajjanagadde
ffplay now supports dynamic volume control. This documents the supported behavior. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2015-09-28ffplay: add support for interactive volume controlGanesh Ajjanagadde
This is a feature heavily inspired by the mpv player. At the moment, methods for adjusting volume in ffplay are rather clumsy: either one needs to set it system-wide, or one needs to set it via the volume filter. This patch adds key bindings identical to the mpv defaults for muting/unmuting and increasing/decreasing the volume interactively without any introduction of external dependencies. TODO: doc update, possible mouse button bindings (mpv has this). Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2015-09-27ffplay: dynamically allocate filename bufferGanesh Ajjanagadde
filename was set to an arbitrary 1024 characters. ffplay would thus be unable to play files whose name exceeds that arbitrary threshold. This patch dynamically allocates and frees the filename buffer to remove such limitations. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2015-09-27ffplay: introduce key repeatsGanesh Ajjanagadde
Key repeats have been introduced simply because they improve usability in my experience for volume, brightness, and other such controls by speeding up the time taken to go from 0 to max intensity. As a side benefit, this enables rapid seeking through a file via left/right keys. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2015-09-05Remove left-over FF_API_AVFILTERBUFFER cruftHendrik Leppkes