hang on preview [PATCH]

"John Goulah" <[email protected]>
Newsgroups gmane.comp.video.dvdrip.user
Message-ID <[email protected]>
I sent another thread about this, so maybe nobody is interested in this, but
since it helps me I figured I'd post it.   I thought I had seen others with
this problem where the commands that grab preview images hang unexpectedly.
Turning to the transcode list, it appears that tcdemux does hang
unexpectedly and the solution is to use something other than vob (such as
mpeg) in the -x option to transcode.   This appears to fix that problem, but
the avi creation (transcode tab) then fails because it seems to want "-x
vob". Not sure if this works for all cases, but seemed to fix the problem.

Thanks,
John
dvdrip-0.98.7-patch.txt (text/plain, 886 B)
diff -urN dvdrip-0.98.7/lib/Video/DVDRip/Title.pm dvdrip-0.98.7.patched/lib/Video/DVDRip/Title.pm
--- dvdrip-0.98.7/lib/Video/DVDRip/Title.pm	2007-08-05 12:59:15.000000000 -0400
+++ dvdrip-0.98.7.patched/lib/Video/DVDRip/Title.pm	2007-08-10 23:17:29.000000000 -0400
@@ -787,7 +787,11 @@
     my ( $input_filter, $need_title );
 
     if ( $mode eq 'rip' ) {
-        $input_filter = "vob";
+		if (defined @par{'avi'}) {
+			$input_filter = "vob";
+		} else {
+			$input_filter = "mpeg2";
+		}
         $need_title   = 0;
 
     }
@@ -2237,7 +2241,7 @@
     $audio_channel = -1 if $no_audio;
 
     my $source_options
-        = $self->data_source_options( audio_channel => $audio_channel );
+        = $self->data_source_options( audio_channel => $audio_channel, avi => 1 );
 
     my ($audio_info);
 
Binary files dvdrip-0.98.7/.README.swp and dvdrip-0.98.7.patched/.README.swp differ
dvdrip-CVS-patch.txt (text/plain, 5 KB)
diff -urN dvdrip/CVS/Entries dvdrip.patched/CVS/Entries
--- dvdrip/CVS/Entries	2007-08-10 23:36:29.000000000 -0400
+++ dvdrip.patched/CVS/Entries	2007-08-10 23:29:26.000000000 -0400
@@ -12,4 +12,10 @@
 /devel-env.sh/1.3/Sat Jun 17 13:03:53 2006//
 /test.pl/1.4/Sun Oct  9 12:38:46 2005//
 /update_homepage.sh/1.14/Sat Apr 23 14:40:15 2005//
-D
+D/bin////
+D/l10n////
+D/lib////
+D/patches////
+D/rpmspecs////
+D/src////
+D/tools////
diff -urN dvdrip/CVS/Entries.Log dvdrip.patched/CVS/Entries.Log
--- dvdrip/CVS/Entries.Log	2007-08-10 23:36:30.000000000 -0400
+++ dvdrip.patched/CVS/Entries.Log	1969-12-31 19:00:00.000000000 -0500
@@ -1,7 +0,0 @@
-A D/bin////
-A D/l10n////
-A D/lib////
-A D/patches////
-A D/rpmspecs////
-A D/src////
-A D/tools////
diff -urN dvdrip/lib/CVS/Entries dvdrip.patched/lib/CVS/Entries
--- dvdrip/lib/CVS/Entries	2007-08-10 23:36:29.000000000 -0400
+++ dvdrip.patched/lib/CVS/Entries	2007-08-10 23:29:26.000000000 -0400
@@ -1,2 +1,2 @@
 /.cvsignore/1.1/Sun Oct  9 12:40:16 2005//
-D
+D/Video////
diff -urN dvdrip/lib/CVS/Entries.Log dvdrip.patched/lib/CVS/Entries.Log
--- dvdrip/lib/CVS/Entries.Log	2007-08-10 23:36:29.000000000 -0400
+++ dvdrip.patched/lib/CVS/Entries.Log	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-A D/Video////
diff -urN dvdrip/lib/Video/CVS/Entries dvdrip.patched/lib/Video/CVS/Entries
--- dvdrip/lib/Video/CVS/Entries	2007-08-10 23:36:29.000000000 -0400
+++ dvdrip.patched/lib/Video/CVS/Entries	2007-08-10 23:29:26.000000000 -0400
@@ -1,2 +1,2 @@
 /DVDRip.pm/1.152/Fri Aug 25 16:49:45 2006//
