By default enable Use Camera Timestamps

install-with-shinobicctv-user-instead-of-root
Moe 2020-08-14 10:28:40 -07:00
parent cb5a170aa2
commit cb279ef400
1 changed files with 1 additions and 1 deletions

View File

@ -424,7 +424,7 @@ module.exports = function(s,config,lang,onFinish){
x.hwaccel = ''
x.cust_input = ''
//wallclock fix for strangely long, single frame videos
if(e.details.wall_clock_timestamp_ignore !== '1' && e.type === 'h264' && x.cust_input.indexOf('-use_wallclock_as_timestamps 1') === -1){x.cust_input+=' -use_wallclock_as_timestamps 1';}
if((config.wallClockTimestampAsDefault || e.details.wall_clock_timestamp_ignore !== '1') && e.type === 'h264' && x.cust_input.indexOf('-use_wallclock_as_timestamps 1') === -1){x.cust_input+=' -use_wallclock_as_timestamps 1';}
//input - frame rate (capture rate)
if(e.details.sfps && e.details.sfps!==''){x.input_fps=' -r '+e.details.sfps}else{x.input_fps=''}
//input - analyze duration