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

Vicente Jiménez googuy at gmail.com
Fri Oct 30 11:11:48 CET 2009


This is not a bug, this is correct.
If you think it should announce H264, why not AAC?

This is due because you specified TS as a muxer to use (mux=ts). So
the session description just announces that you are transmitting a
MPEG-2 Transport Stream (MP2T/90000).

If you remove mux=ts or put mux=raw you could see the diferents
streams described in the announcement.

Also, the normal place to report bugs is in
http://trac.videolan.org/vlc/ (When it works :)

Hopes this helps.

You need to review the RFCs ;)
vicente

On Fri, Oct 30, 2009 at 10:40 AM, Jure Pečar <pegasus at nerv.eu.org> wrote:
>
> 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
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>



More information about the vlc-devel mailing list