Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

File types & Downloads

  • Very often my downloader extension leaves me with a video or audio file with no extension: the system says "file type - FILE", and a blunt square icon (undefined type).
    With video, I can leave it like that, except that I need to define the type in order to upload it somewhere. For audio, it seems less peachy: file left undetermined doesn't open in my foobar, while I'd tend to rename it .mp3 while mp3s definitely used to do o'k in my foobar...
    What other common types of audio are there these days? (Sometimes the downloader saves files as "film" - .mpeg 'only audio'.)

  • @joshl said in File types & Downloads:

    What other common types of audio are there these days?

    .aac (raw aac, no container)
    .m4a (aac in an mp4 container) - can be mp4 extension sometimes
    .oga (vorbis in an ogg container) - can be .ogg extension sometimes
    .flac
    .opus (opus in an ogg container)
    .wav,
    .mka (matroska container with some type of audio in it)
    Stuff like that.

  • Reset mp3s to play in foobar by default yesterday, I'll see what it'll do.
    I believe they must put music in mp3s mostly, other mentioned types seem much less common. Well, .ogg I see sometimes, past that mpeg Audio only thing.

  • You do realize, if you are using O12 still then the extension depends on the file type rather than the other way around. That is, if they set the file type as audio/mp3 and then it is actually a *.ogv file Presto will change it to match the correct extensions for MP3 files. I presume Foobar will handle that - I know Irfanview does for images so I don't see why they wouldn't.

  • @sgunhouse said in File types & Downloads:

    if you are using O12

    No.

  • For example, I downloaded a piece of Mozart from some archive, the file name was like "Tralala K.666 (Mozart p.2)", see. Then I have a file, undefined, with an extension ".666 (Mozart p", see? Exactly.
    Then I think, if I rename it with adding ".mp3", I can't rename back if it's wrong, can I? Or is it wrong just to make it .mp3? If it plays all right?
    What if it's not actually .mp3? How do I know?

  • Changing the extension of a file doesn't change its content. So, you can change extensions back and forth to whatever you want without harming the file content.

    To see what type of file it is, you can open it up in VLC or Media Player Classic or whatever and look at the media infromation and it'll tell you want it is. Or, you can open the file in a text editor or hex editor and look to see what header it is. You can look up on the net what the headers look like for raw file types and contains so you know what to look for. Mp3s with ID3 tags for example will usually have ID3 at the start of the file (but could be at the end). You might also see the encoder listed somewhere. "Lame" for example. Besides that, it's more complicated. Other file types are easier. If it's an mp4/m4a file, if you open it with a hex editor or text editor, you'll see the headers right away.

    You could also use the Network tab in Opera's Developer tools (disable cache, refresh and try the download again) to examine the headers sent for the file. If it's audio/mpeg for example, it could be an mp3.

    Your example filenames seem really weird though.

  • @burnout426 said in File types & Downloads:

    Your example filenames seem really weird though.

    I somehow modify the initial title when saving, usually not entirely.


    So you say, opening in Classic might help? The player is awesome, it won't only take HLSs.

  • @joshl said in File types & Downloads:

    So you say, opening in Classic might help? The player is awesome, it won't only take HLSs.

    Maybe. VLC might be better though and should play HLS streams (last time I checked in a 4.0 dev build at least). VLC will play mp3 files with no extension, so that'll help too. Ctrl + j will show codec information for the file that's playing so you can tell what it is.

  • Thank you!
    🍌

  • @burnout426 said in File types & Downloads:

    Changing the extension of a file doesn't change its content. So, you can change extensions back and forth to whatever you want without harming the file content.

    No, I can't.
    While the file is undefined, I can choose to add an extension to its name, after which the system takes it "away" to hold it as the file's type determination and it is no longer in its name. I can neither change it back nor to another file type.
    Theoretically, MPC could "save as" to another type, but upon such trying I found it either taking too long or failing to proceed, not sure...

    CtrlJ doesn't work in MPC, but I found some properties.
    For an undefined audiofile: Audio: MPEG Audio Layer 3 48000Hz stereo 320kbps [Audio].
    For a "Film" type "audio only" file: Audio: MPEG Audio Layer 3 44100Hz stereo 192kbps [Audio].
    For an undefined videofile: Video: MPEG4 Video (H264) 428x240 25.00fps [Video] Audio: AAC 22050Hz stereo 705kbps [Audio].
    Does MPEG mean "mp3"?
    The "film" type might manifest in an "avi" extension. What extension would manifest this "Video recording" type? It's used by the Windows MovieMaker.

  • @joshl said in File types & Downloads:

    No, I can't.
    While the file is undefined, I can choose to add an extension to its name, after which the system takes it "away" to hold it as the file's type determination and it is no longer in its name. I can neither change it back nor to another file type.

    Do you have "hide extensions for known file types" checked in Explorer's folder options? It's the default unfortunately and you should always uncheck it.

  • @burnout426 How do you do that?
    I didn't find it in the folder menu. System settings?

    I found a performance issue with some video files.
    In the past, all downloaded files ran o'k with my MPC. In some recent years, some start exhibiting sound not synchronised with the picture; but just recently it appeared same files ran o'k in my WMP. The difference would be made if I'm able to ^rename^ such files with .avi instead of .mp4, don't you think?
    Well, I like MPC, but it doesn't seem to have any autoupdate function nor does it even have an "update" option - only I found a link somewhere there, not been yet... (I'm not sure if I should: things've been alright with minor issues, what if I update and it stops working?)

  • @joshl said in File types & Downloads:

    @burnout426 How do you do that?
    I didn't find it in the folder menu. System settings?

    Since I don't know what Windows version you are on, here is a description for Windows XP up to Windows 10.

  • @yanta

    Windows XP

    In Windows Explorer, choose Tools > Folder Options.

    Click the View tab in the Folder Options dialog box.

    In Advanced Settings, select Show Hidden Files and Folders.

    Deselect Hide Extensions for Known File Types.

    Click OK.

    Found it.
    But why should I "select Show Hidden Files and Folders"? They're in separate listings and are they at all relevant to one another?


    Anyway, if I do this "Deselect Hide Extensions", what possible complications, if any, could it infer? (And I hope I can revert it the same way if anything at all...)

  • @joshl

    But why should I "select Show Hidden Files and Folders"?

    The webpage I linked to describes also how to show hidden files and foldes, however, you don't need to change that setting, only what @burnout426 mentioned (= to unhide extensions for known file types).

    Anyway, if I do this "Deselect Hide Extensions", what possible complications, if any, could it infer?

    There are no possible complications, it's quite the contrary, not to hide extensions for known file types means an increase in safety.

    And I hope I can revert it the same way if anything at all...)

    Yes, you can.

  • @yanta said in File types & Downloads:

    There are no possible complications, it's quite the contrary, not to hide extensions for known file types means an increase in safety.

    Exactly.