Jump to content


Photo

Theater mpv test


  • Please log in to reply
3846 replies to this topic

#41 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124015 posts
  • Local time: 01:33 PM

Posted 15 April 2017 - 05:25 PM

Just tried playing a folder rip BD. Playback starts, but skipping position brings playback to a halt, just black screen

 

What you could do that would be helpful is play with folder rips on the mpv command line and figure out what params will need to be passed in. And also figure out what path needs to be passed, for example, the folder path, or the index.bdmv file, or something else, etc.



#42 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 10:33 AM

Posted 15 April 2017 - 06:07 PM

What you could do that would be helpful is play with folder rips on the mpv command line and figure out what params will need to be passed in. And also figure out what path needs to be passed, for example, the folder path, or the index.bdmv file, or something else, etc.

 

I'm looking at this and I'm not sure how this pertains to what we're trying to do. I've tried various ways, but no luck. Is this the section that we need to use?

Play data from stdin.
smb://PATH

Play a path from Samba share.
bd://[title][/device] --bluray-device=PATH

Play a Blu-ray disc. Currently, this does not accept ISO files. Instead, you must mount the ISO file as filesystem, and point --bluray-device to the mounted directory directly.
dvd://[title|[starttitle]-endtitle][/device] --dvd-device=PATH

Play a DVD. DVD menus are not supported. If no title is given, the longest title is auto-selected.

dvdnav:// is an old alias for dvd:// and does exactly the same thing.
dvdread://...:

Play a DVD using the old libdvdread code. This is what MPlayer and older mpv versions use for  dvd://. Use is discouraged. It's provided only for compatibility and for transition, and to work around outstanding dvdnav bugs (see "DVD library choices" above).


#43 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124015 posts
  • Local time: 01:33 PM

Posted 15 April 2017 - 06:12 PM

yea but i think we need to see example usage.



#44 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 10:33 AM

Posted 15 April 2017 - 06:21 PM

Here's my last attempt

 

I don't really know what I'm doing. There's definitely something I'm not undrstanding 

H:\Downloads\mpv>mpv --audio-spdif=ac3,dts,truehd bd://[title][/device] --bluray-device=U:\Temp Movie Library\13th Warrior\BDMV\STREAM
Playing: bd://[title][/device]
[bd] number expected: '[title]['
Failed to open bd://[title][/device].

Playing: Movie
[file] Cannot open file 'Movie': No such file or directory
Failed to open Movie.

Playing: Library\13th
[file] Cannot open file 'Library\13th': No such file or directory
Failed to open Library\13th.

Playing: Warrior\BDMV\STREAM
[file] Cannot open file 'Warrior\BDMV\STREAM': No such file or directory
Failed to open Warrior\BDMV\STREAM.


#45 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 10:33 AM

Posted 15 April 2017 - 06:45 PM

It appears I need to put something where "title" is, but I don't know what



#46 daedalus OFFLINE  

daedalus

    Advanced Member

  • Members
  • 892 posts
  • Local time: 07:33 PM

Posted 15 April 2017 - 07:05 PM

can't test here but first you should enclose the path with some " because of the spaces in your path and point to the root folder of the disc

 

try it with

--bluray-device="U:\Temp Movie Library\13th Warrior\"

Edited by daedalus, 15 April 2017 - 07:06 PM.

  • jscoys likes this

#47 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 10:33 AM

Posted 15 April 2017 - 07:13 PM

 

can't test here but first you should enclose the path with some " because of the spaces in your path and point to the root folder of the disc

 

try it with

--bluray-device="U:\Temp Movie Library\13th Warrior\"

 

Still get the [title] error. Something needs to be there. Any ideas?

H:\Downloads\mpv>mpv --audio-spdif=ac3,dts,truehd bd://[title][/device] --bluray-device="U:\Temp Movie Library\13th Warrior\"
Playing: bd://[title][/device]
[bd] number expected: '[title]['
Failed to open bd://[title][/device].


#48 mediacowboy OFFLINE  

mediacowboy

    Advanced Member

  • Alpha Testers
  • 1800 posts
  • Local time: 12:33 PM
  • LocationTexas, United States

Posted 15 April 2017 - 07:14 PM

I dont know mpv but wouldn't you put the movie in bd and no bluray-device?

Sent from my SAMSUNG-SM-G935A using Tapatalk

Edited by mediacowboy, 15 April 2017 - 07:15 PM.


#49 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 10:33 AM

Posted 15 April 2017 - 07:16 PM

I dont know mpv but wouldn't you put the movie in bd and no bluray-device?

Sent from my SAMSUNG-SM-G935A using Tapatalk

 

It's asking for a number. I tried just having [device], but it still asks for a number



#50 mediacowboy OFFLINE  

mediacowboy

    Advanced Member

  • Alpha Testers
  • 1800 posts
  • Local time: 12:33 PM
  • LocationTexas, United States

Posted 15 April 2017 - 07:20 PM

Still get the [title] error. Something needs to be there. Any ideas?

H:\Downloads\mpv>mpv --audio-spdif=ac3,dts,truehd bd://[title][/device] --bluray-device="U:\Temp Movie Library\13th Warrior\"Playing: bd://[title][/device][bd] number expected: '[title]['Failed to open bd://[title][/device].
mpv --audio-spdif=ac3,dts,truehd bd:// --bluray-device="U:\Temp Movie Library\13th Warrior\"
Does the above work?

