· 6 years ago · Jan 24, 2020, 04:58 PM
1➜ video-cut-tool-back-end git:(master) ✗ npm start
2
3> video-cut-tool-back-end@0.0.1 start /home/gopa/Desktop/VideoCutTool/video-cut-tool-back-end
4> node ./bin/www
5
6OPTIONS /video-cut-tool-back-end/send 204 3.474 ms - 0
7Hit Send
8Your Video Mode is : single
9Your video upload to commons is : false
10You Video Audio Disablity is : false
11Video Rotation : false
12Video Crop : false
13Video trim into multiple videos : false
14Video trim in to single video : true
15Rotate Video : -1
16downloading video https://upload.wikimedia.org/wikipedia/commons/e/e0/1_a%C3%B1o_-_Tiene_personas_preferidas.webm
17null
18downloading success
19starting processing
20trimming
21Trimming success
22mode from trim single
23null [
24 '/home/gopa/Desktop/VideoCutTool/video-cut-tool-back-end/routes/trimmed-video-1579884084851.webm'
25]
26=================== result ==================
27moved to public [
28 '/home/gopa/Desktop/VideoCutTool/video-cut-tool-back-end/public/publicVideo-1579884115734-0.webm'
29]
30POST /video-cut-tool-back-end/send 200 35217.367 ms - 54
31GET /download/public/publicVideo-1579884115734-0.webm 200 6.838 ms - 143202
32GET /video-cut-tool-back-end/login 302 608.085 ms - 0
33{
34 mediawikiId: <MW ID>,
35 username: 'Gopavasanth',
36 mediawikiToken: '<MWT TOKEN>',
37 mediawikiTokenSecret: '<SECRET KEY>'
38}
39GET /video-cut-tool-back-end/auth/mediawiki/callback?oauth_verifier=<VERIFIER>&oauth_token=<TOKEN> 200 2101.514 ms - -
40OPTIONS /video-cut-tool-back-end/send 204 0.307 ms - 0
41Hit Send
42Your Video Mode is : single
43Your video upload to commons is : true
44You Video Audio Disablity is : false
45Video Rotation : false
46Video Crop : false
47Video trim into multiple videos : false
48Video trim in to single video : true
49Rotate Video : -1
50downloading video https://upload.wikimedia.org/wikipedia/commons/e/e0/1_a%C3%B1o_-_Tiene_personas_preferidas.webm
51user token {
52 key: '<KEY>',
53 secret: '<SCRET KEY>'
54}
55parsed content {
56 batchcomplete: '',
57 warnings: {
58 main: {
59 '*': 'A POST request was made without a "Content-Type" header. This does not work reliably.\n' +
60 'Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes. Use [[Special:ApiFeatureUsage]] to see usage of deprecated features by your application.'
61 }
62 },
63 query: {
64 tokens: { csrftoken: '<TOKEN>+\\' }
65 }
66}
67parsed body {
68 upload: {
69 result: 'Success',
70 filename: '1_año_-_Tiene_personas_preferidas_(edited).webm',
71 imageinfo: {
72 timestamp: '2020-01-24T16:42:55Z',
73 user: 'Gopavasanth',
74 userid: 7015538,
75 size: 143202,
76 width: 1280,
77 height: 720,
78 duration: 5.0120000000000005,
79 parsedcomment: 'Testing VideoCutTool',
80 comment: 'Testing VideoCutTool',
81 html: '<div>\n' +
82 '<div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/w/index.php?title=Special:Upload&wpDestFile=1_a%C3%B1o_-_Tiene_personas_preferidas_(edited).webm" class="new" title="File:1 año - Tiene personas preferidas (edited).webm">File:1 año - Tiene personas preferidas (edited).webm</a> <div class="thumbcaption">Existing file</div></div></div>\n' +
83 '<p><span id="wpUploadWarningFileexists">A file with this name already exists; please check <b><a class="mw-selflink selflink">the existing file</a></b> if you are not sure whether you want to change it. Please choose another filename, unless you are uploading a technically improved version of the same file. <br />Do not overwrite an image with a different one of the same topic (see <a href="/wiki/Commons:File_naming" title="Commons:File naming">file naming</a>).</span>\n' +
84 '</p>\n' +
85 '<div style="clear:both;"></div>\n' +
86 '</div>',
87 canonicaltitle: 'File:1 año - Tiene personas preferidas (edited).webm',
88 url: 'https://upload.wikimedia.org/wikipedia/commons/7/71/1_a%C3%B1o_-_Tiene_personas_preferidas_%28edited%29.webm',
89 descriptionurl: 'https://commons.wikimedia.org/wiki/File:1_a%C3%B1o_-_Tiene_personas_preferidas_(edited).webm',
90 sha1: '<SHA1>',
91 metadata: [Array],
92 commonmetadata: [],
93 extmetadata: [Object],
94 mime: 'video/webm',
95 mediatype: 'VIDEO',
96 bitdepth: 0
97 }
98 }
99}
100POST /video-cut-tool-back-end/send 200 4344.845 ms - 5368