On 11/25/06, <b class="gmail_sendername">Paul Harrison</b> <<a href="mailto:mythtv@dsl.pipex.com">mythtv@dsl.pipex.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
John Drescher wrote:<br>> Paul,<br>><br>> If you could modify mythburn.py to _optionally_ use ProjectX to do<br>> the<br>> commercial cutting and demuxing I would be happy to apply it.<br>><br>
><br>> I can do that if needed. The problem here is that some parts of the<br>> myth code does not quite fit. With projectX I am not sure how to<br>> handle multiple audio streams as my recordings only have one stream.
<br>><br>The multiple audio stuff is only partially implemented anyway. No one<br>has shown much interest in it. If you have some code for me to take a<br>look at I could probably rework it to work with the multiple audio
<br>channels.<br><br>I seem to remember that the old mythburn scripts had to use the log file<br>produced by projectX to find the correct audio stream to use. How are<br>you doing this, is it done in python or are you calling external bash
<br>scripts?</blockquote><div><br>I did the audio part in python and selected the first audio stream only. However <br>currently the cutting I do as an external bash script. I have written a script that I can run <br>in a batch to cut the commercials from a group of files at once. The script rebuilds the seek
<br>table for each file and updates that mythdatabase for the new size of the file and also removes<br>the commercial cutlist from myth and renames the old file to .old. This way I can watch the <br>cut shows in front end and then when I want eventually I can run mytharchive on them and
<br>burn them to dvd+rw. <br><br>John<br> </div><br></div>