[mythtv-users] exporting several TV show recordings to be imported into another back-end

Jay Harbeston jharbestonus at gmail.com
Wed May 20 15:18:16 UTC 2026



> On May 20, 2026, at 10:41 AM, James Abernathy <jfabernathy at gmail.com> wrote:
> 
> The wiki has a lot of old ideas about exporting videos but not sure if they are the way to go with V36.
> 
> My desire is to move one year of episodes that are still on an old dormant v36 back-end to my new v36 back-end. The old back-end is still running but not recording anything new. I would like to hold on to the season/episode numbers and maybe the subtitle if possible. The old recordings do have a cut list/commercial flags, etc. but it's not critical to preserve them. I don't want to take the processing time to transcode these. Just keeping them in their MPEG2 .TS file format is fine.
> 
> My plan B is to use a script I use as a UserJob to cut the commercials, transcode to h264 and store is the Storage Group Videos, but that seems overkill for this effort.


This is almost what I do. I have 3 shell scripts that run to do this.

I also don’t normally do the auto flagging of commercials and then auto cut as I have had problems with it. The only video that I will cut is from PBS, removing the pre and post roll  that PBS does. After I have marked them manually I then trigger a default transcoding job to trim the video and it creates an mpg file(I think) and it then gets marked as watched,  That queues it up for the first script below. I’m too lazy to remove the 6-8 commercials in normal 1 hour episodes and just let them be marked as watched normally.

The first one moves the watched videos into a recording group named watched during the dark 30 hours. 

The second script uses handbrake to transcode/shrink the mpeg2 ts files to mp4 files of the same name also at dark 30. 

The third then exports the video to the videos storage using the mythvidexport.py python script and creating 

/television/series/season NN/episodename-SNNENN-datestamp.mp4 files sometime after midnight.
The last script is posted in wiki.mythtv.org <http://wiki.mythtv.org/>.

I do the processing at night so as to not slow things down during prime time and run handbrake on a separate mini pc.


Regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20260520/5528aadc/attachment.htm>


More information about the mythtv-users mailing list