I am using axWindowsMediaPlayer control in my windows mobile application with using .net CF 2.0,
I want to play the video with subtitle.(SRT file type)
Any one know how to add the SRT file in AxWindowMediaPlaye ,It is possible ?
Pl. give me some suggestions
Thank you in advance.
Yes, write or find a DirectShow filter that displays the subtitle. You can also write your own player.
For ASF playback (e.g. wmv, wma) on PC you need to add a script stream to the file. Not sure if the mobile version of WMP supports captioning.
As I know the Windows Media Player doesn't suuport the SubRip SRT-Files, but the smi (SAMI-Files, closed captions). I use the smi-file to show the multi-language subtitles. You can covert very easy your srt to the smi, or create your own smi subtitles, using a free "Subtitle Workshop" tool.
You can also add another language to the smi, here is some samples: Captioning for Windows Media.
You can also change the language of the subtitles using the closedCaption properties, like
AxWindowsMediaPlayer.closedCaption.SAMILang = "German";
or set the smi-file direclty
AxWindowsMediaPlayer.closedCaption.SAMIFileName = "subtitles.smi";
Related
I am making a game, so at one point I need to play two sounds at once, so I played the first one using the "My.Computer.Audio.Play()" Method to load from resources.
As for the second, I used Windows Media Player to load the second sound In A SPECIFIC FOLDER, now I know it is possible to extract files to a folder and program it to play from there to avoid trouble, but I don't want them to be extracted.
So I'm trying to get the file path from resources and put it in WMP's URL, but couldn't get any result after searching the internet.
Am I missing something?
And if you know any better alternative, make sure it can:
1- Replay sound (coding with timer is ok),
2- Change Sound Position
You can use the MediaPlayer class in code or MediaElement in XAML for playing audio files in a WPF application. Check out the article WPF Media Player In VB.NET for code samples.
For a university project i'm working on a DJ mixing app. I'm essentially tackling this project from a 'teach yourself from scratch by googling everything and analysing pre existing source code' type of way so go easy.
I have looked at the Mixer Host sample project from apple found here: http://developer.apple.com/library/ios/#samplecode/MixerHost/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010210
I can't work out how to replace the pre selected audio files (guitar + beat) with a song URL from the iPod library selected from a media picker, or, in this case - 2 media pickers.
Is it a case of grabbing the URL of the iPod library song selected and putting in place of the URL of the preselected audio file?
If someone could point me in the right direction, tell me how i'm completely going about this the wrong way, or even do the coding for me (joke), it would be greatly appreciated.
You can't actually simply stream from the ipod library; you need to copy the files into the documents directory of the app.
try this: http://www.subfurther.com/blog/2010/12/13/from-ipod-library-to-pcm-samples-in-far-fewer-steps-than-were-previously-necessary/
You can use third party libraries to play a iPod library songs using AudioUnit. The below link is useful to you
Clickhere!
I would like to convert programmatically convert a PDF document to a Flash flipping book.
The same thing is done throug this site : http://www.codebox.es/pdf-to-flash-page-flip
They apparently use those 2 libraries :
Dynamic Page Flip v2 from 76design.com
SWFTools from swftools.org
Is there any existing code to do the same job programmatically ?
Or do I have to develop in starting with these 2 projects ?
FlexPaper Zine which can be used with swftools has been released quite recently and looks good with HTML5 support for devices. It programmatically publishes documents using php or any other server language of choice
http://flexpaper.devaldi.com/flexpaper_flip_zine.jsp
I want to make simple project which play flash video file from online.
I've searched some articles and read carefully.
But I can't understand, how to play flash video files on iPad by Code.
So I need help from you.
Please.
Simply put, without being jailbroken, No you cannot.
The closest thing to being able to view flash in iOS is Frash, and I am not even sure if it is actively being developed or supported any more.
You can always check out the open source project for Frash. by Comex.
All IOS devices don´t support Flash player, but is be possible to use a Javascript or HTML5 player for video.
No, iWhatever's currently do not and to the best of my surfing knowledge, have no intention of supporting flash format due to some argument between apple and adobe.
At the end of the day, the Flash video format is a container for a movie that’s been compressed by some codec. If you can get to the source file, you know the format of the container, you know the codec that was used to encode the video, and you know how to write code to convert that into audio streams and video frames, then yes, you can play Flash videos on the iPad.
So, to recap:
Get the Flash video file.
Get to the encoded video data in the Flash file.
Decode the video and convert it, either into raw audio and video or to another format that the iPad can play.
Play the result of #3.
Needless to say, this is quite the endeavor. It’s better to download the movies to your desktop and convert them there before loading them into your application.
Yes you can! The question is whether or not you can play the video itself not whether or not ipads support flash player.
the answer is this.. new versions of "flash video" have a f4v file extension. These videos are basically a h.264 mp4 files. You "may" be able to play it in an ipad simply by renaming it to .mp4
If that doesn't work then use a utility like Miro to convert your "flash video" to a format that your ipad will accept. http://www.mirovideoconverter.com/
In my Mac app I need to take a .mp3 file and add a spoken word to it programmatically. The word is custom and is entered by the user.
How can I do it? Which frameworks should I use and are there any custom libraries to do it?
Any help is really appreciated.
Apple has libraries for editing video (and I assume, audio) in iOS 4. You should look into AV Media Framework.