[vlc] Re: vlc stop when playing H.264 RTP stream
jogging song
joggingsong at gmail.com
Mon Mar 12 12:44:23 CET 2007
Hi, Araceli
I have written a program that send H.264 RTP packet stream to a
IP/Ports. Vlc on a pc with the IP as a client reads a SDP file first and
then receive h.264 RTP stream from the port where H.264 RTP packets been
sent to.
Then I find:
vlc 0.8.5 can work well But vlc 0.8.6 stops after printing
packetizer_h264 debug: found NAL_SPS
packetizer_h264 debug: found NAL_PPS .
Further, I find vlc 0.8.5 can't play vidoe files, such avi files and
H.264AnnexB file with extension file name *.264, but vlc
0.8.6 is fine.
Best Regards
Jogging
On 3/12/07, araceli manso <lalaleli at hotmail.com> wrote:
>
> Hi Jogging,
>
> You´re welcome.
> I think that I didn´t understand the mail correctly. You mean that you
> can use vlc 0.8.5 as client and server to stream h264, but you cannot use
> it as a player?
>
> regards
>
> Araceli
>
>
>
>
> ------------------------------
> From: *"jogging song" <joggingsong at gmail.com>*
> Reply-To: *vlc at videolan.org*
> To: *vlc at videolan.org*
> Subject: *[vlc] Re: vlc stop when playing H.264 RTP stream*
> Date: *Sat, 10 Mar 2007 14:26:27 +0800*
>
> Hi,
> Thanks, Araceli.
> I have installed 0.8.5 vlc and it works fine for playing H.264 RTP
> streams.
> But unfortunately, I find 0.8.5 vlc can't play H.264 bitstream file and
> other files such as avi file, but
> 0.8.6 can do this. I'm afraid that we
> should report a bug.
> Do you have any vlc that can do these things at the same time? Can you
> share it with me?
> thanks
>
> Jogging
>
> On 3/10/07, araceli manso <lalaleli at hotmail.com> wrote:
> >
> >
> >
> > Hello,
> >
> > I have the same problem with the 0.8.6 version. But using the
> > 0.8.5 and adding to the code the changeset 15736, I can stream h264. And
> > using as client the 0.8.6 I get the message "waiting for SPS.
> >
> > Please let me know if you find the way.
> >
> > Good luck
> >
> > Araceli
> >
> > ------------------------------
> > From: *"jogging song" <
> > joggingsong at gmail.com>*
> > Reply-To: *vlc at videolan.org*
> > To: *
> > vlc at videolan.org*
> > Subject: *[vlc] Re: vlc stop when playing H.264 RTP stream*
> > Date: *Fri, 9 Mar 2007 21:24:27 +0800*
> >
> >
> I have saved the RTP payloads in file and vlc can play the file without
> problem. So the RTP payloads is ok.
> But when payloads are sent to vlc in RTP packets, vlc fails to play the
> stream.
>
> Now the stream consists of one I frame and 299 P frames. We find that if I
> frame is repeated in the stream, vlc encounters the second
>
> I frame and will play normally.
>
> First, i think the sps and pps in the sdp file is different from the sps
> and pps in rtp packet streams. vlc receives the sps and pps again and think
> the new ones are used to update the old ones. But I review the sps and pps
> in sdp file and am sure they are correct.
>
>
> And I have downloaded the vlc source code from the websites and find vlc
> is very complex to understand and it is difficult to find the process for
> RTP packet operations.
>
>
> Thanks
> jogging
>
> On 3/9/07, Chris Dobbs <
> chris_dobbs at dobbscr.karoo.co.uk> wrote:
>
> > Can u verify without using VLC that your H264
> > frames are ok? i.e play it from file or something. VLC will play h264
> > from file
> > so maby try that first.
>
>
> Your SDP looks ok although I'm not familiar
> with the specific h263 fmtp options, try just having
> fmtp:96
>
> your SDP states you are streaming to port 1100 so
> make sure your streamer is in fact doing this (obvious I know
> but...)
>
> Run up ethereal and capture the first couple of
> packet and see if they look ok. Check that your RTP header payload type is
> in
> fact 96 and not the non-dynamic one (forget which number this is for
> H264...35?)
>
> -Chris
>
>
> ----- Original Message -----
>
> *From:*
> jogging <joggingsong at gmail.com>
> song <joggingsong at gmail.com>
>
> *To:* <vlc at videolan.org>
> vlc at videolan.org
>
> *Sent:* Friday, March 09, 2007 2:54
> AM
>
> *Subject:* [vlc] Re: vlc stop when playing
> H.264 RTP stream
>
>
> Thanks, Chris
>
> Payload type in RTP header is 96.
> Before it is about to receive RTP
> stream, vlc need a SDP. I'm not sure whether the sdp file is
> right.
> v=0
> m=video 1100 RTP/AVP 96
> b=AS:247
> a=rtpmap:96 H264/90000
>
> a=fmtp:96 packetization-mode=1;profile-level-id=42001E;
>
> I read the
> RFC3984, and change it to the following.
>
> v=0
> m=video 1100 RTP/AVP
> 96
> b=AS:247
> a=rtpmap:96 H264/90000
> a=fmtp:96
> packetization-mode=0;profile-level-id=42001E;sprop-parameteter-sets=Z0IAHpZ0Ficg,aM44gA==
>
>
>
> It still doesn't work.
>
> The RTP stream consists of RTP of 300
> frames. And only the first frame is an IDR frame(I frame), which has a
> sps and
> pps.
> All other frame is P frame.
>
> But VLC stops after printing the
> following things:
> packetizer_h264 debug: found NAL_SPS
> packetizer_h264
> debug: found NAL_PPS
> I don't know why it stops after recognizing sps and
> pps.
>
>
> And i think sps and pps already are in sdp file, so I don't
> send sps and pps.
> Vlc will print "waiting for
> sps".
>
> Thanks
> jogging
>
>
>
> On 3/8/07, chris.2.dobbs at bt.com < <chris.2.dobbs at bt.com>
> chris.2.dobbs at bt.com > wrote:
>
>
> >
> >
> > Not sure
> > what that erro msg means but here are a few quick things to
> > check:
> >
> > 1. Are
> > you setting the RTP payload to 96 in your stream?
> >
> > 2. Are
> > you setting correct timestamp framing intervals in your stream ,
> > think u
> > need to increment rtp timestamp by 30Ms every time u start sending a
> > new
> > frame. Keep this timestamp constant for frames spanning several
> > packets.
> >
> > 3. Are
> > you keeping the RTP SSRC at constant value all the way
> > through?
> >
> >
> >
> > Can you
> > post the first few packets here?- use ethereal or something to
> > capture
> > and I'll take a look.
> >
> > -Chris
> >
> >
> >
> > ------------------------------
> > *From:* vlc-bounce at videolan.org [mailto:
> > vlc-bounce at videolan.org] *On Behalf Of *jogging
> > song
> > *Sent:* 08 March 2007 12:52
> > *To:* vlc at videolan.org
> >
> > *Subject:* [vlc] vlc stop when
> > playing H.264 RTP stream
> >
> >
> >
> > hi,
> > Now I use VLC to play H.264 RTP
> > stream.I encounter some problems. Before it is about to receive RTP
> > streams, VLC read a SDP like this,
> > v=0
> > m=video 1100 RTP/AVP
> > 96
> > b=AS:247
> > a=rtpmap:96 H264/90000
> > a=fmtp:96
> > packetization-mode=1;profile-level-id=42001E;
> >
> > Then I send RTP
> > packets, and VLC recieve them.But VLC stops after printing the
> > following
> > things:
> > packetizer_h264 debug: found NAL_SPS
> > packetizer_h264 debug:
> > found NAL_PPS
> >
> > Can anyone help me?Thanks
> > Best
> > Regards
> > jogging
> >
> >
> >
> >
>
>
>
> ------------------------------
> Recibe ofertas de empleo adaptadas a tu perfil.
> Introduce tu CV en MSN Empleo. <http://g.msn.com/8HMBESES/2752??PS=47575>
> --
> This is the vlc mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://www.videolan.org/support/lists.html
>
>
>
> ------------------------------
> Coches nuevos, coches de ocasión, coches de Km 0 Si piensas en cambiar de
> coche, MSN Motor. <http://g.msn.com/8HMBESES/2746??PS=47575> -- This is
> the vlc mailing-list, see http://www.videolan.org/vlc/ To unsubscribe,
> please read http://www.videolan.org/support/lists.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20070312/c97377bc/attachment.html>
More information about the vlc
mailing list