Permalink
Browse files

add treasure island EDL

  • Loading branch information...
1 parent 7a2e43f commit 85eb897458baa93b2b80bc9ca198db3ef3c75d7e @rdp committed Sep 12, 2011
View
1 TODO
@@ -40,6 +40,7 @@
ri_for updatez
== yes do, un-ordered currently, from the various future release options ==
+ handle gates of he.....
ruby_prof stuff, other emails
add real srt instructions to docu, release
complain to jruby folks
@@ -563,7 +563,7 @@ def new_nonexisting_filechooser_and_go title = nil, default_dir = nil, default_f
end
def show_blocking_message_dialog(message, title = message.split("\n")[0], style= JOptionPane::INFORMATION_MESSAGE)
- SwingHelpers.show_blockiing_message_dialog message, title, style
+ SwingHelpers.show_blocking_message_dialog message, title, style
end
# call dispose on this to close it if it hasn't been canceled yet...
@@ -585,7 +585,7 @@ def show_copy_pastable_string(message, value)
# also caches directory previously selected ...
def new_existing_file_selector_and_select_file title, dir = nil
- dir ||= LocalStorage[caller.inspect] = File.dirname(got)
+ dir ||= LocalStorage[caller.inspect]
got = FileDialog.new_previously_existing_file_selector_and_go title, dir
LocalStorage[caller.inspect] = File.dirname(got)
got
@@ -96,7 +96,7 @@ def setup_advanced_buttons
id_string
}
- @convert_seconds_to_ts = new_jbutton( "Convert 3600 <-> 1:00:00 style timestamps" )
+ @convert_seconds_to_ts = new_jbutton( "Convert 3600.0 <-> 1:00:00 style timestamps" )
@convert_seconds_to_ts.on_clicked {
input = get_user_input("Enter \"from\" timestamps, like 3600 or 1:40:00:", "1:00:00.1 or 3600.1")
while(input)
@@ -332,8 +332,14 @@ def choose_dvd_drive_or_file force_choose_only_dvd_drive
else
disk = opticals[selected_idx]
out = show_non_blocking_message_dialog "calculating current disk's unique id...if this pauses more than 10s then clean your DVD..."
- dvd_id = DriveInfo.md5sum_disk(disk.MountPoint)
- out.dispose
+ begin
+ dvd_id = DriveInfo.md5sum_disk(disk.MountPoint)
+ rescue Exception => e
+ show_blocking_message_dialog e.to_s # todo a bit ugly...
+ raise
+ ensure
+ out.dispose
+ end
@_choose_dvd_drive_or_file = [disk.MountPoint, opticals[selected_idx].VolumeName, dvd_id]
return @_choose_dvd_drive_or_file
end
View
@@ -1,5 +1,5 @@
-ask mplayer "can you use accurate rounding with lanczos? I don't think you can..."
+handle gates of hell...
http://en.gentoo-wiki.com/wiki/DVD_to_MP4 mentions "subtitle ripper"
avidemux can apparently do it, too
@@ -9,13 +9,9 @@ somehow map DVD's to the "subdownloader" style subtitles?
don't use as many..uh...large of spaces for mutes that was way wide...is that safe though?
-
-it can use "two" .srt files [user generated versus original] and combine them both [?]
-
is there a way to double check your .srt file is accurate?
- describe it...
somehow interface with md5/opensubtitles or someone else? hmm..
Don't mute the whole line if not needed? [just end of it, etc...?]
-allow them to enter whatever they want as arbitrary search...
+allow them to enter whatever they want as arbitrary search profanities, search for them...
View
@@ -1,5 +1,8 @@
== dvd upconvert ==
+
+ask mplayer "can you use accurate rounding with lanczos? I don't think you can..."
+
compare with powerdvd/ffdshow
compare (DVD) various computers/monitors...
View
Binary file not shown.
View
Binary file not shown.
@@ -1,67 +0,0 @@
-/* $Id: dvdid.h 3209 2009-10-14 14:41:34Z chris $ */
-
-#ifndef DVDID__DVDID_H
-#define DVDID__DVDID_H
-
-
-#include <stdint.h>
-
-
-#include "export.h"
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
-enum dvdid_status_e {
- DVDID_STATUS_OK = 0,
- DVDID_STATUS_MALLOC_ERROR,
-
- /* Error that should only be returned by dvdid_calculate (but not test of API) */
- DVDID_STATUS_PLATFORM_UNSUPPORTED,
- DVDID_STATUS_READ_VIDEO_TS_ERROR,
- DVDID_STATUS_READ_VMGI_ERROR,
- DVDID_STATUS_READ_VTS01I_ERROR,
-
- DVDID_STATUS_DETECT_MEDIUM_ERROR,
- DVDID_STATUS_MEDIUM_UNKNOWN,
- DVDID_STATUS_FIXUP_SIZE_ERROR,
-
- DVDID_STATUS_READ_VCD_ERROR,
- DVDID_STATUS_READ_CDI_ERROR,
- DVDID_STATUS_READ_EXT_ERROR,
- DVDID_STATUS_READ_KARAOKE_ERROR,
- DVDID_STATUS_READ_CDDA_ERROR,
- DVDID_STATUS_READ_MPEGAV_ERROR,
- DVDID_STATUS_READ_SEGMENT_ERROR,
- DVDID_STATUS_READ_INFO_VCD_ERROR,
- DVDID_STATUS_READ_ENTRIES_VCD_ERROR,
-
- DVDID_STATUS_READ_SVCD_ERROR,
- DVDID_STATUS_READ_MPEG2_ERROR,
- DVDID_STATUS_READ_INFO_SVD_ERROR,
- DVDID_STATUS_READ_ENTRIES_SVD_ERROR,
- DVDID_STATUS_READ_TRACKS_SVD_ERROR,
-};
-
-
-typedef enum dvdid_status_e dvdid_status_t;
-
-/*
- If unsucessful, errn will be set to a platform specific error number, or zero if no
- such information is available. If errn is NULL, the parameter will be ignored.
-*/
-DVDID_API(dvdid_status_t) dvdid_calculate(uint64_t *discid, const char* path, int *errn);
-
-/* Get a pointer to a string describing the contents of a dvdid_status_t */
-DVDID_API(const char*) dvdid_error_string(dvdid_status_t status);
-
-
-#ifdef __cplusplus
-}
-#endif
-
-
-#endif
@@ -1,131 +0,0 @@
-/* $Id: dvdid2.h 3221 2009-10-14 20:08:09Z chris $ */
-
-#ifndef DVDID__DVDID2_H
-#define DVDID__DVDID2_H
-
-#include <stdint.h>
-
-
-#include "export.h"
-
-
-#include "dvdid.h"
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
-enum dvdid_medium_e {
- DVDID_MEDIUM_DVD = 1,
- DVDID_MEDIUM_VCD,
- DVDID_MEDIUM_SVCD,
-};
-
-enum dvdid_dir_e {
- /* DVD */
- DVDID_DIR_VIDEO_TS = 1,
- /* VCD */
- DVDID_DIR_VCD,
- DVDID_DIR_CDI,
- DVDID_DIR_EXT,
- DVDID_DIR_KARAOKE,
- DVDID_DIR_CDDA,
- DVDID_DIR_MPEGAV,
- DVDID_DIR_SEGMENT,
- /* SVCD */
- DVDID_DIR_SVCD,
- /* DVDID_DIR_CDI, */
- /* DVDID_DIR_EXT */
- /* DVDID_DIR_KARAOKE, */
- /* DVDID_DIR_CDDA, */
- DVDID_DIR_MPEG2,
- /* DVDID_DIR_SEGMENT, */
-};
-
-enum dvdid_file_e {
- /* DVD */
- DVDID_FILE_VMGI = 1,
- DVDID_FILE_VTS01I,
- /* VCD */
- DVDID_FILE_INFO_VCD,
- DVDID_FILE_ENTRIES_VCD,
- /* SVCD */
- DVDID_FILE_INFO_SVD,
- DVDID_FILE_ENTRIES_SVD,
- DVDID_FILE_TRACKS_SVD,
-};
-
-
-typedef struct dvdid_hashinfo_s dvdid_hashinfo_t;
-typedef struct dvdid_fileinfo_s dvdid_fileinfo_t;
-
-typedef enum dvdid_medium_e dvdid_medium_t;
-typedef enum dvdid_dir_e dvdid_dir_t;
-typedef enum dvdid_file_e dvdid_file_t;
-
-
-struct dvdid_fileinfo_s {
- /* Creation time as a Win32 FILETIME */
- uint64_t creation_time;
-
- /* Lowest 32bits of file size (explicitly, the
- value stoted on the physical medium, which is
- not necessarily the value reported by the OS
- for (S)VCDs) */
- uint32_t size;
-
- /* Filename, uppercases, in ASCII */
- char *name;
-};
-
-
-DVDID_API(dvdid_status_t) dvdid_calculate2(uint64_t *discid, const dvdid_hashinfo_t *hi);
-
-/* Create a hashinfo struct. Returns non-zero on error */
-DVDID_API(dvdid_status_t) dvdid_hashinfo_create(dvdid_hashinfo_t **hi);
-
-/* Set/get the media type. Defaults to DVDID_TYPE_DVD for backwards
- compatibility. Set this before adding file info / data. */
-DVDID_API(dvdid_status_t) dvdid_hashinfo_set_medium(dvdid_hashinfo_t *hi, dvdid_medium_t medium);
-DVDID_API(dvdid_medium_t) dvdid_hashinfo_get_medium(const dvdid_hashinfo_t *hi);
-
-/* Add a file to the hashinfo struct. The fileinfo will be copied,
- and memory allocated as appropriate. Returns non-zero on error, in
- which case dvdid_hashinfo_free must be called on the hashinfo struct
- as it's not guaranteed to be useable */
-DVDID_API(dvdid_status_t) dvdid_hashinfo_add_fileinfo(dvdid_hashinfo_t *hi, dvdid_dir_t dir, const dvdid_fileinfo_t *fi);
-
-/* Add the data read from various key files on the medium . This buffer
- will be copied, so does not need to be valid until dvd_hashinfo_free is
- called. Only call this once (per file to be added). */
-/* We need at most the first DVDID_HASHINFO_FILEDATE_MAXSIZE bytes of the file */
-#define DVDID_HASHINFO_FILEDATA_MAXSIZE 0x10000
-DVDID_API(dvdid_status_t) dvdid_hashinfo_add_filedata(dvdid_hashinfo_t *hi, dvdid_file_t file, const uint8_t *buf, size_t size);
-
-/* Having added the necessary files and data, perform any additional init
- work before dvdid_calculate2 gets called */
-DVDID_API(dvdid_status_t) dvdid_hashinfo_init(dvdid_hashinfo_t *hi);
-
-/* Free hashinfo struct one finished with */
-DVDID_API(void) dvdid_hashinfo_free(dvdid_hashinfo_t *hi);
-
-
-/* From previous API, calls dvdid_hashinfo_add_file(hi, DVDID_DIR_VIDEO_TS, fi); */
-DVDID_API(dvdid_status_t) dvdid_hashinfo_addfile(dvdid_hashinfo_t *hi, const dvdid_fileinfo_t *fi);
-
-/* From previous API, calls dvdid_hashinfo_add_data(hi, DVDID_FILE_VMGI, buf, size); */
-#define DVDID_HASHINFO_VXXI_MAXBUF DVDID_HASHINFO_FILEDATA_MAXSIZE
-DVDID_API(dvdid_status_t) dvdid_hashinfo_set_vmgi(dvdid_hashinfo_t *hi, const uint8_t *buf, size_t size);
-
-/* From previous API, calls dvdid_hashinfo_add_data(hi, DVDID_FILE_VTS01I, buf, size); */
-DVDID_API(dvdid_status_t) dvdid_hashinfo_set_vts01i(dvdid_hashinfo_t *hi, const uint8_t *buf, size_t size);
-
-
-#ifdef __cplusplus
-}
-#endif
-
-
-#endif
@@ -1,32 +0,0 @@
-/* $Id: export.h 2781 2009-09-13 11:31:27Z chris $ */
-/* File structure and dll export system derived from FLAC */
-
-#ifndef DVDID__EXPORT_H
-#define DVDID__EXPORT_H
-
-#if defined(DVDID__NO_DLL) || !defined(_MSC_VER)
-
-#define DVDID_API(type) type
-#define DVDID_CALLBACK
-
-#else
-
-#ifdef DVDID_API_EXPORTS
-/* We use a .def file rather than __declspec(dllexport) */
-#define DVDID_API(type) type __stdcall
-#else
-#define DVDID_API(type) __declspec(dllimport) type __stdcall
-#endif
-
-#define DVDID_CALLBACK __stdcall
-
-#endif
-
-/** These #defines will mirror the libtool-based library version number, see
- * http://www.gnu.org/software/libtool/manual.html#Libtool-versioning
- */
-#define DVDID_API_VERSION_CURRENT 0
-#define DVDID_API_VERSION_REVISION 0
-#define DVDID_API_VERSION_AGE 0
-
-#endif
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,41 +0,0 @@
-# libdvdid.la - a libtool library file
-# Generated by ltmain.sh (GNU libtool) 2.2.6
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# The name that we can dlopen(3).
-dlname='libdvdid.0.dylib'
-
-# Names of this library.
-library_names='libdvdid.0.dylib libdvdid.dylib'
-
-# The name of the static archive.
-old_library='libdvdid.a'
-
-# Linker flags that can not go in dependency_libs.
-inherited_linker_flags=' '
-
-# Libraries that this one depends upon.
-dependency_libs=''
-
-# Names of additional weak libraries provided by this library
-weak_library_names=''
-
-# Version information for libdvdid.
-current=1
-age=1
-revision=0
-
-# Is this an already installed library?
-installed=yes
-
-# Should we warn about portability when linking against -modules?
-shouldnotlink=no
-
-# Files to dlopen/dlpreopen
-dlopen=''
-dlpreopen=''
-
-# Directory that this library needs to be installed in:
-libdir='/Users/rogerdpack/mac_dvdid/lib'
@@ -0,0 +1,19 @@
+# comments can go after a # on any line, for example this one.
+"name" => "muppet treasure island",
+
+"mutes" => [
+ "4254.7", "4275.9", "the red gates of he.. are waiting for you...and beg for deliverance from [da..]ation",
+],
+
+"blank_outs" => [
+],
+
+"volume_name" => "MUPPET_TREASURE_ISLAND",
+"disk_unique_id" => "aac1bc79|734cd8e4",
+"dvd_title_track" => "1", # the "show DVD info" button will tell you title lengths (typically longest title is the title track)
+"dvd_title_track_length" => "5977.666", # length, on the DVD, of dvd_title_track (use the show DVD info button to get this number).
+# "subtitle_url" => "1234567",
+# "not edited out stuff" => "some...",
+# "closing thoughts" => "only...",
+# In mplayer, the DVD timestamp "resets" to zero for some reason, so you need to specify when if you want to use mplayer DVD realtime playback, or use mencoder -edl to split your file. See http://goo.gl/yMfqX
+"mplayer_dvd_splits" => [],

0 comments on commit 85eb897

Please sign in to comment.