Ticket #2842: patch

File patch, 1.3 KB (added by dhighley@…, 17 years ago)

svn diff patch file

  • DVD.pm

     
    4444        $self->init_transcode();
    4545
    4646    # 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.';
    4949
    5050    # Any errors?  disable this function
    5151        $self->{'enabled'} = 0 if ($self->{'errors'} && @{$self->{'errors'}} > 0);
     
    146146    # Execute the parent method
    147147        $self->SUPER::export($episode, ".$$");
    148148    # 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"));
    153153        system($command);
    154154    }
    155155