How to play ts stream with specified pid

lessonZhang 176237766 at qq.com
Thu Sep 1 09:05:33 UTC 2016


Here is the file information got from ffprobe,

ffprobe version 3.1.3 Copyright (c) 2007-2016 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
  configuration: --enable-memalign-hack --disable-yasm --disable-debug
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
[mpeg2video @ 0x27744e0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x275a160] Invalid frame dimensions 0x0.
    Last message repeated 1 times
[mpeg2video @ 0x27744e0] Invalid frame dimensions 0x0.
[mpeg2video @ 0x275a160] Invalid frame dimensions 0x0.
[mpeg2video @ 0x27744e0] Invalid frame dimensions 0x0.
[NULL @ 0x2870be0] SPS unavailable in decode_picture_timing
[NULL @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] decode_slice_header error
[h264 @ 0x2870be0] no frame!
[mpeg2video @ 0x275a160] Invalid frame dimensions 0x0.
[mpeg2video @ 0x27744e0] Invalid frame dimensions 0x0.
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] decode_slice_header error
[h264 @ 0x2870be0] no frame!
[mpeg2video @ 0x27744e0] Invalid frame dimensions 0x0.
    Last message repeated 1 times
[mpeg2video @ 0x275a160] Invalid frame dimensions 0x0.
[mpeg2video @ 0x27744e0] Invalid frame dimensions 0x0.
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] decode_slice_header error
[h264 @ 0x2870be0] no frame!
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] decode_slice_header error
[h264 @ 0x2870be0] no frame!
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] decode_slice_header error
[h264 @ 0x2870be0] no frame!
[mpeg2video @ 0x27744e0] Invalid frame dimensions 0x0.
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] decode_slice_header error
[h264 @ 0x2870be0] no frame!
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] decode_slice_header error
[h264 @ 0x2870be0] no frame!
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] decode_slice_header error
[h264 @ 0x2870be0] no frame!
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] decode_slice_header error
[h264 @ 0x2870be0] no frame!
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] decode_slice_header error
[h264 @ 0x2870be0] no frame!
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] SPS unavailable in decode_picture_timing
[h264 @ 0x2870be0] non-existing PPS 0 referenced
[h264 @ 0x2870be0] decode_slice_header error
[h264 @ 0x2870be0] no frame!
[h264 @ 0x2870be0] Increasing reorder buffer to 2
[mpegts @ 0x2736ba0] PES packet size mismatch
    Last message repeated 1 times
Input #0, mpegts, from '../../test.ts':
  Duration: 00:01:00.28, start: 0.333333, bitrate: 26351 kb/s
  Program 40001 
    Metadata:
      service_name    : TVE-HD Pruebas
      service_provider: TVE
    Stream #0:9[0x3e9]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn,
50 tbc
    Stream #0:3[0x44c](spa): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz,
stereo, fltp, 128 kb/s
  Program 40002 
    Metadata:
      service_name    : tdp Pruebas
      service_provider: RTVE
    Stream #0:0[0x7d1]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x7d2](spa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16p, 192 kb/s
  Program 40003 
    Metadata:
      service_name    : Pruebas TVE
      service_provider: RTVE
    Stream #0:6[0xbb9]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:8[0xbba](spa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16p, 192 kb/s
  Program 40005 
    Metadata:
      service_name    : Radio Cl醩ica
      service_provider: NoName
    Stream #0:7[0x7da](spa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16p, 320 kb/s
  Program 40006 
    Metadata:
      service_name    : Radio 3
      service_provider: NoName
    Stream #0:5[0xbc2](spa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16p, 256 kb/s
  No Program
    Stream #0:2[0x21]: Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR
16:15 DAR 4:3], 6000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:4[0x23]: Audio: mp2, 48000 Hz, stereo, s16p, 224 kb/s



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-play-ts-stream-with-specified-pid-tp4679308p4679345.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list