-
-
Save redhog/1dc1da91bac613760794be666d22918d to your computer and use it in GitHub Desktop.
ffmpeg transmission problem
This file contains 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
#! /bin/bash | |
ls x/* | sort | | |
while read name; do | |
echo "IN $name" >&2 | |
cat $name; | |
sleep 1; | |
done | | |
ffmpeg -framerate 1 -f image2pipe -vcodec mjpeg -s 640x480 -pix_fmt yuvj420p -i - -vcodec libx265 -f matroska - | | |
ffmpeg -f matroska -i - -r 1/1 out.%07d.jpg | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment