File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -69,20 +69,20 @@ package export::ffmpeg::PSP;
6969 my $self = shift ;
7070 my $episode = shift ;
7171 # Force to 4:3 aspect ratio
72- $self -> {' out_aspect' } = 1.3333;
72+ $self -> {' out_aspect' } = 1.3333;
7373 $self -> {' aspect_stretched' } = 1;
7474 # PAL or NTSC?
7575 my $standard = ($episode -> {' finfo' }{' fps' } =~ / ^2(?:5|4\. 9)/ ) ? ' PAL' : ' NTSC' ;
76- $self -> {' width' } = 320;
77- $self -> {' height' } = ($standard eq ' PAL' ) ? ' 288' : ' 240' ;
78- $self -> {' out_fps' } = ($standard eq ' PAL' ) ? 25 : 29.97;
79- # Build the transcode string
76+ $self -> {' width' } = 320;
77+ $self -> {' height' } = ($standard eq ' PAL' ) ? ' 288' : ' 240' ;
78+ $self -> {' out_fps' } = ($standard eq ' PAL' ) ? 25 : 29.97;
79+ # Build the ffmpeg string
8080 my $safe_title = shell_escape($episode -> {' show_name' }." - " .$episode -> {' title' });
81- $self -> {' ffmpeg_xtra' } = " -b 768"
82- ." -ab 32 -ar 24000 -acodec aac"
81+ $self -> {' ffmpeg_xtra' } = ' -b 768'
82+ .' -ab 32 -ar 24000 -acodec aac'
8383 ." -bitexact -f psp -title $safe_title " ;
8484 # Execute the parent method
85- $self -> SUPER::export($episode , " .mp4" );
85+ $self -> SUPER::export($episode , ' .mp4' );
8686 }
8787
88881; # return true
You can’t perform that action at this time.
0 commit comments