[FFmpeg-trac] #7506(undetermined:new): EIA-608 Closed Captions distortion on the output.

FFmpeg trac at avcodec.org
Mon Nov 19 19:33:59 EET 2018


#7506: EIA-608 Closed Captions distortion on the output.
-------------------------------------+-------------------------------------
             Reporter:  w_boba       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
  EIA-608,a53cc, closed captions     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by cehoyos):

 Please test this patch:
 {{{
 diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
 index a12208c..c7e0806 100644
 --- a/fftools/ffmpeg.c
 +++ b/fftools/ffmpeg.c
 @@ -1286,6 +1286,8 @@ static void do_video_out(OutputFile *of,
          ret = avcodec_send_frame(enc, in_picture);
          if (ret < 0)
              goto error;
 +        // Make sure the Closed Captions will not be duplicated
 +        av_frame_remove_side_data(in_picture, AV_FRAME_DATA_A53_CC);

          while (1) {
              ret = avcodec_receive_packet(enc, &pkt);
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7506#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list