--- tablet-encode-2.30.orig/debian/changelog +++ tablet-encode-2.30/debian/changelog @@ -0,0 +1,24 @@ +tablet-encode (2.30-0.1ubuntu1) lucid; urgency=low + + * Use tiny debian/rules. + * Bump debhelper to 7.0.50 due to the use of override_* statements. + * Install README.txt as upstream's changelog. + * debian/install: Install tablet-encode into /usr/bin. + * Remove Recommends on mplayer, mencoder already depends on it. + * Add a manpage file. + * Update debian/copyright. + * Improve runtime descriptions. + + -- Alessio Treglia Tue, 15 Dec 2009 18:56:30 +0100 + +tablet-encode (2.30-0.1) unstable; urgency=low + + * Added libgtk2-perl and mplayer in recommends. + + -- Christian Marillat Sun, 08 Nov 2009 20:22:44 +0100 + +tablet-encode (2.30-0.0) unstable; urgency=low + + * Initial release. + + -- Christian Marillat Sun, 08 Nov 2009 19:37:47 +0100 --- tablet-encode-2.30.orig/debian/install +++ tablet-encode-2.30/debian/install @@ -0,0 +1 @@ +tablet-encode usr/bin --- tablet-encode-2.30.orig/debian/watch +++ tablet-encode-2.30/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://garage.maemo.org/frs/?group_id=455 /frs/download.php/.*/tablet-encode-(.*)\.tar\.gz --- tablet-encode-2.30.orig/debian/control +++ tablet-encode-2.30/debian/control @@ -0,0 +1,28 @@ +Source: tablet-encode +Section: video +Priority: extra +Maintainer: Alessio Treglia +Homepage: http://mediautils.garage.maemo.org/tablet-encode.html +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 7.0.50) + +Package: tablet-encode +Architecture: all +Depends: ${perl:Depends}, + mencoder, + ${misc:Depends} +Recommends: libgtk2-perl +Description: video converter for Nokia Internet Tablets + tablet-encode can help with all these problems: + * It guarantees the output to be playable on a Nokia Internet Tablet using + a system of "profiles". + * It can rip and encode DVDs in a single step (dependent on mencoder version). + * It has a simple GUI interface for easily converting videos. + * It has a command-line interface so it can be easily scripted to + interface to your PVR (for example, MythTV, Freevo or VDR). + * Presets allow tradeoff between space/quality to be decided on a + per-video basis. + * Can optimise video size for the Internet Tablet's 15:9 screen. + * Handles anamorphic video sources such as widescreen DVDs. + * Output works with either the built-in Media Player, or mplayer. + * GUI and command line modes. --- tablet-encode-2.30.orig/debian/rules +++ tablet-encode-2.30/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_installchangelogs: + dh_installchangelogs README.txt --- tablet-encode-2.30.orig/debian/tablet-encode.1 +++ tablet-encode-2.30/debian/tablet-encode.1 @@ -0,0 +1,132 @@ +.TH TABLET-ENCODE 1 "December 15, 2009" +.SH NAME +tablet-encode \- video converter for Nokia Internet Tablets +.SH SYNOPSIS +.B tablet-encode +[\fIoptions\fR] \fIinput\fR \fIdestination\fR +.br +.B tablet-encode +[\fIoptions\fR] \fIinput\fR [\fIinput2\fR...] \fIdirectory\fR +.br +.B tablet-encode +[\fIoptions\fR] \-\-list \fIinput\fR [\fIinput2\fR...] +.SH OPTIONS +\fB\-g\fR, \fB\-\-gui\fR +open a graphical interface to tablet-encode +.TP +\fB\-q\fR, \fB\-\-quiet\fR +be vewwy vewwy quiet +.TP +\fB\-p\fR, \fB\-\-preset\fR=\fIPRESET\fR +preset to use. Use \-\-preset=list to see them all +.TP +\fB\-\-hq\fR +high quality encoding (takes longer). +.TP +\fB\-s\fR, \fB\-\-sample\fR=\fISECS\fR +produce a SECS second sample encoding. Default: 30 +.TP +\fB\-i\fR, \fB\-\-index\fR +generate avi file index +.TP +\fB\-i\fR, \fB\-\-index\fR +include material from `FILE' +.TP +\fB\-7\fR, \fB\-\-770\fR +use a different FOURCC for better 770 compatibility +.TP +\fB\-o\fR, \fB\-\-original\-aspect\fR +disable cropping image to better fit screen +.TP +\fB\-c\fR, \fB\-\-copy\-audio\fR +copy the existing audio track +.TP +\fB\-2\fR, \fB\-\-two\-pass\fR +encode in two passes for better quality +.TP +\fB\-m\fR, \fB\-\-mencoder\fR=\fIARGn\fR +pass ARGn to mencoder (can occur multiple times) +.TP +\fB\-t\fR, \fB\-\-subtitle\fR=\fIFILE\fR +embed subtitles in the converted video, from the specified file, or .srt +.TP +\fB\-e\fR, \fB\-\-episodes\fR +when auto-detecting DVD track, rip all episodes +.TP +\fB\-l\fR, \fB\-\-list\fR +specify that the arguments are a list of files to +encode, output file is input suffixed with preset +.TP +\fB\-h\fR, \fB\-\-help\fR +print this help, then exit +.SH DESCRIPTION +There are a number of different ways of using +tablet-encode, but the simplest is to give one existing movie (or URL) and +the filename of the target: +.PP + tablet-encode input.avi output.avi + tablet-encode http://www.example.com/somefilm.mov output.avi + tablet-encode dvd://1 output.avi +.PP +The last of these has shown MPlayer's support for DVDs. tablet-encode will +also auto-detect directories containing VIDEO_TS folders as DVDs, and +if the title on the DVD is unspecified, the longest will be used: +.PP + tablet-encode dvd: output.avi + tablet-encode /media/dvd/ output.avi +.PP +For TV series' DVDs, the '\-\-episodes' option can be used. This will rip +all episodes on the DVD within 10% of the middle-longest track (i.e. the +median): +.PP + tablet-encode \-\-episodes dvd: /media/nokia-external/Video/ +.PP +A number of presets are available. If none is specified, it defaults to +"average". A full list of the presets can be seen by passing `list' to the +\-\-preset option: +.PP + tablet-encode \-\-preset list +.PP +If the target of the encoding is a directory, multiple input files can +be specified: +.PP + tablet-encode file1.avi file2.mov file3.wmv output/ +.PP +There are many more options, a full listing is provided in the online help: +.PP + tablet-encode \-\-help +.PP +Running tablet-encode with no parameters will start a GUI version, if +possible. A GUI progress bar can be shown when specifying arguments with the +`\-\-gui' option. This requires the Gtk2-Perl bindings to be installed. +.SH CONFIGURING +The file `.tablet-encode.conf' will be read from your home directory at start +up. In this file you can define your own presets, change the default preset +used if none is specified and a few other things. +.PP +To define your own preset, say "dvd", create ~/.tablet-encode.conf in your +favourite editor and add the content: +.PP + $PRESET{dvd} = { abitrate => 256, vbitrate => 800, width => 400 }; +.PP +This will define a preset called 'dvd' with an audio bitrate of 256kbps, +a video bitrate of 800kbps and a maximum width of 400 pixels. The height is +auto-calculated based on the tablet's screen and the size of the input video. +.PP +To use the 'dvd' preset instead of 'average' when no preset is specified, +add the following line to ~/.tablet-encode.conf: +.PP + $defaultPreset = 'dvd'; +.PP +Note that this is a mini-Perl script, so blank lines and lines starting `#' +will be ignored. All statements MUST end in a semi-colon, `;'. +.PP +For Nokia 770 users, you may wish to always use 770-compatibility mode. To +achieve this, in ~/.tablet-encode.conf put: +.PP + $options{770} = 1; +.SH AUTHOR +tablet-encode was written by Andrew Flegg . +.PP +This manual page was written by Alessio Treglia , +for the Ubuntu project (and may be used by others). --- tablet-encode-2.30.orig/debian/tablet-encode.manpages +++ tablet-encode-2.30/debian/tablet-encode.manpages @@ -0,0 +1 @@ +debian/tablet-encode.1 --- tablet-encode-2.30.orig/debian/copyright +++ tablet-encode-2.30/debian/copyright @@ -0,0 +1,20 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59 +Name: tablet-encode +Maintainer: Andrew Flegg +Source: https://garage.maemo.org/frs/?group_id=455 + +Files: * +Copyright: 2006-2009, Andrew Flegg +License: Artistic + On Debian systems the full text of the GNU General Public + License can be found in the `/usr/share/common-licenses/Artistic' + file. + +Files: debian/* +Copyright: + 2009, Alessio Treglia + 2009, Christian Marillat +License: GPL-3 + On Debian systems the full text of the GNU General Public + License can be found in the `/usr/share/common-licenses/GPL-3' + file. --- tablet-encode-2.30.orig/debian/compat +++ tablet-encode-2.30/debian/compat @@ -0,0 +1 @@ +7