1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-03 17:49:16 +02:00

Update Typescript type definitions

This commit is contained in:
Jeff Schiller 2023-03-11 08:50:22 -08:00
parent a6b32c25bf
commit fc0381b4d2
9 changed files with 16 additions and 38 deletions

View file

@ -17,7 +17,8 @@
* @property {string} r_frame_rate Like "60000/1001"
*/
/**
* @typedef ProbeFormat ffprobe -show_format -print_format json. Only the fields we care about.
* @typedef ProbeFormat Only the fields we care about from the following command:
* ffprobe -show_format -show_streams -v quiet -print_format json -i file.mp4
* @property {string} filename
* @property {string} format_name
* @property {string} duration Number of seconds, as a string like "473.506367".
@ -69,7 +70,8 @@ export type ProbeStream = {
r_frame_rate: string;
};
/**
* ffprobe -show_format -print_format json. Only the fields we care about.
* Only the fields we care about from the following command:
* ffprobe -show_format -show_streams -v quiet -print_format json -i file.mp4
*/
export type ProbeFormat = {
filename: string;