<html><head></head><body><div class="ydp3a1fb2a5yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div><div><div dir="ltr" data-setdir="false" style="font-size: 16px; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">For video, I have a 2012 era AMD processor with integrated graphics. Ubuntu settings reports it as Processor: AMD® A10-5800k apu with radeon(tm) hd graphics × 4 Graphics:AMD® Aruba</div><div dir="ltr" data-setdir="false" style="font-size: 16px; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><br></div><div dir="ltr" data-setdir="false"><div style="font-size: 16px; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><div>lspci |grep Radeon</div><div>00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7660D]</div><div><br></div></div><div dir="ltr" data-setdir="false" style="font-size: 16px; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">Originally, there was a proprietary Radeon driver I used, but these days I just use the stock Ubuntu drivers. I updated everything yesterday hoping this would help but it did not.</div><div dir="ltr" data-setdir="false" style="font-size: 16px; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><br></div><div dir="ltr" data-setdir="false" style="font-size: 16px; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">I did try mythcommflag to rebuild the seek table and got a big surprise. After running it, the video will not play at all. When you start it, it simply displays the end of recording prompt right off the bat. Here is some sample output.</div><div dir="ltr" data-setdir="false" style="font-size: 16px; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><br></div><div dir="ltr" data-setdir="false"><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font face="courier new, courier, monaco, monospace, sans-serif" size="2">time mythcommflag --rebuild -f 1504_20211225053500.ts</font></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font face="courier new, courier, monaco, monospace, sans-serif" size="2">2021-12-25 08:14:35.104062 C mythcommflag version: fixes/31 [v31.0+fixes.202111081900.25f1bb1d12~ubuntu20.04.1] www.mythtv.org</font></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font face="courier new, courier, monaco, monospace, sans-serif" size="2">2021-12-25 08:14:35.104082 C Qt version: compile: 5.12.8, runtime: 5.12.8</font></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font face="courier new, courier, monaco, monospace, sans-serif" size="2">MythTV Commercial Flagger, building seek table for:</font></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font face="courier new, courier, monaco, monospace, sans-serif" size="2"> The Late Show With Stephen Colbert - Anderson Cooper; Andy Cohen</font></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font face="courier new, courier, monaco, monospace, sans-serif" size="2">Rebuild started at Sat Dec 25 08:14:36 2021</font></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font face="courier new, courier, monaco, monospace, sans-serif" size="2">Rebuild completed at Sat Dec 25 08:15:16 2021</font></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font face="courier new, courier, monaco, monospace, sans-serif" size="2">2021-12-25 08:15:16.744057 E decoding error End of file (-541478725)</font></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font face="courier new, courier, monaco, monospace, sans-serif" size="2"><br></font></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font face="courier new, courier, monaco, monospace, sans-serif" size="2">real<span style="white-space: pre-wrap;"> </span>0m43.234s</font></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font face="courier new, courier, monaco, monospace, sans-serif" size="2">user<span style="white-space: pre-wrap;"> </span>0m16.925s</font></div><div style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font face="courier new, courier, monaco, monospace, sans-serif" size="2">sys<span style="white-space: pre-wrap;"> </span>0m2.887s</font></div><div><font face="courier new, courier, monaco, monospace, sans-serif" size="2"><br></font></div></div></div></div><br></div><div><br></div>
</div><div id="ydp5ac0df53yahoo_quoted_1239331003" class="ydp5ac0df53yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Friday, December 24, 2021, 08:14:20 PM MST, Stephen Worthington <stephen_agent@jsw.gen.nz> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">On Sat, 25 Dec 2021 01:25:59 +0000 (UTC), you wrote:<br clear="none"><br clear="none">>I've been living with and frustrated by a problem with recordings from my local CBS broadcast channel.<br clear="none">>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, "Everything in this encoding scheme is industry standard, so I wouldn’t expect there to be any problem decoding it with commercial equipment." I'm not technical enough to determine what has changed that would give mythtv so much trouble. Here are the symptoms:<br clear="none">>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.<br clear="none">>After the change, the timing information of the recordings is off. A 60 minute recording, when paused will report as 75 minutes.<br clear="none">>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).<br clear="none">>Note: I don't run any transcoding jobs on my recordings. I've upgraded to Ubuntu 20.04.3 with latest mythtv patches (31.0+fixes.202111081900.25f1bb1d12~ubuntu20.04.1).<br clear="none">>Any suggestions?<br clear="none"><br clear="none">The lockup problem sounds like the video has a bad interaction with<br clear="none">the Nvidia drivers and is triggering a bug. When I first got my<br clear="none">Nvidia GT1030 cards, I used to get lockups like that, but updated<br clear="none">drivers reduced the frequency of the problem and a further update<br clear="none">stopped it altogether. So what Nvidia GPU are you using? What<br clear="none">version of the Nvidia drivers are installed? These commands should<br clear="none">tell you:<br clear="none"><br clear="none">lspci | grep -i nvidia<br clear="none">apt list --installed | grep -i nvidia<br clear="none"><br clear="none">The problem with seeking and programme length is something I<br clear="none">occasionally get with a recording, where the seek table is not being<br clear="none">built correctly during the recording process. But if I use<br clear="none">mythcommflag to rebuild it, the seek table normally then is valid and<br clear="none">works correctly. I do that by having a user job set up do this:<br clear="none"><br clear="none">mythtv-setup > General > Job Queue (Job Commands)<br clear="none"><br clear="none">Pick one of the four user jobs that does not have a command set up<br clear="none">already and change the description to "Rebuild seek table" and the<br clear="none">command to "mythcommflag --rebuild -f %FILE%". Then whenever you have<br clear="none">a recording with a seek table problem, select that recording from the<br clear="none">programmes list and do:<br clear="none"><br clear="none">M(enu) > Job options<br clear="none"><br clear="none">and select the "Begin Rebuild seek table" option. That queues the<br clear="none">mythcommflag job to be started, and when the job queue is next<br clear="none">examined by mythbackend (it can take up to 30? seconds), the<br clear="none">mythcommflag job will be started. If you open a command prompt and<br clear="none">run this:<br clear="none"><br clear="none">ps -ef | grep mythcommflag<br clear="none"><br clear="none">you can see when the mythcommflag job starts and when it has finished.<br clear="none">Once it has finished, seeking should work properly. The time taken<br clear="none">for mythcommflag to recreate the seek table depends on how powerful<br clear="none">the PC is, but is generally only a minute or two on a modern PC. Doing<br clear="none">this will lose all the commercial skip information as well, as that is<br clear="none">also stored in the seek table. If you want to recreate that as well,<br clear="none">you will need to run another mythcommflag job on the recording after<br clear="none">the --rebuild one is finished. For that job, leave out the<br clear="none">"--rebuild" flag. Doing commercial skip processing takes a lot longer<br clear="none">than just rebuilding the seek table as the data in each frame of the<br clear="none">video and audio needs to be read and processed.<br clear="none"><br clear="none">There are also some commands you can try on the recording files to see<br clear="none">what format they are in: mediainfo and ffprobe. You may need to<br clear="none">install the appropriate packages to get those commands, or use<br clear="none">mythffprobe which comes as part of the MythTV packages. To find the<br clear="none">recording file for a recording, use the I key (or Info button on your<br clear="none">remote). There should be a line displayed that says "Recording File<br clear="none">:" that has the name of the file, usually a .ts file these days. On a<br clear="none">command line, run this command:<br clear="none"><br clear="none">locate <recording file name><br clear="none"><br clear="none">and the file and its thumbnail file(s) should be listed. If the<br clear="none">locate command is not available, you will need to install it:<br clear="none"><br clear="none">sudo apt install mlocate<br clear="none"><br clear="none">If the locate command can not find the file (if it was recorded in the<br clear="none">last 24 hours), you will need to update the file location database<div class="ydp5ac0df53yqt2445834133" id="ydp5ac0df53yqtfd33207"><br clear="none">first:</div><br clear="none"><br clear="none">sudo updatedb<br clear="none"><br clear="none">That takes a while as all the directories on all the disks have to be<br clear="none">scanned. It is normally done automatically every day by a cron job in<br clear="none">the early morning.<br clear="none">_______________________________________________<br clear="none">mythtv-users mailing list<br clear="none"><a shape="rect" href="mailto:mythtv-users@mythtv.org" rel="nofollow" target="_blank">mythtv-users@mythtv.org</a><br clear="none"><a shape="rect" href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="nofollow" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br clear="none"><a shape="rect" href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="nofollow" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br clear="none">MythTV Forums: <a shape="rect" href="https://forum.mythtv.org" rel="nofollow" target="_blank">https://forum.mythtv.org</a><div class="ydp5ac0df53yqt2445834133" id="ydp5ac0df53yqtfd45817"><br clear="none"></div></div></div>
</div>
</div></body></html>