[mythtv-users] command line to create a recording?

Jan Ceuleers jan.ceuleers at gmail.com
Sat Mar 11 17:29:19 UTC 2023


On 11/03/2023 17:58, Ken Mandelberg wrote:
> Even better would be to directly register the video as a recording. Any
> help on the mysql commands? I don't know what tables have to be modified.

If you'd like to use MythTV to capture the video streams in the first
place, rather than importing already-captured video files as recordings,
then consider using mythexternrecorder.

This is very briefly discussed on the ExternalRecorder page [1],
specifically in the 'Using the "Generic" external recorder' section.

[1]: https://www.mythtv.org/wiki/ExternalRecorder

Once the recording gets going, the recorder command invoked by
mythexternrecorder (and that you can specify in its configuration file)
is expected to output the audio/video stream as an MPEG TS on stdout.

I don't know, and it would be an interesting experiment to try, whether
this method can also be used to feed already-captured TS files to
MythTV, i.e. faster than real-time. In this case the recorder command
specified in the mythexternrecorder configuration file would simply be
"cat <thefileyouwantoimport>".

There are links in the above-mentioned section of the wiki to example
configuration files.

HTH, Jan


More information about the mythtv-users mailing list