×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Thread: Video Streaming

  1. #1
    Registered User
    Join Date
    Feb 2008
    Location
    Kanyakumari, India
    Posts
    21

    Video Streaming

    Im streaming video, live, from a Nokia N93(S60 3rd Edition) to a laptop through WLAN.I've created a player for recording the video. Now, what do i do for streaming it live????

    Can my player be directly used for streaming?

    What are the QoS features tat can be applied to my software??

    Wat encoding functions can i use??

    If anyone can help me out with code/info, i'd be grateful...

  2. #2
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Video Streaming

    So you created a MIDlet on the phone to record a stream, right? And now you want to send the stream from that MIDlet to some other place live, right?

    Unfortunately in Java ME you do not have access to the recorded stream until the recording has been stopped. So you have to record in one thread and send the previously recorded piece in another (of course this causes some lags when the recording is stopped and restarted).

    And if I understood your question incorrectly, please correct me...

    Hartti

  3. #3
    Registered User
    Join Date
    Feb 2008
    Location
    Kanyakumari, India
    Posts
    21

    Exclamation Re: Video Streaming

    Yea, but how do i stream it??

    RTP/RTSP can be used??

    Should i separately encode each thread in a particular format..??

    I plan to use MP4 encoding... How do i do it in the mobile phone..
    ?
    PLz help

  4. #4
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Video Streaming

    You use whatever video format the phone allows. If MP4 is supported then great.
    http://www.forum.nokia.com/info/sw.n..._0_en.xls.html

    You send the video clips over HTTP or using a socket connection. RTSP is not supported for outward transfer in Java ME.

    Hartti

  5. #5
    Registered User
    Join Date
    Feb 2008
    Location
    Kanyakumari, India
    Posts
    21

    Re: Video Streaming

    thanx a lot hartti...i've clarified a few of my doubts, but still i want to know more abt the basics..

    I'm streaming video from a mobile to a laptop interface right?? Now, i how do i packetize the video? Do i use RTP for doing dat?


    Also, when the first few packets are received in the computer, how will they automatically start playing. These are basic funda doubts i guess.. but can u or any1 clarify plz??/

  6. #6
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Video Streaming

    You send the video clips over HTTP for example. You have to have an application on the server side which them compiles the incoming video clips to a longer video file and starts playing it.

    You cannot use RTP (unless you of course implement that protocol yourself with a Socket connection on the mobile side)

    Hartti

  7. #7
    Registered User
    Join Date
    Feb 2008
    Location
    Kanyakumari, India
    Posts
    21

    Re: Video Streaming

    yea, i'll have to develop an application that does RTP transmission. Do u have any tips as to how i should proceed..


    Also 1 more clasrification hartti.

    I use Manager.createPlayer("capture://devcam0?encoding=video/mp4");

    But the file is getting saved as a 3gp file. What should i do to save it in mp4 format??


    Thnx

  8. #8
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Video Streaming

    Have you checked that the device supports mp4 video capture from Java ME?

    Hartti

  9. #9
    Registered User
    Join Date
    Feb 2008
    Location
    Kanyakumari, India
    Posts
    21

    Exclamation Re: Video Streaming

    yea, the N93 supports video streaming...

    I want to stream this video using RTP/RTSP.. HOw do i do this. This is for my final year project and i do not want to use Real player or anything. This is my question:

    How does one stream MPEG4 Video using RTP/RTSP??

    Do i have to split up the video stream and audio stream? How do i do tat using j2me???????

  10. #10
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Video Streaming

    I think I have already answered your question in this and in another thread. please do not post the same question over and over again, it just fragments these discussions.

    Hartti

  11. #11
    Registered User
    Join Date
    Feb 2008
    Location
    Kanyakumari, India
    Posts
    21

    Re: Video Streaming

    ok... can u please give me some info about how to split up a MPEG-4 video stream into audio and video stream n how to Packetize them to send over the network????

  12. #12
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Video Streaming

    Why would you need to do that?

    You need to study the specification of MPEG4 to find out how to do that. I am not familiar of the format so closely.

    Also remember that splitting the video and audio will take time on the client side, so you might end up falling more and more behind in sending the packets to the server.

    Hartti

  13. #13
    Registered User
    Join Date
    Feb 2008
    Location
    Kanyakumari, India
    Posts
    21

    Re: Video Streaming

    Well, i want to stream the video to the laptop. Isnt it wat we normally do for streaming??? Or is there an alternative?? It would be nice to know hartti..

  14. #14
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Video Streaming

    My advise: Do not split the video and audio. Just send the video clips over the connection one after another like any other file, which you send over a (network) connection.

    Hartti

  15. #15
    Registered User
    Join Date
    Feb 2008
    Location
    Kanyakumari, India
    Posts
    21

    Re: Video Streaming

    but i dont think that would constitute streaming???

Similar Threads

  1. video streaming in mobile
    By premlathiya in forum Mobile Java General
    Replies: 5
    Last Post: 2009-06-04, 22:13
  2. Video Streaming Buffer
    By alessiobwb in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2007-07-22, 08:03
  3. Replies: 1
    Last Post: 2007-01-26, 12:18
  4. RTSP video streaming issue on 6280
    By olivier_irac in forum General Development Questions
    Replies: 0
    Last Post: 2006-12-04, 15:11
  5. Streaming video + J2ME application interruptions
    By redlex in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-11-27, 11:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •