<div dir="ltr"><div><div><div><div><div>I had a similar problem when I started recording from the ATSC antenna using <br></div>a cheap PVR.<br><br></div>The recording are in .mts format, and I convert them into .mkv using aconv,<br></div>which is part of libav-tools, which is the fork of ffmpeg used on Ubuntu.<br><br></div><div>I have a script that renames files and reduce them. <br><br></div><div>The relevant part of the script is this:<br></div><div><br>PATH_IN=something.mts<br>PATH_OUT=something.mkv<br>avconv -v fatal -y -i $PATH_IN -c:v libx264 -crf 22 -s hd720 -preset veryfast -acodec copy $PATH_OUT<br><br></div>The reduction in size is amazing. Instead of 60GB per hour, I can reduce 10X down to <br>just ~ 6GB or so, with no noticeable loss of quality at all (to my eyes).<br><br></div>Perhaps you can try the above with an .mkv file and see if it makes a difference.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 5, 2018 at 9:28 AM, Charles M <span dir="ltr"><<a href="mailto:chaslinux@gmail.com" target="_blank">chaslinux@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Good chilly morning KWLUG! I've been ripping DVDs and Blu-ray discs<br>
for several years now for use on the KODI server attached to our<br>
living room TV and shared with a couple of Android boxes in other<br>
rooms. During that time I've been battling with storage problems. DVDs<br>
are not so much of an issue, the file sizes are small, and the quality<br>
is acceptable for the medium. Blu-ray files are the real problem. I<br>
use MakeMKV on Linux (licensed user, was worth it) to rip Blu-rays.<br>
MakeMKV is great, but the resulting Blu-ray files are sometimes very<br>
large (45GB).<br>
<br>
I started re-encoding a file once with Handbrake, but stopped once I<br>
realized it was going to take over an hour to re-encode it on my<br>
A8-5600k (16GB, NVidia GeForce 650Ti). Part of the reason I stopped it<br>
was because I had no idea if:<br>
<br>
* The video would retain a decent amount of detail (can you still see<br>
details in the face/eyes)<br>
* The size would be much different? Blu-rays are already highly compact AFAIK<br>
* Would the subtitles still be in the resulting file? (subtitles are<br>
important for me)<br>
<br>
My solution up to this point has just been to throw more storage at<br>
the problem. At first it was adding a 3TB drive to the existing 2TB<br>
drive, then another 3TB drive, before finally breaking down and buying<br>
an 8TB drive. At the moment I'm just using the 8TB drive, with the 2,<br>
3, and 3 as external backup drives. I'm embarrassed to say I'm running<br>
out of space on the 8TB drive (I blame Game of Thrones).<br>
<br>
Ideally wondering if someone has a script to batch process files using<br>
ffmpeg or transcode with reasonable settings for quality?<br>
<br>
______________________________<wbr>_________________<br>
kwlug-disc mailing list<br>
<a href="mailto:kwlug-disc@kwlug.org">kwlug-disc@kwlug.org</a><br>
<a href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org" rel="noreferrer" target="_blank">http://kwlug.org/mailman/<wbr>listinfo/kwlug-disc_kwlug.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Khalid M. Baheyeldin<br><a href="http://2bits.com" target="_blank">2bits.com</a>, Inc.<br>Fast Reliable Drupal<br>Drupal optimization, development, customization and consulting.<br>Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. -- Leonardo da Vinci<br>For every complex problem, there is an answer that is clear, simple, and wrong." -- H.L. Mencken<br></div>
</div>