Creating a DVD from youtube videos

Posted by – 9. März 2008

I wanted to create DVDs from youtube videos
in an easy way, to be able to watch them on my TV.

At first, you need to download the videos.
This can be done with youtube-dl (1-click install for opensuse)

By calling: youtube-dl.py -l <youtube-url> the videos will be stored to your local disk.

The next step is to encode these video files to DVD compatible mpeg files, create a DVD navigation menu and
build the DVD image for burning.

For this I wrote a script that automates these steps by making use of tovid (1-click) and ffmpeg (1-click).

So, I’m going to create a DVD with some guitar lessons from youtube. It’s as easy as this:

> mkdir /tmp/flv; cd /tmp/flv;
> youtube-dl.py -l  http://www.youtube.com/watch?v=lJw4hMjlRYw
> youtube-dl.py -l http://www.youtube.com/watch?v=njPMjKUWnZ0
> youtube-dl.py -l http://www.youtube.com/watch?v=JdIjuTAiWtI
> youtube-dl.py -l http://www.youtube.com/watch?v=RhdItoEqaRU

> flvtodvd -i /tmp/flv -o /tmp/dvdout -t "Pink Floyd"

To finally burn the DVD, you can use a burning application of your choice and use the created DVD structure at:
/tmp/dvdout/dvdxml,
or call:

makedvd -burn /tmp/dvdout/dvdxml.xml

 

Note: The created mpegs have a data rate of about 10mb/min.

Foo Fighters Tour

Posted by – 1. November 2007

Visited the Foo Fighters in Munich yesterday to see them live for the first time. What a great concert!

I found a video on youtube of the concert 2 days before:

Realized that Youtube.com is a nice source for music videos, you should not miss Dave Grohl playing drums with Taylor Hawkins and the new video „Pretender“.

Save battery with fglrx and ipw3495 drivers

Posted by – 7. Mai 2007

The fglrx driver is able to throttle the internal frequency of the gfx card. To see the available modes use:

aticonfig --lsp

The setting can be changed with:

aticonfig --set-powerstate=NUMBER

For my t60p, aticonfig –set-powerstate=1 saves about 5W.

Another device that can be set to another powersave mode is the wireless device:

iwpriv eth1 get_power

shows the current setting, and

iwpriv eth1 set_power 7

sets it into „BATTERY“ mode.

A good resource for Linux on Thinkpads is the thinkwiki,
it also has a page for installing openSUSE 10.2 on a T60.

Blinkenled

Posted by – 1. Mai 2007

Toms BlinkenLED installation:

BlinkenLED is a miniature rebuild of CCC’s blinkenlights installation in Berlin.
It is a 144 (18*8) pixel matrix of LEDs. Connected to a PC via the parallel port and powered by a 5V power supply.
I build it with help of the excellent manual from the BlinkenLED Project.
As there was only Windows software available for controlling the display, I had to write my own for a solid operating system such as openSUSE.
The software includes scripts for displaying texts and Blinkenlights (*.blm) movies on the display. This way I am able to play all the movies that were originally displayed on the Blinkenlights building.

BlinkenLED software:

The software package includes the following tools:

bin/blinkenmovie (plays a movie in *.blm format)
bin/blinkentext (scrolls a text)
bin/blinkentest (makes tests, useful for debugging your blinken hardware)

examples/heat.sh (grepping the current temperature from the karamba weather applet and display it)
examples/loop_movie.sh (endless loop of a *.blm movie)
examples/loop_text.sh (endless scrolling of a text)
examples/now_playing.sh (read output of mp3blaster and display the current and next song)
examples/play_movies.sh (play all movies of a directory in a loop)

BlinkenLED – Downloads:

The blinkenled sourcecode has been released on sourceforge.net.
Download tarball: [blinkenled.tar.gz]
or checkout from subversion:
svn co https://svn.sourceforge.net/svnroot/blinkenled blinkenled

BlinkenLED – Photos:

blinkenledblinkenledblinkenled
blinkenledblinkenledblinkenled

BlinkenLED – related Links:

Blinkenlights
Wiki and Forum for Blinken projects
BlinkenLED Project
Parapin Linux parallelport library

GBDSO – Gameboy als digitales Speicher-Oszilloskop

Posted by – 1. Juli 2005

Zielbestimmung
Zentrales Element ist der GameBoy Classic. Dieser soll durch eine Einsteckkarte in ein Speicheroszilloskop verwandelt werden. Das Display des Gameboys dient als Anzeige des Kurvenverlaufs, der Frequenz und des Spitzenwertes. Die Tasten steuern alle Einstellungen des Signallaufs, sowie über Menüs diverse Einstellungen der Anzeige.

Funktionalität:
Der ProgrammCode wir auf einem externen EEPROM gespeichert, von dem der GameBoy beim booten automatisch startet. Das Programm stelle eine graphische Oberfläche mit Skala und Menu zur Bedienung zur Verfügung. Die Verstärkung der Eingangssignale wird über Tastensignal gesteuert, um eine optimale Darstellung zu erreichen. Ferner ist eine Einstellung der Zeitbasis (Time/DIV) möglich.

Soft- und Hardware
Der interne Prozessor des Gameboy ist ein Z80. Er hat intern 8K Speicher, einen 8-bit Daten-BUS, 16-bit Adressen-BUS zum Zugriff auf das externe ROM. Die Programmierung soll in C und Assembler erfolgen, mit Hilfe des für Windows erhältlichen GameBoy Compilers GBDK, der bereits einige Bibliotheken bereitstellt.

GBDSO – Downloads:

Package Schaltung: (by henrike.papenfuss[at]gmx.de)
Schaltpläne, Dokumentation Schaltung.

Package Mikrocontroller: (by mike.bock[at]gmx.de)
Software, Dokumentation Mikrocontroller.

Package Gameboy-Software: (by tom[at]digitalflow.de)
Sourcecode, EPROM-Image File, GBDK Compiler, No$GMB Emulator, Dokumentation GB-Software.
[download]

GBDSO – Photos:

GB-DSO GB-DSOGB-DSO
GB-DSOGB-DSO

GBDSO – related Links:

GameBoy Dev’rs
GameBoy.htm
GameBoy Mailing List
gameboy overview
GameBoy Programming For Beginners
Gameboy Projects Page
GBDK – home
gb games download
GB.html
GB Programming Info
GB Software
Harry Mulder’s Gameboy Development: Main
mix asm + c
NO$FUN GB Emulator
programmierer-board.de / Quellcodes.de :: Forum anzeigen – Gameboy
Programming the Game Boy Color with the GBDK
:: Quellcodes.de :: Community und Informationsportal für Programmierer :: seit 1999
Sommaire
Steve’s Gameboy Page
WebRing: hub
http://www.mikrocontroller.net/

 

Flash R-Type

Posted by – 1. Januar 2004