Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
AshesAndWool

Is "file format" just slang for container?

If i understand your question correctly, then no.

Some file formats are containers, some are not.

 

For example PNG, PCX, TGA, PPM, PGM, WEBP are all files which can represent images, encoding the content in a specific way. These formats, encode just a single frame, in a specific way.

For audio, AAC, AC3, MP3, FLAC are file formats that can only encode audio in a specific way (mpeg 1 encoding, layer 3 audio  , aac, ac3 audio etc)

In contrast, you can have AVI, MKV, MP4 which are containers, they can store video, audio, subtitles, and each of the parts can be encoded in various ways, and the file format defines how to store that information as well.

 

Recommended Posts

How do you mean like different filetypes work with different programs 


Reminder⚠️

I'm just speaking from experience so what I say may not work 100%

Please try searching up the answer before you post here but I am always glad to help

Link to post
Share on other sites
Posted · Best Answer

If i understand your question correctly, then no.

Some file formats are containers, some are not.

 

For example PNG, PCX, TGA, PPM, PGM, WEBP are all files which can represent images, encoding the content in a specific way. These formats, encode just a single frame, in a specific way.

For audio, AAC, AC3, MP3, FLAC are file formats that can only encode audio in a specific way (mpeg 1 encoding, layer 3 audio  , aac, ac3 audio etc)

In contrast, you can have AVI, MKV, MP4 which are containers, they can store video, audio, subtitles, and each of the parts can be encoded in various ways, and the file format defines how to store that information as well.

 

Link to post
Share on other sites
Posted · Original PosterOP
1 minute ago, mariushm said:

If i understand your question correctly, then no.

Some file formats are containers, some are not.

 

For example PNG, PCX, TGA, PPM, PGM, WEBP are all files which can represent images, encoding the content in a specific way. These formats, encode just a single frame, in a specific way.

For audio, AAC, AC3, MP3, FLAC are file formats that can only encode audio in a specific way (mpeg 1 encoding, layer 3 audio  , aac, ac3 audio etc)

In contrast, you can have AVI, MKV, MP4 which are containers, they can store video, audio, subtitles, and each of the parts can be encoded in various ways, and the file format defines how to store that information as well.

 

Thanks, this was exactly what I was looking for

Link to post
Share on other sites

Things like .zip .7z .rar are containers .txt .exe .jpg would be a type of file and tell the pc how to open the file.


I am still TechWizardThatNeedsHelp, just less of a mouthfull.

 

My beautiful, but not that powerful, main PC:

My new PC I'm saving for:

  • NZXT H1 Matte Black
    • Comes with a 650W NZXT PSU
    • NZXT AIO
  • Ryzen 5 3600
  • MSI B450i GAMING PLUS AC
  • XPG ADATA 2800Mhz
  • RX480 untill I have more for a 2060 or 2070
  • 2tb Sabrent Rocket Q PCIE gen 3 NVME SSD
  • Samsung 470 128GB SATA SSD
Link to post
Share on other sites
1 minute ago, HelpfulTechWizard said:

.jpg would be a type of file

Technically (and I only know this because I deep-dived the format standard a while back), JPEG is a container. You can have multiple different images as well as metadata stored in such a way that you don't need to read the entire file to view parts of the content.


Main System (Byarlant) Ryzen 5 1600X | Asus B350-F Strix | Corsair H80i V2 | 16GB G.Skill DDR4 3200MHz CAS-14 | XFX RX 5600 XT THICC II | Samsung 960 PRO 512GB / Samsung 970 EVO 500GB / Seagate 7200RPM 3TB | Corsair CX650M | Mellanox ConnectX-2 10G NIC | Anidees AI-07BW Case | Dell U3415W Monitor | Microsoft Modern Keyboard

 

FreeNAS Server (Veda) Core i3-4170 | Supermicro X10SLL-F | Corsair H60 | 32GB Micron DDR3L ECC 1600MHz | 4x 10TB WD Whites / 1x Samsung PM961 128GB SSD / 1x Kingston 16GB SSD | Corsair CX430M | Mellanox ConnectX-2 10G NIC | LSI 9207-8i LBA | Fractal Design Node 804 Case (side panels swapped to show off drives)

 

Media Center/Video Capture (Jesta) Core i7-2600 | Asus H77M-PRO | Stock Cooler | 8GB No-name DDR3 | EVGA GTX750Ti SC | Sandisk UltraII SSD 64GB / Seagate 1.5TB HDD | Corsair CX450M | Hauppauge ImpactVCB-PCIe | Syba USB3.1 Gen 2 Card | LG UH12NS30 BD-ROM | Silverstone Sugo SG-11 Case

 

Laptop (Narrative) Lenovo Flex 5 81X20005US | Ryzen 5 4500U | 16GB RAM (soldered) | Vega 6 Graphics | UMIS 256GB NVMe SSD | (all-around awesome machine)

Laptop (Rozen-ZuluSony VAIO VPCF13WFX | Core i7-740QM | 8GB Patriot DDR3 | GT 425M | Kingston 120GB SSD | Blu-ray Drive | (lived a good life, retired with honor)

 

Tablet (---): Samsung Galaxy Tab A 8" (crosses fingers)
Tablet (ReGZAsus T102HA (BIOS clock doesn't tick, loses time when sleep/off) (I kill tablets with disturbing regularity)

Tablet (UnicornSurface Pro 2 (battery will reset total capacity to current charge, leading Windows to think it's always 100% charged until it dies)

Tablet (LotoDell Venue 8 Pro (screen discoloration issues, wouldn't update to Windows 10)

Tablet: iPad 2 16GB (WiFi died, basically useless after that)

 

Testbed/Old Desktop (Kshatriya) Xeon X5470 @ 4.0GHz | ZALMAN CNPS9500 | Gigabyte EP45-UD3L | 8GB Nanya DDR2 400MHz | XFX HD6870 DD | OCZ Vertex 3 Max-IOPS 120GB | Corsair CX430M (?) | HooToo USB 3.0 PCIe Card | NZXT H230 Case

 

Camera: Sony A7II (w/ Meike Grip) | Sony SEL24240 (better than most reviews say) | Sony SEL2870 (kit lens) | Sony SEL50F18F (meh, don't buy) | PNY Elite Perfomance SDXC cards

Link to post
Share on other sites
1 minute ago, AbydosOne said:

Technically (and I only know this because I deep-dived the format standard a while back), JPEG is a container. You can have multiple different images as well as metadata stored in such a way that you don't need to read the entire file to view parts of the content.

ah. jpeg is one of the weird ones. i thought it was a file.


I am still TechWizardThatNeedsHelp, just less of a mouthfull.

 

My beautiful, but not that powerful, main PC:

My new PC I'm saving for:

  • NZXT H1 Matte Black
    • Comes with a 650W NZXT PSU
    • NZXT AIO
  • Ryzen 5 3600
  • MSI B450i GAMING PLUS AC
  • XPG ADATA 2800Mhz
  • RX480 untill I have more for a 2060 or 2070
  • 2tb Sabrent Rocket Q PCIE gen 3 NVME SSD
  • Samsung 470 128GB SATA SSD
Link to post
Share on other sites
1 minute ago, AbydosOne said:

as well as metadata

The metadata itself can also contain a thumbnail-image, which isn't part of the larger image itself and is instead in and of itself a separate image.


Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to post
Share on other sites
2 minutes ago, HelpfulTechWizard said:

ah. jpeg is one of the weird ones. i thought it was a file.

A file, a file-format and a container-format are all different things and they are not mutually exclusive. A video in a Matroska-container, for example, would still be saved into a file and the data inside stored following the file-format.


Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to post
Share on other sites

-> Moved to Programs, Apps and Websites


^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Newegg

×