Creating mp4 file with Media Foundation fails on certain machines - windows-store-apps

I have a Windows Store app in which I use Media Foundation to create mp4 files. I use the function MFCreateSinkWriterFromURL to create the file and the function IMFSinkWriter.WriteSample to write audio and video data to the file. This all works fine on my DELL laptop, my Surface tablet. So these mp4 files play well on all machines. When the app runs on an ASUS ME400C tablet, it creates an mp4 file, but the file can not be played back on that machine or on any other machine. So the app is on all machines the same (downloaded from the store), but the encoding is different.
If I open the file in TopoEdit tool, I get the following error: Failed to create source node. The byte stream type of the given URL is unsupported.
How to find out what the problem is with the mp4 file created by the Asus machine? Are there tools that can help me analyzing that file?
Just in case someone is interested. I have here a mp4 created with an Asus machine
https://skydrive.live.com/redir?resid=9A6F31F60861DD2C!449&authkey=!AJVXFclI4BoJs0o
and a mp4 created with my Dell laptop here
https://skydrive.live.com/redir?resid=9A6F31F60861DD2C!450&authkey=!AKtrfkDprZyJJI0
Regards
Ronald

Use MediaInfo or QuickTime to check the format of the file
Asus.mp4 file is corrupted one. This is file is not opening in VLC, Media Player and Quick Time.If you right click the file and check the Properties->Details you will find Video and Audio section empty.While creating the file some where your code is failing or file properties is not properly set. It is able to create the file but certain properties is missing.Use MFTrace to find that.

Related

Extract exe, dll files from a jpg file

I have several jpg files with video, audio and other exe files embedded in the jpg's. This is not a typical steganography hide as 52k jpg is now 15MB... Tools like pestudio find some of the code but not all. HexBrowser identifed H263 and mp3 formats... It also appears that a setup.exe was embedded but crashes in sandbox. Any ideas on how to sort this out and tools that might help are welcomed. Thanks.

create windows(.exe) file using adobe flash

I've create an app using flash cc for android. It works great but now my goal is to publish it in windows. I know I can use air for windows. I've tried it and it works. But the problem with that is, you can see all the swf files on installed folder. That makes my files vulnerable for theft. So I want to know if there's any methods or converter to convert my whole air application in exe so that it doesn't expose all the included swf files. I think game like machinarium was created using flash. But when I got the setup file it include exe files and non of flash files or any other files were exposed. Is it possible to achieve with flash as3? Any help would be much appreciated.
If you're using Adobe Flash you can go to your publish settings and a small menu will pop up and there will be tabs at the top. Go to the tab that has a list of the various file formats you can export to and .exe will be one of them. Check the box and then set the file location, then hit 'Publish' and you should have an .exe file.

AIR/Android - play video from mounted OBB/expansion file

I have about 125MB worth of video files that I need to play from an expansion file (OBB). The OBB file itself is in place and is successfully 'mounted' using a 3rd party native extension, so I can access the files using traditional methods, like the File class, the Loader class, etc.
I use the NetStream and NetConnection classes to play the video file, but the problem is that for the stream to play, the video file needs to be in the same folder as the SWF that is trying to play it (or a subfolder). This is also in the Adobe documentation:
Play a local file
In Flash Player and in AIR content outside the application security
sandbox, you can play local video files that are stored in the same
directory as the SWF file or in a subdirectory; however, you can't
navigate to a higher-level directory.
I tried to play the stream nevertheless, just out of curiosity, and it throws a StreamNotFound error (as it should, because the video file is not in the same folder/subfolder as the SWF). My hunch is that this is some security sandbox thing, and there's a way around it, but I can't find it.
Any help is appreciated.
Eventually I was able to play a video file from the mounted obb using the built-in as3 VideoPlayer class, which it seems is able to play video from any folder.

HTML5 Application Cache - binary download

Application Cache works well when using it to save front-end resources such as images, fonts, CSS files, JS files, etc....
I'm trying to use it to save other files, such as PDF and XLS files...
And that is where things get complicated...
I can retrieve PDF files from the App Cache with no problems, but the retrieval of XLS/XLSX files behaves in weird manners across browsers:
Firefox 36 OSX: XLS/XLSX files can be retrieved
Chrome 40 OSX: XLS/XLSX files can be retrieved
Chrome 39 iOS: An error page with code 100 is displayed
Safari 8 OSX & Safari 8.1.3 iOS: XLS/XLSX data is shown as ugly plain ASCII
Safari 7.1.2 iOS: A popup alert is displayed saying "Safari cannot open the page because the address is invalid"
Tests are done with Python's SimpleHTTPServer module, and every resource are valid and can be retrieved from NETWORK successfully.
It seems like RTF, DOC/DOCX and ZIP files behaves like XLS/XLSX files.
I don't understand why the binary data in a PDF file can be downloaded successfully but the others listed above can't...
Any help is welcome!
s.

Uploading video thumbnail not getting in mediawiki file page

I am new to mediawiki, I downloaded the latest version and installed in my local linux server(/var/www/mediawiki-1.23.2). After configured i got the localsettings.php and put the file in mediawiki, And I run the mediawiki, And i tried to upload a file using(Special:Upload).I uploaded the video file like(value.ogg), the video has uploaded but after check the file in "File:value.ogg" the videofile does'nt show with the poster image and In file history also not getting the thumbnail but the thumbnail is getting in image upload. whether i need to add any other assumption in localsettings.php file to get the uploaded video image as well as with the mwembed player. Kindly suggest any solution.
MediaWiki doesn't render files, each file type needs its rendering set up. For videos and ogg videos in particular, you must install TimedMediaHandler (formerly known as OggHandler). https://www.mediawiki.org/wiki/Extension:TimedMediaHandler