[FFmpeg-trac] #2188(FFprobe:new): ffprobe (avformat_find_stream_info) stream misclassification

FFmpeg trac at avcodec.org
Fri Jan 25 21:21:37 CET 2013


#2188: ffprobe (avformat_find_stream_info) stream misclassification
-------------------------------------+-------------------------------------
             Reporter:  martii       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  FFprobe      |                  Version:  git-
             Keywords:  ffprobe      |  master
  teletext transport stream          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 In ffmpeg-0.8.12 ffprobe correctly recognizes teletext in transport
 streams:
 Stream #0.2[0x13f0](deu): Subtitle: [6][0][0][0] / 0x0006

 In later versions (including the current GIT) the output for the same
 recorded transport stream is
 Stream #0:2[0x13f0](deu): Audio: mp1 ([6][0][0][0] / 0x0006), 0 channels,
 s16p

 I can easily provide a sample on request.
 {{{
 % ./0.8.12/ffprobe ~/test.ts
 ffprobe version 0.8.12, Copyright (c) 2007-2011 the FFmpeg developers
   built on Jan 25 2013 20:48:14 with llvm_gcc 4.2.1 (Based on Apple Inc.
 build 5658) (LLVM build 2335.15.00)
   configuration: --disable-doc
   libavutil    51.  9. 1 / 51.  9. 1
   libavcodec   53.  8. 0 / 53.  8. 0
   libavformat  53.  5. 0 / 53.  5. 0
   libavdevice  53.  1. 1 / 53.  1. 1
   libavfilter   2. 23. 0 /  2. 23. 0
   libswscale    2.  0. 0 /  2.  0. 0
 Input #0, mpegts, from '/home/martii/test.ts':
   Duration: 00:00:01.41, start: 50895.134844, bitrate: 5943 kb/s
   Program 28006
     Stream #0.0[0x13ed]: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1
 DAR 16:9], 70 fps, 50 tbr, 90k tbn, 100 tbc
     Stream #0.1[0x13ee](deu): Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s
   Program 10301
     Stream #0.3[0x492]: Data: [5][0][0][0] / 0x0005
     Stream #0.4[0x87b]: Data: [11][0][0][0] / 0x000B
     Stream #0.5[0x87c]: Data: [11][0][0][0] / 0x000B
     Stream #0.0[0x13ed]: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1
 DAR 16:9], 70 fps, 50 tbr, 90k tbn, 100 tbc
     Stream #0.1[0x13ee](deu): Audio: mp2, 48000 Hz, stereo, s16, 256 kb/s
     Stream #0.6[0x13ef](mis): Audio: mp3, 0 channels
     Stream #0.2[0x13f0](deu): Subtitle: [6][0][0][0] / 0x0006
     Stream #0.7[0x13f1](deu): Subtitle: dvbsub (hearing impaired)
     Stream #0.8[0x13f2](deu): Audio: ac3, 0 channels
     Stream #0.9[0x13f4]: Data: [6][0][0][0] / 0x0006
   Program 10302
   Program 10303
   Program 10304
 Unsupported codec with id 94215 for input stream 2
 Unsupported codec with id 0 for input stream 3
 Unsupported codec with id 0 for input stream 4
 Unsupported codec with id 0 for input stream 5
 Unsupported codec with id 0 for input stream 9

 %./git/ffprobe ~/test.ts
 ffprobe version N-49295-ge80be5a0 Copyright (c) 2007-2013 the FFmpeg
 developers
   built on Jan 25 2013 20:50:17 with llvm-gcc 4.2.1 (LLVM build
 2335.15.00)
   configuration: --disable-doc
   libavutil      52. 16.100 / 52. 16.100
   libavcodec     54. 91.100 / 54. 91.100
   libavformat    54. 61.104 / 54. 61.104
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 33.101 /  3. 33.101
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
 Input #0, mpegts, from '/home/martii/test.ts':
   Duration: 00:00:01.41, start: 50895.134844, bitrate: 5943 kb/s
   Program 28006
   Program 10301
     Stream #0:3[0x492]: Unknown: none ([5][0][0][0] / 0x0005)
     Stream #0:4[0x87b]: Unknown: none ([11][0][0][0] / 0x000B)
     Stream #0:5[0x87c]: Unknown: none ([11][0][0][0] / 0x000B)
     Stream #0:0[0x13ed]: Video: h264 (High) ([27][0][0][0] / 0x001B),
 yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
     Stream #0:1[0x13ee](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000
 Hz, stereo, s16p, 256 kb/s
     Stream #0:6[0x13ef](mis): Audio: mp3 ([3][0][0][0] / 0x0003), 0
 channels
     Stream #0:2[0x13f0](deu): Audio: mp1 ([6][0][0][0] / 0x0006), 0
 channels, s16p
     Stream #0:7[0x13f1](deu): Subtitle: dvb_subtitle ([6][0][0][0] /
 0x0006) (hearing impaired)
     Stream #0:8[0x13f2](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 0
 channels
     Stream #0:9[0x13f4]: Unknown: none ([6][0][0][0] / 0x0006)
   Program 10302
   Program 10303
   Program 10304
 Unsupported codec with id 0 for input stream 3
 Unsupported codec with id 0 for input stream 4
 Unsupported codec with id 0 for input stream 5
 Unsupported codec with id 0 for input stream 9
 }}}

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


More information about the FFmpeg-trac mailing list