Skip to content

Instantly share code, notes, and snippets.

@jpadilla
Created January 25, 2017 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpadilla/8d81d17a8a932589188fd520d55413fa to your computer and use it in GitHub Desktop.
Save jpadilla/8d81d17a8a932589188fd520d55413fa to your computer and use it in GitHub Desktop.
{
"id": "8aeadf9b-e091-4210-ac1c-6ef14bd99a76",
"url": "https://api.filepreviews.io/v2/previews/8aeadf9b-e091-4210-ac1c-6ef14bd99a76/",
"status": "success",
"preview": {
"resized": false,
"original_size": {
"width": "640",
"height": "360"
},
"url": "https://s3.amazonaws.com/demo.filepreviews.io/a864be9dbc40d21ca66fdeaf3d5a58dfa803f4ef79d8f89712b9cdb3a849b9fe/8aeadf9b-e091-4210-ac1c-6ef14bd99a76_original-1.png",
"page": 1,
"size": {
"width": "640",
"height": "360"
},
"requested_size": "original"
},
"thumbnails": [{
"resized": false,
"original_size": {
"width": "640",
"height": "360"
},
"url": "https://s3.amazonaws.com/demo.filepreviews.io/a864be9dbc40d21ca66fdeaf3d5a58dfa803f4ef79d8f89712b9cdb3a849b9fe/8aeadf9b-e091-4210-ac1c-6ef14bd99a76_original-1.png",
"page": 1,
"size": {
"width": "640",
"height": "360"
},
"requested_size": "original"
}, {
"resized": false,
"original_size": {
"width": "640",
"height": "360"
},
"url": "https://s3.amazonaws.com/demo.filepreviews.io/a864be9dbc40d21ca66fdeaf3d5a58dfa803f4ef79d8f89712b9cdb3a849b9fe/8aeadf9b-e091-4210-ac1c-6ef14bd99a76_original-2.png",
"page": 2,
"size": {
"width": "640",
"height": "360"
},
"requested_size": "original"
}, {
"resized": false,
"original_size": {
"width": "640",
"height": "360"
},
"url": "https://s3.amazonaws.com/demo.filepreviews.io/a864be9dbc40d21ca66fdeaf3d5a58dfa803f4ef79d8f89712b9cdb3a849b9fe/8aeadf9b-e091-4210-ac1c-6ef14bd99a76_original-3.png",
"page": 3,
"size": {
"width": "640",
"height": "360"
},
"requested_size": "original"
}, {
"resized": false,
"original_size": {
"width": "640",
"height": "360"
},
"url": "https://s3.amazonaws.com/demo.filepreviews.io/a864be9dbc40d21ca66fdeaf3d5a58dfa803f4ef79d8f89712b9cdb3a849b9fe/8aeadf9b-e091-4210-ac1c-6ef14bd99a76_original-4.png",
"page": 4,
"size": {
"width": "640",
"height": "360"
},
"requested_size": "original"
}, {
"resized": false,
"original_size": {
"width": "640",
"height": "360"
},
"url": "https://s3.amazonaws.com/demo.filepreviews.io/a864be9dbc40d21ca66fdeaf3d5a58dfa803f4ef79d8f89712b9cdb3a849b9fe/8aeadf9b-e091-4210-ac1c-6ef14bd99a76_original-5.png",
"page": 5,
"size": {
"width": "640",
"height": "360"
},
"requested_size": "original"
}],
"original_file": {
"mimetype": "video/mp4",
"encoding": "binary",
"extension": "m4v",
"type": "video",
"size": 2595533,
"name": "video",
"metadata": {
"multimedia": {
"format": {
"start_time": "-0.017007",
"filename": "/tmp/tmpgApwVV/8aeadf9b-e091-4210-ac1c-6ef14bd99a76.m4v",
"nb_streams": 2,
"tags": {
"compatible_brands": "M4V M4A mp42isom",
"encoder": "Lavf55.45.100",
"creation_time": "2015-10-21T20:32:05.000000Z",
"comment": "license:http://creativecommons.org/licenses/by/3.0/us/",
"major_brand": "M4V ",
"minor_version": "1",
"title": "Elephants Dream - https://archive.org/details/ElephantsDream"
},
"format_long_name": "QuickTime / MOV",
"format_name": "mov,mp4,m4a,3gp,3g2,mj2",
"nb_programs": 0,
"size": "2595533",
"duration": "24.323486",
"bit_rate": "853671",
"probe_score": 100
},
"streams": [{
"tags": {
"handler_name": "Core Media Audio",
"language": "und",
"creation_time": "2015-10-21T20:32:05.000000Z"
},
"max_bit_rate": "128078",
"disposition": {
"original": 0,
"clean_effects": 0,
"lyrics": 0,
"karaoke": 0,
"dub": 0,
"visual_impaired": 0,
"hearing_impaired": 0,
"forced": 0,
"default": 1,
"timed_thumbnails": 0,
"comment": 0,
"attached_pic": 0
},
"sample_rate": "44100",
"channels": 2,
"codec_name": "aac",
"bit_rate": "128292",
"codec_long_name": "AAC (Advanced Audio Coding)",
"codec_type": "audio",
"sample_fmt": "fltp",
"profile": "LC",
"bits_per_sample": 0,
"duration": "24.323401",
"start_pts": -750,
"avg_frame_rate": "0/0",
"r_frame_rate": "0/0",
"time_base": "1/44100",
"index": 0,
"codec_tag": "0x6134706d",
"start_time": "-0.017007",
"duration_ts": 1072662,
"codec_time_base": "1/44100",
"channel_layout": "stereo",
"nb_frames": "1052",
"codec_tag_string": "mp4a"
}, {
"tags": {
"handler_name": "Core Media Video",
"language": "und",
"creation_time": "2015-10-21T20:32:05.000000Z"
},
"disposition": {
"original": 0,
"clean_effects": 0,
"lyrics": 0,
"karaoke": 0,
"dub": 0,
"visual_impaired": 0,
"hearing_impaired": 0,
"forced": 0,
"default": 1,
"timed_thumbnails": 0,
"comment": 0,
"attached_pic": 0
},
"codec_name": "h264",
"bit_rate": "717289",
"width": 640,
"has_b_frames": 0,
"level": 30,
"codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
"bits_per_raw_sample": "8",
"codec_type": "video",
"profile": "Constrained Baseline",
"duration": "24.323486",
"start_pts": 0,
"avg_frame_rate": "24/1",
"r_frame_rate": "24/1",
"height": 360,
"time_base": "1/12288",
"coded_width": 640,
"pix_fmt": "yuv420p",
"index": 1,
"codec_tag": "0x31637661",
"display_aspect_ratio": "0:1",
"start_time": "0.000000",
"sample_aspect_ratio": "0:1",
"chroma_location": "left",
"is_avc": "true",
"duration_ts": 298887,
"coded_height": 360,
"refs": 1,
"codec_time_base": "1/48",
"nal_length_size": "4",
"nb_frames": "586",
"codec_tag_string": "avc1"
}]
}
},
"total_pages": 5
},
"user_data": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment