By default enable Use Camera Timestamps
parent
cb5a170aa2
commit
cb279ef400
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue