jump to navigation

TEDding from the car – gPodder video Plugin for Rockbox April 7, 2011

Posted by GuySoft in Crictor, diy, Electronics, ipod, ITU, linux, open source, podcast, programming, python.
Tags: , , , , , , , , , ,
11 comments
TEDing from the car

TEDing from the car

Hey all,
After a few weeks of bouncing emails with Thomas Perl I am happy to announce that we have a working plugin for his wonderful podcast application called gPodder. With this plugin installed, any mp4 video podcast that is downloaded with gPodder is automatically converted to a format playable by rockbox MPEG player plugin. Effectively meaning seamless sync of video podcasts to any rockbox enabled device. I am specifically using the Sansa fuze player, but just changing the screen resolution at the top of the plugin should make it work with any other rockbox device, and with the right screen size. The final product for me of all this technical stuff is that I can listen to TED lectures in the car. Or using the verb was coined by my friend Uzair “TEDding” from my car.

How to Install

  • First you should have gPodder installed (available also as “apt-get install gpodder” or any other distribution install equivalent).
  • Second you will need these packages installed too:
     apt-get install python-kaa-metadata  ffmpeg python-dbus
  • Now all that is left is to copy this script to
    mkdir -p ~/.config/gpodder/hooks/
    cp rockbox_mp4_convert.py ~/.config/gpodder/hooks/
  • If your are using a different player from the Sansa Fuse, modify the first lines to your screen resolution:
    DEFAULT_DEVICE_WIDTH = 224.0
    DEFAULT_DEVICE_HEIGHT = 176.0

    make sure to include the .0 at the end.

  • Thats it! Now each time video is download, for example from the TEDTalks Video Podcast it would be converted on arrival, and relinked as the file to be synced.

As usual, I would love to hear feedback from users and suggestions.

(more…)

PSP Enc – Encoding video for PSP / ipod under linux GUI November 27, 2007

Posted by GuySoft in Crictor, Hamakor, ipod, linux, open source, podcast, programming, psp, python, wxpython.
Tags: , , , , ,
2 comments

Hello all,

I am starting to work on the first Israeli video podcast, and we are now trying to figure out what format to publish it under. While pondering about this, I wrote a graphical program that will let you convert Video files for PSP format. And it should also run on iPods (however the screen resolution is specifically for PSP).

PSP Enc picture

The program uses a command I found somewhere (you can see it in the code). The GUI is written in wxpython, which I just started learning not long ago. It is really useful for these small apps.

The requirements to get this working are:

  • python
  • ffmpeg
  • python-wxgtk2.6

To run it just type:
python pspenc.py

You can download the program here