h264/rtp streaming problem

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
ylwcjf
New Cone
New Cone
Posts: 6
Joined: 08 Mar 2007 04:41
Location: suzhou china
Contact:

h264/rtp streaming problem

Postby ylwcjf » 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.
I'm a freshman,need your help, Thanks a lot!

teo
Blank Cone
Blank Cone
Posts: 15
Joined: 31 Aug 2006 14:01

Postby teo » 20 Mar 2007 18:55

Which version are you using? I got the exact same error messages when streaming H264 files after upgrading from 0.8.5 to 0.8.6.

ylwcjf
New Cone
New Cone
Posts: 6
Joined: 08 Mar 2007 04:41
Location: suzhou china
Contact:

SPS problem

Postby ylwcjf » 26 Mar 2007 13:23

The version is 0.8.6.
I think it maybe the SPS problem. The SPS which I send is long then 9 bytes,which is as follows:
67, 42, 00, 1e, 96, 54, 0b, 04, a4, 20, 00, 00, 00, 20, 00, 00, 03, 03, c0, 00,
and the PPS is as follows:
68, ce, 3c, 00,

I solved the problem by sending only first 9 bytes of SPS, and then PPS. The VLC plays well,But I don't know why? Who can give me an answer, thanks at first!
I'm a freshman,need your help, Thanks a lot!


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests