[FFmpeg-trac] #2223(avformat:open): ffmpeg converts dvb_teletext to dvb_subtitle when -c copy is used

FFmpeg trac at avcodec.org
Sun Feb 3 15:00:37 CET 2013


#2223: ffmpeg converts dvb_teletext to dvb_subtitle when -c copy is used
-------------------------------------+-------------------------------------
             Reporter:  burek        |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mpegts       |               Blocked By:
  dvb_teletext                       |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => mpegts dvb_teletext
 * status:  new => open
 * version:  unspecified => git-master
 * component:  undetermined => avformat
 * reproduced:  0 => 1


Comment:

 Attached patch does not really help.
 {{{
 $ ffmpeg -i teletextsubtitles.ts -vn -an -scodec copy out.ts
 ffmpeg version N-49553-g13eb9fc Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Feb  3 2013 14:58:47 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack
   libavutil      52. 17.100 / 52. 17.100
   libavcodec     54. 91.100 / 54. 91.100
   libavformat    54. 61.104 / 54. 61.104
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 35.100 /  3. 35.100
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [h264 @ 0x286dee0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0x286dee0] non-existing PPS referenced
 [h264 @ 0x286dee0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0x286dee0] non-existing PPS 0 referenced
 [h264 @ 0x286dee0] decode_slice_header error
 [h264 @ 0x286dee0] non-existing PPS 0 referenced
 [h264 @ 0x286dee0] decode_slice_header error
 [h264 @ 0x286dee0] non-existing PPS 0 referenced
 [h264 @ 0x286dee0] decode_slice_header error
 [h264 @ 0x286dee0] non-existing PPS 0 referenced
 [h264 @ 0x286dee0] decode_slice_header error
 [h264 @ 0x286dee0] non-existing PPS 0 referenced
 [h264 @ 0x286dee0] decode_slice_header error
 [h264 @ 0x286dee0] non-existing PPS 0 referenced
 [h264 @ 0x286dee0] decode_slice_header error
 [h264 @ 0x286dee0] no frame!

 ...

 [h264 @ 0x286dee0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0x286dee0] non-existing PPS referenced
 [h264 @ 0x286dee0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0x286dee0] non-existing PPS 0 referenced
 [h264 @ 0x286dee0] decode_slice_header error
 [h264 @ 0x286dee0] non-existing PPS 0 referenced
 [h264 @ 0x286dee0] decode_slice_header error
 [h264 @ 0x286dee0] non-existing PPS 0 referenced
 [h264 @ 0x286dee0] decode_slice_header error
 [h264 @ 0x286dee0] non-existing PPS 0 referenced
 [h264 @ 0x286dee0] decode_slice_header error
 [h264 @ 0x286dee0] non-existing PPS 0 referenced
 [h264 @ 0x286dee0] decode_slice_header error
 [h264 @ 0x286dee0] non-existing PPS 0 referenced
 [h264 @ 0x286dee0] decode_slice_header error
 [h264 @ 0x286dee0] no frame!
 [mpegts @ 0x2869fc0] Stream #3: not enough frames to estimate rate;
 consider increasing probesize
 [NULL @ 0x286fc60] start time is not set in estimate_timings_from_pts
 [mpegts @ 0x2869fc0] PES packet size mismatch
     Last message repeated 1 times
 Input #0, mpegts, from 'teletextsubtitles.ts':
   Duration: 00:00:55.32, start: 0.091256, bitrate: 14610 kb/s
   Program 137
     Stream #0:0[0x30]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
 yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0:1[0x40](ita): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
 5.1(side), fltp, 384 kb/s
     Stream #0:2[0x41](und): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
 5.1(side), fltp, 384 kb/s
     Stream #0:3[0x6a](ita): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
 Output #0, mpegts, to 'out.ts':
   Metadata:
     encoder         : Lavf54.61.104
     Stream #0:0(ita): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
 Stream mapping:
   Stream #0:3 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 size=     264kB time=00:00:00.00 bitrate=N/A
 video:0kB audio:0kB subtitle:185 global headers:0kB muxing overhead
 42.903811%
 }}}
 {{{
 $ ffmpeg -i out.ts
 ffmpeg version N-49553-g13eb9fc Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Feb  3 2013 14:58:47 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl --disable-indev=jack
   libavutil      52. 17.100 / 52. 17.100
   libavcodec     54. 91.100 / 54. 91.100
   libavformat    54. 61.104 / 54. 61.104
   libavdevice    54.  3.103 / 54.  3.103
   libavfilter     3. 35.100 /  3. 35.100
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [NULL @ 0x1e98720] start time is not set in estimate_timings_from_pts
 Input #0, mpegts, from 'out.ts':
   Duration: N/A, bitrate: N/A
   Program 1
     Metadata:
       service_name    : Service01
       service_provider: FFmpeg
     Stream #0:0[0x100](ita): Subtitle: dvb_subtitle ([6][0][0][0] /
 0x0006)
 At least one output file must be specified
 }}}

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


More information about the FFmpeg-trac mailing list