XPost: alt.comp.os.windows-11   
   From: this@ddress.is.invalid   
      
   Paul wrote:   
   > On Thu, 2/27/2025 10:31 AM, Frank Slootweg wrote:   
   [...]   
   > > Thanks. So let's hope that File Explorer's Properties "Type of file:"   
   > > is smarter than I thought it is, and is looking at the *content* of the   
   > > file, not at the *extension*.   
   > >   
   > > Could you do a (File Explorer) 'Properties' on your 'Nine.mp4' file   
   > > and report what it says under "Type of file:"? That would tell us one   
   > > way or the other whether (FE) 'Properties' is smart or dumb.   
   > >   
   > > [...]   
   > >   
   >   
   > I tried it. I named my sample file from the Internet   
   >   
   > Nine.mp4   
   >   
   > and File Explorer says   
   >   
   > File Type: MP4   
   >   
   > That is because Windows "trusts" the file extension.   
   >   
   > If I remove the extension entirely, File Explorer says   
   >   
   > File Type: file   
   >   
   > so it hasn't a clue what it is then. The object-oriented   
   > launching of an application, based on the file type, in Windows,   
   > is centered around the declared extension.   
   >   
   > *******   
   >   
   > However, when I change the extension back to the original (download) value   
   >   
   > Nine.ts   
   >   
   > now, suddenly, doing a Properties in File Explorer, gives this   
   >   
   > Video   
   >   
   > Length: 00:01:02 (Sixty two seconds)   
   > Frame width: 720   
   > Frame height: 576 (Aussie PAL TV)   
   > Data rate: 5291 kbps (Must be on a multiplex, multiple   
   streams on one 6MHz channel)   
   > Total bitrate: 5387 kbps   
   > Frame rate: 25.00 frames/second   
   >   
   > Audio   
   >   
   > Bit rate: 96 kbps   
   > Channels: 2 (stereo)   
   > Audio Sample Rate: 48.000 kHz   
   >   
   > And that means, Windows applied a TS specific filter, to collect   
   > that metadata about the video. Such metadata would also show   
   > up if you used Indexed Search and asked for "width=720"   
   > and then that item would show up in the list.   
   >   
   > When the file extension was MP4, it applied the MP4 filter   
   > which failed to find anything.   
      
    Thanks. So File Explorer is smart if a Transport Stream file is named   
   .ts, but dumb if it's named .mp4.   
      
    But that still does not explain:   
      
      
   > >>> So I don't understand why Daniel's vid000.mp4 file would say "Type of   
   > >>> file: TS file (.ts)" in Properties.   
      
      
    Bottom line: We need more details/feedback from Daniel.   
      
   > And Windows doesn't have filters for everything, and even   
   > applying the correct extension might elicit no useful response   
   > at all. It's a "best effort" not a guarantee, and that's   
   > true of most multimedia topics anyway.   
      
   --- SoupGate-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|