[vlc-devel] codec in sdp does not mach codec in file

Jure Pečar pegasus at nerv.eu.org
Fri Oct 30 10:40:31 CET 2009


Hello,

Recently I found out a peculiar detail. Consider the following:

$ ffmpeg -i test.3gp 
...
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.3gp':
  Duration: 00:11:14.53, start: 0.000000, bitrate: 283 kb/s
    Stream #0.0(und): Video: h264, yuv420p, 320x240, 15 tbr, 15 tbn, 30 tbc
    Stream #0.1(und): Audio: aac, 22050 Hz, stereo, s16
    Stream #0.2(und): Data: rtp  / 0x20707472
    Stream #0.3(und): Data: rtp  / 0x20707472

FFMpeg says video in this file is h264.

Now check this:

$ vlc test.3gp --sout '#rtp{mux=ts,dst=239.255.12.42,sdp=file://test.sdp,name="TestStream"}' 

and inspect test.sdp:

v=0
o=- 14885501674853070924 14885501674853070924 IN IP4 dev-4core
s=TestStream
i=N/A
c=IN IP4 239.255.12.42/255
t=0 0
a=tool:vlc 1.0.1
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=video 5004 RTP/AVP 33
b=RR:0
a=rtpmap:33 MP2T/90000
            ^^^^^

Why does vlc think it is handling mpeg2 transport stream and anounces it as such? It should clearly be anouncing H264.

Where can I report this bug?


-- 

Jure Pečar
http://jure.pecar.org



More information about the vlc-devel mailing list