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. |
![]() |
#1 | Link |
Registered User
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 |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|