vcodec

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2021 License: LGPL-3.0 Imports: 9 Imported by: 0

README

vcodec - Squeeze69

quick and dirty program to test for particular vcodec in an AVI (or any format supported by RIFF library)

program written in GO

Scan a RIFF file for the codec (vids in the strh and the structure in the following strf section), then exit with an error level 1 if the video codec is listed on the command line. The "heavy lift" is made by the image/riff library.

It's partially based on one of the examples in the image/riff section (the read chunk,etc...).

i.e.:

vcodec file.avi DIV3 DX50 ... (case insensitive)

It's quite useful when you want to re-encode with ffmpeg or others a bunch of files only if they use certain codecs

Reference (Even if I do need to study them a little more)

Documentation

Overview

vcodec by Squeeze69

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL