A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 7 » Windows 7 Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Windows 7 problem with folder of .MTS files



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old December 26th 17, 06:21 PM posted to alt.windows7.general
Maurice
external usenet poster
 
Posts: 90
Default Windows 7 problem with folder of .MTS files

Using Linux (Mageia-5) I copied some .MTS video files to a Christmas
visitor's USB flash drive to take home to her Windows 7 to play back.
Checked that they played back OK under Mageia (VLC).

But when I tried it on my Windows 7, the system denied the existence of
the whole folder on the flassh drive (though no such problem with a
folder
of.jpg files on same flash drive.)

[Then tried with a different folder name, but this time it said the
folder was empty...]

Anyone know of a way to persuade Windows 7 to play ball here, please?

[Is converting all .MTS to .MOV the only way?]

--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
  #2  
Old December 26th 17, 07:27 PM posted to alt.windows7.general
VanguardLH[_2_]
external usenet poster
 
Posts: 10,881
Default Windows 7 problem with folder of .MTS files

Maurice wrote:

Using Linux (Mageia-5) I copied some .MTS video files to a Christmas
visitor's USB flash drive to take home to her Windows 7 to play back.
Checked that they played back OK under Mageia (VLC).

But when I tried it on my Windows 7, the system denied the existence of
the whole folder on the flassh drive (though no such problem with a
folder
of.jpg files on same flash drive.)

[Then tried with a different folder name, but this time it said the
folder was empty...]

Anyone know of a way to persuade Windows 7 to play ball here, please?

[Is converting all .MTS to .MOV the only way?]


Sounds like a permissions issue. Take ownership of the folder and
inherit ownership onto all child objects. Then set all permissions for
the Everyone pseudo-account and also recurse or inherit the permissions
onto all child objects.

Easier to get Take Ownership. It adds a registry entry that runs the
the takeown.exe and icacls.exe command-mode programs to take ownership
and change permissions to All while recursing through the child objects.
You could run the same commands from a shell (with admin permissions)
but the registry entry with the command line is much easier. After
install, open Windows Explorer, right-click on a folder or file, and
select Take Ownership.

https://www.sevenforums.com/tutorial...-shortcut.html

Does mean, however, the object is visible in Windows Explorer so you can
right-click on it to select Take Ownership. Did you check the
file/folder attributes using the attrib.exe command in an admin-level
shell (cmd.exe)? For a folder object, be sure to include the /D switch.
Run "attrib /?" to get help.
  #3  
Old December 26th 17, 08:43 PM posted to alt.windows7.general
Maurice
external usenet poster
 
Posts: 90
Default Windows 7 problem with folder of .MTS files

On Tue, 26 Dec 2017 12:27:25 -0600, VanguardLH wrote:

Sounds like a permissions issue


No, it seems to be simply that W7 will have nothing to do with .MTS
files, to the
extent that it ignores folders that contain nothing but them.

In one of my checks on W7 with the .MTS folder, it offered to 'fix it',
and after checking
the result I found that it had simply changed all the "*.MTS" to "*.CHK"
and renamed the
folder "FOUND.000"!

To confirm this, I converted one of the .MTS files to .MOV, put that in a
new folder on
the flash drive, and plugged that into W7.
Result: It found that folder and agreed the file was there, then played
it back
normally...

So now I'm going to similarly convert all the other MTS files and put
that on the flash
drives as a replacement video folder for the visitor to take home.

--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
  #4  
Old December 26th 17, 09:49 PM posted to alt.windows7.general
VanguardLH[_2_]
external usenet poster
 
Posts: 10,881
Default Windows 7 problem with folder of .MTS files

Maurice wrote:

In one of my checks on W7 with the .MTS folder, it offered to 'fix it',
and after checking
the result I found that it had simply changed all the "*.MTS" to "*.CHK"
and renamed the
folder "FOUND.000"!


No, it did not change the extensions of the files. CHK files are
recovered file fragments due to a corrupted file system. chkdsk could
not ascertain for sure to which original file an orphaned cluster
belongs so it reallocates the cluster into the file system giving it a
generic fileXXXX.chk filename. CHK files are lost/orphaned fragments of
files that are protected from overwriting by allocating them to new .chk
files in the existing file system. You should run 'chkdsk drive: /r'
on that flash drive. It has a corrupted file system, or had a corrupted
file system if the "fix" was to run chkdsk.

