Skip to content

Instantly share code, notes, and snippets.

@andrey-utkin
Created April 21, 2016 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrey-utkin/53c33e11b68eaa54d67aa25aaa40dd58 to your computer and use it in GitHub Desktop.
Save andrey-utkin/53c33e11b68eaa54d67aa25aaa40dd58 to your computer and use it in GitHub Desktop.
#!/bin/bash -e
#git clone git://source.ffmpeg.org/ffmpeg.git
#cd ffmpeg
#git pull
#git clean -dxf
#./configure --disable-optimizations --enable-debug --extra-cflags="-O0 -g3 -ggdb3" --disable-stripping --enable-libx264 --enable-gpl
#make
FFMPEG=./ffmpeg
$FFMPEG -f lavfi -i testsrc -t 5 -c:v libx264 -y testsrc.mp4
echo "ffconcat version 1.0
file testsrc.mp4" > test.concat
$FFMPEG -auto_convert 0 -i test.concat -c:v rawvideo -f rawvideo -y /dev/null -loglevel debug -debug er
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment