You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,18 @@
4
4
5
5
## program written in [GO](https://golang.org)
6
6
7
-
Scan a RIFF file for the "vids" 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.
7
+
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.
8
8
9
9
It's partially based on one of the examples in the image/riff section (the read chunk,etc...).
10
10
11
11
i.e.:
12
12
13
-
vcodec file.avi DIV3 DX50 ...
13
+
vcodec file.avi DIV3 DX50 ... (case insensitive)
14
14
15
15
It's quite useful when you want to re-encode with ffmpeg or others a bunch of files only if they use certain codecs
16
+
17
+
Reference (Even if I do need to study them a little more)
18
+
19
+
-[Microsoft AVI riff file refernce](https://docs.microsoft.com/it-it/windows/win32/directshow/avi-riff-file-reference)
0 commit comments