[FFmpeg-devel] Issues in Creating SDP for a H264/AAC file
Amruta
amruta.agnihotri at springcomputing.in
Mon Apr 18 07:25:25 CEST 2011
Hello,
I have recorded a video from my Samsung Galaxy S (Android 2.2) phone which I
am trying to stream. But there are problems in creating SDP for that file.
Here are the ffprobe details:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/home/yadnesh/Media/video-2011-04-13-15-13-09.mp4':
Metadata:
major_brand : 3gp4
minor_version : 768
compatible_brands: 3gp43gp6
Duration: 00:00:09.72, start: 0.000000, bitrate: 3457 kb/s
Stream #0.0(eng): Audio: aac, 16000 Hz, mono, s16, 56 kb/s
Stream #0.1(eng): Video: h264, yuv420p, 720x480, 3435 kb/s, 29.85 fps,
1k tbr, 30k tbn, 60k tbc
Following is the SDP that gets created:
SDP:
v=0
o=- 0 0 IN IP4 192.168.1.122
s=No Name
t=0 0
a=tool:libavformat 52.64.2
m=video 0 RTP/AVP 96
c=IN IP4 192.168.1.122
b=AS:3435
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-sets=
a=control:streamid=0
m=audio 0 RTP/AVP 97
c=IN IP4 192.168.1.122
b=AS:56
a=rtpmap:97 MPEG4-GENERIC/16000/1
a=fmtp:97
profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength
=3; config=1408
a=control:streamid=1
When I debugged, I found that while creating sdp it does not go in to the
loop (of function static char *extradata2psets(AVCodecContext *c))
while (r < c->extradata + c->extradata_size) {
}
Can you please help me with the causes of such wrong SDP?
-Thanks in advance.
Amruta
More information about the ffmpeg-devel
mailing list