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

FFmpeg trac at avcodec.org
Fri Feb 1 20:32:22 CET 2013


#2223: ffmpeg converts dvb_teletext to dvb_subtitle when -c copy is used
-------------------------------------+-------------------------------------
               Reporter:  burek      |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 Summary of the bug:
 When ffmpeg is instructed to do "-c copy" on input stream, it unexpectedly
 converts one of the input streams of type dvb_teletext into dvb_subtitle.
 More info can be found here:
 http://ffmpeg.gusari.org/viewtopic.php?f=16&t=811&p=1527

 How to reproduce:
 The original scenario, where the possible bug was discovered, used a
 command line like this:
 {{{
 ffmpeg -i udp://234.5.245.105:20000 -map 0 -codec copy -f mpegts stream.ts

 ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
   built on Jan 21 2013 14:57:54 with gcc 4.6.1 (Ubuntu/Linaro
 4.6.1-9ubuntu3)
   configuration: --enable-gpl --enable-libfaac --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
 --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc
 --enable-version3 --enable-x11grab --enable-filter=movie --enable-static
 --enable-shared --enable-libfreetype --enable-libaacplus
   libavutil      52. 13.100 / 52. 13.100
   libavcodec     54. 86.100 / 54. 86.100
   libavformat    54. 59.106 / 54. 59.106
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 32.100 /  3. 32.100
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [mpegts @ 0x1b5c820] Unable to seek back to the start
 [mpeg2video @ 0x1ba2220] 0x0 is invalid
     Last message repeated 15 times
 [mpegts @ 0x1b5c820] max_analyze_duration 5000000 reached at 5016000
 [mpegts @ 0x1b5c820] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, mpegts, from 'udp://234.5.245.105:20000':
   Duration: N/A, start: 93705.929667, bitrate: 224 kb/s
   Program 140
     Metadata:
       service_name    : ANTENA 3
       service_provider: EtherTV
     Stream #0:0[0x137](spa): Subtitle: dvb_subtitle ([6][0][0][0] /
 0x0006)
     Stream #0:1[0x130](und): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s16p, 96 kb/s
     Stream #0:2[0x12f](spa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s16p, 128 kb/s
     Stream #0:3[0x12e](spa): [b]Subtitle: dvb_teletext[/b] ([6][0][0][0] /
 0x0006)
     Stream #0:4[0x12d]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
 yuv420p, 704x576 [SAR 16:11 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
 Output #0, mpegts, to 'stream.ts':
   Metadata:
     encoder         : Lavf54.59.106
     Stream #0:0(spa): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
     Stream #0:1(und): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, 96 kb/s
     Stream #0:2(spa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, 128 kb/s
     Stream #0:3(spa): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
     Stream #0:4: Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p,
 704x576 [SAR 16:11 DAR 16:9], q=2-31, 25 fps, 90k tbn, 25 tbc
 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)
 Press [q] to stop, [?] for help
 frame=  914 fps= 29 q=-1.0 Lsize=   17315kB time=00:00:37.79
 bitrate=3753.4kbits/s
 video:13770kB audio:1013kB subtitle:1173 global headers:0kB muxing
 overhead 8.519125%
 Received signal 2: terminating.
 }}}

 but when checked with ffprobe, the result was:
 {{{
 ffprobe -i stream.ts

 ffprobe version 1.1.1 Copyright (c) 2007-2013 the FFmpeg developers
   built on Jan 21 2013 14:57:54 with gcc 4.6.1 (Ubuntu/Linaro
 4.6.1-9ubuntu3)
   configuration: --enable-gpl --enable-libfaac --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
 --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc
 --enable-version3 --enable-x11grab --enable-filter=movie --enable-static
 --enable-shared --enable-libfreetype --enable-libaacplus
   libavutil      52. 13.100 / 52. 13.100
   libavcodec     54. 86.100 / 54. 86.100
   libavformat    54. 59.106 / 54. 59.106
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 32.100 /  3. 32.100
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [mpegts @ 0xac2ca0] max_analyze_duration 5000000 reached at 5016000
 [NULL @ 0xac6e60] start time is not set in estimate_timings_from_pts
 [NULL @ 0xac8be0] start time is not set in estimate_timings_from_pts
 Input #0, mpegts, from 'stream.ts':
   Duration: 00:00:37.47, start: 1.760378, bitrate: 3785 kb/s
   Program 1
     Metadata:
       service_name    : Service01
       service_provider: FFmpeg
     Stream #0:0[0x100](spa): Subtitle: dvb_subtitle ([6][0][0][0] /
 0x0006)
     Stream #0:1[0x101](und): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s16p, 96 kb/s
     Stream #0:2[0x102](spa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s16p, 128 kb/s
     Stream #0:3[0x103](spa): [b]Subtitle: dvb_subtitle[/b] ([6][0][0][0] /
 0x0006)
     Stream #0:4[0x104]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
 yuv420p, 704x576 [SAR 16:11 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
 }}}

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


More information about the FFmpeg-trac mailing list