h264/rtp streaming problem
Posted: 14 Mar 2007 14:35
hi, I have a problem with h264/rtp streaming. When I send 264 RTP data to VLC, VLC just show the first few figure,then it stop.
the VLC's message information is as follows:
main debug: adding playlist item `E:\h264.sdp' ( E:\h264.sdp )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: creating statistics handler
main debug: thread 4208 (input) created at priority 1 (input/input.c:265)
main debug: drive letter E: found in source
main debug: `E:\h264.sdp' gives access `' demux `' path `E:\h264.sdp'
main debug: creating demux: access='' demux='' path='E:\h264.sdp'
main debug: looking for access_demux module: 1 candidate
main debug: creating access '' path='E:\h264.sdp'
main debug: looking for access2 module: 5 candidates
vcd debug: trying .cue file: E:\h264.cue
vcd debug: could not find .cue file
access_file debug: opening file `E:\h264.sdp'
main debug: using access2 module "access_file"
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: creating demux: access='' demux='' path='E:\h264.sdp'
main debug: looking for demux2 module: 45 candidates
live555 debug: RTP subsession 'video/H264'
main debug: selecting program id=0
main debug: using demux2 module "live555"
main debug: looking for a subtitle file in E:\
main debug: looking for decoder module: 27 candidates
ffmpeg debug: libavcodec initialized (interface 3348736 )
ffmpeg debug: postprocessing disabled
ffmpeg debug: ffmpeg codec (h264) started
main debug: using decoder module "ffmpeg"
main debug: looking for packetizer module: 17 candidates
packetizer_h264 debug: found NAL_SPS
main debug: using packetizer module "packetizer_h264"
main debug: thread 4340 (decoder) created at priority 0 (input/decoder.c:159)
main debug: `E:\h264.sdp' successfully opened
packetizer_h264 debug: found NAL_PPS
ffmpeg warning: cannot decode one frame (13 bytes)
ffmpeg warning: cannot decode one frame (9 bytes)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: cannot decode one frame (23653 bytes)
ffmpeg debug: concealing 300 DC, 300 AC, 300 MV errors
(h264@00B6D8C0)
At first I think the h264 datas are wrong,so I save these with 0x00000001 before each RTP payload,
the I play it with VLC, the VLC plays well.
what's the problem, can anyone give me some advice, thanks at first.
the VLC's message information is as follows:
main debug: adding playlist item `E:\h264.sdp' ( E:\h264.sdp )
main debug: creating new input thread
main debug: waiting for thread completion
main debug: creating statistics handler
main debug: thread 4208 (input) created at priority 1 (input/input.c:265)
main debug: drive letter E: found in source
main debug: `E:\h264.sdp' gives access `' demux `' path `E:\h264.sdp'
main debug: creating demux: access='' demux='' path='E:\h264.sdp'
main debug: looking for access_demux module: 1 candidate
main debug: creating access '' path='E:\h264.sdp'
main debug: looking for access2 module: 5 candidates
vcd debug: trying .cue file: E:\h264.cue
vcd debug: could not find .cue file
access_file debug: opening file `E:\h264.sdp'
main debug: using access2 module "access_file"
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: creating demux: access='' demux='' path='E:\h264.sdp'
main debug: looking for demux2 module: 45 candidates
live555 debug: RTP subsession 'video/H264'
main debug: selecting program id=0
main debug: using demux2 module "live555"
main debug: looking for a subtitle file in E:\
main debug: looking for decoder module: 27 candidates
ffmpeg debug: libavcodec initialized (interface 3348736 )
ffmpeg debug: postprocessing disabled
ffmpeg debug: ffmpeg codec (h264) started
main debug: using decoder module "ffmpeg"
main debug: looking for packetizer module: 17 candidates
packetizer_h264 debug: found NAL_SPS
main debug: using packetizer module "packetizer_h264"
main debug: thread 4340 (decoder) created at priority 0 (input/decoder.c:159)
main debug: `E:\h264.sdp' successfully opened
packetizer_h264 debug: found NAL_PPS
ffmpeg warning: cannot decode one frame (13 bytes)
ffmpeg warning: cannot decode one frame (9 bytes)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: non existing PPS referenced
(h264@00B6D8C0)
ffmpeg warning: decode_slice_header error
(h264@00B6D8C0)
ffmpeg warning: cannot decode one frame (23653 bytes)
ffmpeg debug: concealing 300 DC, 300 AC, 300 MV errors
(h264@00B6D8C0)
At first I think the h264 datas are wrong,so I save these with 0x00000001 before each RTP payload,
the I play it with VLC, the VLC plays well.
what's the problem, can anyone give me some advice, thanks at first.