added samples

This commit is contained in:
Sami Salkosuo 2020-04-22 11:05:46 +03:00
parent 7f5090a13e
commit b1df41c8b0
2 changed files with 160 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{
"totalfiles": 5,
"description": "Extracted image files and URLs to download them. By default, downloading image also deletes the image from server. Note that port 3000 in the URL may not be the same as the real port, especially if server is running on Docker/Kubernetes.",
"files": [
{
"name": "ba0f565c-0001.png",
"url": "http://127.0.0.1:3000/video/extract/download/ba0f565c-0001.png"
},
{
"name": "ba0f565c-0002.png",
"url": "http://127.0.0.1:3000/video/extract/download/ba0f565c-0002.png"
},
{
"name": "ba0f565c-0003.png",
"url": "http://127.0.0.1:3000/video/extract/download/ba0f565c-0003.png"
},
{
"name": "ba0f565c-0004.png",
"url": "http://127.0.0.1:3000/video/extract/download/ba0f565c-0004.png"
},
{
"name": "ba0f565c-0005.png",
"url": "http://127.0.0.1:3000/video/extract/download/ba0f565c-0005.png"
}
]
}

133
samples/probe_metadata.json Normal file
View File

@ -0,0 +1,133 @@
{
"streams": [
{
"index": 0,
"codec_name": "mpeg4",
"codec_long_name": "unknown",
"profile": 0,
"codec_type": "video",
"codec_time_base": "1001/30000",
"codec_tag_string": "mp4v",
"codec_tag": "0x7634706d",
"width": 1920,
"height": 1080,
"coded_width": 1920,
"coded_height": 1080,
"has_b_frames": 0,
"sample_aspect_ratio": "1:1",
"display_aspect_ratio": "16:9",
"pix_fmt": "yuv420p",
"level": 1,
"color_range": "unknown",
"color_space": "unknown",
"color_transfer": "unknown",
"color_primaries": "unknown",
"chroma_location": "left",
"field_order": "unknown",
"timecode": "N/A",
"refs": 1,
"quarter_sample": "false",
"divx_packed": "false",
"id": "N/A",
"r_frame_rate": "30000/1001",
"avg_frame_rate": "30000/1001",
"time_base": "1/30000",
"start_pts": 0,
"start_time": 0,
"duration_ts": 1798797,
"duration": 59.9599,
"bit_rate": 1775911,
"max_bit_rate": 1775911,
"bits_per_raw_sample": "N/A",
"nb_frames": 1797,
"nb_read_frames": "N/A",
"nb_read_packets": "N/A",
"tags": {
"language": "eng",
"handler_name": "L-SMASH Video Handler",
"encoder": "Lavc58.47.103 mpeg4"
},
"disposition": {
"default": 1,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0,
"timed_thumbnails": 0
}
},
{
"index": 1,
"codec_name": "aac",
"codec_long_name": "unknown",
"profile": 1,
"codec_type": "audio",
"codec_time_base": "1/44100",
"codec_tag_string": "mp4a",
"codec_tag": "0x6134706d",
"sample_fmt": "fltp",
"sample_rate": 44100,
"channels": 2,
"channel_layout": "stereo",
"bits_per_sample": 0,
"id": "N/A",
"r_frame_rate": "0/0",
"avg_frame_rate": "0/0",
"time_base": "1/44100",
"start_pts": 0,
"start_time": 0,
"duration_ts": 2647411,
"duration": 60.031995,
"bit_rate": 2092,
"max_bit_rate": 128000,
"bits_per_raw_sample": "N/A",
"nb_frames": 2587,
"nb_read_frames": "N/A",
"nb_read_packets": "N/A",
"tags": {
"language": "eng",
"handler_name": "L-SMASH Audio Handler"
},
"disposition": {
"default": 1,
"dub": 0,
"original": 0,
"comment": 0,
"lyrics": 0,
"karaoke": 0,
"forced": 0,
"hearing_impaired": 0,
"visual_impaired": 0,
"clean_effects": 0,
"attached_pic": 0,
"timed_thumbnails": 0
}
}
],
"format": {
"filename": "/tmp/5f69ae62-video_2.mov",
"nb_streams": 2,
"nb_programs": 0,
"format_name": "mov,mp4,m4a,3gp,3g2,mj2",
"format_long_name": "unknown",
"start_time": 0,
"duration": 60.056,
"size": 13379040,
"bit_rate": 1782208,
"probe_score": 100,
"tags": {
"major_brand": "qt ",
"minor_version": "512",
"compatible_brands": "qt ",
"encoder": "Lavf58.26.101"
}
},
"chapters": []
}