aboutsummaryrefslogtreecommitdiffhomepage
path: root/TOOLS/mpv_identify.sh
Commit message (Collapse)AuthorAge
* mpv_identify: replace deprecated fps propertyGravatar Ricardo Constantino2017-06-25
| | | | Closes #4550
* mpv_identify.sh: add "duration" property to the list.Gravatar Rudolf Polzer2016-12-17
|
* command: redefine some deprecated propertiesGravatar wm42016-11-22
| | | | | | | | | | | | | | As threatened by the API changes document. We can actually keep the deprecated --playlist-pos and --cache options, since they are aliases and not used by the corresponding properties. They are inconsistent, but do no harm. Keep them for now for the sake of the command line user. mpv_identify.sh partially stopped working, because it was never updated. The shell magic can't deal with property names that contain "/", so we can't replace "samplerate" with "audio-params/samplerate" - just remove these properties. (How about you use ffprobe?)
* TOOLS/mpv_identify.sh: remove pointless escapeGravatar shdown2014-09-24
|
* TOOLS: eliminate echoes with variable substitutionsGravatar shdown2014-09-17
| | | | | echo behaviour with backslash escapes seems to be non-portable: dash does expand such an escapes and bash does not, so use cat/printf instead.
* TOOLS/mpv_identify.sh: simplify line-by-line readingGravatar shdown2014-09-16
| | | | Use here-document idiom to read mpv output line-by-line.
* TOOLS/mpv_identify.sh: mark as executableGravatar wm42014-09-16
|
* TOOLS: shellcheck: remove '$' on variables in $(()) expansionGravatar Ben Boeckel2014-09-16
|
* TOOLS/mpv_identify.sh: simplify $MPV handlingGravatar shdown2014-08-30
|
* TOOLS/mpv_identify.sh: various style improvementsGravatar shdown2014-08-30
| | | | | Double-quote everything, eliminate unneeded evals and deprecated `backtits` substitution syntax.
* TOOLS/mpv_identify.sh: move script body to a functionGravatar shdown2014-08-30
| | | | | Don't prepend each variable with __midentify__, just make them local to the function.
* TOOLS/mpv_identify.sh: unbreakGravatar wm42014-05-14
|
* options: rename video-related options/propertiesGravatar Martin Herkt2014-05-04
| | | | | | | | | | | Renamed options: --aspect → --video-aspect --fstype → --x11-fstype --native-fs → --fs-missioncontrol --name → --x11-name Renamed properties: aspect → video-aspect
* tools: add --no-cache --no-config to mpv_identify.shGravatar ChrisK22013-11-03
|
* mpv_identify: add --quiet to mpv command lineGravatar wm42013-03-26
| | | | | | Prevents the status line from being printed. Otherwise, the status line is always printed due to --frames=1, and it's visible on the terminal because it's printed to stderr.
* mpv_identify: allow specifying mpv binary via MPVGravatar wm42013-03-26
| | | | Useful for testing.
* core: output --playing-msg message only after at least one frame is shownGravatar wm42013-03-26
| | | | | | | | | | | | | | | | This way it's possible to retrieve correct information about video, like actual width/height, which in general are available only after at least one frame has been sent to the video output, such as dwidth/dheight. mpv_identify.sh becomes a bit slower, because we let it decode enough audio and video to fill the audio buffers and to send one frame to the video output. Also, --playing-msg isn't shown anymore with --frames=0 (could be fixed by special-casing it, should this break any use cases). Note that in some corner cases, like when the demuxer for some reason returns lots of audio packets but no video packets at the start, but video actually starts later, the --playing-msg will still be output before video starts.
* command: export VO video width/height as propertiesGravatar wm42013-03-26
| | | | | | Add new properties "dwidth" and "dheight", which contain the video size as known by the VO (not necessarily what the VO makes out of them, i.e. without window scaling and panscan).
* mpv_identify: stop using \n; fix property name handlingGravatar Rudolf Polzer2012-11-12
| | | | | Dashes are not valid in shell variable names. This changes them to underscores.
* Merge branch 'input_changes' into masterGravatar wm42012-10-12
| | | | | | | | Conflicts: DOCS/man/en/vo.rst etc/input.conf input/input.c m_property.c
* Rename to "mpv"Gravatar wm42012-10-12
This changes the name of this project to mpv. Most user-visible mentions of "MPlayer" and "mplayer" are changed to "mpv". The binary name and the default config file location are changed as well. The new default config file location is: ~/.mpv/ Remove etc/mplayer.desktop. Apparently this was for the MPlayer GUI, which has been removed from mplayer2 ages ago. We don't have a logo, and the MS Windows resource files sort-of require one, so leave etc/mplayer.ico/.xpm as-is. Remove the debian and rpm packaging scripts. These contained outdated dependencies and likely were more harmful than useful. (Patches which add working and well-tested packaging are welcome.)