[mythtv-users] Mythtranscode: Deadlock detected.

James Linder jam at tigger.ws
Mon Jan 9 03:20:42 UTC 2023



> On 9 Jan 2023, at 10:24 am, A. F. Cano <afc54 at comcast.net> wrote:
> 
> On Wed, Dec 21, 2022 at 06:59:36AM +0800, James wrote:
>> ...
>>   I've got an h264cut.sh that I use almost daily on Australian commercial
>>   and ABC channels that anyone may ask for.
> 
> I wouldn't mind giving it a try…

http://tigger.ws/downloads/h264cut.sh

>>   A while back someone used the script and it did not work for them!
>>   It uses mythffmpeg to do lossless cuts and mythffmpeg to paste the
>>   segments together again
> 
> Does it use the cutpoints created with the front-end, and thus the
> mythtv db?

Yup

> I have managed to do the extraction of the one chunk I needed with
> kdenlive, which seems to be a powerful video editor, from a copy of
> the file, but I only use the one feature: import a clip (whtch is
> the whole show), find the spot for the first cut point, select that
> with the -| button, which deletes (or marks for deletion) from
> beginning to there, find the other cut point, use the |- button to
> delete from there to the end and export the remaining chunk to a file.

I use ffmpeg. I want it automated and quick

/store			# where my recordingd are
/store/Movies/Myth[A-Z] # where the videos go
/store/TScut_work	# working dir

change to suit yourself

Example (looking at FE)

h264cut.sh
0108
choose /store/10020_20230108110000.ts
The Unwashed
u		# cause I want it stored in Myth_U not Myth_T

It would be trivial to do, but I’ve not done it: If you run 2x without removing the target ffmpeg baulks at ‘overwrite'

James


More information about the mythtv-users mailing list