Bembel-B Blog


Downloading full videos from under Linux with openVeoh

Filed under: build,compile,Linux,openVeoh,software,Veoh,,Video — FrankZabbath @ 18:27

Besides the Flash video player offers the source video file (e.g. DivX) for download for registered users. The official client VeohTV needed for that is only available for Windows and Mac. But there’s Daniel Armstrong’s Open Source project called openVeoh available to fill that gap.


I’ve tested the command line video downloader vget with success. It’s not that fast, as it downloads the files in 256kB chunks, which drops the speed about 40% because of server lag and overhead. I bet this will get optimized and of course that situation is better than nothing. :)

The installation from the sources available via SVN went without a problem. The necessary steps are described in the README. I don’t know, which devel packages would be required, as all dependecies were met on my system. But from what I can see, you’d need sqlite, libcrypto and openssl. Daniel provides documentation on vget usage on his blog.

Here’s ldd’s output for vget:

scheff@p512o:~/src/openveoh-140/src/tools/vget$ ldd vget =>  (0xffffe000) => /usr/lib/ (0xb7f20000) => /usr/lib/i686/cmov/ (0xb7ee0000) => /usr/lib/i686/cmov/ (0xb7d9e000) => /lib/tls/i686/cmov/ (0xb7d87000) => /usr/lib/ (0xb7c9d000) => /lib/tls/i686/cmov/ (0xb7c75000) => /lib/ (0xb7c69000) => /lib/tls/i686/cmov/ (0xb7b28000) => /lib/tls/i686/cmov/ (0xb7b24000) => /usr/lib/ (0xb7b10000)
        /lib/ (0xb7f9a000)

Happy downloading! :)

My very own first custom Rockbox build for Sansa e200

I’m really impressed by the Rockbox software and its team! Adds so much value to my beloved SanDisk Sansa e200 MP3 Player! Until today I was using the vanilla (unpatched) releases of their firmware, but now I found the time to build Rockbox with some patches like Album Art support. Here’s a short summary of my efforts and a download of that build.

SanDisk Sansa e200

UPDATE: Take a peek at my latest additions including Rockbox builds in my Rockbox category

First of all I set up the cross compiling environment on my Ubuntu Linux box using the included in the Rockbox sources. The wiki holds very usefull documentation about this, esp. CrossCompiler and SimpleGuideToCompiling.

Looking at the Rockbox Themes, I figured out what patches besides the Album Art patch would be required, to get the enhanced While Playing Screens (WPS). So I simply took a look at list of patches included in the custom builds that were referred to, which are mschneider’s “M-Build”, Cpchan’s build, and maxwen0’s patch series. I dropped some of which I didn’t like and needed and combined the other ones into my own patch selection.

I got the sources via SVN tagged as Revision 14817. So, as the code changes, your results will likely differ from mine. I’ll post the corrections of the patches tomorrow or so, as I’m a bit short on time and don’t really know how to best provide them. So here’s the list of the patches and their status, which would have to be applied in that particular order.

FS#3045 – Album art display on WPS
patch -p0 < /home/scheff/downloads/album_art_20070919.patch

FS#5697 – bmp resize patch
patch -p1 < /home/scheff/downloads/bmpresize-20070624.patch

FS#7542 – This patch moves all the playlist creation from the root dir to the PLAYLISTS directory.
patch -p0 < /home/scheff/downloads/playlist_folder.patch

FS#7538 – Custom user splash screen.
patch -p0 < /home/scheff/downloads/custom_splashV7.1.2.diff
CC misc.c
misc.c: In function ‘show_splash’:
misc.c:931: error: too few arguments to function ‘read_bmp_file’
misc.c:937: error: too few arguments to function ‘read_bmp_file’
make[1]: *** [/home/scheff/src/rockbox-14817/build/apps/misc.o] Error 1
make: *** [build] Fehler 2
** skip **

FS#7565 – support for the TPA tag
patch -p1 < /home/scheff/downloads/50-id3TPA.patch

FS#6800 – Sansa e200 backlight behaviour
patch -p0 < /home/scheff/downloads/lcddimmer20070915.patch

