Error treatment of Timecode jumping in TS source

Discuss about generic usage of MediaCoder.

Moderator: HuggiL

Post Reply
kawamoto76
Advanced
Advanced
Posts: 480
Joined: Sun Dec 14, 2008 4:52 pm
Location: JAPAN

Error treatment of Timecode jumping in TS source

Post by kawamoto76 » Wed Nov 11, 2009 9:05 pm

Discontinuities of time code are created through editing TS file that is captured from broadcast.
There is a difference between Mediacoder 0.7.0.4399 and 0.7.2.4535(since 0.7.2.x) as to
treaments for these discontinuities.

I prepared a short sample file from one captured file(mpeg2-aac-m2ts) with "MurdocCutter".
It contains 3 parts (1)0:00-1:00,(2)2:00-3:00,(3)4:00-5:00 cut from original TS file.
Two 1 minutes durations for 1:00-2:00 and for 3:00-4:00 are not implied in the file,
And two jumping points, one is from 1:00 to 2:00, the other is from 3:00 to 4:00 is located.
Actual video length of this TS is 3 minutes, whereas culculated one is 5 minutes
given from each two timecodes value of the start and of the end.
When converted this file to H.264-aac-mp4 with mediacoder,
3 minutes length mp4 file is given with Mediacoder 0.7.0.4399.
But 5 minutes length one is given with 0.7.2.4535.
I can play the former mp4 file properly.
But, as to the later one, sound goes continuously for 3 minutes,
and 2 minutes silence follows it. Pcture is tilt for 1 minutes two times,
one at 1:00 point, and the other at 3:00 point of the original.
When converted only audio to AC3, 3 minutes length .ac3 files are got with
both version respectivery.
I know such TS containing discontinuity of time code is irregular one, needless to say.
But it is covinient if Mediacoder can convert such files to H.264 directly.
Version 0.7.0.4399 is convinient for this, and 0.7.2.4535 is not.
And 0.7.2.4535 has a week resistivity for timecode errors, global synclonization of
video and sound is easily broken, that is kept in 0.7.0.4399.
Akira Kawamoto

Post Reply