I have several MKV files in several folders. I wanted to be able to add a Video track & Audio track that is supported by my TV.
It's ALL MKV files (but in multiple different folders)
Obviously I do not want to add another track if the required track already exists
So let's say I got a MKV with a DTS Audio track. After the convertion the MKV would both have the original DTS Audio track and a AAC Audio track.
I am thinking of a powershell script where I run a command to extract information about existing tracks and the based on that add required tracks.
If anyone can point me to the right tool I would be very happy.
UPDATE:
I found that "mediainfo" seems like a great tool for the "get information about the mkv part". Which means that I only need a tool for the update mkv file part
Dears,
I want to capture voice of users using IVR built on Orchestration Designer and store it in file system as wav files. As far as I know, there is a way to do that by using Speech Servers such as Nuance,but, since it is expensive we want to find an alternative way. I have been searching internet for week, but could not find anything related. Is there a way to capture voice using java or voiceXML? Is it even possible without using speech servers?
you could use recoding node to record the voice. '.wav' would be saved in data/temp in your application but it would be deleted once your session is over. You need to write customize java code to copy and paste from temp to your local dir before the session gets invalidated.
I have a text file. Now I have changed its file type from .txt to .abc. My VB.NET program loads the text into textboxes from that file. After changing the file type, however, other apps like NotePad and Word are able to open and read my .abc file.
Is there any way that only my application will be able to open/read from the file and no other app would be able to do so? What I mean is, suppose I have a PhotoShop document .psd file, no other app, rather that photoshop itself, can open it. How do I make my file unreadable by other apps?
There is no way to prevent an app that you don't develop from opening any file. The extensions are just there for helping us humans, and maybe a bit for the computer to know the default app you select for an extension.
Like you said, a .txt file can be opened by many many apps. You can open a .txt file with Notepad, Firefox, VSCode, and many others.
Same way, a .psd file can be opened by many many apps. You can open that .psd file with Photoshop, but also Notepad, Firefox, and VSCode, and probably the same apps as above.
The difference is which apps can read and understand the file.
In order to make a file not understandable by other apps, you need to make it into a format that cannot recognize, because you planned it "in secret".
Like Visual Vincent said above, you could encrypt the file in a way, or you can have a binary file, that basically only your app knows know to understand.
Since you dont own the app you want the file to be understood by, then you either have to accept that it can be opened by any app that can open files, or you can try to encrypt the file outside the app, or like zipping it with a password, and then decrypting or unzipping when you want to use it.
Firstly, any file can be read unless it is still open by a particular process or service. Even PhotoShop files can be 'read' by NotePad - try it!
So, an attempt at my first answer...
You can try a couple of methods to prevent opening the file, for instance, applying a file lock. As an example, SQL Server .mdf files are locked by the SQL Server service. This happens because the files are maintained in an open state, however; your application would have to remain running to keep these files open. Technically, though, the files can still be copied.
Another way is to set the hidden attribute for the file. This hides the file from the less savvy users, but it will be displayed if the user show's hidden files.
And my second answer: You refer to the format of files by saying only PhotoShop can read or write its own files (not true, but I know what you're saying).
The format of the file must be decided by yourself. You must determine how you are going to store the data that you output from your application. It looks like you have been attempting to write your application data into a text file. Perhaps you should try writing to binary files instead. Binary files, while not encrypted, as suggested by Visual Vincent in the comments to your question, still provide a more tailored approach to storing your data.
Binary files write raw binary data instead of humanised text. For instance, if you write an integer to the file it will appear as a string of four bytes, not your usual 123456789 textual format.
So, you really need to clarify what data you want to write to the file, decide on a set structure to your file (as you also have to be able to read it back in to your application) and then be able to write the information.
My main objective is to upload files to drive from my device ( a web application in JS) and read files from Drive. Exploring for the same scenario , i was confused with two API-SaveToWeb and FilePicker , from Google drive , which actually provides the same functionality (upload files to drive ) .
Help me to understand which one is used in which scenario ?
In some scenarios you could use either, but it depends a bit on your use case and the UX you want.
The save to drive button is useful when you know the specific file that the user will want to save. Its a very simple UX where you just put the button next to the specific file(s).
The file picker is used when you want the user to select the file that they will update. Its a little more involved, but gives the users more control over what they select.
I've successfully saved video files into SQL server as varbinary. Now, my problem is, how can I play those videos in Windows Media Player (embedded in my Windows Forms).
I've searched the internet but got no luck. Any idea?
Thanks in advance!
Read from the database and write it to a temp file when a video is to be viewed. Then you can set the URL property to the temp file's full path like normal. If you don't want the file to remain you can clean up after viewing, otherwise I might keep it to speed up future views. Just in case, here's MSDN on embedding the Windows Media Control with VB.