View Full Version : LDJ 0.08 Available
brockgr
March 1st, 2003, 09:12 AM
Todays build:
http://brock-family.org/luadvdjb/luadvdjb-0.08.zip
Nothing really exciting, but a few fixes:
* Remove the port problem that was in the last version - port still assumed to be 1023
* Added support for divx files as *.mpg *.mpeg or *.avi. This works with both the harddisk scanning or DVD Profiler "File" in the notes
* All file types are now easily configurable
* Added UDP feedback type (not implemented in NR yet)
* Fixed bug in collection number in DVD Prof.
* Stopped DVDs in DVD Prof. without collection number of "notes" entries from showing up.
* Fixed accented European charaters in DVD Profiler data
In the pipeline:
* Turn feedback into a Girder plugin (sse the Girder forum for that)
* Advanced filtering - filter on media type, language, etc.
As always - feedback welcomed.
Gavin
brockgr
March 2nd, 2003, 05:09 AM
To go with NR 0.981, here is LDJ 0.09
http://brock-family.org/luadvdjb/luadvdjb-0.09.zip
New:
* Port fix back in. Now the port specified in the Girder plugin is the one you use.
* Advanced filtering. You can filter on Genre, Media Type, Era and Language. Other filters can easily be added. If you don't want a filter, just remove it from the intialise funtion.
Planned:
* Multi-image page based interface (a la Carl).
* Switch to full screen skin
maxtrash
March 2nd, 2003, 07:49 AM
Gavin,
the advanced filtering looks very very nice!
as for the naming, I think using MPG the way you do isn't completely correct (probably my fault). Generally it's just about playing a media-file as opposed to a dvd. The media-file could be any videofile.
videofiles have two aspects: an extension and a codec (compressionmethod).
extension AVI acts as a wrapper. Avi files could be encoded using any codec, including mpeg4 type codecs (which are also called divx).
The extension MPG is usually used for videofiles that are encoded in MPEG 2 (which btw is also used on DVD's).
Anyway, my point is that the extension is not that important. MPG is just one of them, and MPG <> DIVX.
So as for filtering I could imagine 3 categories:
- Changer;
- Zoomplayer /DVD mode
- Zoomplayer /media mode
brockgr
March 2nd, 2003, 08:36 AM
Yep I agree MPG is not very elegant (but then nor are ISO and IFO). Currently the media type is the internal 'code'. The only other time this code is used is in generating the LDJ_play_current_XXX event, where XXX is the type.
I'm trying to balance between having too many types, and not enough player choice. i.e. AVI's and MPG's are roughly the same and probably have the same player - but how about quicktime MOV files, or Realplayer stuff? I think MEDIA might be too generic - MPG I agree is a misnomer. But since I don't currently use this stuff, I'm open to suggestions.
Even so, currently the user has a choice, they can change the mapping:
LDJ_file_types = {
["ISO"] = "ISO",
["MPG"] = "MPG",
["MPEG"] = "MPG",
["AVI"] = "MPG"
}
However doing so may require that they rework the LDJ_play_current_XXX events.
Gavin
eLupus
March 6th, 2003, 07:32 AM
I just though you might like to know how to playback iso img files.
First you need Daemon-Tools, it's a utility that enables you to mount image files as disks. The exacutable for this program takes this syntax
deamon.exe -mount [DEVICEID],[IMAGEPATH]
where [DEVICEID] is a number from 0 to 3 to allow multiple images to be mounted at the same time. [IMAGEPATH] should have quotes around it, if it contains spaces. This will allow you to play this file as if it where a normal dvd in zoomplayer.
Secondly, it would also be nice to have support for multiple files for one dvd, since ripped dvd's in svcd format usually span several disks. Maybe through a file named ldjdvd.ini in the same directory as the movie, which contain's the name of the dvd, which disks is needed to play it, and the filenames to the iso/img/cue file. If this file is found, ldj should stop scanning that directory for movies and only read the file.
Just some ideas
Regards
Joakim Plate
brockgr
March 6th, 2003, 08:28 AM
Joakim,
Thanks I had been waiting for this information. I can put together a few Girder commands to do the Daemon-Tools bit.
The multiple disks bit surprises me. Do you mount all the ISO images (I guess 4 max if you only have ID's 0 to 3) and then pass the location of these devices to the player (Zoomplayer?). Can you predict the letters of the pseudo-drive devices?
As for a config file. I guess dvd_info.txt (or another DVD Profiler keyword) is the place to put the cue information. Are the cuefiles player specific?
I hope these questions make sence, I'm grasping at the concepts.
Gavin
eLupus
March 6th, 2003, 08:42 AM
When you configure Deamon-Tools, you setup how many virtual disks you would like to have and setup which drive letter each deviceid will have, so as long as you can configure what driveletter corresponds to which deviceid in ldj, this shouldn't be a problem.
Yes i normally mount up all images in a movie, and then cue them up in zoomplayer. That is i add the D:\MPEG2\AVSEQ01.MPG , E:\MPEG2\AVSEQ01.MPG (filename is allways the same on svcd's as it is dvd) to a play list in the order they are supposed to be played.
ZoomPlayer allowes a SVCD to be played by using the Play Drive command, but this doesn't allow cuing them all up. I'll take a look at how to create a playlist using girder in zoomplayer.
btw. don't think i posted a link to daemon-tools (http://www.daemon-tools.com)
Regards
Joakim Plate
eLupus
March 6th, 2003, 09:11 AM
I looked at ZoomPlayers's support for playlists, but there where no easy way of adding multiple files to the playlist. You could pass multiple filenames to zoomplayer, but it would only accept them if zoomplayer wasn't running in advance.
I did come up with a solution which works. Since the paths for svcd's and vcd's are the same on all disks, you can beforehand create (or by lua script, but that's kinda pointless) playlist files .asx for a 1disk movie, 2disk movie and so on. Then just point zoomplayer to the correct playlist and it will play correctly. The only problem then is to decide if what we are mounting is a SVCD, VCD or DVD since the paths to the file to play would vary.
Regards
Joakim Plate
eLupus
March 6th, 2003, 05:10 PM
I wrote a small girder group with the ability to mount images, and play those in zp. If you would like to incorporate this in your script, I can send it to you. Perhaps restructure it a bit since it's my first attempt at lua script.
It first mount's the image files and then it builds a playlists with files for SVCD or VCD and sends that file to ZP.
Regards
Joakim Plate
brockgr
March 9th, 2003, 08:13 AM
Joakim,
Thanks for all that info - it's all a bit overwhelming. I would love to see your sample code.
The multidisk playlist thing is something I had already been thinking about (for multi-disk films such as Lord of the Rings), but I really hadn't though of an elegant solution. In DVD Profiler it's easy, just allow people to specify multiple files. However when searching disks, it's hard to know what is part of a multipart set or not. The flag file could help - but that makes it all less automatic (at which point you might want to go back to DVD Profiler). I assume there isn't some standard naming convention I could use.
Cheers, Gavin
brockgr
June 7th, 2003, 09:29 AM
0.21 is here (http://www.netremote.org/phpBB2/viewtopic.php?t=224&start=0&postdays=0&postorder=asc&highlight=)
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.