[FFmpeg-trac] #726(undetermined:new): support for copying SMPTE 436M caption tracks

FFmpeg trac at avcodec.org
Tue Dec 20 18:25:20 CET 2011


#726: support for copying SMPTE 436M caption tracks
-------------------------------------+-------------------------------------
             Reporter:  dericed      |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by dericed):

 I uploaded a full sample file to
 http://www.archive.org/download/xdcam_sample_with_caption_track/C0001.MXF.

 {{{
 ffmpeg started on 2011-12-20 at 11:40:58
 Report written to "ffmpeg-20111220-114058.log"
 Command line:
 ffmpeg -y -report -ss 50 -t 20 -i C0001.MXF -map 0 -c copy C0001_trim.mxf
 ffmpeg version N-32346-g62b5197, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Dec 15 2011 11:51:15 with gcc 4.2.1 (Apple Inc. build 5666)
 (dot 3)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
 --enable-gpl --enable-version3 --enable-libfreetype --enable-nonfree
 --enable-hardcoded-tables --cc=/usr/bin/gcc-4.2 --enable-libx264 --enable-
 libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis
 --enable-libvpx --enable-libxvid
   libavutil    51. 32. 0 / 51. 32. 0
   libavcodec   53. 45. 0 / 53. 45. 0
   libavformat  53. 25. 0 / 53. 25. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 53. 0 /  2. 53. 0
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 [mxf @ 0x7faed3049800] Format mxf probed with size=2048 and score=100
 [mxf @ 0x7faed3049800] could not resolve sub descriptor strong ref
 [mxf @ 0x7faed3049800] source track 11: stream 9, no descriptor found
 [mpeg2video @ 0x7faed3077000] err{or,}_recognition separate: 1; 1
 [mpeg2video @ 0x7faed3077000] err{or,}_recognition combined: 1; 10001
 [pcm_s24le @ 0x7faed304fa00] err{or,}_recognition separate: 1; 1
 [pcm_s24le @ 0x7faed304fa00] err{or,}_recognition combined: 1; 10001
 [pcm_s24le @ 0x7faed3096200] err{or,}_recognition separate: 1; 1
 [pcm_s24le @ 0x7faed3096200] err{or,}_recognition combined: 1; 10001
 [pcm_s24le @ 0x7faed3050000] err{or,}_recognition separate: 1; 1
 [pcm_s24le @ 0x7faed3050000] err{or,}_recognition combined: 1; 10001
 [pcm_s24le @ 0x7faed30aec00] err{or,}_recognition separate: 1; 1
 [pcm_s24le @ 0x7faed30aec00] err{or,}_recognition combined: 1; 10001
 [pcm_s24le @ 0x7faed3050600] err{or,}_recognition separate: 1; 1
 [pcm_s24le @ 0x7faed3050600] err{or,}_recognition combined: 1; 10001
 [pcm_s24le @ 0x7faed3050c00] err{or,}_recognition separate: 1; 1
 [pcm_s24le @ 0x7faed3050c00] err{or,}_recognition combined: 1; 10001
 [pcm_s24le @ 0x7faed3051200] err{or,}_recognition separate: 1; 1
 [pcm_s24le @ 0x7faed3051200] err{or,}_recognition combined: 1; 10001
 [pcm_s24le @ 0x7faed3051800] err{or,}_recognition separate: 1; 1
 [pcm_s24le @ 0x7faed3051800] err{or,}_recognition combined: 1; 10001
 [mpeg2video @ 0x7faed3077000] Unsupported bit depth: 0

 Seems stream 0 codec frame rate differs from container frame rate: 59.94
 (60000/1001) -> 29.97 (60000/2002)
 Input #0, mxf, from 'C0001.MXF':
   Duration: 00:01:10.27, start: 0.000000, bitrate: 60357 kb/s
     Stream #0:0, 1, 1001/30000: Video: mpeg2video (4:2:2), yuv422p,
 1920x1080 [SAR 1:1 DAR 16:9], 50000 kb/s, 29.97 tbr, 29.97 tbn, 59.94 tbc
     Stream #0:1, 1, 1001/30000: Audio: pcm_s24le, 48000 Hz, 1 channels,
 s32, 1152 kb/s
     Stream #0:2, 1, 1001/30000: Audio: pcm_s24le, 48000 Hz, 1 channels,
 s32, 1152 kb/s
     Stream #0:3, 1, 1001/30000: Audio: pcm_s24le, 48000 Hz, 1 channels,
 s32, 1152 kb/s
     Stream #0:4, 1, 1001/30000: Audio: pcm_s24le, 48000 Hz, 1 channels,
 s32, 1152 kb/s
     Stream #0:5, 1, 1001/30000: Audio: pcm_s24le, 48000 Hz, 1 channels,
 s32, 1152 kb/s
     Stream #0:6, 1, 1001/30000: Audio: pcm_s24le, 48000 Hz, 1 channels,
 s32, 1152 kb/s
     Stream #0:7, 1, 1001/30000: Audio: pcm_s24le, 48000 Hz, 1 channels,
 s32, 1152 kb/s
     Stream #0:8, 1, 1001/30000: Audio: pcm_s24le, 48000 Hz, 1 channels,
 s32, 1152 kb/s
     Stream #0:9, 0, 1001/30000: Data: none
 [mxf @ 0x7faed30c7c00] track 9: could not find essence container ul, codec
 not currently supported in container
 Output #0, mxf, to 'C0001_trim.mxf':
   Metadata:
     encoder         : Lavf53.25.0
     Stream #0:0, 0, 1001/30000: Video: mpeg2video, yuv422p, 1920x1080 [SAR
 1:1 DAR 16:9], q=2-31, 50000 kb/s, 29.97 tbn, 29.97 tbc
     Stream #0:1, 0, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152
 kb/s
     Stream #0:2, 0, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152
 kb/s
     Stream #0:3, 0, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152
 kb/s
     Stream #0:4, 0, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152
 kb/s
     Stream #0:5, 0, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152
 kb/s
     Stream #0:6, 0, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152
 kb/s
     Stream #0:7, 0, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152
 kb/s
     Stream #0:8, 0, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152
 kb/s
     Stream #0:9, 0, 1/90000: Data: none
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
   Stream #0:2 -> #0:2 (copy)
   Stream #0:3 -> #0:3 (copy)
   Stream #0:4 -> #0:4 (copy)
   Stream #0:5 -> #0:5 (copy)
   Stream #0:6 -> #0:6 (copy)
   Stream #0:7 -> #0:7 (copy)
   Stream #0:8 -> #0:8 (copy)
   Stream #0:9 -> #0:9 (copy)
 Could not write header for output file #0 (incorrect codec parameters ?)

 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/726#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list