media

Validate media objects in PHP

I want to allow users on my website to link to remote media objects: flash, music, movies, etc. I already have a regex to check for links: /(http|ftp|https):\/\/[\w-]+(.[\w-]+)+([\w-.,@?^=%&:\/~+#]*[\w-\@?^=%&\/~+#])?/i With the matched links, I want to check if they are media files instead of just checking for the the extension on the...

Streaming or Embedding Rich Media in a WPF FlowDocument

While I don't have a specific code example in mind when writing this, I do wonder if anyone in the community has worked with rich media in relationship to WPF FlowDocuments. Specifically, I would like to be able to reference a video within a FlowDocument, and that video may or may not be short enough to justify directly downloading as a...

Extract Closed captions from dvb-t

I want to be able to get the closed captions from a stream on a dvb-t card on my linux machine. From what I can tell when I use mythtv to view the card it can see the captions and display them on screen. But I would like to have a script running that gathers the captions and places them in a txt file. Card: Winfast DTV1000S / DTV3200 ...

Iphone - How to enable application access to media on the device? - ALAssetsLibraryErrorDomain Code=-3312 "Global denied access"

OK, so I have had this problem before and solved it unknowingly and now it is reoccurring! "error: Error Domain=ALAssetsLibraryErrorDomain Code=-3312 "Global denied access" UserInfo=0x169aa0 {NSLocalizedFailureReason=The user has denied all applications access to their media., NSLocalizedRecoverySuggestion=This setting can be chan...

the best way to Encode Video For Android

Dear all, I have videos that should be run on android. and those videos will be host on web server - so my android app will hit the web server to play the video. I try several way to encode the video and the result is not good enough, sometimes the sound and the video is not align or sometimes the video is not shown but i can still he...

Books Regarding Flash Media Server development

What is the best book out there reagrding Flash Media Server development using flex 4/ Action script. There are many books or resources out there on Flex and action script but nothing specialized on Flash Media Server. ...

Android SDK Mediaplayer.create randomly returns null

I am having an issue where occasionally the MediaPlayer.create method will return null, even though the audio file is definitely there. In fact, if I put the call to create into a while loop, the media player will eventually be created successfully. This only seems to happen on my phone (HTC Hero running 2.1) and never in the emulator. ...

Dynamic Transcoding and streaming

hello, im trying to work out the best way to have my site dynamicly transcode and stream video files to users who are mostly on mobile devices, site is php/mysql based and running on a windows 2003 server which i have full access to, any ideas how best to do this - id rather not need to transcode videos on upload if possible ...

How to trigger creation of coverart-cache files in android

Hi, i have a small application that uses a query on android.provider.MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI to get all available albums and their respective covers. The problem is, that the coverart is only initialized, if the corresponding tracks are played first in e.g. the music-application. Is there a way for me to initializ...

Dangerous AVI files? Is any application which can open a media file under attack?

Can *.avi or any media file contain any script or dangerous code? Today i saw following message in Microsoft Security Essentials: Category: Trojan Downloader Description: This program is dangerous and downloads other programs. Recommendation: Remove this software immediately. Items: containerfile:C:\Users\...\amediafilename.avi file:...

put z-index of embedded windows media file always op 0 level (z-index)

With this code i'm trying to put a windows media file on a HTML page. I also have a menu on top of my page. Problem is my top menu dissapears behind media in FireFox. IE browsers working good on this problem. Somebody any ideas, please? ...

iPhone SDK - Play Audio/Video through UIWebView

Hello everyone, I want to know if I could play a mp3 file or mp4 (video) file through an UIWebView by loading a simple url request. I have already tried sending the UIWebView to a video link (e.g. http://google.com/blah.mp4) but it will flash a quick QuickTime logo and show a black screen. However in MobileSafari it streams fine. Is the...

Use MediaInfo to get FrameRate

Is there a way to use MediaInfo to get the framerate of a video file? I've been looking at this reference, but it seems it's not supported for most container formats? Edit: It seems that using the string "FrameRate" works for some video files, but it failed for an mpeg2. ...

Qt Phonon MediaObject conversion error

Hi, I want to play some WAV files, but I have error C2664 in Visual Studio: error C2664: 'Phonon::MediaObject::setCurrentSource' : conversion error from'const char [24]' to 'const Phonon::MediaSource &' This is the code: Phonon::MediaObject *media_object_; media_object_ = new Phonon::MediaObject(this); media_object_->setCurrentSour...

Media editing backend

Hi, I am trying to develop a web based application for editing videos, like joining videos with transitions in between, overlaying the videos, using chroma key etc. The architecture I am looking for is like - there will be a front end (like you tube editor) where the user can have the drag drop interface. And the actual processing and m...

How to query Android MediaStore Content Provider, avoiding orphaned images?

I'm trying to provide an in-app Activity which displays thumbnails of photos in the device's media store, and allow the user to select one. After the user makes a selection, the application reads the original full-size image and does things with it. I'm using the following code to create a Cursor over all the images on the external sto...

How does browser choose media type to filter CSS links?

A page on my site has a link to a stylesheet for media="print". <link rel="stylesheet" href=".../print.css" type="text/css" media="print" /> Most browsers correctly ignore this link when rendering for a screen, but IE7 includes the file and processes the style rules, rendering the page inappropriately for a screen display. How doe...

WMV not playing in IE 8 or Chrome

Hello, I'm having trouble embedding a WMV file into a page for a client's site. Well, it plays in every browser except for IE 8 and Chrome. Apparently, the player shows the first frame, the desktop, or just black, but it never plays the movie. Here's the site: http://centerwest.com/ (click on the link at the bottom right that says "time...

How to edit a footer in joomla: using media manager image folder?

I am trying to include a footer on a joomla website and need to reference an image. Ideally it would be editable by the client. At the moment I have a template which has an index.php file, but if I reference the img src to be in the images folder, it does not reference the template images, but the media manager folder. What is the be...

Microsoft Media Foundation - Decode h264 samples

Hi, I used the Microsoft Media Foundation samples (namely MFCaptureToFile) to capture H264 frames from my webcam and write them to a file. I'm trying to use IMFTransform to decode the captured frames and get the underline images out (YUV, BMP, whatever). However, the ProcessInput method never returns with MF_E_NOTACCEPTING, and the Pr...