Download Youtube(and other) videos and batch convert them to mp3

This is a quick article on how to download videos from youtube (or any other supported site) and batch convert them into mp3 files.

First, how do you get the videos downloaded from youtube? I use the software from http://www.downloadhelper.net/   . It is a Firefox plug in.  Unfortunately, I have not found a Chrome equal.  SO I used Firefox for this task.

Using Download Helper, you just select download from its toolbar when you find your desired video.  You can select between flv and m4p file types.  I choose flv as personal preference.

Now the real reason for writing this, step 2: converting the video to a mp3.  I spent a portion of today trying out freeware that is supposed to do this easy task.  It all pretty much angered me.  Let me tell you what I tried so you don't go down the same path:

Freez FLV to MP3 - Not Free, can use once before getting a registration prompt. If you don't register, the program closes.  It also wouldn't batch encode more than 30 items.
FLV2MP3.org - It kept giving me 0 byte mp3 files.
A file from richapps.de: It wasn't a batch converter.

The program I ended up using, was VideoLan player.  It is an absolute favorite program of mine. There is no batch conversion feature of VideoLan.  However, a quick and dirty BAT file will do the trick.  I found the following code on the videolan help wiki and changed it for flv files.

Create your BAT file (How to create a bat file) in the top most directory where you downloaded your FLV files.  I plan to use this frequently so I called mine vlanFLV2mp3.BAT. It will convert all the files in that directory and in all the sub-directories below it. For instance, if you downloaded the flv files into C:\Documents and Settings\MYPC\Desktop\FLV and then have sub-directories of musical artists, you would want the BAT file in that top ..\Desktop\FLV directory.


Here is the code you need to past into the BAT file:

@ECHO OFF
REM ########################################################################
REM # A Windows XP cmd.com script to batch convert flv files to mp3. #
REM # #
REM # Copyright (C) 2008 Andrew Boden #
REM # (boden@graduate.uwa.edu.au) #
REM # #
REM # This program is free software: you can redistribute it and/or modify #
REM # it under the terms of the GNU General Public License as published by #
REM # the Free Software Foundation, either version 3 of the License, or #
REM # (at your option) any later version. #
REM # #
REM # This program is distributed in the hope that it will be useful, #
REM # but WITHOUT ANY WARRANTY; without even the implied warranty of #
REM # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
REM # GNU General Public License for more details. #
REM # #
REM # You should have received a copy of the GNU General Public License #
REM # along with this program. If not, see .#
REM # #
REM # Version 1.0 (June 27th 2008) #
REM # Uses VideoLAN VLC 0.8.6h (www.videolan.org) #
REM # Gracefully handles commas and apostrophes in file names. #
REM # Not aware of any other characters needing graceful handling. #
REM # 512kbps encoding with 44100 sampling. #
REM ########################################################################

@ECHO OFF
FOR /R %%G IN (*.flv) DO (CALL :SUB_VLC "%%G")
FOR /R %%G IN (*.flv.mp*) DO (CALL :SUB_RENAME "%%G")
GOTO :eof

:SUB_VLC
SET _firstbit=%1
SET _qt="
CALL SET _newnm=%%_firstbit:%_qt%=%%
SET _commanm=%_newnm:,=_COMMA_%
REM echo %_commanm%
CALL "C:\Program Files\VideoLAN\VLC\vlc" -I dummy -vvv %1 --sout=#transcode{acodec="mp3",ab="512","channels=2"}:standard{access="file",mux="raw",dst="%_commanm%.mp3"} vlc://quit
GOTO :eof

:SUB_RENAME
SET _origfnm=%1
SET _endbit=%_origfnm:*.flv=%
CALL SET _newfilenm=%%_origfnm:.flv%_endbit%=.mp3%%
SET _newfilenm=%_newfilenm:_COMMA_=,%
COPY %1 %_newfilenm%
DEL %1
GOTO :eof

:eof


This is the original code, it might be easier to copy.  Remember to change m4a to flv if using the linked code.


If you already have all of the software, it isan easy 2 step process. 1: download all the videos you want. 2: run the bat file.

Read Users' Comments (0)

ICVERIFY 4.0 - user manager - admin password issues

I am posting this because I couldn't find a solution to the problem online while I was working with ICVERIFY 4.0.  It is a relatively dated program used to process credit cards.  Basically it is just a GUI on top of a few SQL databases.

In the past, if some one changed or lost the admin password to the user manager and forgot it, deleting the UserDB files from the SQL directory and reinstalling the app cured the problem.

However, yesterday, I was doing a new install on a XP machine. I choose a custom user name and password for ICVERIFY, as is an option, then completed the install.  When I went to open ICVERIFY, it thew back an error saying invalid user name password. After making sure I wasn't making a typo, I tried the default password and it didn't work.  Neither password would let me into User Manager either.

So I did as above, deleted the database files, uninstalled user manager, rebooted, then reinstalled. I tried to let it use the default login info this time.  I kept getting errors saying invalid login basically.

There was a great deal of trial and error after that.  I won't go into it.  However, my fix is the following: Uninstall ICVerify, User Manager, and the MSDE.  Go into Windows Explorer and delete the ICverify data, and the SQL data.  Use Regedit, to remove any instance of ICVERIFY, UserDB, and the SQL path.

Now, I was using a user account that was set as a local admin.  But after removing all that info, I went into my actual local admin account and reinstalled everything.  Worked fine for all users on the machine after that.

Last note, don't bother with calling their tech support line anymore.  I called today and once about 3 years ago.  Prior to today, I got a English speaking person who was well acquainted with the software and solved my problem quite quick. Today, the tech support number got me to what was obviously a 3rd party, English as a second language shop. Dude actually made it worse poking around turning off services and crap.  When he couldn't solve the problem, he gave me the "Oh you don't have a 2nd tier support contract, please buy one to continue" speech.

Anyway, I hope this helps someone out there.

Read Users' Comments (1)comments

Have old Books, VHS, DVD, CDs, Cassettes, or computers you need to get rid of?

Do you have old Books, VHS, DVD, CDs, Cassettes, or computers you need to get rid of?

I have been involved with book redistribution/recycling most recently.  But I can also make sure other old media you want out of your house gets the love it deserves.  It won't end up trashed or pulped (unless it's authored by Rush Limbaugh).  I'm happy to come pick it up if you are in a 60 mile radius from  me (Springfield-ish area).

I can also make sure your old computer gets either a new life or properly recycled.

Let me know if you have some stuff you don't want.  I love transforming unwanted items into a good day for someone. :)

Read Users' Comments (0)

Did you notice

Did you notice that I added some tabs right below my logo on this site.  I recently started selling books on Amazon.com and am still selling on cafepress.com.  I also have books to trade on swaptree.com and titletrader.com.  I have added links to each of those in that section.  Please check them out.  If you are a member of any of those, leave your link in the comments :)

Read Users' Comments (0)

Shooting - Antique Shotguns and 22's

I went shooting last week.  My dad gave me an old 22 single shot rifle and I've been dying to see how it shoots. My cousin Steve and I loaded up a small arsenal in my trunk and headed over to Vandalia Tactical.  Between us we had 3 old rifles/shotguns, a derringer, and a compact 25. Vandalia Tactical is a really nice range.  They have a load of guns, ammo, and accessories for sale.  They are not the cheapest on ammo. Can't blame them though, if I had a range, I'd make sure my prices were higher on ammo too. They weren't super high, maybe a dollar 2 or higher than elsewhere.  It did make us decide not to shoo the two 25 caliber hand guns we brought with us.

Also, if you need pink 38 rounds, they have them.  Yes, I said pink. Nothing pisses off a macho bad guy more than getting snuffed by a girlied-up bullet.  Although, putting pink on a 38 round is like putting a dress on a MMA champ. All looks aside, it'll still take you out.

Having never shot a shot gun, I wanted to have at those first. I'm a pretty good shot, even with the first round.  There is a definite difference in kick between the short brass and the long brass cartridges.  Couldn't tell a difference in the carnage to the target though.  We shot a single shot and a 4 +1 pump shotgun.  The single shot was an antique in that it was over 30 years old.  It kicked like an angry mule, but was accurate as hell.

We moved to our antique 22 next. His was a store branded Mauser and mine was a Sears & Roebuck branded rifle. Both shot really well.  They were like cap guns compared to the shotguns. I was more accurate with mine (even though it hadn't been fired downrange in 30+ years) because it was a slightly shorter and easier to wield barrel. Both had excellent grouping (for my shooting skill), but the sights were a bit.  We were both glad they didn't blow up in our faces.

The old shot gun left a huge bruise on my shoulder though.  It was worth  it.  The whole day was fun.

Read Users' Comments (0)

Attack of the lady bugs

My place has an enclosed front patio that leads to the front door. Yesterday, As I was leaving to run errands, I noticed hundreds (no exaggeration) of lady bugs on the walls and ceiling of my enclosed patio.  It was quite a sight.  A creepy sight.


Luckily, I had a spare bug bomb.  I had been away all day and came home to find them all all the ground.  The bug bomb worked. I feel kind of guilt of lady bug genocide. I will have to vacuum the up tomorrow.

I did snap a pic when I got home.  It kind of sucks, but:
You really can't see the sheer number of them.  There are probably 5 every square inch.   There are all basically in a 5 foot by 6 foot area. so thats like 1800 lady bugs. (5*6*12*5).  That translates into a bunch of vacuuming.

I can only imagine it was the warm weather yesterday (Wednesday) as they were not there Tuesday.

Any thing weird like this happen to you?

Read Users' Comments (0)

Stand By Me - the 30 Yr old version

After all the rain and snow melting, most of us in the area noticed the Mad River at significant levels.  Some of the carnage from high, fast water is big log jams. I had been driving past one near Aaron's Canoes (off upper Valley) for a couple of days and wanted to check it out. Daniel and Dusty were there with me.  It just so happened the log jam wasn't as interesting as the bridge it collected around.


The pictures don't do the size of the jam justice.  It was not however, as interesting as the abandoned railroad bridge the logs had clumped upon.

This is the entrance to the bridge
Just past the overgrowth, you see this. Notice the missing ties, slippery moss, and rotted wood ties.
This is our Stand By Me shot
And onto the tracks we go. I enthusiastically led the way, like a dumbass.






This is about halfway. We had already encountered severely loose boards, ties so rotted the squished under your step, slippery moss, and missing ties.

However, we were all surprised to see this:



It is a memorial to someone who died there.  It is a little caboose and a crayon colored picture of St. Mary with a poem/prayer on it.  It was definitely creepy.  Especially on the grey, rainy day we chose. It is easy to see how someone falling off the bridge could get caught up in the debris.  It is also easy to see how someone with smaller feet than me could tumble over.  Especially, if they were as fearless of a teenager as I was.

I certainly felt more respect for the situation than I would have 10 years ago.  I also put more stress on the rotten ties than I would have 10 years ago...damn donuts.

This is us heading back as the rain picked up.  You can't tell from the picture, but it's a longer walk than it looks.

These were all taken with my cell phone. I'm really glad I didn't drop it.

Read Users' Comments (0)