FS#6796 – Put ymargin into scrollinfo
patch -p1 < /home/scheff/downloads/ymargin-scrollinfo_20070728.patch

FS#2954 – Scrolling text margin for the wps
patch -p0 < /home/scheff/downloads/scroll-margins_20070915.patch
** FAILS **
patching file apps/screen_access.c
Hunk #1 FAILED at 47.
Hunk #2 FAILED at 133.
2 out of 2 hunks FAILED — saving rejects to file apps/screen_access.c.rej
** manually fixed / backup .orig2 **

FS#4733 – Multifont
patch -p1 < /home/scheff/downloads/multifont_complete-20070831.patch
** FAILS **
patching file apps/screen_access.c
Hunk #1 FAILED at 52.
Hunk #2 FAILED at 138.
2 out of 2 hunks FAILED — saving rejects to file apps/screen_access.c.rej
** manually fixed / backup .orig3 **

FS#5899 – Custom List/Menu x/y coordinates and width
patch -p0 < /home/scheff/downloads/custom_list_position-20070622.patch
** FAILS **
patching file apps/gui/quickscreen.c
Hunk #1 FAILED at 72.
Hunk #2 FAILED at 87.
Hunk #3 FAILED at 109.
3 out of 3 hunks FAILED — saving rejects to file apps/gui/quickscreen.c.rej
** manually fixed / backup .orig2 **

FS#5900 – Custom WPS Line with x/y/width coordinates and font face/color settings
patch -p1 < /home/scheff/downloads/customline-20070915.patch
** FAILS **
patching file apps/screen_access.c
Hunk #1 FAILED at 49.
Hunk #2 FAILED at 101.
Hunk #3 FAILED at 138.
Hunk #4 FAILED at 193.
4 out of 4 hunks FAILED — saving rejects to file apps/screen_access.c.rej
patching file apps/screen_access.h
Hunk #1 FAILED at 73.
1 out of 2 hunks FAILED — saving rejects to file apps/screen_access.h.rej
** manually fixed / backup .orig4 and orig2**

FS#4988 – Optionally keep backlight on while plugins are running
patch -p0 < /home/scheff/downloads/plugin-backlight_070303.patch

FS#7286 – correct DC-bias for output signals (dsp, test_codec)
patch -p0 < /home/scheff/downloads/dc_bias_v3.patch
** FAILS **
** skip **

Recording Enhancements Pack
patch -p0 < /home/scheff/downloads/recordingenhancementspack.patch
** FAILS **
** skip **

FS#6960 – Random (album) selection in Database
patch -p0 < /home/scheff/downloads/random_album.patch

FS#6884 – Sansa E200 m3u/m3u8 to pla playlist converter
patch -p0 < /home/scheff/downloads/sansa_Playlist_converter_V3.1.diff

FS#7114 – HTML_Parser. Creates a txt file readable in the viewer
patch -p0 < /home/scheff/downloads/HTML_ParserV1.6.diff
** FAILS **
patching file apps/plugins/CATEGORIES
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED — saving rejects to file apps/plugins/CATEGORIES.rej
patching file apps/plugins/viewers.config
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED — saving rejects to file apps/plugins/viewers.config.rej
** manually fixed / backup .orig2 **

FS#6505 – Slider progressbar
patch -p0 < /home/scheff/downloads/progressbar_slider_20070622.patch
** FAILS **
patching file apps/gui/wps_parser.c
Hunk #1 FAILED at 287.
Hunk #2 succeeded at 503 (offset 7 lines).
Hunk #3 succeeded at 1179 (offset 68 lines).
1 out of 3 hunks FAILED — saving rejects to file apps/gui/wps_parser.c.rej
** manually fixed / backup .orig2 **

You can download that build from to try it on your Sansa e200. The original patches can also be downloaded from my share. As I already mentioned, the corrected patches will follow soon. For now I’ll provide the diffs for the manually fixed source; that’s the diff between the original source and the state after patching and manually fixing. So, rock on! :)


[070923: Add diffs for manually fixed sources. Complete some jumbled sentence.]
[070925: Use direct download links via lite]
[080120: Links to Rockbox category. Update pointing to latest builds.]
[2009-04-26: Fix links.]

Create a free website or blog at