Strings foo.avi | awk 'NR=1,/vids/ ' | head -c 4įor what it's worth, Windows Media Player listed the codec in my AVI as "-" for both audio and video, but the above worked as expected. Method 1 Go to VLC Media Player official site: to download the latest version, then install and overwirte the old installation. On my cygwin bash shell, those options looks like these commands: Or you could be a little more sophisticated and pipe it through sed and have it print the line that matches the desired pattern. Or you could pipe it into head and hope to guess the number of lines you will need. You will be amazed by the complexity and the configuration options of these applications starting with. It offers support for 32-bit and 64-bit codecs and it works irreproachably. You could pipe the result into something simple like 'more' and find it yourself. Lagarith is able to operate in several colorspaces - RGB24, RGB32, RGBA, YUY2, and YV12. K-Lite Codec Pack is a comprehensive selection of codecs which guarantees that you will be able to play almost any video or audio file. (It can be changed on the command line.) The 'vids' and the fourcc will be consecutive in the output (but not one string in my AVI). By default, the minimum length is four, which is fine for this need. If you have a Unix-like shell, you probably have a program called 'strings' which finds sequences of printable characters.
0 Comments
Leave a Reply. |