[Skip Header and Navigation] [Jump to Main Content]
الصفحة الرئيسية

Secondary Links

  • المراكز
  • وسائل الإعلام
  • نماذج مهمة
  • اتصل بنا

اللغات

  • العربية
  • English

Primary Links

  • الرئيسية
  • عن الكلية
  • الأقسام
  • جوائز الكلية
  • معرض الصور
  • وحدة الجودة
  • الطلاب
الصفحة الرئيسية

Online Media Streaming

السنة الأكاديمية: 
2012
Supervisors: 
رائد القاضي
الطلاب: 
سندس وصفي مصطفى شتيوي
اسماء كمال شفيع سلمان
القسم: 
هندسة الحاسوب
الملفات: 
application/vnd.ms-powerpoint iconsoftware_presentation.ppt

 In general our project is dealing with two parts, change the video format and streaming the video to the mobile. We use the android system for the mobile.
Since android doesn’t support all extension of videos, here was the problem, so we try to solve this problem by converting the extension of video from format doesn’t support by android to supported format. To do that’s we use the implementation of FFMPEG method, and with this method we successfully converted five formats of videos to a format supported by android.

After we check that’s the format of the videos could be played in the android, we came to the next stage, Streaming. To do that’s, first we give a user on the mobile a username and password to connect to the server with these information, with this way we can achieve an authentication connection and don’t allow anyone to access my server, we do this steps in android (in the client side) and we use php language over a WAMP server to build the server side.
after the user have connect to the server in secure way, the part of streaming video from server ( pc ) to the client ( android ) is come. We make this steps in two different ways, first one we use the RTSP protocol (Real Time Streaming Protocol). This protocol is made for android in order to streaming media (video and audio). With the RTSP protocol, packets of data don’t store in the mobile (client side), so with this method we solve the problem of the mobile storage. To display the packets of video into the mobile we build our playback MediaPlayer with a MediaController.
the other way of video streaming we use is to stream the video over TCP sockets, this is way is more difficult and actually is less performance from the first one, because here we split  video into frame(images) then convert each image into array of bytes ( more difficult technique ) ,then stream each packet (array of bytes ) to the client, if any of these packets are lost through the streaming path, the video will display not in order and it will take more time to display the video, because in the client side we convert these packets into images then draw these images in the canvas with very little delay, all these steps in the client side will make the video take more time to be displayed and will not be as the quality as the RTSP provide.

 

©2012 جامعة النجاح الوطنية |كلية الهندسة| صندوق بريد: 7 | نابلس، فلسطين | هاتف: 092345113/2253 | فاكس: (09) 2345982 | بريد الكتروني: [email protected]
[Jump to Top] [Jump to Main Content]