CYGWIN reading a dvd from a directory
Hi, I would like to suggest to modify file libmpdvdkit2/dvd_reader.c to make Mplayer able to play a dvd from a hard drive directory when compiled in the CYGWIN environment. The modifications seen when using diff $ diff /MPlayer-20050421/libmpdvdkit2/dvd_reader.c /MPlayer-20050426/libmpdvdki t2/dvd_reader.c | more 48c48 < #elif defined(__linux__) || defined(__CYGWIN__) ---
#elif defined(__linux__) 323c323 < #elif defined(__sun) || defined(__linux__) || defined(__CYGWIN__)
#elif defined(__sun) || defined(__linux__) 396c396 < #elif defined(__linux__) || defined(__CYGWIN__)
#elif defined(__linux__) 415c415 < #elif defined(__MINGW32__)
#elif defined(WIN32)
I am not sure if the WIN32 to __MINGW32__ substitution is correct when using MINGW! Here is the modified file dvd_reader.c <<dvd_reader.c>> Sincerely Björn Hermansson
Hi, On 4/26/05, Bjorn.Hermansson@teliasonera.com <Bjorn.Hermansson@teliasonera.com> wrote:
Hi,
I would like to suggest to modify file libmpdvdkit2/dvd_reader.c to make Mplayer able to play a dvd from a hard drive directory when compiled in the CYGWIN environment. The modifications seen when using diff
Please send a unified diff (diff -u), otherwise you can be sure non one will have a look a it! :) Guillaume
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 26 April 2005 8:49 am, Bjorn.Hermansson@teliasonera.com wrote:
Hi,
I would like to suggest to modify file libmpdvdkit2/dvd_reader.c to make Mplayer able to play a dvd from a hard drive directory when compiled in the CYGWIN environment. The modifications seen when using diff
$ diff /MPlayer-20050421/libmpdvdkit2/dvd_reader.c /MPlayer-20050426/libmpdvdki t2/dvd_reader.c | more 48c48 < #elif defined(__linux__) || defined(__CYGWIN__) ---
#elif defined(__linux__)
323c323 < #elif defined(__sun) || defined(__linux__) || defined(__CYGWIN__) ---
#elif defined(__sun) || defined(__linux__)
396c396 < #elif defined(__linux__) || defined(__CYGWIN__) ---
#elif defined(__linux__)
415c415 < #elif defined(__MINGW32__) ---
#elif defined(WIN32)
I am not sure if the WIN32 to __MINGW32__ substitution is correct when using MINGW!
Here is the modified file dvd_reader.c
<<dvd_reader.c>> Sincerely
Björn Hermansson
Fantastic. Intervideo WinDVD does this and it is an invaluable tool when testing a created dvd. I have wasted several DVD's because I didn't know that I had this feature. I guess I could have tested from .iso files, but hindsight is 20/20. Also, can anyone tell me the status of DVD menus in MPlayer? Another side note, is there a way to set up "profiles" of formats as some other encoders do to for example burn a dvd compatible mpg mencoder -i movie.avi --video-prof dvd-ntsc -o movie.mpg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCb9WsmXZROF+EADURAsT0AJ9W8rfDrqOCC48EqaQqNUEgBebiLgCeNZxI 3QzwvMqJG3nD0TvEKdqlyu0= =YAsu -----END PGP SIGNATURE-----
On Wed, Apr 27, 2005 at 02:10:50PM -0400, Joseph Miller wrote:
Also, can anyone tell me the status of DVD menus in MPlayer?
See the FAQ, probably never going to happen. Diego
On Wed, Apr 27, 2005 at 09:11:20PM +0200, Diego Biurrun wrote:
On Wed, Apr 27, 2005 at 02:10:50PM -0400, Joseph Miller wrote:
Also, can anyone tell me the status of DVD menus in MPlayer?
See the FAQ, probably never going to happen.
While I personally don't see much point to DVD menus and would rather avoid them, I wonder if it would make more sense to implement support for them outside of mplayer. Whatever form that menu navigation implemention took, it would just end up calling mplayer with the proper options from the context of the menu selections.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 27 April 2005 4:40 pm, Robert Henney wrote:
On Wed, Apr 27, 2005 at 09:11:20PM +0200, Diego Biurrun wrote:
On Wed, Apr 27, 2005 at 02:10:50PM -0400, Joseph Miller wrote:
Also, can anyone tell me the status of DVD menus in MPlayer?
See the FAQ, probably never going to happen.
While I personally don't see much point to DVD menus and would rather avoid them, I wonder if it would make more sense to implement support for them outside of mplayer. Whatever form that menu navigation implemention took, it would just end up calling mplayer with the proper options from the context of the menu selections.
_______________________________________________ MPlayer-dev-eng mailing list MPlayer-dev-eng@mplayerhq.hu http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
If this can be done outside of MPlayer, it can surely be done inside of MPlayer, right? What about using mplayer.c as an entry point at the same place that the code is called for the GUI? I have written a simple Win32 GUI that entered at the same point. My code is after the GUI Ilde loop (STOP state). Pretty much it starts the GUI and begins a loop to handle input. Once a menu option was chosen, it could set up the playtree and then exit the loop. Once the video finished playing, it would return to this position and the menus could begin again. This would allow for the code to be practically separate from the rest of the mplayer architecture. Anyone have any idea why this wouldn't work? - -Joseph -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCcARDmXZROF+EADURAlUFAJkBnvqYyG+oFrS435Y3Lrm9YigbogCfXT8w JAnToZgmDAndYqkeFhB1a64= =vLpZ -----END PGP SIGNATURE-----
On Tue, Apr 26, 2005 at 02:49:59PM +0200, Bjorn.Hermansson@teliasonera.com wrote:
I would like to suggest to modify file libmpdvdkit2/dvd_reader.c to make Mplayer able to play a dvd from a hard drive directory when compiled in the CYGWIN environment.
What do you mean by playing a DVD from the hard drive? Do you mean copying a VOB file from the DVD to the hard drive? How do you accomplish that? You need to send a unified diff (diff -u). I attached your changes as a patch to this mail.
I am not sure if the WIN32 to __MINGW32__ substitution is correct when using MINGW!
It is correct. Diego
On Mon, May 16, 2005 at 06:49:33PM +0200, Diego Biurrun wrote:
On Tue, Apr 26, 2005 at 02:49:59PM +0200, Bjorn.Hermansson@teliasonera.com wrote:
I would like to suggest to modify file libmpdvdkit2/dvd_reader.c to make Mplayer able to play a dvd from a hard drive directory when compiled in the CYGWIN environment.
You need to send a unified diff (diff -u). I attached your changes as a patch to this mail.
Applied after someone tested it to work on mplayer-cygwin. Diego
participants (5)
-
Bjorn.Hermansson@teliasonera.com -
Diego Biurrun -
Guillaume POIRIER -
Joseph Miller -
Robert Henney