[mythtv-users] Mythtv mpeg4 lossless cut status

HP-mini blm-ubunet at slingshot.co.nz
Sun Dec 6 02:12:13 UTC 2015


On Sun, 2015-12-06 at 11:08 +1000, Anthony Giggins wrote:
> I know there was some discussion in the past about this but my google foo fails me, now one channel in Australia has started transmitting mpeg4 rather then mpeg2 as the others do, I recorded a show for testing but the mythtv built in transcoded failed do I need to use https://www.mythtv.org/wiki/Lossless_Cut instead or is this a bug?
> 
> Cheers,
> 
> Anthony

Some of us had H264 (MPEG4-L10) from the start of digital FTA, with
hindsight this was very fortunate but it did not always seem that way.

AFAIK mythtranscode can only handle H264 in fifo mode, this forces
transcoding. Shame it doesn't just act as a packet filter using
PCR/DTS/PTS.

There are user jobs/scripts around that use:-
dd		(blindingly fast; kf cuts; uses cutlist-editor)
mkvmerge	(cut on keyf; mkv file output fast)
ffmpeg		(fast cuts on keyframe, no transcode possible)

lossless_cut uses mkvmerge.

I've been using this for few years..
https://gist.github.com/BipedalTV/3174241
This (dd method) suffers from the problem of the audio & video packets
are offset in the transport steam (0.2 - 1sec) to allow time for video
decode & post-processing with minimal buffering.
Always intended to fix with stream packet filter or just use MKVToolNix.



More information about the mythtv-users mailing list