Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Wikipedia:Reference desk/Archives/Computing/2018 July 9

From Wikipedia, the free encyclopedia
Computing desk
< July 8 << Jun | July | Aug >> Current desk >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


July 9

[edit]

Finding the URL of the video that was the source of a GIF file on Imgur

[edit]

Imgur has a tool called Video to GIF that lets you specify the URL of a video which is then used to create a GIF file that gets posted on Imgur. Can you think of a way, when you find that GIF on Imgur, to retrieve the URL of the original video? Thanks. Basemetal 00:30, 9 July 2018 (UTC)[reply]

If you provide an example animated GIF file, it is trivial to inspect the file to see if any meta-data is included. It is possible that the tool could add the original URL to the meta-data, but it is in no way required. 209.149.113.5 (talk) 14:25, 9 July 2018 (UTC)[reply]
Ok, how do you check that for this file. It specifically says it was made with Video to GIF. Regarding the general question there was a short discussion regarding this on Imgur between September and December 2016, but I couldn't get any specific advice out of it. I doubt taking a screenshot and using a Google image search works in general because I don't think Google records as images every single frame of every video, which would be what's required to make them accessible to an image search. Is there a way to convert the GIF back to a video format and then do a video search? Would that be more likely to work, even though the GIF file would be of course taken from only a few seconds of the video? Basemetal 16:25, 9 July 2018 (UTC)[reply]
The file has no embedded EXIF data. So, it isn't storing anything about who made it or where it came from. I have not seen any dependable video search. Therefore, converting it to a video and using a video search would be pointless at this time. In the future, there will likely be a reasonable video search tool. 209.149.113.5 (talk) 16:33, 9 July 2018 (UTC)[reply]
Did you do that by picking View page source and then searching that for "EXIF"? Basemetal 17:14, 9 July 2018 (UTC)[reply]
No. I downloaded the file and checked the EXIF with imagemagick. 209.149.113.5 (talk) 17:18, 9 July 2018 (UTC)[reply]
That EXIF data is in the GIF file, not the HTML code of the page that contains that GIF image? Does that "EXIF" have anything to do with Exif? Basemetal 18:29, 9 July 2018 (UTC)[reply]
FYI that's most likely by design, as imgur has a policy of stripping EXIF data from all uploads to their site. Random character sequence (talk) 17:45, 9 July 2018 (UTC)[reply]

[1]. DroneB (talk) 18:05, 9 July 2018 (UTC)[reply]

Thanks. This YouTube video can't be the source of that GIF on Imgur. Much lower resolution. This said, I'm still curious how you located it. Basemetal 18:34, 9 July 2018 (UTC)[reply]
Maybe by searching for 'cyclist riding down hill hit by car' or something similar? It's the third result in Google Videos for me and was the obvious thing to do (from the original video, before looking at this link) when looking for other copies. Nil Einne (talk) 13:50, 10 July 2018 (UTC)[reply]
Found another copy on Youtube higher quality and older but doubt it's original [2] although could have been source for above I dunno didn't try to compare them. Search was 'riding down hill hit by car'. From my experience these sort of videos especially when they are old enough can be very hard to find the source of, it may not even still exist. They may have been uploaded to obscure sites, which may not even exist, and may not even have been uploaded to streaming sites originally. (New ones have similar problems with Facebook and other sites. Especially if they are from countries where other sites are common.) Nil Einne (talk) 14:12, 10 July 2018 (UTC)[reply]
Don't know how long this will work, but a search for roughly the first frame [3] associates it with 'didn't see it coming' and finds 50 million versions of the same thing [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]. (Well I only looked at the first two pages, and didn't link 2 or 3 where I didn't see the image after opening the page.) If the first link no longer works you could easily repeat it, or just use this similar search [15] for this image URL https://static.fjcdn.com/gifs/Who+didnt+see+that+coming+description_6953bb_4959916.gif . TinEye is similar. Note that I'm fairly sure this will primarily find 'imagised' versions of this video, not video versions. If there were a good way to easily find similar looking videos other than by hunting keyword search, which I don't think there is, you'll probably find a large number of video versions although at least it doesn't seem to be as bad as major viral videos. I probably should have also mentioned before that although the cars look to me like it's probably in the internet timeframe, there is still some chance it wasn't even originally shared via the internet but in some TV show or news. Nil Einne (talk) 14:52, 10 July 2018 (UTC)[reply]
Thanks Nil. The moral of the story is: the Internet is a mess. Imgur marks that GIF specifically as made with Video to GIF. I don't know how reliable that is but if it is, the video source must have still been around 3 days ago as this particular GIF was posted to Imgur about 3 days ago. Of course the video itself must be a lot older. Years maybe. The number of copies around the net that you've unearthed is a clue, the cars (you noted the cars are "within the Internet time frame", clearly if you mean less than 40 years old, then I'd say obviously) and maybe the clothes, etc. Picking up on this, can anyone estimate what year of the car models are or identify the location where this took place? Originally it was basically just an example, but after watching it about 300 times I'm getting curious about the incident itself. Is there a possibility it is fake? Forget about the car that's supposed to hit him or her, but even before that the cyclist was headed straight into a parked car. Would even the biggest moron do that? That looks suspicious. Basemetal 20:15, 10 July 2018 (UTC)[reply]

I suggest uploading the gif to TinEye and seeing if the results help figure out where it came from. 173.228.123.166 (talk) 02:42, 16 July 2018 (UTC)[reply]

java programming

[edit]

write a program that will read 100 students records,group them into males and females and calculate the mean mark for each student group,assume that each student record has the name sex and marks obtained — Preceding unsigned comment added by 105.56.215.138 (talk) 07:23, 9 July 2018 (UTC)[reply]

Please do your own homework.
Welcome to Wikipedia. Your question appears to be a homework question. I apologize if this is a misinterpretation, but it is our aim here not to do people's homework for them, but to merely aid them in doing it themselves. Letting someone else do your homework does not help you learn nearly as much as doing it yourself. Please attempt to solve the problem or answer the question yourself first. If you need help with a specific part of your homework, feel free to tell us where you are stuck and ask for help. If you need help grasping the concept of a problem, by all means let us know.-gadfium 08:19, 9 July 2018 (UTC)[reply]

Done – I wrote such program. Now you write, too. --CiaPan (talk) 20:02, 11 July 2018 (UTC)[reply]