Tuesday, 28 May 2013

Why some videos play only in a particular media player?

how to build check box dynamically in django

views.py
def what(request):
    user = request.user

    types = Types.objects.filter(user=user.id, parent_type_id=None).order_by('title')
    typelist=Types.objects.filter(user=user.id,parent_type_id__isnull=False).order_by('title')
    return render(request, 'incident/what.html',
        {
            'newreport_menu': True,
            'types':types,
            'typelist': typelist,
    })
This is my view where i am taking the values from database and displaying.The values filtered by typelist object requires to display values along with check box.For types object,doesn't matter.Is any way to do it in django.Why some videos play only in a particular media player?

Our client sent us a couple of videos files for audio transcription work. They said that we should use Player Microsoft application 4.8.0.0 to properly run the two files [right clicking these files, and going to their properties, shows the File Type as MP4 File (.mp4)].
We were so sure that VLC Media player could play any type of video, so without bothering to know what this Microsoft Application is, we tried to open those files through VLC. But to our surprise, the video part of the file played well in VLC, but the audio part was completely missing in the entire length of both the files.
Then we checked those files in Realplayer, Windows Media Player, a couple of other players, but the result was same - Video OK. Audio gone.
We checked those files in various desktop and laptop running different OS : Windows XP, Windows 7 and Windows 8. Result was same as above. Other video files, youtube.com etc. were playing completely ok - both video and audio - in all those media players we have in all the systems in our office.
Defeatedly, we googled for 'Player Microsoft application 4.8.0.0' but found no such software to download and try. Then the client gave us a setup file of another media player named flvplayer4free free flv player setup. We also found the same piece of software at this link. However, to much of our disappointment, both copies of the setup, one given by the client and another download from the link, refused to be installed on any of the systems with various OS we have. After initially running for a couple of seconds while being installed, this software always flashed a message box saying : 'I have some issues starting up, please launch me again!'
The client said it is not their headache how we run those videos as those were running ok at their site. We either figure it out ourselves or we loose the job, client, contract & security money.
After a little more search and hit-&-trial, we found that the video was running WITH audio as desired when we transferred them to our Android mobile phone. The audio was clearly audible and the file was being run through MX Media Player in the mobile. However, unfortunately, MX Media Player is not available for Windows but one thing we now were sure that the client is not telling a lie :) and the video file indeed has a working audible part in it, it is just somehow not working in any of our systems in any of the media player we tried so far.
Then we tried to find the solution in the cloud. We uploaded the videos both on Google Drive (Drive has a inbuilt media player) and Youtube.com. However, the re

No comments:

Post a Comment