Jump to content

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

Wikipedia:Reference desk/Archives/Computing/2012 January 29

From Wikipedia, the free encyclopedia
Computing desk
< January 28 << Dec | January | Feb >> January 30 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


January 29

[edit]

sending bin like a txt

[edit]

It's pretty obvious you cannot send binary files.. you can send source codes, batch files, HTml files, svg files, all of them like a text, but you cannot send exe, png, coolstuff, etc to a chat for example. so there is anyway of transforming a bin to txt and retransforming that txt to bin format? 190.158.184.192 (talk) 05:10, 29 January 2012 (UTC)[reply]

UUencode is one way of converting binary to text RudolfRed (talk) 05:18, 29 January 2012 (UTC)[reply]
Click here. Von Restorff (talk) 10:20, 29 January 2012 (UTC)[reply]

high speed video

[edit]

So, working in avidemux, I have a long section of film that I want to run at about 10 times the original speed, because it is long and boring, but if I just set the frame rate to 300 times a second, it will still be a huge file, take up a lot of space and memory and a lot of effort to run every time. Is there any way to instead remove 9 of every 10 frames without having to go through and cut them all by hand? Or, if I save it under a different format, say a .MOV or .wmv, or anything else, might that trim it down to an appropriate file size somehow?

148.197.81.179 (talk) 18:48, 29 January 2012 (UTC)[reply]

try to use VLC (google it). open it and from both sides of the playing-line, there are speeding buttons.
See [1] and for other ways of doing it[2]. --Colapeninsula (talk) 11:15, 30 January 2012 (UTC)[reply]

Speeding a Media file but also saving it speeded

[edit]

it's not a problem to hasten audio and video files, we all know that. but, how could i also (edit) hasten a file and saving it in it's new playing-speed? thanks. — Preceding unsigned comment added by 79.182.45.12 (talk) 19:15, 29 January 2012 (UTC)[reply]

The free-software utility, ffmpeg, provides support through libavfilter. Depending on what you want to do, you will probably need to use the aresample to perform audio resampling and movie with adjusted frame read parameters. If you're seeking to resample the video frames (e.g., a digital 3:2 pulldown or something to that effect), you'll have to get pretty sophisticated. If you're not already familiar with the way that modern compressed digital video is stored (e.g., using the group of pictures, as opposed to the video frame, as the image data primitive), you probably need to do some homework first (or else your final output will look crummy - you probably don't want to use p or b frames to generate your fast-forwarded version - it really depends on the quality and type of your source video). Alternatively, you can convert your video to uncompressed raw video streams, so that you may work on a frame-by-frame basis. Then, use the commands I linked above to select individual frames of interest, and re-encode to your favorite compressed video type. Nimur (talk) 19:56, 29 January 2012 (UTC)[reply]

Frames to gif

[edit]

Is there a way to get all the frames to a video, or to a gif, Google only likes showing results gif to frames.. but now i only have images. --190.158.184.192 (talk) 21:51, 29 January 2012 (UTC)[reply]

We need more info. What format are your "frames" ? I assume you want to make them into an animated GIF ? ImageMagick can convert most formats of frames into animated GIFs. StuRat (talk) 22:06, 29 January 2012 (UTC)[reply]
They are png, is a folder with 250 Png Images. --190.158.184.192 (talk) 22:18, 29 January 2012 (UTC) well I cannot understand imagemagick I really don't work with console, and even this wouldn't help lol, but thanks i guess --190.158.184.192 (talk) 22:41, 29 January 2012 (UTC)[reply]
Try a command like this:
convert -loop 999999 -delay 100 *.png FILE_NAME.gif
This will convert all PNG files in the current directory into an animated GIF, in the order in which they list on a DIR command. The -loop flag tells it to repeat basically forever, and the -delay 100 flag means it will have a very small delay between each frame (just long enough to see it). You do, of course, need to download ImageMagick first, to get the convert command. You will also need to do commands to change to that directory first and then check the contents of that directory. Something like:
cd \Program Files\myPNGS 
dir
(I am assuming you are on a Windows PC.) StuRat (talk) 22:50, 29 January 2012 (UTC)[reply]
Use -loop 0 to loop infinite times (one might think that this means "don't loop", but not using the -loop command at all means that). 90.202.164.239 (talk) 23:01, 29 January 2012 (UTC)[reply]

After trying it lots of times I only get.

Invalid Parameter - 999999 

--190.158.184.192 (talk) 23:31, 29 January 2012 (UTC)PS: Nevermind! looks that the command i was using was for converting FAT To NTFS ¬¬ --190.158.184.192 (talk) 23:35, 29 January 2012 (UTC)[reply]

OMFG IT WORKED! YAY!!!!!!! Thanks1 lots! --190.158.184.192 (talk) 23:48, 29 January 2012 (UTC) (ok i don't think thanks is allowed in wikipedia policies hmm :( lol )[reply]
Glad it worked. Thanks are allowed, and you're welcome. I will mark this question resolved. I should also mention some limitations of animated GIFs: They can only have 256 colors per frame, and can get quite large.StuRat (talk) 02:46, 30 January 2012 (UTC)[reply]
Resolved

Home networks and printers

[edit]

Add my name to the list of people who don't understand ANYTHING about Windows networking :-)

In this case, my first question is, "Is this even possible?", and only if so, do we follow up with "OK, How?" ...

1: I have a wireless router, but my primary computer (WinXP) is cabled to it. 2: My printer is connected (USB) to that computer. 3: My spouse semi-regularly brings home an office laptop (also WinXP), which connects wirelessly to the internet without difficulty. 4: But, can't print.

So, can printing be done from the laptop in this configuration?

  • If yes, how -- what I gotta do?
(Control Panel > Printers > [PrinterName] > Sharing IS set to "Share this printer", with a name. But, can't find that name from the laptop.)
  • (If no, can the printer be cabled to the router somehow? (Doesn't seem likely, no ethernet socket.))

Networking jocks -- step right up! --DaHorsesMouth (talk) 22:08, 29 January 2012 (UTC)[reply]

Ensure that both your printer-computer and your spouse's laptop are in the same workgroup. Usually the default is "WORKGROUP" or "MSHOME". I believe if you right click My Computer and go to properties you can see/adjust the workgroup.
Second, you can also connect to the computer directly and then see if it's sharing correctly. To do that open up a normal folder on your laptop (for instance, double click My Computer), and then enter into the address bar (in some settings it's not displayed... to display the address bar click View then Toolbars, then make sure Address Bar is checked) \\192.168.1.3 where you replace 192.168.1.3 with whatever the IP of your printer-computer is. Alternatively, if you know the name of your printer computer you can use that instead of the IP. So, \\PRINTERMACHINE. When you do that from the laptop hopefully it will display the shared printer. If that doesn't work follow up here and we'll see what else we can check. Shadowjams (talk) 23:19, 29 January 2012 (UTC)[reply]
That's it! Specifically, your second alternative plus a great deal of patience while Find Printer on Network apparently stepped out for some lunch.
Resolved
 – I thank you, my other half thanks you, etc.
--DaHorsesMouth (talk) 02:21, 30 January 2012 (UTC)[reply]