File: README

package info (click to toggle)
gpodder 2.20.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,228 kB
  • sloc: python: 16,951; makefile: 183; ansic: 140; sh: 97
file content (54 lines) | stat: -rw-r--r-- 2,105 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Sample post processing script to convert videos after download
==============================================================

This script is a post download processor for gPodder. It can convert mp4 and 
mov movie files into an avi format that can be played on the COWON IAUDIO 
X5(L). It should also be able to support other players with some minor changes 
to the "convert_video_iaudio-x5" file.

Installation:
 * Copy "convert_video_iaudio-x5" and "gpodder_download_complete" to a location
   in your $PATH (i.e. /usr/local/bin or ~/bin)
 * Set the gPodder "cmd_download_complete" advanced setting to the location
   of the "gpodder_download_complete" script


by Casey Watson ("watsoncj" on GMail)  2008-12-17


Initial announcement:

I've whipped up this little script to convert downloaded videos into a
format that is supported by my IAUDIO X5(L). It's still got some gaps
in it but it does take away some of the manual process of getting
video's onto my player. While I'm not sure that this is the intended
direction for the gPodder application, it might make a nice addition
to the gPodderWiki.

You can download it here:
http://www.casedogdesigns.com/gpodder_convert_video/

The script uses the post download hook by setting the advanced
configuration variable "cmd_download_complete" to the
gpodder_download_complete script.

Once the download is complete the movie is converted onto the desktop.
A zenity progress bar is shown while the conversion takes place.
Ideally, the new file could replace the original in gPodder so the
user would need to manually copy the file to their device, but this
requires changing the file extension and I haven't found a clean way
of doing this. So, for now the video must be manually put onto your
player.

Anyway, I think its a good starting point. It should be able to
support video types for other devices by changing the mencoder
parameters in the convert_video script.

Let me know if you find it useful or end up making any changes.

--
Casey Watson
watsoncj at gmail.com

(https://lists.berlios.de/pipermail/gpodder-devel/2008-December/002323.html)