Wikipedia:Reference desk/Archives/Computing/2012 June 15

= June 15 =

SAMR Codec Error In VLC Player And Other Players
I was playing the 3gp video file in my pc using VLC and it showed the smar codec error. How can I fix the smar codec error in my vlc player? PLEASE HELP ME!! That video means lot to me....  Delicious Virus !!   ✉  08:34, 15 June 2012 (UTC)
 * I am unfamiliar with the "3gp" format, however it appears the current version of VLC is capable of playing it according to this. Perhaps you have an older version and need to upgrade? If that does not work, you could try converting the video into a format VLC can understand, such as xvid .avi. Here is a free program which will convert the video AvrillirvA (talk) 16:52, 16 June 2012 (UTC)

utf-8 question
What is "E2 80 8E" in UTF-8?--Jsjsjs1111 (talk) 12:35, 15 June 2012 (UTC)
 * That would be U+200E (LEFT-TO-RIGHT MARK). See Left-to-right mark. (I used the conversion app at http://www.rishida.net/tools/conversion/ and http://www.utf8-chartable.de/unicode-utf8-table.pl to convert from those three octets to the corresponding code point.) — Tobias Bergemann (talk) 13:44, 15 June 2012 (UTC)

Crawl php website
I have a website which consists of pages created dynamically using php. How can I get a listing of all pages (url) of that website? I would need this in order to eliminate hidden pages, i.e. those that exist but are not needed and not linked to. bamse (talk) 21:14, 15 June 2012 (UTC)


 * wget -U "Mozilla/5.0" -nd --delete-after -r "http://example.com/" 2>&1 | FINDSTR /I "http:// https://" > urls.txt
 * AvrillirvA (talk) 13:11, 16 June 2012 (UTC)
 * Thanks, but as far as I understand wget follows hyperlinks so it won't show me the pages that I am after, i.e. the pages that can be accessed by entering their url directly but which are not linked from any pages on the actual site. bamse (talk) 16:58, 19 June 2012 (UTC)

Mapped domains and CNAMEs
I'm helping someone set up a gallery for their web site. The gallery product comes from what I'm changing to "Example Studio" to avoid plugging their software. I'm not in the room with the person nor do I have access to what they're reading. This is what they've copy/pasted from the material that they are reading:
 * Part of your Example Studio subscription is a personalized subdomain. Your clients will then be able to pay invoices and view galleries on your personalized subdomain.


 * If you already own your own domain name, you can set up a 'mapped domain'. To set up a mapped domain, you need to create a CNAME to 'mapped-domains.example.com'. 

I've done a number of things with web sites and such but this is the first time I'm encountering this. What I think it means is that they're going to need to set up a subdomain for their web site such as galleries.mywebsite.com which will be mapped to the software vendor's web site at mywebsite.example.com. But I'm not sure. I've read CNAME and I think I follow what it's saying but I'm not sure. Could someone break this down a bit more for me? And maybe explain where I need to set up the CNAME? Would it be in the admin panel on their web host? Thanks, Dismas |(talk) 22:18, 15 June 2012 (UTC)


 * It would be in the admin panel of the DNS host (which may or may not be the web host too). For example, Dreamhost's instructions for creating a CNAME are here. -- Finlay McWalterჷTalk 22:27, 15 June 2012 (UTC)

Wikipedia encoding
Hi. I use Google Chrome 19 under Windows 7. Text in the following Wikipedia editions appear to me as square boxes: my:, got:, km:, ii:. How can I install the fonts to view these editons properly? Thanks. --41.196.239.253 (talk) 23:48, 15 June 2012 (UTC)


 * A lot of the time the (English) Wikipedia article on a given language will have external links at the bottom to font distributors that have fonts which cover those codepoints. Taking your first example, my, the Burmese language article links to a zip on myanmarlanguage.org which has a nice font that seems to render everything the few pages in my.wikipedia I browsed needs. -- Finlay McWalterჷTalk 23:58, 15 June 2012 (UTC)

http://www.alanwood.net/unicode/fonts.html Lovely script. ¦ Reisio (talk) 03:10, 16 June 2012 (UTC)

Strange. VALID87t (talk) 21:56, 17 June 2012 (UTC)

python
i need a memory (ram) efficient python script to hash all files on my hard-drive as fast as possible, then save them to a text file. the main problem is i keep getting memoryerrors. if anyone can help, thanks. 70.114.254.43 (talk) 23:54, 15 June 2012 (UTC)


 * There's no need to load a whole file into memory to hash it; load it in chunks, submit these to the hash update function, and repeat until the file is done. -- Finlay McWalterჷTalk 00:00, 16 June 2012 (UTC)

thanks, i got it. 70.114.254.43 (talk) 20:43, 16 June 2012 (UTC)


 * The common python libraries should have built in hashing functions that you should be able to give a pointer to the file directly (I'm not a python programmer so my terminology may be off) and it will transparently handle this for you, without having to worry about memory issues. And it sounds like you're hashing individual files, but if you're hashing the whole drive, it'd be faster to use native command line functions. Shadowjams (talk) 21:10, 17 June 2012 (UTC)


 * Python's hashlib uses native code for the actual hash. My trivial python implementation of md5sum runs 10% faster than the GNU coreutils command line utility. -- Finlay McWalterჷTalk 11:46, 18 June 2012 (UTC)

video editing
i need a free program to add an audio file to a video file. (i think its called dubbing.) thanks, 70.114.254.43 (talk) 23:57, 15 June 2012 (UTC)


 * If it's just about combining audio and video files of the same length (or even subtitle files), mkvmerge is quite handy for that. ¦ Reisio (talk) 03:15, 16 June 2012 (UTC)

avidemux AvrillirvA (talk) 16:55, 16 June 2012 (UTC)

i tryied both of those. neither works at all. 70.114.254.43 (talk) 21:21, 16 June 2012 (UTC)


 * Then you've misrepresented what it is you're trying to do, or you're inept and should seek more personal assistance. ¦ Reisio (talk) 21:58, 16 June 2012 (UTC)

I found VideoPad very good. Simple and easy to use. You get the full version use for 30 days and then it cuts back on output choices and the amount of sound tracks.
 * http://www.nchsoftware.com/videopad/index.html --Canoe1967 (talk) 22:08, 16 June 2012 (UTC)

i know what im trying to do abd i know how to use a f***ing program. im just getting errors, you moron. and i said i want a free program, not a trial. — Preceding unsigned comment added by 70.114.254.43 (talk) 23:35, 16 June 2012 (UTC)


 * Well you've got me there, things that work never give errors do they. ¦ Reisio (talk) 20:53, 18 June 2012 (UTC)

Chaps, please calm down. Reisio, calling someone "inept" really isn't cricket. OP, calling him a "moron" isn't cricket either. Suggest you both (metaphorically) shake hands like gentleman and apologise for those insults. Quintessential British Gentleman (talk) 03:20, 17 June 2012 (UTC)
 * VideoPad is pretty easy. Add video and sound clips to a box, then click each one and adjust where you want them in the final video. It has a preview player you can use at any time. The full version is only 49usd and the trial works fine after 30 days, but you only get 2 sound tracks and 4-5 output choices. All the fade/transitions, effects still work, plus titles, credits, etc.--Canoe1967 (talk) 03:40, 17 June 2012 (UTC)

Reisio, sorry i called you a moron. what is "cricket"? and canoe, thanks, but i have NO money. and i try to stay away from free versions of paid programs, just my choice, but thanks anyway. thanks Quintessential British Gentleman. 70.114.254.43 (talk) 04:51, 17 June 2012 (UTC)
 * I would still recommend you try videopad. It is actually their free non-commercial, home use version after 30 days. You get the full professional version before that. All the features are the same except the output choices go down to 3, and you only get 2 soundtracks I think.--Canoe1967 (talk) 15:10, 17 June 2012 (UTC)