https://www.howtogeek.com/282798/wha...le-in-windows/

Note that chkdsk might fix problems now but flash drives operate
differently than do magnetic media. If the reserve space is not getting
used to mask bad sectors on the flash media so no bad ones are ever
found, the flash drive is going bad. The firmware inside the flash
drive responsible for wear levelling and masking should make the drive
look always look good until the reserve space gets used up, there's no
further space for masking bad memory blocks, and the drive
catastrophically fails. If a flash drive starts to go bad, chkdsk might
be a temporary cure but I'd get the files that I could off that drive
and discard it.

https://www.raymond.cc/blog/how-to-c...b-flash-drive/

You can find all sorts of flash drive test tools. Most will write gobs
of data to the drive. Flash drives have a maximum number of write
cycles and such testing reduces their lifespan. Because flash has a
limited write cycle durability, they will die. Sometimes suddenly,
sometimes getting flaky but will get worse and then die suddenly. If
you write a lot to flash media, consider it disposable media.

If chkdsk fixes a flash drive, hopefully it was a logical structure
problem only in the file system. If the errors were due to media
defects, look at getting the files onto different media.

You might also consider what file system is on that flash drive. FAT
has no error recovery for files that were left open when the OS crashed
or the processes were killed that had files open on that media. NTFS
includes journaling which can be used to rebuild the cached/buffered
data that failed to get written to the media. FAT is more portable but
NTFS is safer.
  #5  
Old December 27th 17, 06:38 PM posted to alt.windows7.general
Maurice
external usenet poster
 
Posts: 90
Default Windows 7 problem with folder of .MTS files

On Tue, 26 Dec 2017 14:49:56 -0600, VanguardLH wrote:

No, it did not change the extensions of the files.


To all intents & purposes that's what it did do.

(When I changed *.CHK to *.MTS, they played back normally on the Linux
version of VLC.)

Once I had converted the 126 .MTS files to .MOV (using the script below),
Windows7 then
happily showed the folder and contents and played the .MOV files normally
with no more ado.

for i in FILE0*MTS;
do output=${i/%.*/.MOV};
echo $output;
ffmpeg -i $i -deinterlace $output;
done

--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
  #6  
Old December 28th 17, 11:23 PM posted to alt.windows7.general
Diesel
external usenet poster
 
Posts: 937
Default Windows 7 problem with folder of .MTS files

VanguardLH Tue, 26
Dec 2017 20:49:56 GMT in alt.windows7.general, wrote:

No, it did not change the extensions of the files. CHK files are
recovered file fragments due to a corrupted file system. chkdsk
could not ascertain for sure to which original file an orphaned
cluster belongs so it reallocates the cluster into the file system
giving it a generic fileXXXX.chk filename. CHK files are
lost/orphaned fragments of files that are protected from
overwriting by allocating them to new .chk files in the existing
file system. You should run 'chkdsk drive: /r' on that flash
drive. It has a corrupted file system, or had a corrupted file
system if the "fix" was to run chkdsk.


Yep. To further elaborate on what you wrote that I snipped for brevity,
it's possible the user partially corrupted the drive contents by
removing it from his Linux machine too soon. By that I mean, didn't
tell his linux machine he was done with the drive and just pulled it.



--
Please visit our moderators personal page:
https://tekrider.net/pages/david-brooks-stalker.php
Now for a cheeky message from our sponsors:
What should you do if a girl sits on your hand?
Try to get her off.
  #7  
Old December 29th 17, 06:53 PM posted to alt.windows7.general
Maurice
external usenet poster
 
Posts: 90
Default Windows 7 problem with folder of .MTS files

On Thu, 28 Dec 2017 22:23:32 +0000, Diesel wrote:

didn't tell his linux machine he was done with the drive and just pulled
it.


How many more times do I have to state that that was not the case?

Regards,
--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
  #8  
Old December 26th 17, 10:25 PM posted to alt.windows7.general
Char Jackson
external usenet poster
 
Posts: 10,449
Default Windows 7 problem with folder of .MTS files

On Tue, 26 Dec 2017 19:43:13 -0000 (UTC), Maurice
wrote:

On Tue, 26 Dec 2017 12:27:25 -0600, VanguardLH wrote:

Sounds like a permissions issue


No, it seems to be simply that W7 will have nothing to do with .MTS
files, to the
extent that it ignores folders that contain nothing but them.


I wasn't able to duplicate that behavior here on Win 7.

In one of my checks on W7 with the .MTS folder, it offered to 'fix it',
and after checking
the result I found that it had simply changed all the "*.MTS" to "*.CHK"
and renamed the
folder "FOUND.000"!


Sounds like chkdsk ran and corrected some errors. You might try another
flash drive.

I don't think file conversion is necessary.

--

Char Jackson
  #9  
Old December 28th 17, 11:23 PM posted to alt.windows7.general
Diesel
external usenet poster
 
Posts: 937
Default Windows 7 problem with folder of .MTS files

Maurice news Tue, 26 Dec 2017 19:43:13 GMT in alt.windows7.general, wrote:

On Tue, 26 Dec 2017 12:27:25 -0600, VanguardLH wrote:

Sounds like a permissions issue


No, it seems to be simply that W7 will have nothing to do with
.MTS files, to the
extent that it ignores folders that contain nothing but them.


Windows doesn't do that. I don't know of any OS off the top of my
head that ignores a folder/directory because it contains files
unknown to it.

In one of my checks on W7 with the .MTS folder, it offered to 'fix
it', and after checking
the result I found that it had simply changed all the "*.MTS" to
"*.CHK" and renamed the
folder "FOUND.000"!


That isn't Windows complaining about not knowing what to do with MTS
files, it's complaining about file system issues. It thinks the file
contents on the stick are corrupted. Did you tell your Linux machine
you were done with the stick prior to removing it? Or, did you just
pull it when you thought you copied the last file?

To confirm this, I converted one of the .MTS files to .MOV, put
that in a new folder on
the flash drive, and plugged that into W7.
Result: It found that folder and agreed the file was there, then
played
it back
normally...


That isn't confirming what you think it is. Probably just as well to
convert the files to a more known container, but, aside from that;
you didn't confirm windows itself has a problem with the original
files. What you confirmed was that Windows had a problem with the
file system present on the usb stick.



--
Please visit our moderators personal page:
https://tekrider.net/pages/david-brooks-stalker.php
Now for a cheeky message from our sponsors:
Fat person: Nutritional Overachiever
  #10  
Old December 26th 17, 11:43 PM posted to alt.windows7.general
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Windows 7 problem with folder of .MTS files

Maurice wrote:
Using Linux (Mageia-5) I copied some .MTS video files to a Christmas
visitor's USB flash drive to take home to her Windows 7 to play back.
Checked that they played back OK under Mageia (VLC).

But when I tried it on my Windows 7, the system denied the existence of
the whole folder on the flassh drive (though no such problem with a
folder
of.jpg files on same flash drive.)

[Then tried with a different folder name, but this time it said the
folder was empty...]

Anyone know of a way to persuade Windows 7 to play ball here, please?

[Is converting all .MTS to .MOV the only way?]


Do you use "Safely Remove" or in Linux, do
dismounts before pulling USB sticks ? Maybe the
file system took minor damage.

When a file has an unknown extension or even no
extension, that should not affect visibility.

As for permissions, generally Linux does not
apply an "unbreakable" permission to things
it adds. Linux is not supposed to have support
for SIDs on NTFS. The day Linux gets full support
for every file system feature, is the day it'll
become useless for maintenance.

And I've not run into Linux changing some attribute
bits either (like a Hidden attribute).

Paul
  #11  
Old December 27th 17, 06:45 PM posted to alt.windows7.general
Maurice
external usenet poster
 
Posts: 90
Default Windows 7 problem with folder of .MTS files

On Tue, 26 Dec 2017 17:43:42 -0500, Paul wrote:

Do you use "Safely Remove" or in Linux, do dismounts before pulling USB
sticks ?


Yes, of course.

When a file has an unknown extension or even no extension, that should
not affect visibility.


It did in this case.

As for permissions, generally Linux does not apply an "unbreakable"
permission to things it adds.


Not a permissions problem. Other jpg folder - created in same way on
same flash drive -
had no problems on Windows 7. Only the one with .MTS files...
Happy with .MOV equivalents.

--
/\/\aurice
(Retired in Surrey, UK)
)
  #12  
Old December 28th 17, 11:23 PM posted to alt.windows7.general
Diesel
external usenet poster
 
Posts: 937
Default Windows 7 problem with folder of .MTS files

Maurice news Wed, 27 Dec 2017 17:45:31 GMT in alt.windows7.general, wrote:

On Tue, 26 Dec 2017 17:43:42 -0500, Paul wrote:

Do you use "Safely Remove" or in Linux, do dismounts before
pulling USB sticks ?


Yes, of course.

When a file has an unknown extension or even no extension, that
should not affect visibility.


It did in this case.


Erm, no. What you observed was file system corruption. You confirmed
that via chkdsk. Windows does not 'hide' files or refuse to access
folders which you think contain files unknown to it. That's just not
how it works.

had no problems on Windows 7. Only the one with .MTS files...
Happy with .MOV equivalents.


You had some sort of issue copying those files from your linux
machine over to that stick. To the point where Windows thought the
folder contents were corrupt. Btw, just because Windows has trouble
reading something doesn't mean that Linux will as well or that it'll
be as severe on a linux system. With that said, just because your
Linux machine thinks all is well with the world on the drive, doesn't
necessarily mean it is. Linux 'cheats' in some respects.




--
Please visit our moderators personal page:
https://tekrider.net/pages/david-brooks-stalker.php
Now for a cheeky message from our sponsors:
Death is life's answer to the question 'Why?'
  #13  
Old December 29th 17, 06:51 PM posted to alt.windows7.general
Maurice
external usenet poster
 
Posts: 90
Default Windows 7 problem with folder of .MTS files

On Thu, 28 Dec 2017 22:23:32 +0000, Diesel wrote:

You had some sort of issue copying those files from your linux machine
over to that stick. To the point where Windows thought the folder
contents were corrupt.


No, only W7 had a problem. File system etc all exactly the same for all
directories on the drive.
Only if the files in a certain directory had filetype 'MTS' did W7
ignore
the whole directory, whereas if the same directory instead contained
'MOV'
files it was happy as proverbial sand boy. QED.

--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
  #14  
Old December 29th 17, 07:04 PM posted to alt.windows7.general
Mayayana
external usenet poster
 
Posts: 6,438
Default Windows 7 problem with folder of .MTS files

"Maurice" wrote

| No, only W7 had a problem. File system etc all exactly the same for all
| directories on the drive.
| Only if the files in a certain directory had filetype 'MTS' did W7
| ignore
| the whole directory, whereas if the same directory instead contained
| 'MOV'
| files it was happy as proverbial sand boy.

One thing you might check: Look in the Registry
under HKCR\.mts and see what's there. I have it
marked as a video file. I suspect VLC did that. It's
possible that .mts can also be something else that's
hidden by default. (If hiding "hidden" files is enabled.)

Why not just install VLC? I wouldn't put anything
past Microsoft when it comes to trying to push their
own media player.


  #15  
Old January 2nd 18, 03:02 AM posted to alt.windows7.general
Diesel
external usenet poster
 
Posts: 937
Default Windows 7 problem with folder of .MTS files

Maurice news Fri, 29 Dec 2017 17:51:40 GMT in alt.windows7.general, wrote:

On Thu, 28 Dec 2017 22:23:32 +0000, Diesel wrote:

You had some sort of issue copying those files from your linux
machine over to that stick. To the point where Windows thought
the folder contents were corrupt.


No, only W7 had a problem. File system etc all exactly the same
for all directories on the drive.
Only if the files in a certain directory had filetype 'MTS' did
W7 ignore the whole directory, whereas if the same directory instead
contained 'MOV' files it was happy as proverbial sand boy.


That's not how it works. I realize you think it does, and, assumed
based on what you observed that's what was going on, but, it wasn't.


--
Please visit our moderators personal page:
https://tekrider.net/pages/david-brooks-stalker.php
Now for a cheeky message from our sponsors:
Cats must rush out from behind the couch and bury their claws in
Daddy's leg.
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 09:07 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.