I will be very grateful if you can help me with the problem of H264 streaming, which I tried to solve in a few weeks.
I need to transfer H264 video from Live555 (on a Linux machine) to VLC Media Player (on a Windows machine). It works very well with RTSP, but I need to use RTP without RTSP, and with RTP I do not see the video. VLC does not even recognize that the stream is H264.
This is the SDP file transmitted via RTSP (working configuration):
v=0 o=- 1277647151953158 1 IN IP4 190.40.14.100 s=Session streamed by "testH264VideoAudioStreamer" i=test-h264-mux.mpg t=0 0 a=tool:LIVE555 Streaming Media v2007.05.24 a=type:broadcast a=control:* a=source-filter: incl IN IP4 * 190.40.14.100 a=rtcp-unicast: reflection a=range:npt=0- a=x-qt-text-nam:Session streamed by "testH264VideoAudioStreamer" a=x-qt-test-inf:test-h264=mux.mpg m=video 8554 RTP/AVP 96 c=IN IP4 190.40.15.63/7 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=000042;sprop-parameter-sets=H264 a=control:track1
But if I switch from RTSP to RTP, this will not work. I tried loading the above SDP file into a VLC player, but this does not help.
Here is part of the debug output of VLC Player 0.8.6d:
main input debug: thread 4016 (input) created at priority 1 (input/input.c:265) main input debug: `rtp://@190.40.15.63:8554' gives access `rtp demux' `' path `@190.40.15.63:8554' main input debug: creating demux: access='rtp' demux='' path='@190.40.15.63:8554' main demuxer debug: looking for access_demux module: 0 candidates main demuxer warning: no access_demux module matched "rtp" main input debug: creating access 'rtp' path='@190.40.15.63:8554' main access debug: looking for access2 module: 6 candidates access_udp access debug: opening server=:0 local=190.40.15.63:8554 main access debug: net: connecting to '[]:0@[190.40.15.63]:8554 main access debug: looking for netrowk module: 1 candidate ipv6 access debug: 190.40.15.63: Host or service not found main access debug: using network module "ipv6" main access debug: removing network module "ipv6" main access debug: looking for netrowk module: 1 candidate ipv4 access debug: resolving 190.40.15.63:8554... ipv4 access debug: resolving :0... main access debug: using network module "ipv4" main access debug: removing network module "ipv4" main access debug: using access2 module "access_udp" main private debug: pre buffering access_udp access debug: no RTP header detected main input debug: creating demux: access='rtp' demux='' path='@190.40.15.63:8554' main demuxer debug: looking for demux2 module: 45 candidates ts demuxer warning: TS module discarded (lost sync) ffmpeg demuxer debug: detected format: mp3
(There may be typos, because I had to copy them manually - do not ask :))
In VLC 1.0.5, I get an unknown payload error, and SDP cannot be loaded at all due to an Unknown Network Stack error. Other errors displayed: SDP connection information is not supported and Sap Damper Warning: Invalid SDP .
Any help would be greatly appreciated!
Thanks,
Ilya
Ilya Kogan
source share