┌─────────────────────────────────────────────────────────────────────────────┐  
│                                                                             │  
│             The SWEDiSH 720p x264 TV Releasing Standards 2010               │  
└─────────────────────────────────────────────────────────────────────────────┘  
┌─────────────────────────────────────────────────────────────────────────────┐  
│     Requirements: Notepad with terminal font or any other ascii viewer.     │  
├──────────────────────────────┬───────────────┬──────────────────────────────┤  
│                              └───[ INTRO ]───┘                              │
│ This is a re-written version of the tvx2642k8.nfo                           │
│ from 'The.720p.x264.TV.Releasing.Standards.2008' to fit the shows on        │
│ Swedish television! The main reason why we need our own set of rules is     │
│ that our shows air with 640kbps ac3 audio, and with the runtime/sizes       │
│ from the other ruleset we often ended up with low video bitrates.           │
│                                                                             │
│                                                                             │
└───────┬┬───────────────────────────────────────────────────────────┬┬───────┘  
┌───────┴┴─────────────────┬───────────────────────┬─────────────────┴┴───────┐  
│                          └───[ RELEASE RULES ]───┘                          │  
│                                                                             │  
│  This document takes effect starting with shows airing 2010-02-24.          │  
│                                                                             │  
│  Episode Sizing:                                                            │  
│   - 12:15 - 16:30 =  373MB                                                  │  
│   - 16:30 - 24:45 =  559MB                                                  │  
│   - 24:45 - 30:15 =  746MB                                                  │  
│   - 30:16 - 45:00 = 1119MB                                                  │  
│   - 45:01 - 60:30 = 1493MB                                                  │  
│   - 60:31 - 90:00 = 2239MB                                                  │  
│   - Other runtimes should be scaled to keep a minimum video bitrate of      │  
│     2800kbit/s at a multiple of 559 or 746MB.                               │  
│   - Releases must be no more than 2MB undersized and must be no more than   │  
│     the even division of a 4479MB DVDR. For example, a 44:00 release must   │  
│     be no more than 4479 * 1/4 = 1119.75 MB, and a 25:00 release must be    │  
│     no more than 4479 * 1/6 = 746.5 MB.                                     │  
│                                                                             │  
│                                                                             │  
│  Audio:                                                                     │  
│   - Must be original source audio, AC3 if available                         │  
│   - Re-encoding/transcoding audio is forbidden                              │  
│   - Dupes based on audio format are forbidden and should be tagged INTERNAL │  
│   - Sources with clipping audio will be considered a nuke                   │  
│   - Multi-language audio tracks are allowed. Multiple languages must be     │  
│     muxed into the MKV. These languages must be identified in the container │  
│     when muxing.                                                            │  
│   - Audio that is 80ms or more out of sync or drifts more than 80ms         │  
│     between any two points (e.g. needing -60 at one and +20 at another) is  │  
│     considered to be technically flawed and may be propered                 │  
│                                                                             │  
│                                                                             │  
│  Video:                                                                     │  
│   - 720p sources are not to be resized. In the event of imperfections       │  
│     lasting the majority of the episode, the release shall be cropped with  │  
│     borders added to retain 1280x720 resolution                             │  
│   - 50fps 720p video  must be dropped to 25fps using SelectEven()           │  
│   - 1080i sources are to be cropped and resized using Lanczos/Lanczos4.     │  
│   - 1080i video sources must be deinterlaced with LeakKernelDeint.          │  
│   - Group watermarks of any kind on the video will not be tolerated         │  
│   - Intros, outros, betweenos, or any other form of defacement of the       │  
│     episode will not be tolerated                                           │  
│   - Sources that sideconvert 1080i to 720p (such as Bell Expressvu) are     │  
│     banned                                                                  │  
│   - Upconverted sources must not be done as 720p.x264. See notes regarding  │  
│     HR.PDTV.x264.                                                           │  
│                                                                             │  
│                                                                             │  
│  Codec/Container:                                                           │  
│   - Must be x264 revision: 1400 or higher must be used                      │  
│   - Must use Matroska (.mkv) for container                                  │  
│   - Stripping or falsifying encode information in the file header is banned │  
│   - Must be High Profile (MeGUI requires this to select some options)       │  
│   - Custom Matrices are allowed                                             │  
│   - Must be minimum 2 passes. The final pass must be done as one continuous │  
│     encode spanning the entire episode, i.e. may not be segmented.          │  
│   - Deblocking must be used; values are at the discretion of the group but  │  
│     must be the same between passes (default is enabled, 0:0 settings)      │  
│   - Adaptive quantization must be used (enabled by default in builds >=     │  
│     805 from x264.nl)                                                       │  
│   - Chroma M.E. must be used (enabled by default)                           │  
│   - M.E. Algorithm (--me) must be multi hexagon (umh) or better             │  
│   - Subpixel refinement (--subme) must be 6 or 7                            │  
│   - Trellis (--trellis) must be 1 or higher                                 │  
│   - Number of Reference Frames (--ref) must be 3 or higher                  │  
│   - CABAC must be used (enabled by default)                                 │  
│   - Macroblock options (--partitions) must be default                       │  
│     ("p8x8,b8x8,i8x8,i4x4") or higher ("all")                               │  
│   - Adaptive DCT (--8x8dct) must be used                                    │  
│   - Number of B-frames (--bframes) must be 3 or higher and must be the same │  
│     in both passes                                                          │  
│   - Adaptive B-Frames must be used (enabled by default)                     │  
│   - B-Pyramid (--b-pyramid) must be used in both passes                     │  
│   - Weighted B-Prediction (--weightb) must be used                          │  
│   - Bidirectional M.E. (--bime) must be used                                │  
│   - B Frame mode (--direct) must be set to Spatial (default) or Auto and    │  
│     must be the same for both passes                                        │  
│   - Suggested command lines:                                                │  
│     x264.exe --pass 1 --level 4.1 --stats x264.stats --bitrate 2800         │
│     --threads auto --bframes 3 --me dia --ref  1                            │ 
│     --no-mbtree --b-pyramid normal --subme 1 --no-dct-decimate              │ 
│     --partitions none --output NUL tv.avs                                   │ 
│                                                                             │
│     x264.exe --pass 2 --level 4.1 --stats .stats --bitrate 2800             │
│     --threads auto --bframes 3 --no-mbtree --b-pyramid normal               │
│     --weightb --me umh --ref 3 --mixed-refs --subme 6 --trellis 1           │
│     --analyse all --8x8dct --output tv.mkv tv.avs                           │
│                                                                             │  
│                                                                             │
│  Resolution:                                                                │  
│   - 1280 x 720                                                              │  
│                                                                             │  
│                                                                             │  
│  Subs:                                                                      │  
│   - Optional                                                                │  
│   - VOBSUB is the preferred format                                          │  
│   - Subtitles must be muxed into the MKV. "Subs" directories are forbidden. │  
│   - Burned subtitles will only be allowed when the source exhibits          │  
│     such subtitles in the picture itself                                    │  
│   - Release muxed with subs must still adhere to the filesizes listed above │  
│   - Multi-language subtitles cannot be used as a basis for a dupe           │  
│                                                                             │  
│                                                                             │  
│  Packaging:                                                                 │  
│   - All releases must be MKV                                                │  
│   - Releases must be packed with RAR and broken into 50,000,000 byte RARs;  │  
│     100MB RARs are allowed for releases 2200MB and larger.                  │  
│   - Multi-episode releases should not be split                              │  
│   - Compression must not be used                                            │  
│   - Recovery and MD5 record are optional                                    │  
│   - Encryption or password protection is forbidden                          │  
│   - Must have SFV and NFO                                                   │  
│                                                                             │  
│                                                                             │  
│  Credits/Previously On:                                                     │  
│   - Not required. Ripper's discretion.                                      │  
│                                                                             │  
│                                                                             │  
│  Samples:                                                                   │  
│   - REQUIRED!                                                               │  
│   - Roughly sixty seconds length and in a separate folder marked as Sample  │  
│   - Must be taken from the episode - not encoded separately                 │  
│   - Stream samples are recommended for any questionable issue with the      │  
│     source, e.g. no IVTC possible, IVTC to 24.975fps, etc.                  │  
│                                                                             │  
│                                                                             │  
│  Propers:                                                                   │  
│   - Propers are only permitted in the case of a technical flaw in the       │  
│     original release (e.g. Bad IVTC, Interlacing, missing footage, resizing │  
│     720p source, bad crop, commercials, bad x264 settings used, bad source, │  
│     etc.)                                                                   │  
│   - Sample of propered release is encouraged                                │  
│   - Proper reason must be stated in nfo                                     │  
│   - Qualitative propers are not allowed                                     │  
│   - Propers based upon the rules set forth here are allowed only on         │  
│     releases that come after this document is made public                   │  
│                                                                             │  
│                                                                             │  
│  Directory Naming:                                                          │  
│   - Show.Name.SXXEXX.720p.SWEDiSH.HDTV.x264-GROUP for normal series         │  
│   - Show.Name.YYYY-MM-DD.720p.SWEDiSH.HDTV.x264-GROUP for sports/daily shows│  
│   - Show.Name.PartXX.720p.SWEDiSH.HDTV.x264-GROUP for miniseries            │  
│   - ALL others are FORBIDDEN. (e.g 0x00 000 EXX.EP.TITLE)                   │  
│   - The use of audio format tags such as AAC, AC3, and AC3.x.x is FORBIDDEN │  
│   - READ.NFO is allowed; however, discretion is recommended                 │  
│   - PROPER.READ.NFO is NOT allowed. The NFO is REQUIRED to have a reason;   │  
│     therefore, the tag is redundant.                                        │  
│   - Other permitted tags are: PROPER, REPACK, RERIP, REAL, UNCUT, SWESUB,   │  
│      INTERNAL                                                               │  
│   - Acceptable characters in naming a directory include (NO spaces or       │  
│     double dots - single dots ONLY):                                        │  
│                                                                             │  
│       ABCDEFGHIJKLMNOPQRSTUVWXYZ                                            │  
│       abcdefghijklmnopqrstuvwxyz                                            │  
│       0123456789._-                                                         │  
│                                                                             │  
│                                                                             │  
└───────┬┬───────────────────────────────────────────────────────────┬┬───────┘  
┌───────┴┴───────────────┬────────────────────────────┬──────────────┴┴───────┐  
│                        └───[ NOTES TO THE RULES ]───┘                       │  
│                                                                             │  
│  HR.PDTV.x264:                                                              │  
│   - HR PDTV x264 encodes are allowed for shows airing on an HD channel but  │  
│     that do not air in HDTV                                                 │  
│   - 4:3 resolution is 720x544, 16:9 resolution is 960x544                   │  
│   - 16:9 shows must fill the screen on the source broadcast. Widescreen     │  
│     shows letterboxed within a 4:3 frame within a 16:9 frame (aka           │  
│     windowboxing or postage stamp) lack sufficient source resolution to     │  
│     warrant releasing in an HR format.                                      │  
│   - Releases must be cropped and resized as necessary                       │  
│   - Sizing is as follows:                                                   │  
│      Animation                                                              │  
│       12:15 - 16:30 =  139MB                                                │  
│       16:30 - 24:45 =  186MB                                                │  
│       24:45 - 33:00 =  279MB                                                │  
│       33:00 - 49:45 =  373MB                                                │  
│       49:45 - 66:15 =  559MB                                                │  
│       66:15 - 99:30 =  746MB                                                │  
│      Live action                                                            │  
│       12:15 - 16:30 =  186MB                                                │  
│       16:30 - 24:45 =  279MB                                                │  
│       24:45 - 33:00 =  373MB                                                │  
│       33:00 - 49:45 =  559MB                                                │  
│       49:45 - 66:15 =  746MB                                                │  
│       66:15 - 99:30 = 1119MB                                                │  
│   - All other standard rules apply                                          │  
│                                                                             │  
│                                                                             │  
│  Internals:                                                                 │  
│   - All INTERNALS must follow SWETVx2642k10 rules apart from the time length│  
│     rules                                                                   │  
│   - NOTE: INTERNAL dirfix is allowed as a basis of avoiding a nuke          │  
│                                                                             │  
│                                                                             │  
└───────┬┬───────────────────────────────────────────────────────────┬┬───────┘  
┌───────┴┴───────────────────────────────────────────────────────────┴┴───────┐  
│         The Swedish 720p x264 TV Releasing Standards 2010 (2010-02-23)      │  
│                                                                             │  
└───────┬┬───────────────────────────────────────────────────────────┬┬───────┘  
┌───────┴┴───────────────┬──────────────────────────┬────────────────┴┴───────┐  
│                        └--------[ GROUPS ]--------┘                         │  
│                                                                             │  
│              SWETVx2642k10 rules created by the following groups:           │  
│              ────────────────────────────────────────────────               │  
│                         HDR xD2V TELEFUNKEN sweHD                           │  
│                                                                             │  
│                                                                             │  
└──┬───────────────────────────────────────────────────────────────────────┬──┘  
     └----\  Thanks to the x264 developers for their assistance in  /----┘       
      └----\     determining the best mix of encode settings.      /----┘        
       └----\  Edited By n 2010. Respect goes to all x264 teams.  /----┘