media

WAV file data recovery

I have a situation where there is a corrupt WAV file from which I'm trying to recover data. My colleagues have sliced up the large WAV file into smaller WAV files with proper headers. This has produced some interesting results. Sliced into 1MB segments we get these results: The first wave file segment is all noise. The second wave f...

Django upload_to outside of MEDIA_ROOT

My deployment script overwrites the media and source directories which means I have to move the uploads directory out of the media directory, and replace it after the upload has been extracted. How can I instruct django to upload to /uploads/ instead of /media/? So far I keep getting django Suspicious Operation errors! :( I suppose an...

Adding MRSS (media) to SyndicationFeed.

Hi, I have a Syndication Feed. When serializing using Rss20FeedFormatter I get xmlns:cf and xmlns:cfi namespaces declared in the xml. The media element remains inline. <media:thumbnail media:url="http://arwen.palantir.za:8080/signate/thumbnail/dXVpZDoxNjlkMzIyOS0zYjk5LTQ2NDctOTc5MS00OTJiYmJmNGM0MTkvUEdTMDkwMC5QREY=" media:width="200" m...

How Can Wordpress Easily Provide A Voting and Commenting View For 5 Page Layout Possibilities?

Right now, when I create a media item, I can view it as admin by going through the Media then clicking on view, eventually I end up at [mysite]/blog/?attachment_id=31 which is a nice reduced version of the image (which can be clicked to appear large), and which has the nice feature that there is a place to leave comments at the bottom. ...

Get information of uploaded media in .NET

Is it easy to get information about uploaded media (in asp.net). The format of the media can be flv (video), mp3 (sound) and jpeg, png and gif (images). I would need resolution (video and images) and duration (video and sound). Are there .NET api's to get this information or will I have to use third party libraries? ...

media.set_xx giving me grief!

New guy here. I asked a while back about a sprite recolouring program that I was having difficulty with and got some great responses. Basically, I tried to write a program that would recolour pixels of all the pictures in a given folder from one given colour to another. I believe I have it down, but, now the program is telling me that I...

Has anybody here used DoubleClick DART for Publishers?

What were your thoughts? ...

playing sound without the need to install media player extension

Hello, I am trying to embed a sound in an auction website. I want that everytime someone's bid, a sound will be played. I tried a simple tag with given ID, and then sound.play() through javascript. The sound is playing, but in IE, a new user is asked to install a media player extension "if he/she trusts the website". Is there a way...

How to create custom media type in WordPress?

I have some custom media (special map points for example) I want to associate custom data player with it and place its instances in media library (so them to be accessible in media gallery), keeping possibility to edit it any time user wants to. how to do it? Sorry for my Eng.Lang feel free to edit this Question. ...

How can I access What's Playing on the iPhone

I feel like I have come across something before to do this, but can't find it again. How do I access what's playing? Not so much the audio, more the information like Artist and Title. ...

How to disable controls in Windows Media Player in WPF

I was just wondering if there is a way to disable controls such as ctr Left/Right arrows or Alt+left/right arrows in AxWindowsMediaPlayer. I am using it in WindowsFormsHost in my WPF project. I would like to capture these controls and handle them myself. When I use this block, I don't have any way to prevent it by using e.handeld =true o...

usage of rome media rss plugin

can anyone explain how to use the rome media-rss plugin found here? I tried the sample usage and everything else i could find in google (which isn't much) but could not get it to work. Specifically, getModule(MediaModule.URI) which is supposed to return a MediaModule returns null on a media-rss feed. getModules() (note the plural) on th...

django, runserver_plus - admin media files served from wrong path

The configuration below works fine on my remote host (same dir structure, same django), all admin media are served properly settings MEDIA_ROOT = '%s/static/' % FS_ROOT STATIC_DOC_ROOT = '%s/static/' % FS_ROOT MEDIA_URL = '/static/' ADMIN_MEDIA_PREFIX = '%smedia/' % MEDIA_URL urls (r'^admin/', include(admin.site.urls)), (r'^static/(...

Determine Running Times of Videos in Directory using PowerShell

Hi, I have a directory of videos (.AVI files) that I want to determine the duration of, and to create a file listing the titles and durations of all the videos, sorted in descending order of the video duration. Can anyone offer a PowerShell script to do this? Thanks, MagicAndi ...

How can I send typed object from FMS to client.

I have following object in the FMS User = function(userName,userId) { this.userName = userName; this.userId = userId; } I need to send the list of user to the client swf. Once I initialized the User object collection to an array, array element is undefined when I read it from the client. However I can’t send the generic object too...

Android Default Media Player Access.

All, I'm coding an app that works with the current status of the Android Media Player, basically, I'm trying to find a way to obtain, for example, the current track information or the track next on the library/playlist. Thing is, I couldn't find any way to "connect" to the app, I read about some services and copying an Android MP file t...

How do I access Windows Media Player Library programmatically in C#/WPF?

I need to access and present the information from Windows Media Player library, from my C#/WPF application. How do I do this programmatically in C#/WPF? ...

How to read asf header in C#?

Having a wma file, how can one parse the header using c#? The purpose is to find the Key ID in the Content Encryption Object (that forms a part of the DRM license). Do you use the WM Format SDK or WM rights manager? ...

How to Seek Audio/Video Data with Variable Bitrate (VBR)?

This might be a way too generic question, but what is the general approach for seeking within media files (video or audio of any kind/format) if the data has variable bitrate (VBR)? It seems an easy thing to do if the stream has a constant bitrate (CBR). E.g. if you know it is 256 kbit/s and you want to seek forward/backward by 30 secon...

Playing BG Music Across Activities in Android

Hello! First time to ask a question here at stackoverflow. Exciting! Haha. We're developing an Android game and we play some background music for our intro (we have an Intro Activity) but we want it to continue playing to the next Activity, and perhaps be able to stop or play the music again from anywhere within the application. What w...