media

cloning a git repo (on a media temple server)

Hello all, I've got a media temple server which already has git installed. How can I clone files from a repository I have hosted on github? ...

print css: fit in one page

Hi. In my page there's only one image. Kind of 1500x3000 px. In the printer, I need that this image's maximum width to be the width of the page, so I did: width 100% in the css, and it works. But the height... the old bullshit of height 100% will never work. Because it always will be 100% of the parent container, then someone must have...

How do I find the length of media with gstreamer?

How do I find the playback time of media with gstreamer? ...

Python: wxpython wx.media.MediaCtrl - millisecond seek capability

I've been searching for a media player that can display sub-second resolution in videos. Some pointed me to the Frame stepping functionality in MPC, but I'd like even more than that. I know from previous experience with wxPython that the wx.media.MediaCtrl both displays and (as fast as i can click with the mouse anyway) stops the video ...

How to stop audio with pyglet when file is played?

I'm using this program to play na audio file: music = pyglet.resource.media('file.wav') music.play() pyglet.app.run() I have a problem: I can't do anything after this program. How to stop the audio file when is played? It's look like a loop. ...

Embedded Windows Media Player background image

Hi all, I'm loading an external video stream in my embedded player. Since it takes a little while to connect and preload you see a black background for +- 7 secs untill video plays . I would like to know if its possible to have a background image saying 'Stand by loading video' with my logo on it before the video starts to play. Only th...

How to write a Media Center plugin like the Netflix plugin? Source code/reference samples?

I am looking to write a Windows Media Center plugin just like the Netflix WMC plugin. Once logged in, I know the streaming urls that I need to hook in to. Any source code, reference samples would be great. Found one on codeplex for swedish TV channels, but right now it's not working for some reason... Previously asked the following qu...

Streaming Media Server and Hosting

My partner and I have a webcam site that basically runs the old-school method....Every 0.5 seconds the javascript reloads the image in the browser from the webcam. However we are wanting to upgrade to a streaming media server to get higher quality video, and possibly audio. We aren't tied to any one specific file format or server type,...

How to handle media kept on a separate server (PHP)

So, I have three server, and the idea was to keep all media (images, files, movies) on a media server. I never got around to do it but I think I probably should. So these are the three servers: WWW server DB server Media server Visitors obviously connect to the WWW server and currently image resizing and cache:ing is done on the WWW s...

Which format is best to use for high quality online audio and video?

Hi, I'm currently creating a site for a musician. They are wanting to include the best quality video and audio files possible. After a bit of research I'm thinking: FLAC is the best option for audio. FLV or MPEG-4 is best for video. Can anyone in the know confirm or correct this? Thanks ...

C# Windows Media Player - Repeat single song in a playlist

I have a PlayList loaded into my WMP instance, and I want it to loop just one song. Everything I've Googled up so far tells me to do this: private AxWindowsMediaPlayer wmp; wmp.settings.setMode("loop", true); However, this only seems to make the entire PlayList repeat. The behavior I want is that, if I enable "repeat" when song 5 in t...

How to ensure that uploaded file is video or picture?

Hello, I want to be sure that user uploaded files are real videos or pictures, but not just a piece of text renamed to textfile.jpg. What are the ways to ensure? I see the only way: detect type of file by it's extension and then, depending on file type, try to get information about it (by Imagemagick or ffmpeg). Is there any other wa...

Low volume in mp3 using media element

I am playing a mp3 using Windows Media plaver, its fine, but same file playing in Silverlight 3.0 using Media Element, its volume is low, so what should I do to increase the volume,. ...

is there an open source social media/network site framework ?

I have an app that is made already, but thought of also bringing in social media/network elements like sharing widget, creating widget, creating certain widget social groups, ability to write their own modified widgets and publish it....etc ...

Embedding a Media manager video in the article in Joomla1.5

Hi, I am working on Joomla currently for the past one month. I am trying to embed a video stream in my article page like inside the content i am trying to have video stream like youtube video. I have uploaded a video in my media manager. And i dono how to stream that video in my page. Please help me in doing so.. EDIT: FOr an youtu...

Cannot get MEDIA_URL from Django widget's template

Hi folks, I am a new Djangoer, and figuring out how to build custom widget, my problem is cannot get the MEDIA_URL in my widget's template, while the form use MySelectWidget able to get the MEDIA_URL itself. # #plus_sign.html # <a href="" class="" id="id_{{ field }}"> <img src="{{ MEDIA_URL }}images/plus_sign.gif" width="10" height...

how to target css to iPad but exclude Safari 4 desktop using a media query?

I am trying to use a media rule to target css to iPad only. I want to exclude iPhone/iPod and desktop browsers. I would like to to also exclude other mobile devices if possible. I have used <style type="text/css" media="only screen and (min-device-width: 768px) and (max-device-width: 1024px)"> but just found out that desktop Safari 4...

Doing a loop on android (Audio)

I have a track I want to play 'megadeth', i'm calling it by... final MediaPlayer mp = MediaPlayer.create(this, R.raw.megadeth); And playing it by using 'mp.start' And I just want to know, how can I get this audio mp3 to loop? -Can you give me the code? Thanks alot, ...

How to import music into Android library

Hello, I would like to know how can I import songs from a web service into Android library without having to download the file into sdcard. I have all the data from the web service but I do not know how to integrate the tracks into Android database. My idea is not to have to download the files, but playing them on streaming using the mus...

Given an Android music playlist name, how can one find the songs in the playlist?

The playlist names can be found by a query on MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI and then look at the MediaStore.Audio.PlaylistsColumns.NAME column. There is a data column too, MediaStore.Audio.PlaylistsColumns._DATA, but it is returning null. The list of songs (MediaStore.Audio.Media.EXTERNAL_CONTENT_URI/id) do not seem to...