[mythtv] Update recording file name from command line?

Richard Shaw hobbes1069 at gmail.com
Tue Dec 18 00:09:21 UTC 2018

On Mon, Dec 17, 2018 at 3:53 PM Peter Bennett <pb.mythtv at gmail.com> wrote:

> On 12/17/18 11:49 AM, Richard Shaw wrote:
> I still use a combined FE/BE in the living room but everywhere else I use
> either a Roku, Roku TV, and stream via Plex.
> Some channels work find but others have issues with audio sync. It seems
> like the video freezes right at the beginning but the audio does not so it
> stays out of sync.
> I've played around, especially on Plex and forcing it to transcode on the
> fly usually works but reduced video quality and the audio is changed from
> multi-channel to stereo so it's not an ideal solution.
> I noticed that recordings I've saved to videos via Avidemux to MKV
> container (video and audio are copied) don't have this problem so I was
> thinking of using mkvmerge in a transcode user job to move all my
> recordings from TS to MKV container formats.
> I plan to write a bash script around this but how do I go about updating
> the name of the recording in the database? Mythutil seems an obvious
> candidate to have this functionality but it doesn't as far as I can tell.
> Ideas?
> Thanks,
> Richard
> Here is a script that runs as a user job to convert the files to mkv
> format without transcoding, which works better with kodi and maybe with
> other players. It does not change the file name, that was not necessary for
> kodi to recognize that it is an mkv file.
> https://github.com/bennettpeter/mythscripts/blob/master/install/opt/mythtv/bin/userjob_mkv.sh

Hmm... I'll have to see if MythTV or Plex care about the file extension but
seems a dirty hack :)

It would really be nice if mythtranscode could do lossless H264 but I'll
have to ask Santa about that!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20181217/54ceb7b6/attachment.html>

More information about the mythtv-dev mailing list