<br><br><div class="gmail_quote">On 7 January 2004 01:14, John Pilkington <span dir="ltr">&lt;<a href="mailto:J.Pilk@tesco.net" target="_blank">J.Pilk@tesco.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 03/07/13 12:31, Anthony Giggins wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
<br>
On 3 July 2013 17:35, John Pilkington &lt;<a href="mailto:J.Pilk@tesco.net" target="_blank">J.Pilk@tesco.net</a><br></div><div class="im">
&lt;mailto:<a href="mailto:J.Pilk@tesco.net" target="_blank">J.Pilk@tesco.net</a>&gt;&gt; wrote:<br>
<br>
    On 02/07/13 12:15, Anthony Giggins wrote:<br>
<br>
        Hi All,<br>
<br>
        Along the lines of<br></div>
        <a href="http://www.gossamer-threads." target="_blank">http://www.gossamer-threads.</a>__<u></u>com/lists/mythtv/users/537328<br>
        &lt;<a href="http://www.gossamer-threads.com/lists/mythtv/users/537328" target="_blank">http://www.gossamer-threads.<u></u>com/lists/mythtv/users/537328</a>&gt;<br>
<br>
        And <a href="http://code.mythtv.org/trac/__ticket/11593" target="_blank">http://code.mythtv.org/trac/__<u></u>ticket/11593</a><div class="im"><br>
        &lt;<a href="http://code.mythtv.org/trac/ticket/11593" target="_blank">http://code.mythtv.org/trac/<u></u>ticket/11593</a>&gt;<br>
<br>
        I tried running 0.25-fixes mythtranscode in place of my 0.26-fixes<br>
        mythtranscode but ran into library dependancy hell,<br>
        I&#39;m just thinking our loud here but given the state of mythtranscode<br>
        should the dev&#39;s just up-port 0.25 mythtranscode or is there<br>
        some other<br>
        reason these bugs are not being addressed? or are others not<br>
        experiencing these issues?<br>
<br>
        the alternative lossless cut options are not nearly as reliable,<br>
<br></div>
        <a href="http://www.mythtv.org/wiki/__Lossless_Cut" target="_blank">http://www.mythtv.org/wiki/__<u></u>Lossless_Cut</a><div class="im"><br>
        &lt;<a href="http://www.mythtv.org/wiki/Lossless_Cut" target="_blank">http://www.mythtv.org/wiki/<u></u>Lossless_Cut</a>&gt;<br>
        due to issues with HDHR recordings also rather I/O intensive<br>
        works much<br>
        better with ionice -c3<br>
<br></div>
        <a href="http://www.mythtv.org/wiki/__MythDVBcut" target="_blank">http://www.mythtv.org/wiki/__<u></u>MythDVBcut</a><div><div class="h5"><br>
        &lt;<a href="http://www.mythtv.org/wiki/MythDVBcut" target="_blank">http://www.mythtv.org/wiki/<u></u>MythDVBcut</a>&gt;<br>
        Works great with simple cuts only ie. leading/trailing only, not<br>
        so good<br>
        with Ad removal<br>
<br>
<br>
    As the perpetrator of this script, let me comment.  It works well<br>
    for me for recordings (DVB-T UK) where the video is identified by<br>
    ffmpeg as &#39;mpeg2video (Main)&#39;, which it cuts using Project-X.  For<br>
    other formats short audio glitches are to be expected at internal cuts.<br>
<br>
    John P<br>
<br>
<br>
<br>
Hi John,<br>
<br>
And thank you for your script.<br>
<br>
yes video is identified the same ie.<br>
[NULL @ 0x72f180] start time is not set in estimate_timings_from_pts<br>
[mpegts @ 0x729100] write_section_data: PID 0x499 CRC error<br>
Input #0, mpegts, from &#39;/storage3/recordings/4073_<u></u>20130703025000.mpg&#39;:<br>
   Duration: 01:29:58.36, start: 21314.455456, bitrate: 10094 kb/s<br>
     Stream #0:0[0x431]: Video: mpeg2video (Main), yuv420p, 1440x1080<br>
[SAR 4:3 DAR 16:9], 11000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc<br>
     Stream #0:1[0x433](eng): Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s<br>
     Stream #0:2[0x435](eng): Subtitle: dvb_teletext<br>
     Stream #0:3[0x499]: Data: dsmcc_b<br>
At least one output file must be specified<br>
<br>
I&#39;m is Australia and what I&#39;m finding is simple cuts work great but<br>
anything beyond a few cuts causes parts to be cut out incorrectly and<br>
creates files ALOT smaller then expected.<br>
<br>
-rw-rw-r-- 1 seven  seven     6346752 Jul  3 21:13<br>
/storage3/recordings/4073_<u></u>20130703025000.mpg<br>
-rw-r--r-- 1 mythtv mythtv 6811607352 Jul  3 14:20<br>
/storage3/recordings/4073_<u></u>20130703025000.mpg.old<br>
<br>
Cheers,<br>
<br>
Anthony<br>
<br>
</div></div></blockquote>
<br>
Hmm. Sorry to hear that.  All my mpeg2 stuff is 720x576 or less and it works ok.  There&#39;s a note on the wiki page about the remuxing failing at higher bitrates, and an mkv workaround, but I&#39;ve not used that myself.<br>

<br>
Cheers,<br>
<br>
John<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div>OK sorry I dont know how I missed that thread or the comment on the wiki, <br><br>is this ment to go into the existing script?<br><br>mythffmpeg -fflags +genpts -i $DEMUXPREF.m2v -i $DEMUXAUDIO -vcodec copy -acodec copy &quot;$OUTFILE&quot;<br>
<br>or is this a manual work around, It is more than likely a HD issue as the one that work reliably are not HD, perhaps this can be used only on a specific channel or perhaps depending on the resolution, what are your thoughts on automating this?<br>
<br>Cheers,<br><br>Anthony <br></div></div><br>