l10n: Updated Polish (pl) translation to 100%
[gpodder.git] / doc / dev / convert / README
blobf661c8c4e1d5a3f8a815bab6005b70ba22e0e10a
1 Sample post processing script to convert videos after download
2 ==============================================================
4 This script is a post download processor for gPodder. It can convert mp4 and 
5 mov movie files into an avi format that can be played on the COWON IAUDIO 
6 X5(L). It should also be able to support other players with some minor changes 
7 to the "convert_video_iaudio-x5" file.
9 Installation:
10  * Copy "convert_video_iaudio-x5" and "gpodder_download_complete" to a location
11    in your $PATH (i.e. /usr/local/bin or ~/bin)
12  * Set the gPodder "cmd_download_complete" advanced setting to the location
13    of the "gpodder_download_complete" script
16 by Casey Watson ("watsoncj" on GMail)  2008-12-17
19 Initial announcement:
21 I've whipped up this little script to convert downloaded videos into a
22 format that is supported by my IAUDIO X5(L). It's still got some gaps
23 in it but it does take away some of the manual process of getting
24 video's onto my player. While I'm not sure that this is the intended
25 direction for the gPodder application, it might make a nice addition
26 to the gPodderWiki.
28 You can download it here:
29 http://www.casedogdesigns.com/gpodder_convert_video/
31 The script uses the post download hook by setting the advanced
32 configuration variable "cmd_download_complete" to the
33 gpodder_download_complete script.
35 Once the download is complete the movie is converted onto the desktop.
36 A zenity progress bar is shown while the conversion takes place.
37 Ideally, the new file could replace the original in gPodder so the
38 user would need to manually copy the file to their device, but this
39 requires changing the file extension and I haven't found a clean way
40 of doing this. So, for now the video must be manually put onto your
41 player.
43 Anyway, I think its a good starting point. It should be able to
44 support video types for other devices by changing the mencoder
45 parameters in the convert_video script.
47 Let me know if you find it useful or end up making any changes.
50 Casey Watson
51 watsoncj at gmail.com
53 (https://lists.berlios.de/pipermail/gpodder-devel/2008-December/002323.html)