[MEncoder-users] ATSC closed captioning

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Nov 27 21:59:02 CET 2010


On Sat, Nov 27, 2010 at 12:25:46PM -0800, Scott W. Larson wrote:
> On Sat, 2010-11-27 at 20:04 +0100, Reimar Döffinger wrote:
> > -subcc now takes a number 1 - 4 to select which one you want.
> > No selecting at runtime yet, sorry.
> 
> Ok, that's enough for testing.
> 
> I think the
> 
> 	if (channel != (selected_channel() & 1)) 
> 		return; 
> 
> lines in cc_decode_EIA608() aren't right. If I set subcc to 1, the
> function does get called (the channel test in subcc_process_eia708()
> passes and calls it) but the channel tests in cc_decode_EIA608() fail so
> nothing is displayed. If I remove those tests, I get captions.

1) It works fine with the sample on mphq: sample_atsc_subs.mpeg,
   so a sample would be welcome.
2) Since channel can only be 0 or 1, -subcc 2 should at least
   show something in that case (well, there is one case in which
   it is possible nothing will be shown, but it seems unlikely).


More information about the MEncoder-users mailing list