[Live-devel] problem (?) when outputting raw H264 stream with openRTSP
Ross Finlayson
finlayson at live555.com
Fri Nov 20 01:10:54 PST 2009
>Ross Finlayson a écrit :
>>>Hi.When I capture a rtsp h264 stream with
>>>openRTSP and save it into a .mp4 file (-4
>>>option), I can reproduce it with common
>>>players (vlc, mplayer etc.)However, if I save
>>>the captured stream into a "raw" file (i.e
>>>video-H264-1) I cannot see it with any player.
>>>Why ?
>>
>>Because those media players (which are not our
>>software, BTW) happen not to support playing a
>>'raw' H.264 file.
>>
>Hi everybody.
>Did you say that common players like vlc can not read h264 raw stream ?
No, I said that they cannot play a H.264 raw
*file* (but you'd have to ask their developers to
be sure).
> So if I stream a H264VideoRTP, I can not read
>my stream with those media players.
Yes you can (at least with VLC), because it
implements RTSP/RTP, and the RTP payload format
for H.264.
>Another point. I just want to stream on RTP and
>not on RTSP. Can I do that with liveMedia ? All
>of your example implement RTSP Server but I do
>not that on my implementation. This is maybe why
>I can not read my stream.. What do you think
>about that ?
Yes, that's quite possible, because without a
RTSP server, the client (media player) might not
get the SPS and PPS NAL unit data that it needs
to properly decode the H.264 stream.
You should be using a RTSP server.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list