You are not logged in.

#1 2024-02-01 18:58:00

carlday
Member
Registered: 2011-10-04
Posts: 45

[solved]MPV 0.37.0 wipes a[v] time line with Exitingon Standard out

mpv on my 6 dfferent systems same problem.
HAPPENS on audio or video files.
Happens on tty or xterminal; not using mpv front end.
Changed from 0.36 to 0.37 [revered to 0.36 on main encode systems]
When i need to find edit points on media, use mpv to play to time then "q" end.
Here is an av line: AV: 00:00:09 / 00:00:10 (99%)
Now the 0.37 outputs over AV line "Exiting... (Quit)"
this not a OSD screen  problem
Look at the git "ChangeLog" new option "--term-remaining-playtime "
did not make a difference YES/NO  on above
Yesterday did a clean install on laptop with xterm and icewm [ no other apps] same problem

Last edited by carlday (2024-02-06 01:14:50)

Offline

#2 2024-02-03 18:22:52

xerxes_
Member
Registered: 2018-04-29
Posts: 709

Re: [solved]MPV 0.37.0 wipes a[v] time line with Exitingon Standard out

I don't know solution for current version (except package recompile), but maybe some workarounds: you may use '--keep-open' option to not quit on exit and keep time, background process by ctrl+z and resume by % to save line with time and then you may exit. Also use pause when in need. Also you may use mplayer.

Last edited by xerxes_ (2024-02-03 18:26:56)

Offline

#3 2024-02-03 21:29:31

seth
Member
Registered: 2012-09-03
Posts: 53,498

Re: [solved]MPV 0.37.0 wipes a[v] time line with Exitingon Standard out

Does

mpv --term-status-msg='Time: ${=time-pos}\n'

help you out?
You'll have to file a bug upstream (somebody probably killed an \n)

Edit, @xerxes_: check "man mpv" for "--save-position-on-quit"

Last edited by seth (2024-02-03 21:30:43)

Offline

#4 2024-02-04 04:08:32

carlday
Member
Registered: 2011-10-04
Posts: 45

Re: [solved]MPV 0.37.0 wipes a[v] time line with Exitingon Standard out

When 0.37 came out, could send stdout to file and get my AVtime, then had to fix missing cursor with tput cnorm

Offline

#5 2024-02-06 01:16:25

carlday
Member
Registered: 2011-10-04
Posts: 45

Re: [solved]MPV 0.37.0 wipes a[v] time line with Exitingon Standard out

Feb 5  put up report github, closed very fast.
Dudemanguy committed Fix #13092 Dec 27 2023.
Maybe NEW version  via PACMAN someday??

Last edited by carlday (2024-02-06 07:24:12)

Offline

#6 2024-02-06 08:58:46

seth
Member
Registered: 2012-09-03
Posts: 53,498

Re: [solved]MPV 0.37.0 wipes a[v] time line with Exitingon Standard out

There'll be a new package somewhen after the next release.
In teh meantime

seth wrote:

Does

mpv --term-status-msg='Time: ${=time-pos}\n'

help you out?

Offline

#7 2024-02-06 09:54:37

carlday
Member
Registered: 2011-10-04
Posts: 45

Re: [solved]MPV 0.37.0 wipes a[v] time line with Exitingon Standard out

From reading mpv github only do 2 releases per year. 37-1 and 37-2 are in pacman. maybe 0.38 ? some time?
Does show the time used only. [hate adding more "alias" to commands that are change to my dislike]
With a full system upgrade MPV 0.36 work OKay or pause output write on  paper  [ i am old]

Last edited by carlday (2024-02-06 09:56:37)

Offline

#8 2024-02-06 10:00:25

seth
Member
Registered: 2012-09-03
Posts: 53,498

Re: [solved]MPV 0.37.0 wipes a[v] time line with Exitingon Standard out

You can set the term-status to whatever you want, look around in this area https://man.archlinux.org/man/extra/mpv/mpv.1.en#time
The only relevant question is whether the explicit newline preserves the output after you quit.

Also you don't need any aliases, you can add default switches (w/o the leading "--") to ~/.config/mpv/mpv.conf

Offline

Board footer

Powered by FluxBB