Bad audio quality while playing embedded HD video in phone - python-2.7

I have a very strange experience of bad audio quality of an HD embedded video.
I upload my video(formats like wmv,mp4 etc..) to my CMS application which will be stored in amazon s3 and it will be encoded using "http://api.encoding.com/". After encoding i play it from the user front-end of the CMS .
The strange problem i am facing is that,some of the videos are not having good audio quality when i play it from my mobile device(iphone,samsung galaxy,windows phone). The quality is bad only when i play it through the phone speakers. Audio quality is fine when i play it through the headset.
Any Ideas on this Friends???
Please advice me on this!!!!
Thank You....

Related

Streaming Images from native C++ to a web browser

I am trying to figure out how difficult it will be to achieve this. I have C/C++ drivers to interface with a machine vision camera. All it does is grab frames from the camera at 14 fps as a .tif. I want to display this image stream in a browser.
My background is in hardware, drivers and applications, not in web development. How much trouble am I getting in to? How easy would it be to create a video stream from the images, and feed it to a video player on the webpage?

On the fly Stream and transcode video with Django

I have a model that uses "models.FileField()", which I then display back to the user so they may click the link and have a file rendered in their browser. The user can upload various types of files.
Problem is, I'd like to handle large avi's differently, and have the file stream to the user.
The requirement I have is to simply stream/transcode video files from the media_root dir to an end user's browser, preferably in a mac friendly format. It would be for a couple users at most.
I've search and stumbled upon a few projects:
https://github.com/andrewebdev/django-video
https://github.com/rugginoso/django-transcodeandstream
As I am I a relatively newbie when it comes to django, I'm not sure how to incorporate their code into my proj.
Any thoughts, suggestions?
You can check Amazon Elastic Transcoder. It is a media transcoding in the cloud. It is designed to be a highly scalable, easy to use and a cost effective way for developers and businesses to convert (or “transcode”) media files from their source format into versions that will playback on devices like smartphones, tablets and PCs.
Or else you can check Webfaction, they have Video and image processing on their servers which you can use.
If you will use any of those, you can ask them about the installing process and how to integrate it in your project.
And one more thing, if you want to play the video on the browser, you will need a video player like jwplayer.
Hope this will help you get started! Best wishes!

Videos stored on Amazon S3 of lower quality when downloaded

I'm building a web application that allows people to download videos from my site that's stored in Amazon S3. It's going great so far, save for the fact that when I download the video stored in S3, it appears to be slightly more pixelated and fuzzy than the same video that has not been uploaded. The videos are in mp4 format and around 150 mb big. I upload them using S3's web uploader. Does anybody know what is going on and how to fix this? I want my customers to have the best quality possible.
Amazon S3 shouldnt do anything to the video quality. Perhaps it is the player you're using? Perhaps try a different flash player like JW Player, as the only possible reasons (i can think of) the quality would be going down is either due to the flash player or the actual embedding of the video.

Encode a video in Windows Phone 8 with a stream of images

I'm really stuck and wanting to create a video with stream of Images.
I was looking at Microsoft Media Foundation to use the Sink Writer - IMFSinkWriter.
Looks like IMFSinkWriter is not supported in Windows Phone 8.
From what I understand, MS Media Foundation API support is limited with Windows Phone.
Can this be done using the MS Media Foundation? or Is there any other way I can achieve this?
Thanks

How to stream video in a django app

I'm looking to stream video's as part of a django app, but I've never done anything with video and don't really know where to start. I don't have all the details of the project yet, but I'm expecting a fairly small library of videos uploaded by one or two people (Think less than 100 videos of about 5 mins length).
I'm looking for a solution that allows users to upload videos using django admin. I want to reach the majority of desktop browsers (95%+), and obviously I want to keep my costs down. Saying that I do like the idea of using some sort of cloud based CDN (I've no idea if that's possible / appropriate for this size of project)
I really want to ask if anyone can point me int he right direction (tutorials / services / projects / code), but I realise that might not be specific enough.
So to be more specific -
Is it possible to stream video to browsers using just django and an apache web server?
What cloud hosting providers will support easy integration with a django app?
Will I need to convert the format of my video's before they're ready to stream?
Can I use Red5 with a cloud hosting solution.
I want to host the project on a Ubuntu server that I use to host a
couple of other (low traffic) django apps - would it be a mistake to install Red5
on a server with existing sites.
From recollection, the server has 12GB RAM and 4 cores (in a 1and1
uk datacentre). Will I have enough power / bandwidth to stream say 3-5 video's simultaneously? (assuming red5 / wowza).
I'm not interested in Flash because I was rooting for Apple. Do I
need to need to re-evaluate my prejudices to be free of my ignorance?
I never streamed videos using Django/Python, but I have some experience in the field of streaming video in frontend apps. I can certainly not answer all your questions. In my experience it does not really matter where the video is hosted, a CDN is fine if you want to distribute the video world-wide.
I personally think you should start with the question on how you want to play the video in the browser. Choose an appropriate video player (could be html5 video) and you have an idea of what is possible to play and what not.
3) The format matters depending on how you want to stream the video. Progressive download (e.g. mp4)? Live streaming (unprogressive, e.g. HLS)? You can find example videos online and test if your video player can play the videos on the platform you want to support.
7) As said, you need to check out which player to use in this case. HTML5 video is not widely supported enough yet in my opinion, but can play most formats in the most modern browsers (Chrome, Safari).
Hope that helps.