Thank you Marcelo. 

I tried the statement that you send me. 

ffmpeg -i INPUT.mpg -c:v libx264 -x264opts keyint=123:min-keyint=20:a53cc=1 
-an -f mpegts OUTPUT.ts 

But i got error 
bad option 'ac53' '1' 

and 

error while opening encoder for output stream #0:0 -maybe incorrect parameters 
such as bit_rate, rate, width or height 


The last error I got only I use ac53=1 

I use the last version for ffmpeg 

Thank you again. 





----- Original Message -----

From: "Marcelo Boufleur" <[email protected]> 
To: "FFmpeg user questions" <[email protected]> 
Sent: Tuesday, September 13, 2016 11:21:09 PM 
Subject: Re: [FFmpeg-user] Mpg 

> 
> He mentioned a53cc, which appears as a flag to libx264 ("-a53cc true") and 
>> enables ... something. I've given it a brief look, but couldn't figure how 
>> it's supposed to work. I was hoping someone might have experience with it, 
>> because it must have a reason for it to be in the code. 
>> 
> 
According to FFmpeg documentation: 

a53cc boolean 
Import closed captions (which must be ATSC compatible format) into output. 
Only the mpeg2 and h264 decoders provide these. Default is 0 (off). 

This is one of the options for the x264 encoder, which has to be used with 
the "-x264opts" parameter. 

According to the above description, this filters is meant for source MPG-2 
or H.264 content which already have A/53 Closed Captions embedded, and it 
will pass them on to the destination x264 file. 

Here is an example: 

ffmpeg -i INPUT.mpg -c:v libx264 -x264opts keyint=123:min-keyint=20:a53cc=1 
-an -f mpegts OUTPUT.ts 

I haven't tried this command myself, but AFAIK this is the only support 
FFmpeg currently has for Closed Captions. 
_______________________________________________ 
ffmpeg-user mailing list 
[email protected] 
http://ffmpeg.org/mailman/listinfo/ffmpeg-user 

To unsubscribe, visit link above, or email 
[email protected] with subject "unsubscribe". 

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to