I want to use mplayer command line to play music files in the terminal and keep the output messages quiet only except for audio timestamp. Only keep the last line A: 133.5 (02:13.4) of 347.1 (05:47.0) 0.
in the below example (of course 02:13.4/05:47.0 format would be better). Is there any way to get that? Thanks.
> mplayer -novideo "Tokimeki Records,ひかり/Midnight Pretenders (feat. ひかり)/Tokimeki Records,ひかり - Midnight Pretenders (feat. ひかり).flac"
MPlayer 1.5-14.0.0 (C) 2000-2022 MPlayer Team
Can't init Apple Remote.
Playing Tokimeki Records,ひかり/Midnight Pretenders (feat. ひかり)/Tokimeki Records,ひかり - Midnight Pretenders (feat. ひかり).flac.
libavformat version 59.17.102 (internal)
libavformat file format detected.
[lavf] stream 0: audio (flac), -aid 0
[lavf] stream 1: video (mjpeg), -vid 0
Clip info:
ALBUM: Midnight Pretenders (feat. ひかり)
ARTIST: Tokimeki Records/ひかり
COMMENT: Create by xxxx copyright protected dump tool. author 5L
TITLE: Midnight Pretenders (feat. ひかり)
Load subtitles in Tokimeki Records,ひかり/Midnight Pretenders (feat. ひかり)/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 59.21.100 (internal)
AUDIO: 48000 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->192000)
Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
==========================================================================
AO: [coreaudio] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 133.5 (02:13.4) of 347.1 (05:47.0) 0.