I am writing a video conferencing application for the Nokia N800/N810 devices that stream video between two devices, and am currently using the hantro4200enc encoder in my GStreamer pipeline to encode the video before sending it out. The video appears on the other side very choppy and pixelated, and I am wondering if I am using the right encoder or whether there is a better encoder that would compress my video better to give me a cleaner video? I got the code initially from the following wiki post telling me how to stream video from the Nokia devices. http://maemo.org/community/wiki/howtostreamvideo/ If there is a better way let me know, thanks. MFonnesbeck ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Wed, 2008-08-27 at 14:18 -0600, Merrick Fonnesbeck wrote:
> I am writing a video conferencing application for the Nokia N800/N810 > devices that stream video between two devices, and am currently using > the hantro4200enc encoder in my GStreamer pipeline to encode the video > before sending it out. The video appears on the other side very > choppy and pixelated, and I am wondering if I am using the right > encoder or whether there is a better encoder that would compress my > video better to give me a cleaner video? I got the code initially > from the following wiki post telling me how to stream video from the > Nokia devices. > > http://maemo.org/community/wiki/howtostreamvideo/ > > If there is a better way let me know, thanks. to the best you can get out of this device. You can probably play with the parameters of the hantro4200enc element, but it shouldn't change much... -- Olivier Crête [hidden email] Collabora Ltd ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel signature.asc (204 bytes) Download Attachment |
In reply to this post by Merrick Fonnesbeck-2
Hi, Merrick:
I think this is not an encoder issue. I noticed the wiki articles you mentioned and I found it uses RTP as transport protocol. RTP is a realtime transport protocol so if packets aren't arrived during a specified `latency', the packets will be considered as `late' and be dropped. That's the main reason to make your video choppy and pixelated. RTP stuffs in gstreamer are still in `bad' plugin repository and they need to be improved, such as lip-synchronization, jitterbuffer and etc. Eric Zhang 2008/8/28 Merrick Fonnesbeck <[hidden email]>
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Merrick Fonnesbeck-2
Oliver, you know I haven't tried it recently with the built-in Google
Talk (Video) Beta application that it comes with to see how they compare. Do you know if they are using GStreamer or what encoder they are using? I am trying to something similar and am mainly concerned about the video than the audio. And Eric, if RTP has issues, what should I use for better transporting of the video? Is there something better or more reliable? Please let me know so that I might learn and improve this application, since I am very new to developing on Maemo and these mobile devices and want to become better. Thanks to the both of you for your responses. MFonnesbeck ------------------------------ >On Wed, 2008-08-27 at 14:18 -0600, Merrick Fonnesbeck wrote: >> I am writing a video conferencing application for the Nokia N800/N810 >> devices that stream video between two devices, and am currently using >> the hantro4200enc encoder in my GStreamer pipeline to encode the video >> before sending it out. The video appears on the other side very >> choppy and pixelated, and I am wondering if I am using the right >> encoder or whether there is a better encoder that would compress my >> video better to give me a cleaner video? I got the code initially >> from the following wiki post telling me how to stream video from the >> Nokia devices. >> >> http://maemo.org/community/wiki/howtostreamvideo/ >> >> If there is a better way let me know, thanks. > >Is it any worse than the built-in call application? Because thats close > >You can probably play with the parameters of the hantro4200enc element, but it shouldn't change much... > >-- >Olivier Cr?te >[hidden email] >Collabora Ltd >-------------- next part -------------- > >Hi, Merrick: > > I think this is not an encoder issue. I noticed the wiki articles realtime transport protocol so if packets aren't arrived during a specified `latency', the packets will be considered as `late' and be dropped. That's the main reason to make your video choppy and pixelated. > > RTP stuffs in gstreamer are still in `bad' plugin repository and they need to be improved, such as lip-synchronization, jitterbuffer and etc. > >Eric Zhang > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Dear MFonnesbeck,
Though i am not an expert on Streaming.......but whatever i know let me try to help you.......
As far as encoder is concerned you can use any of the encoder.....i can say try with H263 or H264........
Also to get the better Video Quality you can reduce the bitrate and Framerate to see the changes....By default the bitrate given by encoder is too high that can't be used on the Mobile Device......So please reduce the FrameRate and Bitrate.....( i am sure you can see the significant change in the qualtiy........... )
To improve the VideoQuality bit more you can Increase IFrame Rate...as on the network there are more chances of a packet getting lost so...if iFrames are coming frequenlty the qualtiy will be definately better.......
Now finaly to have better AV sync....you can use RTCP and get the exact jitter valaue....set it on the gstrtpbin and see the AV sync as well as video will be smoother......Or just to check try setting jittervalue to 1000.......
Manish
On Thu, Aug 28, 2008 at 8:33 PM, Merrick Fonnesbeck <[hidden email]> wrote: Oliver, you know I haven't tried it recently with the built-in Google ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |