HOW-TO: Building And Using openVeoh

NOTE!!! Please make sure you have the libssl and sqlite3 development packages installed before attempting to build the openVeoh sources!

Here are the new and improved build and usage instructions for openVeoh

Getting the openVeoh sources

First make sure to grab the current sources from my SVN repository:

svn co https://openveoh.svn.sourceforge.net/svnroot/openveoh openveoh

If you already have the sources from the new repository then you can
update them rather than checking them out again. From within the openveoh
directory run:

svn update

If you are unsure which repository your sources were downloaded from then
I recommend deleting them and grabbing a fresh copy.

Building C++ Sockets

You no longer need to install C++ Sockets in order to build
openVeoh. It will use the library and headers from the source directory.
If you already have it installed then that is okay, it will still use
your installed version. However, you still need to build C++ Sockets before
building openVeoh. This can be accomplished by running:

make sockets

From the openveoh directory.

Building openVeoh

The new openVeoh build system will build all of the
components needed to download videos from Veoh. This includes:

libopenveoh – main library
vget – command line download tool
ffvget – script required for Firefox to call vget
libveohversion – Firefox plugin required for veoh.com

To build openVeoh simply run:

make

in the openveoh directory.

Installing openVeoh

The install covers everything you need to start downloading from
http://www.veoh.com, including the protocol handlers for Firefox.
To install run:

make install

from the openveoh directory.

Please note that vget and ffvget are installed to “$HOME/bin” and “src/dist/bin” for the
simple reason that openVeoh is installed for the local user only. Also note
that libopenveoh is installed to “src/dist/lib”. I don’t see a need for a
system-wide install yet. If people request this, I may add it later.

Other make options

The following make options are available:
usage: make [option]

all – builds libopenveoh, vget and plugin
libopenveoh – builds only libopenveoh
plugin – builds only the Firefox plugin
vget – builds vget and libopenveoh
install – installs everything
install-libopenveoh – installs libopenveoh
install-plugin – installs the Firefox plugin
install-vget – installs vget and ffvget
uninstall – uninstalls everything
clean – cleans the entire build
sockets – builds C++ Sockets
sockets-install – installs C++ Sockets
sockets-uninstall – Uninstalls C++ Sockets
sockets-clean – cleans the C++ Sockets build

Using openVeoh

openVeoh is very easy to use. Currently openVeoh works using vget. I will explain two
methods for using vget to download videos from veoh.com

Firefox method (recommended)

If you installed the entire openVeoh package then you are ready to start downloading videos.
Go to veoh.com and login using your username and password. Find a video you want to download
and simply click the “Download Video” link. You may get a window asking your permission to launch
“ffvget”. If so then click the check box telling Firefox to never warn you about ffvget again. and
you will be presented with an Xterm running vget. If you are logged in to veoh through the browser
then it shouldn’t ask you to login again, but in the event that it does just enter your veoh
username and password in vget and your download will begin.

Command line method

If you do not use Firefox then the command line method is for you. Although the plugin is compatible
with Konqueror, Opera, Seamonkey, and Netscape, I have not worked out the protocol handlers and
automatic login with them yet (Seamonkey support is hopefully coming soon). Using your favorite
browser navigate to veoh.com and find a video you want to download. Copy the url to the video.
Open a console such as ‘konsole’ and type:

~/bin/vget “paste the url here”

Please note that you should always wrap the url in double quotes.
(Example: ~/bin/vget “http://www.veoh.com/videos/v1184655gP8RTDWA”)

Some urls contain characters which will cause problems with your console and could potentially break
things.

Hit enter and you may be greeted with a login prompt. Enter your veoh.com username and password.

After that your download will start. When you first start a download it takes a bit of time to
populate the database with all of the needed information for resuming in the event the download
breaks. It may seem like vget is hanging but just give it time. After a short pause you will see
the video information displayed and the download progress.

Resume support

In the event something happens and you kill a download. Simply click the download link again or run
vget from the command line using the same url again. It will resume the download from where it left off.

Where do my downloads go?

All videos are downloaded to ~/Video/Veoh by default.
Thumbnails are stored in ~/Video/Veoh/Thumbs

Why are there thumbnails?

In the future when I get the media library and the GUI written it will use the thumbnail to help
you identify the videos. For now they aren’t really useful and are only downloaded for testing
purposes.

Conclusion

That’s it folks! That should cover everything you need to know to build and use openVeoh.

Happy Downloading!

9 Responses to “HOW-TO: Building And Using openVeoh”

  1. Downloading full videos from Veoh.com under Linux « Bembel-B Blog Says:

    […] my system. But from what I can see, you’d need sqlite, libcrypto and openssl. Daniel provides documentation on vget usage on his […]

  2. e90n Says:

    hi, i downloaded the latest svn release and built it using make, everything builds fine, but when i try to download a video it just downloads a few kb and just stops (i doesn’t quit) just sits there doing nothing, no errors no nothing, im running ubuntu 6.06 on amd64.

  3. b_i_d Says:

    This is great! At last I can return to my beloved veoh! 🙂
    Thanks for the great work.

    Just a quick note here:
    To build you need the DEVEL packages for the openssl and sqlite3 libs. On Ubuntu those are “libssl-dev” and “libsqlite3-dev”.

  4. inaety Says:

    Hey, thank you so much for this. It’s about time Linux is getting a little recognition from the community. Thanks again

  5. knifemonkey Says:

    ok my mistake.
    installing libssl-dev and libsqlite3-dev from synaptic let me compile thanks doodz

  6. just-me Says:

    Hi! It just does not behave the way as expected. Not on SeaMonkey, not on Firefox, although my build went without any problems and installed fine. There’s no add-on/plugin being showed and the Download-Video-link just brings me to “Download Veoh TV”… vget does not work to. When providing the so-called link to the video it just start’s downloading and says “finished” without any real results.

    Any ideas?

    Cheers

  7. ichthudion Says:

    As I have stated, I am no longer maintaining the openVeoh sources. I will still attempt to provide support as I find time but in order for me to reply it is much easier if you leave me a valid email address. I try to personally reply to each comment I receive and provide a tailored response for each case. For Ubuntu user, you should try searching on the Ubuntu forums as several people have provided instructions for building the sources. For those of you who are just having strange problems with openVeoh. I’m not exactly sure of what may be going on. I have always used the software without experiencing problems. First thing to be sure of is that you are NOT clicking the “Watch on VeohTV” link. You must click “Download options” then “Download Video” in order to invoke vget. If I see Veoh begin to improve again I will consider working on the road-map again and implementing everything as was previously planned.

    Regards,
    Dan
    openVeoh

  8. danychouinard.net Says:

    […] HOW-TO: Building And Using openVeoh « openVeoh […]


Leave a comment