<html><head></head><body><div class="ydpf7ababecyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div dir="ltr" data-setdir="false">I tried converting the codecs using the command you supplied </div><div dir="ltr" data-setdir="false"><span><span style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">ffmpeg -i temp.ts -vcodec libx264 -crf 24 -tune film -acodec copy (mythrecname).ts</span></span><br></div><div dir="ltr" data-setdir="false"><span><span style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><br></span></span></div><div dir="ltr" data-setdir="false">Surprise! That locked up my machine after it had gotten about 5 minutes in.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">ffprobe reported these streams in that file.</div><div dir="ltr" data-setdir="false"><div><div>Input #0, mpegts, from '1504_20211224010000.original.ts':</div><div> Duration: 00:34:27.45, start: 22646.908422, bitrate: 7758 kb/s</div><div> Program 1 </div><div> Stream #0:0[0x760]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc</div><div> Stream #0:1[0x761](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s</div><div> Stream #0:2[0x762](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 128 kb/s</div><div><br></div></div><br></div><div><br></div>
</div><div id="ydp4f18846byahoo_quoted_1014171515" class="ydp4f18846byahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Friday, December 24, 2021, 07:19:12 PM MST, glen <glenb@glenb.net> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="ydp4f18846byiv1250095707"><div><div id="ydp4f18846byiv1250095707yqt69822" class="ydp4f18846byiv1250095707yqt6287710137"><div>On Sat, 2021-12-25 at 01:25 +0000, Vincent Poore via mythtv-users wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;" class="ydp4f18846byiv1250095707yahoo-style-wrap"><div dir="ltr">I've been living with and frustrated by a problem with recordings from my local CBS broadcast channel.</div><div dir="ltr"><br clear="none"></div><div dir="ltr">It all started when my local station added a new digital sub-channel. I know this because my problem started on March 1st and a call to the station engineer confirmed changes were made to the broadcast signal early that Sunday morning. He says, "<span><span style="color:rgb(34, 34, 34);font-family:Arial, Helvetica, sans-serif;font-size:14.6667px;">Everything in this encoding scheme is industry standard, so I wouldn’t expect there to be any problem decoding it with commercial equipment."</span></span> I'm not technical enough to determine what has changed that would give mythtv so much trouble. Here are the symptoms:</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Prior to the change, I used VDPAU High Quality Video Playback Profile. After the change, this profile on the bad channel will eventually cause my machine to lock up. It starts with some serious macro blocking and then eventually freezes the display and I have to use power reset to recover my machine. I discovered I am able to view the programs using Open GL High Quality. I'm not happy about the higher CPU, but at least I can watch my programs. However, two other bad symptoms manifest.</div><div dir="ltr"><br clear="none"></div><div dir="ltr">After the change, the timing information of the recordings is off. A 60 minute recording, when paused will report as 75 minutes.</div><div dir="ltr"><br clear="none"></div><div dir="ltr">I suspect this is related to the third symptom which is that skip forward or back doesn't work properly. The first skip forward will actually jump backward some random offset (usually 3 or 4 minutes) and then progress forward from there with repeated commands. A skip backward does the same thing (first skip offset backwards 3 to 4 minutes).</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Note: I don't run any transcoding jobs on my recordings. I've upgraded to Ubuntu 20.04.3 with latest mythtv patches (3<span>1.0+fixes.202111081900.25f1bb1d12~ubuntu20.04.1).</span></div><div dir="ltr"><br clear="none"></div><div dir="ltr">Any suggestions?</div></div><div>_______________________________________________<br clear="none"></div><div>mythtv-users mailing list<br clear="none"></div><div><a shape="rect" href="mailto:mythtv-users@mythtv.org" target="_blank" rel="noreferrer noopener">mythtv-users@mythtv.org</a><br clear="none"></div><div><a shape="rect" href="http://email.mg.glenb.net/c/eJwtjcsOgyAURL9GdyWIXNEFi276H5cLKAkPg9TEv69tmpnVOZOM1eTRguyDnpSVhiQZYRZLdjFKCFQG5js0-GkQRFyNnBEmFzvJ1-iyYdm1ftMGOHlvAUAoOUrLAecB50V4A4DC9lFvre3d-OzE624MRztYutrWTlbqeqOEISbMfxmyL1_4Wzzeh6tHX_UZMrm9lOru_wu3UhiV9AEsoj9v" target="_blank" rel="noreferrer noopener">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br clear="none"></div><div><a shape="rect" href="http://email.mg.glenb.net/c/eJwNjTESgyAQAF-jJXOCiBQUaVIlb3DgOIWJijEXM_4-zm61zUaHo4-6rbPrTGwDthhksBGjDUZKb4LuL7AZu0YiglEg0C80Vy1MM61BrMR1ckoZHS1E7IC0NAAWFKAk1ZMGHUM9u8S8VepWyfvlL7-yWE5OfIiyT1d5-jzndRoe-cMDcX5_iZnq3R15RdpK2el6nj6VIrAsfxpTOsU" target="_blank" rel="noreferrer noopener">http://wiki.mythtv.org/Mailing_List_etiquette</a><br clear="none"></div><div>MythTV Forums: <a shape="rect" href="http://email.mg.glenb.net/c/eJwNzDsOwyAQANHTmBKZ3wIFRZrcAxYwlow3IsSSbx9rXj05YI3ZaLYHsFkn1Jhk8hmzT1bKaJNxTygqCIm4WrVyjL0ci163o5yJn2WyFpwpWoD31SldAYyuaCEDCid9xajYEdqcn--iXot8PyqNX-f9nm1enMbGRrj2E8uHaJRnfsdGxJH6H1PbMnk" target="_blank" rel="noreferrer noopener">https://forum.mythtv.org</a><br clear="none"></div></blockquote></div><div><br clear="none"></div><div>i would check a few things to experiment. i assume the capture (.ts file in myth) is mpeg2 and ac3 audio .. right ?</div><div><br clear="none"></div><div>first on a completed recording see if just changing the container does anything. first move the finished file to a temp file: mv (mythrecname).ts temp.ts then run: ffmpeg -i temp.ts -vcodec copy -acodec copy (mythrecname).ts after that check in the frontend and see if you have the same issues. </div><div><br clear="none"></div><div>if you still have those issues then consider just running a transcode job with ffmpeg when the recording completes and transcode the video to libx264..you could do it as a user job script and just filter for the offending channel. but first test it with</div><div><br clear="none"></div><div>run: mv (mythrecname).ts temp.ts then run: ffmpeg -i temp.ts vcodec libx264 -crf 24 -tune film -acodec copy (mythrecname).ts</div><div><br clear="none"></div><div>you would probably want to customize the ffmpeg libx264 options for deinterlace if you need etc... but it should play ok in the frontend.</div><div><span></span></div><img width="1px" height="1px" alt="" src="http://email.mg.glenb.net/o/eJwNy1EKwyAMANDTzE8xGs388DAmMWuh1VHGYLdfed9Pm1jXjG5vhRRZUDhyVdHKFGMnzs-bgBWIIoFS8NLPcTwwvI4x2c_xcVuDLJW0SEJAzMVAjVIGoI7JrJq72nefMt5rXeO-v76t5WWdf6LzJxU" data-inlineimagemanipulating="true"></div></div></div>
</div>
</div></body></html>