This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FFMPEG '-i', file, '-c:v', 'libopenjpeg', "jpeg2000\\" + name + ".jp2"\ | |
| Convert image to jpeg2000 | |
| ffmpeg -i in.png -c:v libopenjpeg out.jp2 | |
| Hex Edit out.jp2 | |
| ffmpeg -i in.jp2 -c:v png out.png | |
| General Edit | |
| ffmpeg -i input.avi -c:v mpeg2video -g 999 -q:v 1 output.avi | |
| *edit in avidemux/whatever* |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import argparse | |
| import os | |
| import pygame | |
| from pygame.locals import * | |
| import sys | |
| # constants | |
| supported_formats = ('yv12', 'iyuv', 'i420', 'nv12', 'nv21') |