[FFmpeg-trac] #1778(undetermined:reopened): EIA-608 / EIA-708 Closed Captions disappear when transcoding/reencoding

FFmpeg trac at avcodec.org
Fri Jul 31 21:36:31 CEST 2015


#1778: EIA-608 / EIA-708 Closed Captions disappear when transcoding/reencoding
-------------------------------------+-------------------------------------
             Reporter:  mikecheat04  |                    Owner:
                 Type:  enhancement  |  er.anshul.maheshwari@…
             Priority:  wish         |                   Status:  reopened
              Version:  git-master   |                Component:
             Keywords:  cc           |  undetermined
             Blocking:               |               Resolution:
Analyzed by developer:  0            |               Blocked By:
                                     |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by cjplay93):

 I'm not sure if this should constitute a new ticket, but the "lavfi"
 method in the revision doesn't work exactly right on a FinalCut-Captioned
 MOV file.  FFMPEG didn't extract anything regardless of seeing the input
 track.  Sample MOV available, but is 4.8GB and only 5mins long.


 {{{
 ffmpeg.exe -f lavfi -i
 "movie=OPEN_HOUSE_5275_WITH_CC_5mins.mov[out0+subcc]"
 -map s "OPEN_HOUSE_5275_WITH_CC_5mins.mov.srt"

 ffmpeg version N-73002-gf6c3f1e Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.9.2 (GCC)
   configuration: --arch=x86_64 --target-os=mingw32 --cross-
 prefix=/mnt/st2/ffmpe
 g_macosx/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config
 =pkg-confi
 g --enable-gpl --disable-decoder=jpeg2000 --enable-libsoxr --enable-
 fontconfig -
 -enable-libass --enable-libutvideo --enable-libbluray --enable-iconv
 --enable-li
 btwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-
 libcaca --
 enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-
 libvidstab -
 -enable-libx265 --enable-decklink --extra-libs=-loleaut32 --enable-libx264
 --ena
 ble-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-
 librtmp
  --enable-libvorbis --enable-libtheora --enable-libspeex --enable-
 libopenjpeg --
 enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus
 --disable-w3
 2threads --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc
 --enable-b
 zlib --enable-libxavs --enable-libopencore-amrnb --enable-libopencore-
 amrwb --en
 able-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-
 libilbc --
 enable-libwavpack --enable-libwebp --enable-libgme --enable-dxva2
 --enable-libdc
 adec --enable-avisynth --enable-libmfx --enable-static --disable-shared
 --extra-
 cflags=
 --prefix=/mnt/st2/ffmpeg_macosx/sandbox/mingw-w64-x86_64/x86_64-w64-ming
 w32 --extra-libs=-lpsapi --enable-nonfree --enable-libfdk-aac --disable-
 libfaac
 --enable-nvenc --enable-runtime-cpudetect
   libavutil      54. 27.100 / 54. 27.100
   libavcodec     56. 41.100 / 56. 41.100
   libavformat    56. 37.100 / 56. 37.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 17.100 /  5. 17.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
   libpostproc    53.  3.100 / 53.  3.100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000004183a0] Could not find codec
 parameters for
  stream 3 (Subtitle: none (c708 / 0x38303763), 1920x1080, 23 kb/s):
 unknown code
 c
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 Input #0, lavfi, from
 'movie=OPEN_HOUSE_5275_WITH_CC_5mins.mov[out0+subcc]':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (Y3[10][10] / 0xA0A3359), yuv422p10le,
 1920x108
 0 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc
     Stream #0:1: Subtitle: eia_608
 File 'OPEN_HOUSE_5275_WITH_CC_5mins.mov.srt' already exists. Overwrite ?
 [y/N] y

 Output #0, srt, to 'OPEN_HOUSE_5275_WITH_CC_5mins.mov.srt':
   Metadata:
     encoder         : Lavf56.37.100
     Stream #0:0: Subtitle: subrip (srt)
     Metadata:
       encoder         : Lavc56.41.100 srt
 Stream mapping:
   Stream #0:1 -> #0:0 (eia_608 (cc_dec) -> subrip (srt))
 Press [q] to stop, [?] for help
 size=       0kB time=00:00:00.00 bitrate=N/A
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing ove
 rhead: unknown
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters i
 f used)
 }}}

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


More information about the FFmpeg-trac mailing list