Fix tests

This commit is contained in:
Jan Stabenow 2023-02-22 13:03:39 +01:00
parent 3961343446
commit 2f78a621fe
No known key found for this signature in database
GPG Key ID: 9C22DD65A9AAF133

View File

@ -84,10 +84,15 @@ const pullmatrix = {
forceFramerate: true,
framerate: 25,
userAgent: 'foobaz/1',
http_proxy: '',
},
general: {
fflags: ['genpts'],
thread_queue_size: 512,
copyts: false,
start_at_zero: false,
use_wallclock_as_timestamps: false,
avoid_negative_ts: 'auto',
},
},
tests: [],
@ -136,7 +141,7 @@ pullmatrix.tests = [
skills: $skills_ffmpeg5,
input: {
address: 'rtsp://admin:foobar@127.0.0.1/live/stream',
options: ['-fflags', '+genpts', '-thread_queue_size', 512, '-timeout', 5000000, '-rtsp_transport', 'tcp'],
options: ['-fflags', '+genpts', '-thread_queue_size', 512, '-avoid_negative_ts', 'auto', '-timeout', 5000000, '-rtsp_transport', 'tcp'],
},
},
{
@ -145,7 +150,7 @@ pullmatrix.tests = [
skills: $skills_ffmpeg5,
input: {
address: 'rtmp://admin:foobar@127.0.0.1/live/stream',
options: ['-fflags', '+genpts', '-thread_queue_size', 512, '-analyzeduration', '3000000'],
options: ['-fflags', '+genpts', '-thread_queue_size', 512, '-avoid_negative_ts', 'auto', '-analyzeduration', '3000000'],
},
},
{
@ -154,7 +159,7 @@ pullmatrix.tests = [
skills: $skills_ffmpeg5,
input: {
address: 'http://admin:foobar@127.0.0.1/live/stream.m3u8',
options: ['-fflags', '+genpts', '-thread_queue_size', 512, '-analyzeduration', '20000000', '-re', '-r', 25, '-user_agent', 'foobaz/1'],
options: ['-fflags', '+genpts', '-thread_queue_size', 512, '-avoid_negative_ts', 'auto', '-analyzeduration', '20000000', '-re', '-r', 25, '-user_agent', 'foobaz/1'],
},
},
{
@ -163,7 +168,7 @@ pullmatrix.tests = [
skills: $skills_ffmpeg5,
input: {
address: 'srt://127.0.0.1?mode=caller&streamid=foobar',
options: ['-fflags', '+genpts', '-thread_queue_size', 512],
options: ['-fflags', '+genpts', '-thread_queue_size', 512, '-avoid_negative_ts', 'auto'],
},
},
];
@ -296,7 +301,7 @@ pushmatrix.tests = [
config: $config,
input: {
address: 'rtmp://localhost/live/external.stream?token=foobar',
options: ['-fflags', '+genpts', '-thread_queue_size', 512, '-analyzeduration', '3000000'],
options: ['-fflags', '+genpts', '-thread_queue_size', 512, '-avoid_negative_ts', 'auto', '-analyzeduration', '3000000'],
},
},
{
@ -306,7 +311,7 @@ pushmatrix.tests = [
config: $config,
input: {
address: 'srt://localhost?mode=caller&transtype=live&streamid=external,mode:request,token:foobar&passphrase=bazfoobazfoo',
options: ['-fflags', '+genpts', '-thread_queue_size', 512],
options: ['-fflags', '+genpts', '-thread_queue_size', 512, '-avoid_negative_ts', 'auto'],
},
},
];