NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Forum Issues & Documentation v
« Previous 1 2 3 4 5 6 … 11 Next »
File types, video formats, and codecs!!!

 
  • 0 Vote(s) - 0 Average
File types, video formats, and codecs!!!
mkenyon2
Offline

Senior Member

Posts: 715
Threads: 208
Joined: Dec 2006
#1
2008-04-25, 07:19 PM (This post was last modified: 2008-04-25, 08:15 PM by mkenyon2.)
This is a little post to help people who are scratching their heads, trying to sort out the whole format/file type thing.

I found this section on the MEncoder site:
http://www.mplayerhq.hu/DOCS/HTML/en/containers.html

Note what they say:
Quote:It is important to clarify a common mistake. When people see a file with a .AVI extension, they immediately conclude that it is not an MPEG file. That is not true. At least not entirely. Contrary to popular belief such a file can contain MPEG-1 video.

You see, a codec is not the same as a container format. Examples of video codecs are: MPEG-1, MPEG-2, MPEG-4 (DivX), Indeo5, 3ivx. Examples of container formats are: MPG, AVI, ASF.

video formats
The next page in that section talks a bit about video formats.
http://www.mplayerhq.hu/DOCS/HTML/en/video-formats.html

Here is a sum-up of what I gleaned:
MPEG format: (MPEG1 and MPEG2) Not very compressed, but good for streaming. (Because you can lose a frame and just pick up with a new one.)

AVI format (Divx and Divx4 as well as others) Better compression, not so good for streaming. Interleaved (where video and audio are mixed together) is better than non.

