Why do you think when I upload images from my CF card to my computer some of the images are randomly corrupted? - file

It is very strange indeed. I've uploaded several times trying different techniques and I've never had this problem before. It is also very random. I've uploaded the same photos to different named folders to test out the randomness and one photo is ok one time and the next time it is a blue blob and corrupted. Super random. I tried my Uploading Program (Downloader Pro) (never had any problems before) and it seems like it corrupted more files then just uploading the files straight from the card to the drive. I tested this and it appears to be true. More files are randomly corrupted using the Program I've always used vs just straight from the card to a folder on the drive. But this isn't the solution to just go straight from card to folder because there are still some files being randomly corrupted. What the hell right? This all of a sudden just started to happen. Also when I look at all the photos on my camera directly from the card there is never any corrupted photos. Only after I download to my computer or drive. Also I've tried with several different CF Cards and even with different Cameras. Nothing changes. Still have random corrupted files on transfer. Windows 10 Pro. Any help?

It was the Card Reader. Wow that took a lot of different testing, but as it turns out it is simply the Card Reader and nothing more. I tried everything, but that and it never occurred to me to skip the card reader and try directly from my camera. Well it works just fine straight from my camera using both my download program and the drag and drop windows style. So now I'll get a new Card Reader and I'm sure that will solve the problem and if not well I did find a work around going directly from the camera.

Related

Any ways to remove a corruped x-wav file?

So, i decided to download Terraria's Dungeon Spirit death sound for a GD texture pack, i was dumb enough to use windows renaming feature to change the file extension from .x-wav to .ogg. Now the file is corrupted, when i try to rename it or the folder its residing in, Windows Explorer crashes. When i try to delete it, the deletion message pops up but never gets anywhere.
Ive tried sfc /scannow, nothing found. Windows Defender scanning, antimalware service executable makes my cpu a frying pan and Windows Defender lags out when it gets to the file. Deleting i mentioned earlier. Renaming (includes back to its original format) i also mentioned earlier. Shredding the file crashes the shredder. Situation is looking pretty hopeless.

Create a binary file extension reader for mobile

It is an ancient binary file extension, actually a video file created by Inter-Tel Web Conference software. It contains a screen recording video and voice audio, and also can capture the keyboard chat log, attendees and the document manager window during a conference. It can be played with Inter-Tel Collaboration Player, a standalone application included with the Web Conference software package.
What I am trying to do now is finding a way to play these files on mobile, although Inter-Tel Collaboration Player offers exporting the files in AVI format, I want to know how to make a command line script for that because the application have lots of problems with Windows 7,8,10 and don't have a Mac OS version.
What is the way to create a new player for that kind of extensions?
"Linktivity stopped support on this app, http://linktivity.com even disappeared from the web..."
It seems they were bought out by Mitel Software so now everything is under the Mitel brand name.
"I just want to find a way to manipulate this file extension, a new good player for mobile and computer"
To open/edit those .lrec files with modern software you'll have to look at their :
Collaboration products.
Unified Communication products.
I tried :
To contact them just to double-check facts but they expect a realtime phone conversation with a salesperson so it wasn't an option. I'd be a fake potential customer, but you can provide a real-world issue (with background details) to see if they can solve it.
Also downloaded for Android the MiCollab app but it needs login details before even starting anything (so no progress to just check if an .lrec file from PC would open within Android).
Export videos for mobile playback :
I've tried the desktop software. Unfortunately it does not accept external commands so there is no way to make a script that takes multiple lrecs and gives back multiple AVI.
The only option is to extract frames from .lrec bytes and use a tool like FFmpeg to combine the images (since appears to do image grabs as frames) into one .MP4 video. MP4 is then playable on mobile devices.
Also any of your existing AVI files should be converted with FFmpeg to MP4.
You can download FFmpeg for Windows here (just the big blue button, ignore other options).
Copy the ffmpeg.exe file to some folder like c:\ffmpeg and put your avi's there.
Now open Command prompt and do cd C:\ffmpeg to reach folder, then type : ffmpeg -i filename.avi filename.mp4 (replace filename with preferred for input and output)
If you know how, just include ffmpeg.exe path to Control Panel PATH settings so that FFmpeg can be accessed from any folder (no need to move files to its own folder).
PS:
I am still researching how to get the frames it's an akward format without the specs (bytes order is Big Endian but then entry values are filled as Little Endian, then also not sure whether to reverse every two or four bytes cos it's mixed up like that etc and the pixel bytes themselves seem to have compression but it's not JPEG more like ZIP or whatever). Only confirmed bytes so far are for video width and video height. It seems doable though if the .lrec only contains screen recordings.
After some research, I found that Media Player Classic can play .lrec files. I don't know, if this helps you a bit.
For a own video player for your company, you would need the encoding infos or a decoder directly from Inter-Tel since they own the licences, without it you can't create one.
Edit: Deprecated info see comments.

Does Google Console create a large temp file?

I'm using Google Console to upload a large file (~20 GB). It appears to create a large temp file on my system disk while it's uploading, which fills up the system disk. Is it supposed to do that? Why? Is there some way I can put the temp file on another disk? I have a disk mounted with several hundred GB free, but it apparently is not used.
I'm new at using Google Cloud Storage, so if this is common knowledge, then I apologize. I did look in the Google Docs and on Stackoverflow [google-cloud-storage]. I'm on MacOS 10.12.1. Here's what happens:
On console.cloud.google.com, I open Cloud Storage and click on a bucket.
I click on "Upload Files:" and select a sparseimage of about 20 GB. The "Uploading" msg appears.
Things sit for maybe 15-20 minutes, and then MacOS says that the system is low on space. If I watch my system disk during the upload, its free space will go from about 19 GB down to a few hundred MB, then I get the system message.
After a while longer, Google Console will say that the upload is done. However, file has 0 bytes. Safari is almost unusable at this point, but I can cancel the upload (eventually), and Safari will come back to life (eventually), and I can quit it.
However, the temp file will remain until I restart MacOS. It will be something like this (the random characters vary): /private/var/folders/t9/wjkgn8c11bb0h5ncfxgwfj3h0000gn/T/WebKitGeneratedFileITn3fU
I have not installed gsutil yet; I wanted to try the simple way first.
Herman
More info:
I uploaded my 20 GB sparseimage using gsutil, and that worked just fine. It was MUCH faster than the console, by almost an order of magnitude, and it didn't create any big temp files on my system disk.
However, I had to add the -r flag and upload it as a directory. The way MacOS stores sparse image files, they look like single files on the Mac side, but they are folders, metadata, and files on the Unix side.
I looked at the 2 GB file that I uploaded previously. The type was 'application/zip', so I guess the console recognized it as a spase image and zipped it for me. I didn't tell it to. Perhaps that's what the big temp file is used for.
I can't find anything right away about automatic zipping, but more experimentation is in order.
It looks like the WebKitGeneratedFile temporary file in /private/var/folders is something that Safari does, and isn't specific to the Cloud Console, based on a thread from the Apple discussion forums.
I'd try another browser, like Google Chrome, to see if you still have the same issue.

Flash/AS3 - Saving a File without Prompt

I need to save a file in Flash without a prompt; what my program does is it gets all the frames from the stage and then it saves them as png files, along with a text file that has the name of the object, and some other properties about it. The code that I have does save it without any problems, but I need it to not prompt me, because I have lots of frames to do this with.
Is there a way to do this with Flash the program or actionscript?
No, unless you're using Adobe AIR. The reason for this is Flash Player and its programs are generally run through a browser over the Internet, and if people could use Flash Player to just start saving files on other people's computers, there would be some very serious security issues. AIR, on the other hand, is generally run on a desktop, laptop, or mobile device, and its programs are run directly off the same, having been pre-installed. So whereas a website can suddenly just start running a script with Flash Player without asking you first, AIR requires you to have already installed the script/program on your computer, meaning that it should be there intentionally. So security restrictions are lighter, enabling the use of the File class in your programs.
The only way to save a local file with the Flash Player (in the browser) is with FileReference and it will always prompt the user.
However, using AIR (desktop or mobile app) you can save to the local file system without user input, using File and FileStream. You can create an AIR app using Flash Pro, usually without any code changes other than the AIR APIs you need (flash.filesystem in this case).
Another idea, if you must use Flash Player and not AIR, is to first zip all the PNGs and only save to file after they are all packaged. This way there's only one file and prompt to save.

Is it a good idea to use a Screensaver on a raspberry pi as digital signage?

I asked this question in the Raspberry PI section, so please forgive me for posting this here again. Its just there doesn't seem to be as active as this section of the forum. So, onto my question...
I have an idea and I'm working on it right now. I just wanted to see what the community's thought was on using a screensaver as digital signage. Every tutorial I've read shows someone using chromium in kiosk mode, and while that's fine and works well for some uses, it doesn't work for what I need. I have successfully completed a chromium kiosk, and it was cool. But the signage that I need to create now, has to work without internet. I've thought about installing LAMP locally on the PI, and still using chromium. I still may have to if this idea doesn't pan out. All I need from the signage is a Title Message in the top center, and a message body underneath it, with roughly 300-400 character limit. My idea is to write a screensaver module, in C, that will work with a screensaver such as xscreensaver. The module would need to be able to load messages from a directory on the pi. Then for my clients to update their signage text, I would write a simple client that sent commands as well as the text via SSH to the pi. I want to know what other people think about this. Is it a good idea? Bad idea? Should I "waste" my time doing something like this?
Thanks in advance.
I am already using a rPi as digital signage, just over a year. I am using two different setups:
version 1 uses Raspian loading xdesktop and qiv image viewer to cycle images stored on the Pi itself, synchronized with a remote server. The problem I found was power and SD stability, when the power fails, which it will do no matter what, just when... The Sd card can become corrupt due to all the writing that Raspian does all the time. Certainly does not really need to write to SD.
version 2 uses a RO-filesystem and a command line image tool. Uses the same process to show images from local, and sync with server. But power fail causes no ill effects.
I am not using screensaver to display images, that seemed redundant to me, and unnecessary to wait for the SS to start just to display the images.
Some of the images are created using imagemagik, which is nicely dynamic where needed.

Resources