<div dir="ltr"><div>Facts:<br>The 'recordedfile' table stores details about the<br>containerformat and the used codecs of a recording,<br>as well as the file properties of that recording.<br><br>The 'recordedfile' table gets updated during in <br>progress-recording or after a recording is finished.<br>Mythtranscode updates the content of a recordedfile as well.<br>The entry of the 'recordedfile' is deleted on deletion of the recording.<br>Upnp reads codec and other data from the 'recordedfile' table.<br><br>Parts of the content of the 'recordedfile' is available<br>in the 'recordedmarkup' table as well:<br>Aspect, dimensions, duration, average frames speed of a recording.<br><br>The program "mythcommflag --rebuild" updates the markup table entries<br>listed above, but does not update the 'recordedfile' table entry.<br><br>In contrast, the frontend displays details about a recording which<br>are taken from the entry of the 'recordedprogram' table:<br>See file mythtv\programs\mythfrontend\progdetails.cpp<br>For example, the icons for the videodimensions (HD, 1080, 720)<br>are derived from the 'recordedprogram' entry, <br>i.e.: from the 'videoprop' and 'audioprop' values.<br><br><br>Please consider the following use case:<br>An existing recording is transcoded in place by a user job,<br>which changed the filename, codecs, duration, dimensions<br>etc. of that recording.<br>The user job has to take care that the 'recordedfile' table<br>and the 'recordedmarkup' table are updated accordingly.<br><br><br>Now my questions:<br>By what means do you update the 'recordedfile' table? <br>I know of the Python Bindings (v31+) or running an SQL command<br>directly, but are there other means to achieve this, like the<br>ServicesAPI or "mythutil" ?<br><br>In case of transcoding to a suitable video container format,<br>like matroska or mp4, do I need to preserve the entries in the<br>'recordedmarkup' table at all?<br>Can I simply clear the recorded-seek and -markup table entries<br>for that recording in that case?<br><br></div>Roland<br></div>