49 lines
901 B
JSON
49 lines
901 B
JSON
[
|
|||
|
|
{
|
||
|
|
"method": "sample_trim_continuous_pts",
|
||
|
|
"command": [
|
||
|
|
"ffmpeg",
|
||
|
|
"-v",
|
||
|
|
"error",
|
||
|
|
"-i",
|
||
|
|
"/tmp/findword-ambience-sources/cafe.ogg",
|
||
|
|
"-af",
|
||
|
|
"aresample=24000,atrim=start_sample=4320000:end_sample=4608000,asetpts=N/SR/TB",
|
||
|
|
"-t",
|
||
|
|
"12",
|
||
|
|
"-ar",
|
||
|
|
"24000",
|
||
|
|
"-ac",
|
||
|
|
"1",
|
||
|
|
"-f",
|
||
|
|
"f32le",
|
||
|
|
"pipe:1"
|
||
|
|
],
|
||
|
|
"frames": 288000,
|
||
|
|
"exitCode": 0,
|
||
|
|
"stderr": ""
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"method": "sample_trim_no_duration_limit",
|
||
|
|
"command": [
|
||
|
|
"ffmpeg",
|
||
|
|
"-v",
|
||
|
|
"error",
|
||
|
|
"-i",
|
||
|
|
"/tmp/findword-ambience-sources/cafe.ogg",
|
||
|
|
"-af",
|
||
|
|
"aresample=24000,atrim=start_sample=4320000:end_sample=4608000,asetpts=PTS-STARTPTS",
|
||
|
|
"-ar",
|
||
|
|
"24000",
|
||
|
|
"-ac",
|
||
|
|
"1",
|
||
|
|
"-f",
|
||
|
|
"f32le",
|
||
|
|
"pipe:1"
|
||
|
|
],
|
||
|
|
"frames": 288000,
|
||
|
|
"exitCode": 0,
|
||
|
|
"stderr": ""
|
||
|
|
}
|
||
|
|
]
|