<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 11 November 2017 at 00:55, Mark Perkins <span dir="ltr"><<a href="mailto:perkins1724@hotmail.com" target="_blank">perkins1724@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="color:black"><div><div class="h5">
<p style="margin:0 0 1em 0;color:black;font-family:sans-serif">On 10 November 2017 10:27:35 pm Anthony Giggins <<a href="mailto:seven@seven.dorksville.net" target="_blank">seven@seven.dorksville.net</a>> wrote:<br>
</p>
<p style="margin:0 0 1em 0;color:black;font-family:sans-serif">> I just use the following as my userjob, mainly so its all stored in the<br>
> database, so I dont need to remember to migrate a script and I use .mp4 as<br>
> its pretty universally accepted these days<br>
><br>
> /usr/bin/HandBrakeCLI -i "%DIR%"/"%FILE%" -o /storage/videos/"%TITLE%"" -<br>
> S00E00 - ""%SUBTITLE%".mp4 --preset="iPhone & iPod touch"<br>
><br>
> I also heavily use mythexport <a href="https://launchpad.net/mythexport" target="_blank">https://launchpad.net/<wbr>mythexport</a> with a<br>
> custom config module to use the same Handbrake command above<br>
><br>
> /usr/share/mythexport/configs/<wbr>iPhoneHandbrake.pm<br>
> #!/usr/bin/perl<br>
><br>
> package iPhoneHandbrake;<br>
><br>
> use ExportBase;<br>
><br>
> our @ISA = qw(ExportBase);<br>
><br>
> my $description = "Low Resolution (480x?) Handbrake H264 Settings.";<br>
> my $devices = "Handbrake iPhone & iPod Touch profile (example iPod Touch,<br>
> iPhone, iPad";<br>
> my $notes = "Requires Handbrake, <a href=\"<br>
> <a href="https://help.ubuntu.com/community/Medibuntu%5C" target="_blank">https://help.ubuntu.com/<wbr>community/Medibuntu\</a>">activate Medibuntu</a>";<br>
> my $version = "1.0";<br>
><br>
> sub new{<br>
> my $class = shift;<br>
> my $self = $class->SUPER::new(shift, shift, $description, $devices,<br>
> $notes, $version);<br>
> bless $self, $class;<br>
> return $self;<br>
> }<br>
><br>
> sub export{<br>
> my( $self ) = @_;<br>
><br>
> system("HandBrakeCLI -i \'$self->{_inputFile}\' -o<br>
> \'$self->{_outputFile}$self->{<wbr>_extension}\' --preset='iPhone & iPod<br>
> touch'");<br>
> system("chmod 666 \'$self->{_outputFile}$self->{<wbr>_extension}\'");<br>
> }<br>
><br>
> 1;<br>
><br>
><br>
> Cheers,<br>
><br>
> Anthony<br>
><br>
><br>
></p>
<p style="margin:0 0 1em 0;color:black"></p>
</div></div><p style="margin:0 0 1em 0;color:black">Do both these leave the commflag cuts in?
<br>
</p>
<p style="margin:0 0 1em 0;color:black;font-family:sans-serif"><br></p></div></div></blockquote><div>Yes, it assumes that commercials have been already cut and transcoded out, typically I use mythcut to Load the commflag list so I can confirm and then transcode.</div><div><br></div><div>Cheers,</div><div><br></div><div>Anthony </div></div><br></div></div>