Aysun ,

Please keep discussion on the mailing list.

> How can i do real time everything? 

Sorry I don't know about your real time issues.
Please elaborate

> While DVEVM encode, how can i see encoded data with VLC?

I believe that you are looking for some kind of streaming protocol.

Mainly you have 2 family of streaming protocols:
- RTP (Real Time Protocol,  RFC 3550 http://www.ietf.org/rfc/rfc3550.txt)
- Transport Stream over UDP : no official standard, need a TS mux, then send
    groups of 5 to 7 packets over UDP

You can look for various solutions but easiest is certainly RTP
You can :
- Use open source Live555 library which also include RTSP session server
- Use a commercial RTSP/RTP library such as ATEME's RTSL Server
- Make a quick and dirty implementation of RTP for your test, pushing RTP 
packets
  over UDP to your PC's IP address
   If you just have 1 video stream and are not concern with synchronisation,
    you may forget RTCP. So it is just a matter of filling the minimum 12 bytes
    header of RTP

If you go for a solution with RTSP server, you will use VLC to open an
  URL such as rtsp://evm-ip-address/stream-name
If you go for the quick and dirty way, VLC will open a RTP stream

Note that for RTP only (without RTSP) to work, you must have SPS/PPS
in front of each and every I-frame. If the encoder does not generate
a stream like that, you will have to re-insert them yourself

Also note that when NAL Units have to be splitted over multiple
UDP or RTP packets, there are fragmentation consideration to take
into account. See RFC http://www.ietf.org/rfc/rfc3984.txt


Hope this give you some hints.

Regards,

Jean-Michel

  ----- Original Message ----- 
  From: Aysun Tasyapi 
  To: Jean-Michel Mercier 
  Sent: Wednesday, February 07, 2007 3:26 PM
  Subject: Re: Encoded Buffer




  Hi,

  How can i do real time everything? 

  While DVEVM encode, how can i see encoded data with VLC?

  Thanx.


  2007/2/6, Jean-Michel Mercier <[EMAIL PROTECTED]>: 
    Hello,

    Normally a decoder will need SPS and PPS to get configured
    properly. So your .264 should contains at least SPS+PPS
    for VLC to be able to play it correctly. If not, it may be guessing
    some parameters which is not very compliant.

    When streaming using RTSP/RTP, you get SPS+PPS from the SDP
    through the RTSP Session.
    If you want a "stand-alone" stream, (itout RTSP nor SDP) such as
    when doing MPEG TS, then SPS/PPS must be added before each 
    IDR frame.

    It is similar to Repeat Start of Sequence in MPEG-2.

    Regards,

    Jean-Michel.

      ----- Original Message ----- 
      From: Will Tucker 
      To: Aysun Tasyapi ; [email protected] 
      Sent: Monday, February 05, 2007 8:35 PM
      Subject: Re: Encoded Buffer

       
      Hi,

      This may help you. 

      I can copy a .264 file from the DVEVM board to a pc and play it using 
VideoLan.

      When streaming we found this out:

      We are not using RTP,  but to get our player to play the .264 stream, we 
added the SPS (Sequence Parameter Set - 14 bytes) to each frame.  It seams that 
in a normal file it shows up once, if you miss this information nothing will 
play for the next farmes. 

      There may be some one with a better way, but it works for us.

      Will



      Aysun Tasyapi <[EMAIL PROTECTED]> wrote:
        Hi everybody,

        I want to do RTP application with DVEVM. 

        I must send data which encoded (*.264) to other pc and decode it. So i 
will transfer video real time.

        But i can't access encodedbuffer. when i create a file including 
encoded data with .264 extension, i don't decode it, i can't see anything.

        Have you got any info about this problem?
        Or how can i access to encoded data?

        Thanx
        _______________________________________________
        Davinci-linux-open-source mailing list
        [email protected]
        http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source 





--------------------------------------------------------------------------
      Access over 1 million songs - Yahoo! Music Unlimited. 


--------------------------------------------------------------------------


      _______________________________________________
      Davinci-linux-open-source mailing list
      [email protected]
      http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source 






_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to