<br><br><div class="gmail_quote">On Tue, Sep 21, 2010 at 7:39 AM, Doug Vaughan <span dir="ltr">&lt;<a href="mailto:r.d.vaughan@rogers.com">r.d.vaughan@rogers.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
John and Kirk,<br>
    I regularly edit and transcode HDPVR recordings. There are some restrictions which may not suit you but here is what I do.<br>
<br>
1) I locked my STB to 1280x720p output. This keeps the recording size down but allows me to reliably use a video editor.<br>
2) I use a compiled version of Avidemux 2.4 as I found at least the Ubuntu packaged version could not handle the audio AC3 tracks. Avidemux has not worked for me with 1920x1080i HDPVR recordings. I have reliably edited up to 8Gb files if the 1280x720p restriction is adheared to. Although I rarely record more than 6Gb HDPVR file.<br>

3) I edit the HDPVR recording as needed then save as an avi with copy audio and copy video settings.<br>
4) I run a ffmpeg copying the audio and video tracks to change the container from avi to mkv. This also sets a seek table that reliably works with the MythTV internal player.<br>
5) If you want to transcode the mkv file use HandBrake either the GUI or the CLI. I have several presets for various sizes of transcoded video. Handbrake already has iPod presets that you can use. I transcode the output to mkv files. If you want to use the cli then you can cut and paste their iPod presets from the GUI. That was my starting point when building my customized presets.<br>

6) Occasionally the audio can be out of sync which I correct with a feature of MKV File Creator GUI. MKV File Creator will not accept the HDPVR recordings directly you need to at least change their container type with a ffmpeg copy.<br>

<br>
As I can write python and bash scripts, outside of the manual editing or audio resync, the whole process has been automated. I even initiate the process as a right click script in Nautilus. The transcoding occurs as an overnight cron job.<br>

<br>
This would not be what everyone would want but has worked well for my needs almost two years now.<br></blockquote><div><br>Doug, do you use avidemux interactively or via scripting? It should be easyish (for someone with a bit of knowledge) to extract the cutpoints from the database and insert them into an avidemux control file, then run avidemux-cli.Is this what you do?<br>
 </div><br></div>