On 3/4/2015 5:44 AM, Mark Kenna wrote:

On 27 February 2015 at 19:38, Andy Shaules <[email protected] <mailto:[email protected]>> wrote:

    On 2/27/2015 9:09 AM, Mark Kenna wrote:
    On 13 February 2015 at 12:07, Mark Kenna
    <[email protected]
    <mailto:[email protected]>> wrote:

        Hi

        I think there is a problem in the SDP parsing of RTSP.c. I
        have an SDP which has 2 tracks, one is H264 and the other is
        MJPEG. It appears that FFMPEG is always opening MJPEG
        regardless of which codec is specified first in the track
        list. Here is an example:

        v=0
        o=- 130683027881870000 130683027881870000 IN IP4 2.0.2.42
        s=Camera
        c=IN IP4 0.0.0.0
        t=0 0
        a=control:*
        m=video 1036 RTP/AVP 96 26
        a=control:?StreamID=0
        a=rtpmap:96 H264/90000
        a=fmtp:96 packetization-mode=1; profile-level-id=420029;
        sprop-parameter-sets=Z0IAKeKQLBLYEnBQEF4eJEVA,aM48gA==
        a=rtpmap:26 JPEG/90000

        Thanks,
        Mark.


    Hi Guys

    Did anyone see this issue? I was wondering if anyone has suffered
    the same problem?

    Thanks,
    Mark.



    _______________________________________________
    Libav-user mailing list
    [email protected]  <mailto:[email protected]>
    http://ffmpeg.org/mailman/listinfo/libav-user
    Hello,


    It appears the SDP is wrong. I believe there should be two m entries.

    m=video 1036 RTP/AVP 96
    a=control:?StreamID=0
    a=rtpmap:96 H264/90000
    a=fmtp:96 packetization-mode=1; profile-level-id=420029;
    sprop-parameter-sets=Z0IAKeKQLBLYEnBQEF4eJEVA,aM48gA==
    m=video 1036 RTP/AVP 26
    a=control:?StreamID=0
    a=rtpmap:26 JPEG/90000



    _______________________________________________
    Libav-user mailing list
    [email protected] <mailto:[email protected]>
    http://ffmpeg.org/mailman/listinfo/libav-user


Hi Andy

According to the SDP specification you are allowed to have multiple media values in the same m line. If you have information to the contrary then please let me know.

Appreciate the information!

Mark.



_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user
Yeah, I imagine that may be so, but the question if lib av actually supports that is another entirely. Can you tell? https://www.ffmpeg.org/doxygen/2.4/rtsp_8c_source.html


_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to