Skip to content

Instantly share code, notes, and snippets.

@Nolski

Nolski/foo.sh Secret

Created July 27, 2015 22:24
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 Nolski/5877cee63b2f37be3fd6 to your computer and use it in GitHub Desktop.
Save Nolski/5877cee63b2f37be3fd6 to your computer and use it in GitHub Desktop.
ffmpeg -i /var/folders/t6/2vcrxfcd0953m57lybpmh8xr0000gp/T/tmp0Uff7T.avi
-i /var/folders/t6/2vcrxfcd0953m57lybpmh8xr0000gp/T/tmpDipbTG.avi
-c:v huffyuv -preset veryslow -y
-filter_complex amix=inputs=2:duration=first;overlay=x=195.49782334:y=0:
/var/folders/t6/2vcrxfcd0953m57lybpmh8xr0000gp/T/tmpRSwbuc.avi
@Nolski
Copy link
Author

Nolski commented Jul 27, 2015

output

fmpeg version 2.6.3 Copyright (c) 2000-2015 the FFmpeg developers
  built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.6.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libvpx --enable-libass --enable-ffplay --enable-libfdk-aac --enable-libopus --enable-libquvi --enable-libx265 --enable-nonfree --enable-vda
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 26.100 / 56. 26.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 11.102 /  5. 11.102
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, avi, from '/var/folders/t6/2vcrxfcd0953m57lybpmh8xr0000gp/T/tmp0Uff7T.avi':
  Metadata:
    encoder         : Lavf56.25.101
  Duration: 00:00:23.36, start: 0.000000, bitrate: 92167 kb/s
    Stream #0:0: Video: huffyuv (HFYU / 0x55594648), yuv422p, 1280x720, 92318 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc
Input #1, avi, from '/var/folders/t6/2vcrxfcd0953m57lybpmh8xr0000gp/T/tmpDipbTG.avi':
  Metadata:
    encoder         : Lavf56.25.101
  Duration: 00:00:23.07, start: 0.000000, bitrate: 85719 kb/s
    Stream #1:0: Video: huffyuv (HFYU / 0x55594648), yuv422p, 878x700, 85762 kb/s, SAR 342650:332323 DAR 979:757, 30 fps, 30 tbr, 30 tbn, 30 tbc
    Stream #1:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, s16p, 64 kb/s
Cannot find a matching stream for unlabeled input pad 1 on filter Parsed_amix_0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment