[FFmpeg-user] segment to hls ,non-existing PPS 0 referenced

shallow shallow_reg at 163.com
Tue Jul 1 09:09:58 CEST 2014


hi all
    I trying split mpegts to some segment,used: "./ffmpeg -i lanjl.ts -map 0 -codec copy -async 1 -f ssegment -segment_time 20 -segment_list_flags live -segment_list_type m3u8 -segment_list out.csv out%3d.ts   "  .This work fine of some file, but one file convert play failed,ffmpeg report non-existing PPS 0 referenced
 upload file here https://www.dropbox.com/s/ezpdsnrd6ceijev/lanjl.ts
# ./ffmpeg -i lanjl.ts -map 0 -codec copy -async 1 -f ssegment -segment_time 20 -segment_list_flags live -segment_list_type m3u8 -segment_list out.csv out%3d.ts
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Jun  7 2014 17:30:15 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
  configuration: --enable-static --disable-shared --disable-ffserver
  libavutil      52. 89.100 / 52. 89.100
  libavcodec     55. 66.100 / 55. 66.100
  libavformat    55. 42.101 / 55. 42.101
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  6.100 /  4.  6.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
Input #0, mpegts, from 'lanjl.ts':
  Duration: 00:01:43.60, start: 1.400000, bitrate: 3073 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1268x720 [SAR 1:1 DAR 317:180], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x101]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 120 kb/s
Output #0, stream_segment,ssegment, to 'out%3d.ts':
  Metadata:
    encoder         : Lavf55.42.101
    Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1268x720 [SAR 1:1 DAR 317:180], q=2-31, 23.98 fps, 90k tbn, 23.98 tbc
    Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, 120 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 2484 fps=0.0 q=-1.0 Lsize=N/A time=00:01:43.52 bitrate=N/A   
video:34070kB audio:1648kB subtitle:0kB other streams:0kB global headers:1kB muxing overhead: unknown


./ffprobe -i out002.ts
ffprobe version 2.2.git Copyright (c) 2007-2014 the FFmpeg developers
  built on Jun  7 2014 17:30:15 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
  configuration: --enable-static --disable-shared --disable-ffserver
  libavutil      52. 89.100 / 52. 89.100
  libavcodec     55. 66.100 / 55. 66.100
  libavformat    55. 42.101 / 55. 42.101
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  6.100 /  4.  6.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
[h264 @ 0x33f10e0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x33f10e0] decode_slice_header error
[h264 @ 0x33f10e0] no frame!
[h264 @ 0x33f10e0] non-existing PPS 0 referenced
    Last message repeated 1 times   ----------Delete the duplicate message
[mpegts @ 0x33ed020] decoding for stream 0 failed
[mpegts @ 0x33ed020] Could not find codec parameters for stream 0 (Video: h264 ([27][0][0][0] / 0x001B)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'out002.ts':
  Duration: 00:00:20.93, start: 43.304756, bitrate: 4251 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 ([27][0][0][0] / 0x001B), 23.98 fps, 23.98 tbr, 90k tbn, 180k tbc
    Stream #0:1[0x101]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 136 kb/s
thanks


More information about the ffmpeg-user mailing list