<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 26, 2022 at 3:55 PM James Abernathy <<a href="mailto:jfabernathy@gmail.com">jfabernathy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 26, 2022 at 3:00 PM Roland Ernst <<a href="mailto:rcrernst@gmail.com" target="_blank">rcrernst@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 26, 2022 at 8:16 PM James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 26, 2022 at 11:23 AM Roland Ernst <<a href="mailto:rcrernst@gmail.com" target="_blank">rcrernst@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 26, 2022 at 4:48 PM Jay Harbeston <<a href="mailto:jharbestonus@gmail.com" target="_blank">jharbestonus@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><br><div><br><blockquote type="cite"><div>On Oct 26, 2022, at 10:37 AM, Jay Harbeston <<a href="mailto:jharbestonus@gmail.com" target="_blank">jharbestonus@gmail.com</a>> wrote:</div><br><div><div><br><div><br><blockquote type="cite"><div>On Oct 26, 2022, at 9:37 AM, James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>> wrote:</div><br><div><div dir="ltr">I'm running the latest v32 on Ubuntu 22.04 and experimenting with commercial flagging, editing, and  transcoding.<div><br></div><div>My problem is with the User Job Transcode.  Using mythfrontend I navigate to the recording and instead of playing it I navigate to User Jobs and select Transcode video and then select default profile.  The job will queue but fail immediately.</div><div><br></div><div>Not sure if I have to set up something first, but it's not working by default. Here's the transcode log.</div><div><br></div><div><span style="font-family:monospace">Oct 26 09:22:04 kubuntu-closet mythtranscode: mythtranscode[217202]: E CoreContext transcode.cpp:729 (TranscodeFile) No video information found!
<br>Oct 26 09:22:04 kubuntu-closet mythtranscode: mythtranscode[217202]: E CoreContext transcode.cpp:730 (TranscodeFile) Please ensure that recording profiles for the transcoder are set
<br>Oct 26 09:22:04 kubuntu-closet mythtranscode: mythtranscode[217202]: E CoreContext main.cpp:746 (main) Transcoding /data/mythtv/recordings/16218_20221004020000.ts failed
<br></span></div></div></div></blockquote><br></div><div>Looks like this is the problem. You need some recording profiles. I did do this long ago, but don’t remember whether they are defined in the frontend or backend.</div><br><div><br></div></div></div></blockquote><br></div><div>Additional note: they are defined in mythtv-setup under "3. Recording Profiles”. They settings have changed since I messed with them long ago!</div><div><br></div></div></blockquote><div><br></div><div>And if you want to transcode lossless using the cutlist, there is no setup in the GUI to force this. You need to add an additional flag in the database:<br>See <a href="https://github.com/MythTV/mythtv/issues/581#issuecomment-116649216" target="_blank">https://github.com/MythTV/mythtv/issues/581#issuecomment-116649216</a></div><div>and</div><div><a href="https://lists.archive.carbon60.com/mythtv/users/624822" target="_blank">https://lists.archive.carbon60.com/mythtv/users/624822</a></div><div>for further information</div><div>This only works for files of type  <span style="font-family:monospace">MPEG2VIDEO !</span></div></div></div></blockquote><div><br></div><div>I can't say I understand much of the threads you pointed me to.  From what I can see the built in transcode options don't work at all and you have to build a UserJob to do any transcoding.  I was just hoping that I could find a built-in option that would take an existing recording with a cutlist and just copy it, removing what the cutlist had tagged and put the file back in place of the original.</div><div><br></div><div>I have a User Job that takes a recording with commercials tagged and manually edited to create the cutlist and then transcode it to .m4v and move it to a directory on my NAS.  My job is based on the one in this Forum topic (<a href="https://forum.mythtv.org/viewtopic.php?f=2&t=1261&p=7857&hilit=sendTVtoNAS#p7857" target="_blank">https://forum.mythtv.org/viewtopic.php?f=2&t=1261&p=7857&hilit=sendTVtoNAS#p7857</a>) </div><div><br></div><div>This script uses mythutil, mythtranscode, and handbrake to accomplish this. I guess I could create another script to just do the transcode honoring the cutlist, but I figured that would be one of the default scripts.</div><div><br></div><div>Jim A</div><div><br></div></div></div></blockquote><div><br></div><div><br></div><div><div>The entries on a recording <code>'M -> Job Options -> Begin Transcoding' <br></code></div><div><span style="font-family:arial,sans-serif"><code><span style="font-family:arial,sans-serif">only work for files which have a video stream of type</span> <span style="font-family:monospace">'MPEG2VIDEO'</span></code></span></div><div><span style="font-family:arial,sans-serif"><code><span style="font-family:monospace"><span style="font-family:arial,sans-serif">and produce either an mpeg2 program stream or a mjpeg video (nuppelvideo)</span>.</span></code></span></div><div><span style="font-family:arial,sans-serif"><code><span style="font-family:monospace"><span style="font-family:arial,sans-serif">See the error log above, you can't transcode an mpeg4 (h264/avc) recording with these commands.</span><br></span></code></span></div><div><span style="font-family:arial,sans-serif"><code><span style="font-family:monospace"><span style="font-family:arial,sans-serif">That was discussed multiple times on the mailing lists and the forum</span>.</span></code></span></div><div><span style="font-family:arial,sans-serif"><code><span style="font-family:arial,sans-serif">If you want to transcode a mpegts (<code>'MPEG2VIDEO'</code>) recording losslessly and in-place you need to setup the profile according to above links.<br></span></code></span></div><div><span style="font-family:arial,sans-serif"><code><span style="font-family:arial,sans-serif">The link I posted previously should read </span><br></code></span></div><div><span style="font-family:arial,sans-serif"><code><a href="https://github.com/MythTV/mythtv/issues/581#issuecomment-1166492166" target="_blank">https://github.com/MythTV/mythtv/issues/581#issuecomment-1166492166</a></code></span></div><div><span style="font-family:arial,sans-serif"><code>instead of</code></span></div><div><span style="font-family:arial,sans-serif"><code><a href="https://github.com/MythTV/mythtv/issues/581#issuecomment-116649216" target="_blank">https://github.com/MythTV/mythtv/issues/581#issuecomment-116649216</a></code></span></div></div></div></div></blockquote><div><br></div><div>Sorry to be so dense, but I can't see what you mean.  All my recordings are MPEG2 ATSC 1.0 OTA recordings with a .ts file extension. I can not see how to  add the transcodelossless flag to the codecparams of the MPEG2 recording profile. I assume you would do that in mythtv-setup for the backend, but can't find it. Every time I run mythfrontend and use the "M"  Job Options and select begin transcoding for default I fail with an error.</div><div><br></div></div></div></blockquote><div><br></div><div>I thought I'd try it just from the console as user mythtv.</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"> mythtranscode --chanid 16205 --starttime 20221023020000 --mpeg2 --honorcutlist</span><br>
 </span></div><div><span style="font-family:monospace">worked and produced a .ts.tmp file. </span></div><div><br></div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">$ ls -l 16205_20221023020000.*
</span><br>-rw-r--r-- 1 mythtv mythtv 9327343452 Oct 23 00:00 16205_20221023020000.ts
<br>-rw-rw-rw- 1 mythtv mythtv       9704 Oct 24 06:30 16205_20221023020000.ts.0.100x56.png
<br>-rw-rw-rw- 1 mythtv mythtv      74666 Oct 26 15:42 16205_20221023020000.ts.0.320x180.png
<br>-rw-rw-rw- 1 mythtv mythtv    1018224 Oct 26 16:13 16205_20221023020000.ts.png
<br>-rw-r--r-- 1 mythtv mythtv 3127713792 Oct 26 16:18 16205_20221023020000.ts.tmp<br>
<br></span><div> Not really knowing what to do next I renamed (mv) the .ts.tmp to .ts and it works in mythfrontend but the statistics still show it's an 8GB file instead of one half that size.  </div><div><br></div><div>If I can't figure out how to use the mythfrontend transcode option I guess I can make a user job to do it?</div><div><br></div><div>Jim A</div><div><br></div></div></div>