-D
+D/DVDRip////
diff -urN dvdrip/lib/Video/CVS/Entries.Log dvdrip.patched/lib/Video/CVS/Entries.Log
--- dvdrip/lib/Video/CVS/Entries.Log	2007-08-10 23:36:29.000000000 -0400
+++ dvdrip.patched/lib/Video/CVS/Entries.Log	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-A D/DVDRip////
diff -urN dvdrip/lib/Video/DVDRip/Cluster/CVS/Entries dvdrip.patched/lib/Video/DVDRip/Cluster/CVS/Entries
--- dvdrip/lib/Video/DVDRip/Cluster/CVS/Entries	2007-08-10 23:36:30.000000000 -0400
+++ dvdrip.patched/lib/Video/DVDRip/Cluster/CVS/Entries	2007-08-10 23:29:26.000000000 -0400
@@ -8,4 +8,4 @@
 /Scheduler.pm/1.6/Wed Aug 16 19:34:38 2006//
 /Title.pm/1.56/Wed Aug 16 19:34:38 2006//
 /Webserver.pm/1.9/Wed Aug 16 19:34:38 2006//
-D
+D/Job////
diff -urN dvdrip/lib/Video/DVDRip/Cluster/CVS/Entries.Log dvdrip.patched/lib/Video/DVDRip/Cluster/CVS/Entries.Log
--- dvdrip/lib/Video/DVDRip/Cluster/CVS/Entries.Log	2007-08-10 23:36:30.000000000 -0400
+++ dvdrip.patched/lib/Video/DVDRip/Cluster/CVS/Entries.Log	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-A D/Job////
diff -urN dvdrip/lib/Video/DVDRip/CVS/Entries dvdrip.patched/lib/Video/DVDRip/CVS/Entries
--- dvdrip/lib/Video/DVDRip/CVS/Entries	2007-08-10 23:36:30.000000000 -0400
+++ dvdrip.patched/lib/Video/DVDRip/CVS/Entries	2007-08-10 23:29:26.000000000 -0400
@@ -25,4 +25,10 @@
 /splash.es.png/1.7/Fri Aug 25 16:50:31 2006//
 /splash.fr.png/1.5/Fri Aug 25 16:50:31 2006//
 /translators.txt/1.1/Mon Mar 27 20:54:11 2006//
-D
+D/CPAN////
+D/Cluster////
+D/GUI////
+D/Job////
+D/RPC////
+D/Task////
+D/Term////
diff -urN dvdrip/lib/Video/DVDRip/CVS/Entries.Log dvdrip.patched/lib/Video/DVDRip/CVS/Entries.Log
--- dvdrip/lib/Video/DVDRip/CVS/Entries.Log	2007-08-10 23:36:30.000000000 -0400
+++ dvdrip.patched/lib/Video/DVDRip/CVS/Entries.Log	1969-12-31 19:00:00.000000000 -0500
@@ -1,7 +0,0 @@
-A D/CPAN////
-A D/Cluster////
-A D/GUI////
-A D/Job////
-A D/RPC////
-A D/Task////
-A D/Term////
diff -urN dvdrip/lib/Video/DVDRip/GUI/CVS/Entries dvdrip.patched/lib/Video/DVDRip/GUI/CVS/Entries
--- dvdrip/lib/Video/DVDRip/GUI/CVS/Entries	2007-08-10 23:36:30.000000000 -0400
+++ dvdrip.patched/lib/Video/DVDRip/GUI/CVS/Entries	2007-08-10 23:29:26.000000000 -0400
@@ -12,4 +12,8 @@
 /Progress.pm/1.38/Wed Aug 16 19:34:38 2006//
 /Rules.pm/1.1/Sat Nov 25 08:01:28 2006//
 /ZoomCalculator.pm/1.21/Wed Aug 16 19:34:38 2006//
-D
+D/Cluster////
+D/FormFactory////
+D/Icons////
+D/Project////
+D/Setting////
diff -urN dvdrip/lib/Video/DVDRip/GUI/CVS/Entries.Log dvdrip.patched/lib/Video/DVDRip/GUI/CVS/Entries.Log
--- dvdrip/lib/Video/DVDRip/GUI/CVS/Entries.Log	2007-08-10 23:36:30.000000000 -0400
+++ dvdrip.patched/lib/Video/DVDRip/GUI/CVS/Entries.Log	1969-12-31 19:00:00.000000000 -0500
@@ -1,5 +0,0 @@
-A D/Cluster////
-A D/FormFactory////
-A D/Icons////
-A D/Project////
-A D/Setting////
diff -urN dvdrip/lib/Video/DVDRip/Title.pm dvdrip.patched/lib/Video/DVDRip/Title.pm
--- dvdrip/lib/Video/DVDRip/Title.pm	2006-08-18 17:45:08.000000000 -0400
+++ dvdrip.patched/lib/Video/DVDRip/Title.pm	2007-08-10 23:36:04.000000000 -0400
@@ -779,7 +779,11 @@
     my ( $input_filter, $need_title );
 
     if ( $mode eq 'rip' ) {
-        $input_filter = "vob";
+		if (defined @par{'avi'}) {
+			$input_filter = "vob";
+		} else {
+			$input_filter = "mpeg2";
+		}
         $need_title   = 0;
 
     }
@@ -2229,7 +2233,7 @@
     $audio_channel = -1 if $no_audio;
 
     my $source_options
-        = $self->data_source_options( audio_channel => $audio_channel );
+        = $self->data_source_options( audio_channel => $audio_channel, avi => 1 );
 
     my ($audio_info);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.