Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VapourSynth

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th January 2021, 21:59   #1  |  Link
Stephen R. Savage
Registered User
 
Stephen R. Savage's Avatar
 
Join Date: Nov 2009
Posts: 345
Raw videos source

Code:
rawz.Source(string source, int "width", int "height", int "format",
    string "packing", string "offset", int "alignment", int "y4m", bint "alpha",
    int "fpsnum", int "fpsden", int "sarnum", int "sarden")

Packing modes:
    argb
    rgba
    rgb
    rgb30
    nv
    yuyv
    uyvy
    v210

Examples:
    # Y4M
    core.rawz.Source('akiyo_cif.y4m')
    # Raw YUV
    core.rawz.Source('yuv420p8_720x480.yuv', width=720, height=480, format=vs.YUV420P8)
    # Interleaved file
    core.rawz.Source('rgb48_192x108.bin', width=192, height=108, format=vs.RGB48, packing='rgb')
    # Raw pixels embedded in a container (log2alignment=2)
    core.rawz.Source('32bit.bmp', width=640, height=400, format='rgba', packing='rgba', offset=0x8A, alignment=2)

FAQ:
    Q: The color channels are in the wrong order?
    A: std.ShufflePlanes 
    Q: How to open packed 16-bit raws?
    A: Choose the appropriate packing mode and set 'format' to a 16-bit type.
    Q: I can haz errar?
    A: plz2giv sample
Attached Files
File Type: 7z rawz-r0.7z (47.8 KB, 13 views)
Stephen R. Savage is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:41.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.