H.264 RTSP streams from DR (danish national broadcaster) (1 Viewer)

pilehave

Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    Hi there

    I'm trying to get a RTSP stream from our national broadcaster (DR) to play in MP, I hacked up the Online Videos plugin and harvested the neccesary stuff, the URL is (in example) rtsp://rtsplive.dr.dk/livestream12.sdp

    VLC plays this stream fine, but when I pass it to the MP g_Player.Play() it looks like in the log, that the stream is caught, playback tried and failed.

    It seems to recognize that it's a H.264 stream, but I'm not sure how to proceed from here.

    01-03-2010 14:09:13.468 [1740]-------------- v1.2.9 ----------------
    01-03-2010 14:09:13.468 [1740]CTsReaderFilter::ctor
    01-03-2010 14:09:13.468 [1740]CRTSPClient::Initialize()
    01-03-2010 14:09:13.468 [1740]CRTSPClient::createClient()
    01-03-2010 14:09:13.468 [1740]Slow motion video allowed during zapping
    01-03-2010 14:09:13.468 [1740]Wait for seeking to eof - false - constructor
    01-03-2010 14:09:13.468 [1740]CTsReaderFilter::Load()
    01-03-2010 14:09:13.468 [1740]open rtsp:rtsp://rtsplive.dr.dk:80/livestream12.sdp
    01-03-2010 14:09:13.468 [1740]CRTSPClient::OpenStream()
    01-03-2010 14:09:13.468 [1740]CRTSPClient::getSDPDescriptionFromURL()
    01-03-2010 14:09:13.515 [1740]Created receiver for audio MPEG4-GENERIC 4612 4613
    01-03-2010 14:09:13.515 [1740]rtsp:increaseReceiveBufferTo to 2000000 for s:3296
    01-03-2010 14:09:13.515 [1740]Created receiver for video H264 4614 4615
    01-03-2010 14:09:13.515 [1740]rtsp:increaseReceiveBufferTo to 2000000 for s:3308
    01-03-2010 14:09:13.515 [1740]CRTSPClient::setupStreams()
    01-03-2010 14:09:13.515 [1740]CRTSPClient::clientSetupSubsession()
    01-03-2010 14:09:13.531 [1740]Setup audio MPEG4-GENERIC 4612 4613
    01-03-2010 14:09:13.531 [1740]CRTSPClient::clientSetupSubsession()
    01-03-2010 14:09:13.546 [1740]Setup video H264 4614 4615
    01-03-2010 14:09:13.546 [1740]CMemorySink::ctor
    01-03-2010 14:09:13.546 [1740]Created output sink:
    01-03-2010 14:09:13.546 [1740]CMemorySink::ctor
    01-03-2010 14:09:13.546 [1740]Created output sink:
    01-03-2010 14:09:13.546 [1740]memorybuffer: Clear() 0
    01-03-2010 14:09:13.546 [1740]memorybuffer: Clear() done
    01-03-2010 14:09:13.546 [1740]memorybuffer: run:1 1
    01-03-2010 14:09:13.546 [1740]memorybuffer: running:1
    01-03-2010 14:09:13.546 [1740]CRTSPClient::play from 0.000000 / 0.000000
    01-03-2010 14:09:13.546 [1740]CRTSPClient::startPlayingStreams()
    01-03-2010 14:09:13.546 [1740]CRTSPClient::clientStartPlayingSession()
    01-03-2010 14:09:13.546 [1740]CRTSPClient::clientStartPlayingSession() play from 0.000 / 7200.000
    01-03-2010 14:09:13.562 [1740]Started playing session
    01-03-2010 14:09:13.562 [1740]CRTSPClient::confused:tartBufferThread
    01-03-2010 14:09:13.562 [1740]CRTSPClient::confused:tartBufferThread done
    01-03-2010 14:09:13.562 [880]CRTSPClient:: thread started:2176
    01-03-2010 14:09:15.484 [1740]demux:endoffile
    01-03-2010 14:09:15.484 [1740]demux:endoffile
    01-03-2010 14:09:15.500 [1740]demux:endoffile

    (and many lines with EOF)

    01-03-2010 14:09:18.562 [1740]memorybuffer: run:0 1
    01-03-2010 14:09:18.562 [1740]memorybuffer: Clear() 0
    01-03-2010 14:09:18.562 [1740]memorybuffer: Clear() done
    01-03-2010 14:09:18.562 [1740]memorybuffer: running:0
    01-03-2010 14:09:18.562 [1740]close rtsp:rtsp://rtsplive.dr.dk:80/livestream12.sdp
    01-03-2010 14:09:18.562 [1740]CRTSPClient:confused:top
    01-03-2010 14:09:18.562 [1740]CRTSPClient::confused:topBufferThread
    01-03-2010 14:09:18.593 [880]CRTSPClient:: thread stopped:2176
    01-03-2010 14:09:18.593 [1740]CRTSPClient::confused:topBufferThread done
    01-03-2010 14:09:18.593 [1740]CRTSPClient::shutdown()
    01-03-2010 14:09:18.593 [1740]CRTSPClient::closeMediaSinks()
    01-03-2010 14:09:18.593 [1740]CMemorySink::dtor
    01-03-2010 14:09:18.593 [1740]CMemorySink::dtor
    01-03-2010 14:09:18.593 [1740]CRTSPClient::tearDownStreams()
    01-03-2010 14:09:18.593 [1740]CRTSPClient::clientTearDownSession()
    01-03-2010 14:09:18.609 [1740]memorybuffer: Clear() 0
    01-03-2010 14:09:18.609 [1740]memorybuffer: Clear() done
    01-03-2010 14:09:18.609 [1740]CRTSPClient:confused:top done
    01-03-2010 14:09:18.640 [1740]aud:CompleteConnect()
    01-03-2010 14:09:18.656 [1740]aud:CompleteConnect() done
    01-03-2010 14:09:19.328 [1740]filt:IID_IMediaSeeking()
    01-03-2010 14:09:19.359 [1740]CTsReaderFilter::dtor
    01-03-2010 14:09:19.359 [1740]pin:dtor()
    01-03-2010 14:09:19.359 [1740]sub pin:dtor()
    01-03-2010 14:09:19.359 [1740]FileReader::CloseFile() no open file
    01-03-2010 14:09:19.359 [1740]CMemoryBuffer::dtor
    01-03-2010 14:09:19.359 [1740]memorybuffer: Clear() 0
    01-03-2010 14:09:19.359 [1740]memorybuffer: Clear() done
    01-03-2010 14:09:19.359 [1740]CRTSPClient::~CRTSPClient()
    01-03-2010 14:09:19.359 [1740]demux:flushing
    01-03-2010 14:09:19.359 [1740]demux:set hold audio:1
    01-03-2010 14:09:19.359 [1740]demux:set hold video:1
    01-03-2010 14:09:19.359 [1740]demux:set hold subtitle:1
    01-03-2010 14:09:19.359 [1740]demux:flush audio
    01-03-2010 14:09:19.359 [1740]demux:flush video
    01-03-2010 14:09:19.359 [1740]demux:flush subtitle
    01-03-2010 14:09:19.359 [1740]demux:set hold audio:0
    01-03-2010 14:09:19.359 [1740]demux:set hold video:0
    01-03-2010 14:09:19.359 [1740]demux:set hold subtitle:0

    Any help would be good :)
     

    Attachments

    • h264_rtsp.png
      h264_rtsp.png
      164.1 KB

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    • Thread starter
    • Moderator
    • #3
    hi pilehave

    Have you had any success since your last post.

    Not really. I have also kind of given up the idea since the H.264 streams are playing back really bad, even at work where I'm placed almost directly on the DIX (Danish Internet Exchange) on a 100 mbit fibre. Besides that, I can already watch the channels on my normal tv-tuner.

    If anyone has got any help, I would still appreciate it :)
     

    DAx_dk

    Portal Member
    July 25, 2007
    34
    4
    46
    Home Country
    Denmark Denmark
    yeah, I also noticed that the quality was really bad, but thought that it was because of VLC.
    Strangely enough, their flash player is looking great, but no chance of getting it into MP or OnlineVideos (believe that they are using ala adobe's secure media streaming server thingie)
     

    Users who are viewing this thread

    Top Bottom