Codecs
Video formats are then filled with Codecs. (MPEG2, Divx, H.264 can be read about here...
http://www.mplayerhq.hu/DOCS/HTML/en/video-codecs.html
Mpeg2 (What most video capture with onboard encoders use) seems to have low compression, but also very low CPU loads.
Divx seems to have the best compression (smaller file size) to CPU decoding ratio.
H.264 seems to have the best compression, but usually heavy loads on the CPU.

En/De coding
So... you've seen encoding and decoding... what does it mean?
Encoding - Taking video (from one source) and converting/compressing/whatever into a file/format using a codec.
Decoding - Reading the video from the file using the codec.

So, when looking for an encoder/decoder setup, you need to find a decoder that will decode (read) the files as they are encoded by your setup.
What you're looking at is Intervideo, FFMpeg, or others. This is software that looks at your video file, and selects/uses the codec to decode the file.
For instance, FFMpeg 'includes libavcodec, an audio/video codec library'

That's decoding.

Encoding is again with software, such as MEncoder, which uses codecs to encode or create your video files. One note, video capture cards often come with a hardware (chip) encoder that takes your video signal, and gives a stream to your computer which is then stored as a file, needing very little from your computer for the encoding.

I'd like to get Sub to fill me in a bit better on where VMR9, EVER, and Overlay Manager fit it. My understanding is that these are systems used by your computer to put the decoding images on your screen.

Hopefully this helps.

Edit: One thing to note, your PC can play anything you have a decoder and codec for. However, set-top devices (Like the MediaMVP) are sometimes limited in the codecs they can decode.

Edit: Found this info about Divx vs Xvid:
Quote:Yes, Divx includes some scaling, noise reduction, and deinterlacing options in their encoder. Xvid does not. Divx is faster than Xvid at similar settings. But Xvid is slightly higher quality and gives you finer control. Pick whichever suits you.
It seems that Divx is commercial, where-as Xvid, it's main/direct competitor is Open Source.
Currently Running: 1.4.7
[SIZE="1"]HTPC:
Motherboard: ASUS P5LD2 Mobo w/ 945P chipset / CPU: Intel P4 3.0GHz
RAM: 3GB RAM / Video: ASUS Radeon X300SE 128Mb PCIx 16
Tuner(s): ATI TV 650 Dual (PCIx)
OS: Win XP Pro SP3[/SIZE]

[SIZE="1"]Feeding:
2 - Wired MVP[/SIZE]
mkenyon2
Offline

Senior Member

Posts: 715
Threads: 208
Joined: Dec 2006
#2
2008-04-25, 08:22 PM
The reason I dug into this was because I was transcoding my recordings from TV into .avi files to save space, and remove permanently the commercials.

With the above info in mind, I have decided to go with these settings in Stattik's SkipTool.

xvid/mpeg2 2pass
Yes IVTC
Automatic scaling

This may take longer than it had been, but should be better quality.
Currently Running: 1.4.7
[SIZE="1"]HTPC:
Motherboard: ASUS P5LD2 Mobo w/ 945P chipset / CPU: Intel P4 3.0GHz
RAM: 3GB RAM / Video: ASUS Radeon X300SE 128Mb PCIx 16
Tuner(s): ATI TV 650 Dual (PCIx)
OS: Win XP Pro SP3[/SIZE]

[SIZE="1"]Feeding:
2 - Wired MVP[/SIZE]
Deusxmachina
Offline

Senior Member

Posts: 545
Threads: 13
Joined: Aug 2007
#3
2008-04-26, 01:42 PM
I don't understand the "xvid/mpeg2" part. I assume anything you wouldn't want to more easily put on DVD would all be xvid.

Anyway, mainly wanted to say there is little reason to use 2-pass unless wanting a very exact file size. Constant Quality will be twice as fast and will have, um, a constant quality for every frame.

Unless someone is thinking ahead to want to know ahead of time that, say, 24 episodes of a TV show will all for certain fit on one DVD after they've re-encoded them all, 2-pass doesn't hold a lot of value. Doubling the encoding time aside, the same file size of those episodes are likely to look worse on average in 2-pass since episodes that didn't need the extra size used it anyway, and episodes that do need the extra size have a capped limit.

Plus, with CQ you set it and forget it, whereas 2-pass needs to be changed based on the length and action and resolution of the show.
I bet Michael Bay uses GBPVR because it's awesome:
http://www.youtube.com/watch?v=MiHsxQJ9ZOo
mkenyon2
Offline

Senior Member

Posts: 715
Threads: 208
Joined: Dec 2006
#4
2008-04-28, 01:27 PM
Well, episodes, if you did them all at once, maybe. But I don't know that I'd ever do all my episodes with the same setting.
Currently Running: 1.4.7
[SIZE="1"]HTPC:
Motherboard: ASUS P5LD2 Mobo w/ 945P chipset / CPU: Intel P4 3.0GHz
RAM: 3GB RAM / Video: ASUS Radeon X300SE 128Mb PCIx 16
Tuner(s): ATI TV 650 Dual (PCIx)
OS: Win XP Pro SP3[/SIZE]

[SIZE="1"]Feeding:
2 - Wired MVP[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Video Library Metadata McBainUK 5 9,191 2009-12-16, 01:24 PM
Last Post: pBS
  Wiki on codecs and mux:es mcfrojd 5 3,121 2007-01-05, 10:53 AM
Last Post: motteroy
  Wiki file size for .exe Old Dog 5 2,683 2006-07-17, 11:27 AM
Last Post: rowle1jt
  Batch File Questions... zehd 1 2,301 2006-03-08, 07:33 PM
Last Post: blader_se
  Annotated XSearch/FastFind Skin.xml File (Updated: 10/5/2005) Necro 0 1,894 2005-10-05, 10:54 PM
Last Post: Necro
  General/GBPVR WinXP/2000 video capture FAQ? mnemonic76 7 5,118 2005-04-20, 09:07 PM
Last Post: Jester
  What zip file belongs to the Music Album? blader_se 1 1,870 2005-03-01, 09:46 PM
Last Post: emb
  File size limit reven 3 2,504 2005-02-16, 08:20 AM
Last Post: blader_se
  increase the file size limit reven 7 3,223 2005-01-02, 07:53 PM
Last Post: reven
  Internal and s-video tuner problem 0 327 Less than 1 minute ago
Last Post:

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode