Lines 84-91
Link Here
|
84 |
# Start the transcode command |
84 |
# Start the transcode command |
85 |
$transcode = "$NICE transcode" |
85 |
$transcode = "$NICE transcode" |
86 |
# -V is now the default, but need to keep using it because people are still using an older version of transcode |
86 |
# -V is now the default, but need to keep using it because people are still using an older version of transcode |
87 |
.' -V' # use YV12/I420 instead of RGB, for faster processing |
87 |
.' --progress_meter 1' |
88 |
.' --print_status 16' # Only print status every 16 frames -- prevents buffer-related slowdowns |
88 |
.' --progress_rate 16' # Only print status every 16 frames -- prevents buffer-related slowdowns |
89 |
; |
89 |
; |
90 |
# Take advantage of multiple CPU's? |
90 |
# Take advantage of multiple CPU's? |
91 |
# * This has been disabled because it looks like it causes jerkiness. |
91 |
# * This has been disabled because it looks like it causes jerkiness. |
Lines 240-246
Link Here
|
240 |
} |
240 |
} |
241 |
# Figure out the input files |
241 |
# Figure out the input files |
242 |
$transcode .= " -i /tmp/fifodir_$$/vidout -p /tmp/fifodir_$$/audout" |
242 |
$transcode .= " -i /tmp/fifodir_$$/vidout -p /tmp/fifodir_$$/audout" |
243 |
.' -H 0 -x raw' |
243 |
.' -H 0 -x raw,raw' |
244 |
.' -g '.join('x', $episode->{'finfo'}{'width'}, $episode->{'finfo'}{'height'}) |
244 |
.' -g '.join('x', $episode->{'finfo'}{'width'}, $episode->{'finfo'}{'height'}) |
245 |
.' -f '.$episode->{'finfo'}{'fps'}.',' |
245 |
.' -f '.$episode->{'finfo'}{'fps'}.',' |
246 |
. (($episode->{'finfo'}{'fps'} =~ /^2(?:5|4\.9)/) ? 3 : 4) |
246 |
. (($episode->{'finfo'}{'fps'} =~ /^2(?:5|4\.9)/) ? 3 : 4) |