Just comparing your cli to this github cli
https://github.com/m...mpv/issues/2199

Edited by mediacowboy, 15 April 2017 - 07:21 PM.


#51 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 10:33 AM

Posted 15 April 2017 - 07:23 PM

Here's what they require

 

58f2ab75259e1_Snapshot_13.jpg



#52 mediacowboy OFFLINE  

mediacowboy

    Advanced Member

  • Alpha Testers
  • 1800 posts
  • Local time: 12:33 PM
  • LocationTexas, United States

Posted 15 April 2017 - 07:24 PM

The github posted I linked to says you need to enable udf

#53 Latchmor OFFLINE  

Latchmor

    Advanced Member

  • Moderators
  • 1601 posts
  • Local time: 06:33 PM
  • LocationScotland

Posted 15 April 2017 - 07:25 PM

I cant test just now but i presume 'device' is for accessing a bluray disc in a drive? Is it a folder rip or actual disc you are trying to play?

Edit: Mmm, just seen your other post, not sure. I'll try tomorrow.

Edited by Latchmor, 15 April 2017 - 07:27 PM.


#54 puithove OFFLINE  

puithove

    Advanced Member

  • Alpha Testers
  • 721 posts
  • Local time: 01:33 PM

Posted 15 April 2017 - 07:27 PM

On disc based media going way back to dvd, and continued on bluray, you can have multiple titles on a disc.  You can see this too when ripping the disc.  Main movie is often (but certainly not always) title #1.  Other things like extras, will be different titles on the disc.

 

Title will probably be a numeric value in this case.

 

No idea what the /device would be.



#55 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 10:33 AM

Posted 15 April 2017 - 07:31 PM

I cant test just now but i presume 'device' is for accessing a bluray disc in a drive? Is it a folder rip or actual disc you are trying to play?

Sent from my OnePlus 3T

 

It's a folder rip, but look at the picture I just posted. They talk about a mounted directory that you point to. So the medium doesn't seem to matter, just the address.

 

 

On disc based media going way back to dvd, and continued on bluray, you can have multiple titles on a disc.  You can see this too when ripping the disc.  Main movie is often (but certainly not always) title #1.  Other things like extras, will be different titles on the disc.

 

Title will probably be a numeric value in this case.

 

No idea what the /device would be.

 

The movie is in the STREAM folder and it is numeric. There is an index file, which I assume it will read.


Edited by Doofus, 15 April 2017 - 07:31 PM.


#56 Latchmor OFFLINE  

Latchmor

    Advanced Member

  • Moderators
  • 1601 posts
  • Local time: 06:33 PM
  • LocationScotland

Posted 15 April 2017 - 07:32 PM

Here's what they require

58f2ab75259e1_Snapshot_13.jpg

The samba command is above that. You've clipped 2 halves of 2 separate commands. smb and bd, no?

Sent from my OnePlus 3T

#57 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 10:33 AM

Posted 15 April 2017 - 07:33 PM

You guys can see here

 

https://mpv.io/manua...ster/#protocols



#58 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 10:33 AM

Posted 15 April 2017 - 07:34 PM

The samba command is above that. You've clipped 2 halves of 2 separate commands. smb and bd, no?

Sent from my OnePlus 3T

smb://PATH

Play a path from Samba share.
bd://[title][/device] --bluray-device=PATH

Play a Blu-ray disc. Currently, this does not accept ISO files. Instead, you must mount the ISO file as filesystem, and point --bluray-device to the mounted directory directly.
dvd://[title|[starttitle]-endtitle][/device] --dvd-device=PATH

Play a DVD. DVD menus are not supported. If no title is given, the longest title is auto-selected.

dvdnav:// is an old alias for dvd:// and does exactly the same thing.
dvdread://...:

Play a DVD using the old libdvdread code. This is what MPlayer and older mpv versions use for  dvd://. Use is discouraged. It's provided only for compatibility and for transition, and to work around outstanding dvdnav bugs (see "DVD library choices" above).

Edited by Doofus, 15 April 2017 - 07:36 PM.


#59 puithove OFFLINE  

puithove

    Advanced Member

  • Alpha Testers
  • 721 posts
  • Local time: 01:33 PM

Posted 15 April 2017 - 07:46 PM

Yea, so it looks to me that "bd://" would be required - basically tells it what kind of media to expect.  Since [title] and [/device] are in brackets, they're optional (I'm assuming that it will by default attempt to determine what title is the main movie.  I'm taking a wild guess that /device means to play from an actual BD device - disc drive instead of a folder.

 

So then the folder (device) path should be the main thing to specify.  This would be a minimum commandline to play back a BDMV folder

mpv bd:// --bluray-device=/path/to/bd/

https://github.com/m...man/options.rst



#60 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 10:33 AM

Posted 15 April 2017 - 07:52 PM

I think this is a little closer

H:\Downloads\mpv>mpv --audio-spdif=ac3,dts,truehd bd:// --bluray-device="U:\Temp Movie Library\13th Warrior\BDMV"
Playing: bd://
src/libbluray/disc/disc.c:418: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:418: error opening file BDMV\BACKUP\index.bdmv
[bd] Couldn't open Blu-ray device: U:\Temp Movie Library\13th Warrior\BDMV
No protocol handler found to open URL bd://
The protocol is either unsupported, or was disabled at compile-time.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users