VideoHelp Forum
+ Reply to Thread
Results 1 to 9 of 9
Thread
  1. Using mplayer once could use:
    Code:
    mplayer --identify "PATH to file"
    to get detailed information about a file, is really useful especially for DVDs and Blu-rays.
    Sadly when calling:
    Code:
    mpv.com --identify "PATH to file"
    if get
    Code:
    Option --identify was removed: use TOOLS/mpv_identify.sh
    so does someone know how to work around this on Windows where there are no shell scripts?

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  2. I guess that something like:
    Code:
    mpv.com --term-playing-msg="???" --vo=null --ao=null --frames=1 --quiet --no-cache --no-config -- "f:\TestClips&Co\files\test.avi"
    with the right 'term-playing-msg' might work, but I have no idea how build a proper string to replace the '???' does anyone know it's way around MPV enough to list all infos mpv can provide about a source?

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  3. okay, something like:
    Code:
    mpv.com --term-playing-msg="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}\ndWidth: ${dwidth}\ndHeight: ${dheight}\n\nSubtitles: ${sub}\n" --vo=null --ao=null --frames=1 --quiet --no-cache --no-config -- "f:\TestClips&Co\files\test.avi"
    seems to do the trick and 'mpc.com --list-properties' lists all the possible properties, now it's mainly a question of 'which properties are interesting' and staying inside the max length for a command line call.


    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  4. calling:
    Code:
    mpv.com --term-playing-msg="Tracks: ${track-list}\nChapters:\n${chapter-list}" --vo=null --ao=null --frames=1 --quiet --no-cache --no-config dvd:// --dvd-device="F:\TestClips&Co\discs\DVDs\TestDVD"
    I get:
    Code:
    libdvdnav: Using dvdnav version 6.0.2
    libdvdread: Could not open F:\TestClips&Co\discs\DVDs\TestDVD with libdvdcss.
    libdvdread: Can't open F:\TestClips&Co\discs\DVDs\TestDVD for reading
    libdvdread: Device F:\TestClips&Co\discs\DVDs\TestDVD inaccessible, CSS authentication not available.
    libdvdnav: Unable to open device file F:\TestClips&Co\discs\DVDs\TestDVD.
    libdvdnav: vm: dvd_read_name failed
    libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
    [dvdnav] Selecting title 0.
    [dvdnav] DVDNAV, switched to title: 1
     (+) Video --vid=1 (mpeg2video 720x576 25.000fps)
     (+) Audio --aid=1 --alang=nl (ac3 6ch 48000Hz)
         Audio --aid=2 --alang=de (ac3 6ch 48000Hz)
         Audio --aid=3 --alang=en (ac3 6ch 48000Hz)
         Subs  --sid=1 --slang=en (dvd_subtitle)
         Subs  --sid=2 --slang=de (dvd_subtitle)
         Subs  --sid=3 --slang=nl (dvd_subtitle)
         Subs  --sid=4 --slang=de (dvd_subtitle)
    AO: [null] 48000Hz 5.1(side) 6ch floatp
    VO: [null] 720x576 => 1024x576 yuv420p
    Tracks: Video: �➜*�(1)
    
    Audio: �➜*�(1) (nl)
    Audio: �{\alpha&HFF}➜*{\r}�(2) (de)
    Audio: �{\alpha&HFF}➜*{\r}�(3) (en)
    
    Sub: �{\alpha&HFF}➜*{\r}�(1) (en)
    Sub: �{\alpha&HFF}➜*{\r}�(2) (de)
    Sub: �{\alpha&HFF}➜*{\r}�(3) (nl)
    Sub: �{\alpha&HFF}➜*{\r}�(4) (de)
    
    
    Chapters:
    00:00:00   �➜*�(1)
    00:03:55   �{\alpha&HFF}➜*{\r}�(2)
    00:07:50   �{\alpha&HFF}➜*{\r}�(3)
    00:11:47   �{\alpha&HFF}➜*{\r}�(4)
    00:17:39   �{\alpha&HFF}➜*{\r}�(5)
    00:20:50   �{\alpha&HFF}➜*{\r}�(6)
    00:23:40   �{\alpha&HFF}➜*{\r}�(7)
    00:27:38   �{\alpha&HFF}➜*{\r}�(8)
    00:29:48   �{\alpha&HFF}➜*{\r}�(9)
    00:32:41   �{\alpha&HFF}➜*{\r}�(10)
    00:36:16   �{\alpha&HFF}➜*{\r}�(11)
    00:39:47   �{\alpha&HFF}➜*{\r}�(12)
    00:44:19   �{\alpha&HFF}➜*{\r}�(13)
    00:48:24   �{\alpha&HFF}➜*{\r}�(14)
    00:52:48   �{\alpha&HFF}➜*{\r}�(15)
    00:58:25   �{\alpha&HFF}➜*{\r}�(16)
    01:01:07   �{\alpha&HFF}➜*{\r}�(17)
    01:05:01   �{\alpha&HFF}➜*{\r}�(18)
    01:10:47   �{\alpha&HFF}➜*{\r}�(19)
    01:17:00   �{\alpha&HFF}➜*{\r}�(20)
    01:20:28   �{\alpha&HFF}➜*{\r}�(21)
    01:24:54   �{\alpha&HFF}➜*{\r}�(22)
    01:27:56   �{\alpha&HFF}➜*{\r}�(23)
    01:32:44   �{\alpha&HFF}➜*{\r}�(24)
    01:38:22   �{\alpha&HFF}➜*{\r}�(25)
    01:44:36   �{\alpha&HFF}➜*{\r}�(26)
    01:48:42   �{\alpha&HFF}➜*{\r}�(27)
    01:53:19   �{\alpha&HFF}➜*{\r}�(28)
    01:58:40   �{\alpha&HFF}➜*{\r}�(29)
    02:01:43   �{\alpha&HFF}➜*{\r}�(30)
    02:05:33   �{\alpha&HFF}➜*{\r}�(31)
    02:08:48   �{\alpha&HFF}➜*{\r}�(32)
    02:11:51   �{\alpha&HFF}➜*{\r}�(33)
    02:15:56   �{\alpha&HFF}➜*{\r}�(34)
    02:18:17   �{\alpha&HFF}➜*{\r}�(35)
    Can someone tell me whether there is a way to get rid of those ' �{\alpha&HFF}➜ {\r}�' outputs or what to make of them?

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  5. Can someone tell me whether there is a way to get rid of those ' �{\alpha&HFF}➜ {\r}�' outputs or what to make of them?
    apparently not: https://github.com/mpv-player/mpv/issues/7529
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  6. Can't you use ffprobe for extracting file info?
    Quote Quote  
  7. for single files: yes but for DVDs it's not really useful.
    Atm. I'm using mplayer + ffmpeg + MediaInfo + tsmuxer + mkvinfo + vstrip in Hybrid.
    I mainly used mplayer since I use it as preview player (and for auto cropping and chapter and cut point selection), since some folks keep pestering me about supporting mpv instead of mplayer I wanted to look into it. I figured out how I would incorporate mpv for preview, but just using it for preview and not like mplayer also for xvid encoding and DVD analysis and DVD input handling is simply not worth rewriting the code or adding the additional file size to Hybrid.
    -> Since every time I look into mpv it either fails or they drop support for something I will simply give up on mpv for the time being. May be I'll look into it in a couple of years again.
    (ffprobe isn't really that interesting since ffmpeg can do everything ffprobe does as far as I can tell and ffplay isn't interesting since from what I can tell it does not support some sort of slave mode to display inside another windows and be controllable by command line or ipc)

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  8. To gather mediainfo (mediainfo.dll + code or ffprobe,ffmpeg + code or something else) and preview could be completely separate processes.
    So one code gathers data and shows them in UI, other code previews a filepath. Just curious why would you try to shell them as one process.
    Quote Quote  
  9. Just curious why would you try to shell them as one process.
    Sorry, must be my english.
    Analysis and preview are separate processes. Still atm. adding mpv simply doesn't make sense.
    Preview works fine as it is and mpv can't replace mplayer, so adding it just for preview isn't worth the hours of coding for me.


    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!