Comments for Cats and Code http://blog.gorwits.me.uk by Oliver Gorwits Sun, 29 Dec 2013 17:47:01 +0000 hourly 1 http://wordpress.org/?v=3.6.1 Comment on MythTV Transcoding (3): Transcoding for iPad Playback by Brian Pickford http://blog.gorwits.me.uk/2011/09/04/mythtv-transcoding-3-transcoding-for-ipad-playback/#comment-484 Brian Pickford Sun, 29 Dec 2013 17:47:01 +0000 http://blog.gorwits.me.uk/?p=577#comment-484 I’ve followed this guide and enjoyed the results, thanks for your efforts in documenting this.
To make it work on Mythbuntu 12.04LTS I had to compile Yasm from source. I guess this issue will disappear with the next LTS.

Additionally to use this with mythexport, I added the following to a file called /usr/share/mythexport/configs/TabTrans.pm


#!/usr/bin/perl

# Update this with a package name relivant to your new config, make sure it matches with the file name (without the extension).
package TabTrans;

use ExportBase;

our @ISA = qw(ExportBase);

#Example strings, replace with something relivant to your new config.
my $description = "h264xcode default settings.";
my $devices = "Tablet and superphone";
my $notes = "Requires custom ffmpeg build, see http://blog.gorwits.me.uk/2011/09/04/mythtv-transcoding-3-transcoding-for-ipad-playback/";
my $version = "1.0";

#Inherit our base class.
sub new{
my $class = shift;
my $self = $class->SUPER::new(shift, shift, $description, $devices, $notes, $version);
bless $self, $class;
return $self;
}

sub export{
my( $self ) = @_;

# Any command can go here, below is an example of ffmpeg, but you can use anything you would like.
# Available variables are inputFile, outputFile, and extension
# system("ffmpeg -i \'$self->{_inputFile}\' -y -pass 1 -an -vcodec libx264 -vpre slowfirstpass -vpre ipod640 -b 1500kb -bt 1000kb -threads 0 -s 800x480 -aspect 16:9 -f$
system("time nice -n 19 /usr/local/bin/ffmpeg-264 -i \'$self->{_inputFile}\' -y -map 0:0 -map 0:1 -er 4 -f ipod -acodec libfaac -ac 2 -ab 128k -ar 44100 -deinterlace -vc$

}

#Feel free to use or extend anything from the base class.

1;

]]>
Comment on SyntaxHighlighter and Chrome vertical scrollbar bug by FlyingFish http://blog.gorwits.me.uk/2011/02/01/syntaxhighlighter-and-chrome-vertical-scrollbar-bug/#comment-359 FlyingFish Wed, 07 Aug 2013 13:52:16 +0000 http://blog.gorwits.me.uk/?p=124#comment-359 It’s very helpful for me, thank you.

]]>
Comment on Smokeping+lighttpd+TCPPing on Debian/Ubuntu by Home Internet Monitoring Appliance | Ausfestivus's Blog http://blog.gorwits.me.uk/2011/08/11/smokepinglighttpdtcpping-on-debianubuntu/#comment-352 Home Internet Monitoring Appliance | Ausfestivus's Blog Mon, 01 Jul 2013 23:49:00 +0000 http://blog.gorwits.me.uk/?p=572#comment-352 [...] http://blog.gorwits.me.uk/2011/08/11/smokepinglighttpdtcpping-on-debianubuntu/ [...]

]]>
Comment on MythTV Transcoding (3): Transcoding for iPad Playback by Oliver Gorwits http://blog.gorwits.me.uk/2011/09/04/mythtv-transcoding-3-transcoding-for-ipad-playback/#comment-347 Oliver Gorwits Sun, 19 May 2013 18:33:09 +0000 http://blog.gorwits.me.uk/?p=577#comment-347 As root (you may have to sudo):

touch /var/log/mythtv/h264xcode.log
chmod mythtv.mythtv /var/log/mythtv/h264xcode.log

]]>
Comment on MythTV Transcoding (3): Transcoding for iPad Playback by David Tranter http://blog.gorwits.me.uk/2011/09/04/mythtv-transcoding-3-transcoding-for-ipad-playback/#comment-346 David Tranter Sat, 18 May 2013 18:14:11 +0000 http://blog.gorwits.me.uk/?p=577#comment-346 I have this all setup but am seeing the job queued as per the first comment from Brad how do I carry out the below suggestions?

you need to (as root) touch /var/log/mythtv/h264xcode.log and chmod it to mythtv:mythtv. Otherwise the jobs stay in the ‘queued’ state because mythtv doesn’t know about the errors (see below).

]]>
Comment on Migrate SourceForge CVS repository to git by Benj http://blog.gorwits.me.uk/2011/06/22/migrate-sourceforge-cvs-repository-to-git/#comment-326 Benj Mon, 28 Jan 2013 12:30:58 +0000 http://blog.gorwits.me.uk/?p=529#comment-326 To make it work, I had to use the following path instream of the path mentionned in your post.

/home/git/p/PROJECTNAME/MOUNTPOINT.git/

Some additional information here : https://sourceforge.net/p/allura/tickets/5470/

Cheers,
Benj

]]>
Comment on Getting Stuck In by Oliver Gorwits http://blog.gorwits.me.uk/2012/12/07/getting-stuck-in/#comment-308 Oliver Gorwits Mon, 17 Dec 2012 10:51:37 +0000 http://blog.gorwits.me.uk/?p=800#comment-308 I’m not sure I share such anticipation :-)

]]>
Comment on Getting Stuck In by Dave Ewart http://blog.gorwits.me.uk/2012/12/07/getting-stuck-in/#comment-307 Dave Ewart Thu, 13 Dec 2012 09:02:54 +0000 http://blog.gorwits.me.uk/?p=800#comment-307 I look forward to The Continuing Adventures of Oliver Gorwits :-)

]]>
Comment on Simple Tools for Describing Rack Layouts by Oliver Gorwits http://blog.gorwits.me.uk/2012/08/09/simple-tools-for-describing-rack-layouts/#comment-306 Oliver Gorwits Thu, 22 Nov 2012 20:36:57 +0000 http://blog.gorwits.me.uk/?p=779#comment-306 That looks a really nice piece of software – well done!

I’m pleased you have a live demo on-line, it makes a big difference to potential customers, I think. I played around a bit in the demo and found it intuitive and full featured. Good luck with your business.

]]>
Comment on Simple Tools for Describing Rack Layouts by Hrvoje http://blog.gorwits.me.uk/2012/08/09/simple-tools-for-describing-rack-layouts/#comment-305 Hrvoje Thu, 22 Nov 2012 01:04:35 +0000 http://blog.gorwits.me.uk/?p=779#comment-305 Hi Oliver,
Can u please look at noclayer and tell /write some opinion, i would very much appreciate it.

]]>