How to identify files with MPV,... - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Talk, Talk, Talk (https://forum.selur.net/forum-5.html) +--- Forum: A/V Talk (https://forum.selur.net/forum-6.html) +--- Thread: How to identify files with MPV,... (/thread-1536.html) |
How to identify files with MPV,... - Selur - 18.09.2020 From time to time I play with the thought to drop mplayer/mencoder in favor for mpv. MPlayer atm. is used in Hybrid to:
So starting with the 'analyse the input', I tried to figure out how to get mpv to report data about the input. To collect data about normal files one can use: mpv.com --term-playing-msg="XXX" --vo=null --ao=null --frames=1 --quiet --no-cache --no-config "PATH TO FILE" mpv.com --term-playing-msg="XXX" --vo=null --ao=null --frames=1 --quiet --no-cache --no-config dvd://[title] --dvd-device="F:\TestClips&Co\discs\DVDs\TestDVD" mpv.com --term-playing-msg="XXX" --vo=null --ao=null --frames=1 --quiet --no-cache --no-config bd://[title] --bluray-device="F:\TestClips&Co\discs\BDs\TestBD" Here's how it looks atm: "Filename: ${filename}\nPath: ${path}\nStart: ${stream-start}\nEnd: ${stream-end}\nLength: ${stream-length}\nDemuxer: ${demuxer}\nContainer length: ${length}\nChapters: ${chapters}\nEditions: ${editions}\nTitles: ${titles}\nDuration: ${duration}\nAudio: ${audio}\nAudio bitrate: ${audio-bitrate}\nAudio codec: ${audio-codec}\nAudio codec name: ${audio-codec-name}\nVideo: ${video}\nAngle: ${angle}Video bitrate: ${video-bitrate}\nVideo codec: ${video-codec}\nVideo format: ${video-format}\nVideo aspect ratio: ${video-aspect-override}\nContainer fps: ${container-fps}\nWidth: ${width}\nHeight: ${height}\nDisplay Width: ${dwidth}\nDisplay Height: ${dheight}\n\nSubtitles: ${sub}\nTracks: ${track-list}\nChapters:\n${chapter-list}" Filename: ${filename} atm. I have no clue how to get mpv to:
Cu Selur Ps.: this is mainly to a let others know how this could be done and also keep track of what I found so far, so that I don't have to search my notes on where I was,.. |