Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh -e
- # download the FFmpeg source code
- wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
- tar xjvf ffmpeg-snapshot.tar.bz2
- cd ffmpeg
- # 1. find all places where output formats are registered
- # 2. grab the MIME type
- # 3. handle multiple MIME types
- # 4. get rid of duplicates
- grep -r '\s\.mime_type\s*=\s*' . \
- | sed -re 's/.*=\s"(.*)".*/\1/g' \
- | tr ',' '\n' \
- | sort -u
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement