Ticket #2842: patch
File patch, 1.3 KB (added by , 17 years ago) |
---|
-
DVD.pm
44 44 $self->init_transcode(); 45 45 46 46 # Make sure that we have an mplexer 47 find_program(' tcmplex')48 or push @{$self->{'errors'}}, 'You need tcmplex to export a dvd.';47 find_program('mplex') 48 or push @{$self->{'errors'}}, 'You need mplex to export a dvd.'; 49 49 50 50 # Any errors? disable this function 51 51 $self->{'enabled'} = 0 if ($self->{'errors'} && @{$self->{'errors'}} > 0); … … 146 146 # Execute the parent method 147 147 $self->SUPER::export($episode, ".$$"); 148 148 # Multiplex the streams 149 my $command = "$NICE tcmplex -m d $ntsc"150 .' - i '.shell_escape($self->get_outfile($episode, ".$$.m2v"))151 .' -p '.shell_escape($self->get_outfile($episode, ".$$.mpa"))152 .' -o '.shell_escape($self->get_outfile($episode, '.mpg'));149 my $command = "$NICE mplex -f 8 -V" 150 .' -o '.shell_escape($self->get_outfile($episode, '.mpg')) 151 .' '.shell_escape($self->get_outfile($episode, ".$$.m2v")) 152 .' '.shell_escape($self->get_outfile($episode, ".$$.mpa")); 153 153 system($command); 154 154 } 155 155