[MEncoder-users] ATSC closed captioning

David Liontooth lionteeth at cogweb.net
Sun Nov 28 04:36:27 CET 2010


On 11/27/2010 12:59 PM, Reimar Döffinger wrote:
> 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).
Great to see progress on this!  I'd be happy to contribute a sample; 
what's the procedure?

Cheers,
Dave


More information about the MEncoder-users mailing list