[Ffmpeg-devel] sdp problems?!

Zoltan NAGY nagyz
Sat May 28 18:34:15 CEST 2005


Hello!

I'm trying to play an .sdp file with ffplay, however, if it contains the 
audio data it fails.

examples:

devbox:~/ffmpeg# cat file.sdp
v=0
o=- 1117301420416199 2 IN IP4 127.0.0.1
s=NONE
t=0 0
a=tool:vlc 0.8.2-svn
c=IN IP4 239.1.1.1/0
m=video 1236 RTP/AVP 97
a=rtpmap:97 MP4V-ES/90000
a=fmtp:97 profile-level-id=3; 
config=000001b001000001b58913000001000000012000c48d8800cd1404201463000001b246466d706567302e342e392d707265316234373437;
devbox:~/ffmpeg# ffplay file.sdp

works nicely;

but then:

devbox:~/ffmpeg# cat file.sdp
v=0
o=- 1117301420416199 2 IN IP4 127.0.0.1
s=NONE
t=0 0
a=tool:vlc 0.8.2-svn
c=IN IP4 239.1.1.1/0
m=audio 1234 RTP/AVP 96
a=rtpmap:96 ac3/90000
m=video 1236 RTP/AVP 97
a=rtpmap:97 MP4V-ES/90000
a=fmtp:97 profile-level-id=3; 
config=000001b001000001b58913000001000000012000c48d8800cd1404201463000001b246466d706567302e342e392d707265316234373437;
devbox:~/ffmpeg# ./ffplay file.sdp
file.sdp: Error while parsing header
devbox:~/ffmpeg#

ideas?
it would be really really great if this worked ;)

Regards,

--
Zoltan NAGY,
Software Engineer





More information about the ffmpeg-devel mailing list