Is there a pdf library (.Net/C# compatible) that allows for embedding Audio/Video media in a pdf? - pdf

I have a requirement where by I need to attach audio/video media submitted as binary files to be embedded into pdfs that are residing on the server. BTW, the audio/video binary is coming from mobile App.
Is there a pdf library out there that allows for embedding Audio/Video in a pdf? Also, I need these media embedded in the simplest form so that when this pdf containing the media is opened on a target device, there should be no need for installing additional media decoders.
My server side environment is in .Net/C# so would need the pdf library to be compatible with .Net

Almost any PDF for .net supports movie annotations, iTextSharp (open source), TallPDF, xfinium.pdf (i work for this company), pdf4net, docotic.pdf, just to name a few.
The thing is that the media files are embedded as they are (converting video is not their job) and the target machine must have the required codecs in order to play the media. If you have control over the media format, you can choose a format that is supported by many platforms.

Related

Using MP3s in Ektron

Ektron 801 SP1
I am allowing users to upload MP3 files to their profile using the CommunityDocuments control. I want the user to be able to click the link and play the song. For some file types, such as .doc, the file downloads immediately because the URL of the link refrences "DownloadAsset.aspx". The MP3 files have a URL like http://www.domain.org/documents.aspx?id=242665652917&TaxonomyId=242665652152&LangType=1033&EkTB_iframe=true&height=520&width=790
How can I get these files to play? I have the following in the web.config
<add key="audio/mpeg" value="WindowsMedia"/>
As far as I know, Ektron doesn't provide any player / plugin support ootb for MP3 files. You can specify an additional MEDIA type in the web.config, perhaps. Or use HTML5 Audio. http://www.w3schools.com/html/html5_audio.asp
When using the HTML5 approach, pay attention to which codecs are supported by which browsers. You'll have to work out something else for older browsers via fallback or shim.
Adding a MEDIA type in the web.config will just tell the browser to load a plugin like quicktime or wmp, if it works at all.
As per eGandalf's answer, Ektron doesn't include an MP3 player. You should still be able to use Ektron to store and the serve up the MP3, by saving it into the library or as a DMS asset. You made need to update an Ektron config setting by adding ".MP3" to a file extension whitelist.
Regarding having a user player the MP3 in the browser, I would look at using JW Player - it's very popular and here is a tutorial on using it to play an MP3.

Save video file from Isolated Storage to Media Library

Is it possible to save recorded video from isolated storage to media library to be accessible without application (for example for synchronization with PC)?
Yes absolutely. You either need to get access to the video library through manifest or get the user to save it to the video library through the file picker save dialog.

How to read PDf files in web browsers without having Acrobat reader installed on the System?

I need to read pdf files in web browsers. My client does not want to install Acrobat reader in his system. Also I have seen another alternative Flex Paper. But as it is paid my client does not want to proceed. So is there any other alternative which can be handled from linux server
end itself?
Thanks,
Do you need to automate this process or do you mind a little manual work?
One thing you could use is a free online PDF to Flash convertor.
Another thing is to use GhostScript to convert the PDF to something else like a JPG or PNG. I think GS is available for most Linux distros.

Software protection dongle vs. Adobe Air

This looks like an extremely silly question even to me, but anyway, I'm curious:
Is there a way to protect an Adobe Air application with hardware key (aka Software Protection Dongle)?
I'm looking into developing a certain application that would require such key as a protection from being pirated (I can't change that fact), and it looks like that using Adobe Flash is the easiest way to write what this particular application should do.
If you are writing purely in Flash then you could use a product like SWF Studio (or Zinc ) which encrypts the flash file and produces and executable file. It needs to be encrypted because in a standard flash executable file the swf data can easily be extracted. Then you can protect this executable file using a Shell wrapper which ties it to a dongle. I did this using SWF Studio and Dinkey Dongles with my flash executable and it worked very well.
Links:
SWF Studio
Dinkey Dongles
AIR applications have no support for hardware dongles and don't even possess decent protection from decompiling. I imagine the dongle can be detected with some helper application called with NativeProcess, but this will require different helper for each OS. Also, without obfuscation all this will be pointless. See Trillix SWF Decompiler for decompilation and SecureSWF for obfuscation.

mp3 files not supported by phonon

I am using Qt SDK 4.6 for developing a simple music player on windows XP.
I have checked available mime types supported by phonon and according to it my phonon supports mp3 files
Yet as i try to play an audio file of .mp3 format using my music player mediaObject moves in Error State and the error i get is
Fatal Error : No combination of filters could be found to render the stream
Secondly, I want to know how can i provide support for other audio files which are not currently supported by phonon like as .ogg file.
Please help.
Phonon is just an abstraction layer over a media player backend. Check the overview here and look for the Backends section.
You need to install mp3 codecs for your target backend. If you're on Windows, this is making sure you have mp3 playback in DirectShow/DirectX. Your error implies that you don't have any DirectShow filters for mp3