diff options
Diffstat (limited to 'example-scripts/ffmpeg/source-avsync-test-clip-as-cam1.sh')
-rwxr-xr-x | example-scripts/ffmpeg/source-avsync-test-clip-as-cam1.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/example-scripts/ffmpeg/source-avsync-test-clip-as-cam1.sh b/example-scripts/ffmpeg/source-avsync-test-clip-as-cam1.sh index 5c0f47e..fd55f05 100755 --- a/example-scripts/ffmpeg/source-avsync-test-clip-as-cam1.sh +++ b/example-scripts/ffmpeg/source-avsync-test-clip-as-cam1.sh @@ -1,7 +1,12 @@ #!/bin/sh +. `dirname "$0"`/../config.sh ffmpeg -y \ -i http://c3voc.mazdermind.de/testfiles/avsync.ts \ - -vf scale=1920x1080 \ + -filter_complex " + [0:v] scale=$WIDTH:$HEIGHT,fps=$FRAMERATE [v] ; + [0:a] aresample=$AUDIORATE [a] + " \ + -map "[v]" -map "[a]" \ -c:v rawvideo \ -c:a pcm_s16le \ -pix_fmt yuv420p \ |