Sometimes I use mpv
to play .mpd files. These are either local or streamed files. When the playback starts, mpv
detects the highest video resolution and audio quality and starts using them.
For example, this is what appears in the terminal window when connecting to a streamed .mpd file:
Video --vid=1 'bitrate 499950' (h264 640x360 600.000fps)
Video --vid=2 'bitrate 999965' (h264 768x432 600.000fps)
Video --vid=3 'bitrate 1999931' (h264 1280x720 600.000fps)
Video --vid=4 'bitrate 2999896' (h264 1920x1080 600.000fps)
(+) Video --vid=5 'bitrate 3999862' (h264 1920x1080 600.000fps)
Audio --aid=1 'bitrate 96000' (aac 2ch 48000Hz)
Audio --aid=2 'bitrate 128000' (aac 2ch 48000Hz)
Audio --aid=3 'bitrate 192000' (aac 2ch 48000Hz)
Audio --aid=4 'bitrate 256000' (aac 2ch 48000Hz)
(+) Audio --aid=5 'bitrate 320000' (aac 2ch 48000Hz)
Using hardware decoding (vaapi).
AO: [pulse] 48000Hz stereo 2ch float
VO: [gpu] 1920x1080 vaapi[nv12]
AV: 00:00:13 / 01:36:50 (0%) A-V: 0.000 Dropped: 1 Cache: 61s/33MB
The plus sign shows the automatically selected video and audio.
Is there any way or command to tell mpv
to use specific video resolutions and audio qualities instead of the automatically detected ones?
Thank you.