[FFmpeg-user] RTP streaming test error no sdp file

mylaneza mylaneza at yahoo.com.mx
Wed Jul 6 20:07:41 CEST 2011


Hi all! I'm new using ffmpeg. I'm trying to send an audio file using rtp. I
use ffmpeg to send the stream and ffplay to receive.

This is what i do:



1. ffplay rtp://10.168.123.202?localrtpport=8100

ffplay version git-N-30698-g39dbe9b, Copyright (c) 2003-2011 the FFmpeg
developers
  built on Jun 10 2011 22:10:00 with gcc 4.5.3
  configuration: ...
  libavutil    51.  8. 0 / 51.  8. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  3. 0 / 53.  3. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 15. 0 /  2. 15. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0

2. ffmpeg -i J:\Nacho\grabaciones\twoOld.wav -f rtp
rtp://10.168.123.202:8100
ffmpeg version git-N-30698-g39dbe9b, Copyright (c) 2000-2011 the FFmpeg
develope
rs
  built on Jun 10 2011 22:10:00 with gcc 4.5.3
  configuration: ...
  libavutil    51.  8. 0 / 51.  8. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  3. 0 / 53.  3. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 15. 0 /  2. 15. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, wav, from 'J:\Nacho\grabaciones\twoOld.wav':
  Duration: 00:00:04.50, bitrate: 64 kb/s
    Stream #0.0: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s
Output #0, rtp, to 'rtp://10.168.123.202:8100':
  Metadata:
    encoder         : Lavf53.3.0
    Stream #0.0: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 10.168.123.202
t=0 0
a=tool:libavformat 53.3.0
m=audio 8100 RTP/AVP 0
b=AS:64

Press [q] to stop, [?] for help
size=      36kB time=00:00:04.50 bitrate=  64.6kbits/s
video:0kB audio:35kB global headers:0kB muxing overhead 0.975826%

3. ffplay then:

*[rtp @ 003DD660] Unable to receive RTP payload type 72 without an SDP file
describing it*
[rtp @ 003DD660] Estimating duration from bitrate, this may be inaccurate
Input #0, rtp, from 'rtp://10.168.123.202?localrtpport=8100':
  Duration: N/A, bitrate: N/A
rtp://10.168.123.202?localrtpport=8100: could not open codecs
1309974291.63 A-V:  0.000 s:0.0 aq=    0KB vq=    0KB sq=    0B f=0/0

So nothing happens. Can anybody help me?


--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/RTP-streaming-test-error-no-sdp-file-tp3649529p3649529.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list