User Tools

Site Tools


knowledge:ffmpeg:encode-watermark

ffmpeg MTS Encode + Watermark

Encoded so far:

  • 20140719-TheCampDK-Kali_Linux-med-Henrik_Kramshoej.mp4
  • 20140721-TheCampDK-HeartBleed_Havarirapport-med-Poul-Henning_Kamp.mp4
  • 20140721-TheCampDK-JavaScript-med-Anders_Jenbo.mp4
  • 20140722-TheCampDK-Private_Cloud-Joergen_Chr_Olsen-og-Gordon_Flemming.mp4
  • 20140723-TheCampDK-Distribuerede_Systemer_med_Erlang-med-Alexander_Faeroey.mp4
  • 20140723-TheCampDK-LT-Grafer_i_PgSQL-med-Alexander_Faeroey.mp4
  • 20140723-TheCampDK-LT-HushFile-med-Thomas_Steen_Rasmussen.mp4
  • 20140723-TheCampDK-LT-Noget_Fraekt-med-Lasse_Granslev_Andersen.mp4
  • 20140723-TheCampDK-LT-Sailfish_OS-med-Louis_Tim_Larsen.mp4
  • 20140723-TheCampDK-LT-Wordpress_with_1000+_req_pr_sec-med-Dennis_R_Andersen.mp4
  • 20140723-TheCampDK-Praktisk_IT_Sikkerhed_For_Webudviklere-med-Mikkel_Mikjaer.mp4
  • 20140721-TheCampDK-Moderne_Webservere-med-Thomas_Steen_Rasmussen
  • 20140722-TheCampDK-Introducing_the_OpensSource Crosswalk_Runtime-med-Kenneth_Christiansen
  • 20140724-ThecampDK-Introduction_to_Selenium-med-Edward_Cerullo
  • 20140725-TheCampDK-Bitcoin_i_teori_og_praksis-med-Lasse_Granslev_Andersen
  • 20140720-TheCampDK-Introduction_to_C++-part-1-of-3-med_Jonas_Vejlin
  • 20140722-TheCampDK-Introduction_to_C++-part-2-of-3-med_Jonas_Vejlin
  • 20140725-TheCampDK-Introduction_to_C++-part-3-of-3-med_Jonas_Vejlin

720p medium quality

ffmpeg -i IN.MTS -threads 6 -y -vcodec libx264 -acodec aac -strict -2 -ab 128k -ar 44100 -ac 2 -s 1280x720 -b:v 1M out.mp4

720p high quality

ffmpeg -i IN.MTS -threads 6 -y -vcodec libx264 -acodec aac -strict -2 -ab 128k -ar 44100 -ac 2 -s 1280x720 -b:v 2M out.mp4

720p medium quiality with png overlay

ffmpeg -i IN.MTS -vf "movie=logo_overlay.png [logo]; [logo] scale=-1:180 [logo] ; [in][logo] overlay=x=main_w-overlay_w-10:y=main_h-overlay_h-10 [out]" -threads 6 -y -vcodec libx264 -acodec aac -strict -2 -ab 128k -ar 44100 -ac 2 -s 1280x720 -b:v 1M out.mp4

1080p medium quality

ffmpeg -i IN.MTS -threads 6 -y -vcodec libx264 -acodec aac -strict -2 -ab 128k -ar 44100 -ac 2 -s 1920x1080 -b:v 1.5M out_1080.mp4

1080p high quality

ffmpeg -i IN.MTS -threads 6 -y -vcodec libx264 -acodec aac -strict -2 -ab 128k -ar 44100 -ac 2 -s 1920x1080 -b:v 3M out_1080.mp4

ffmpeg version:

ffmpeg -version
ffmpeg version 2.3.1 Copyright (c) 2000-2014 the FFmpeg developers
built on Aug  5 2014 19:11:58 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libass --enable-libbluray --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-indev=jack --disable-outdev=xv --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
libavutil      52. 92.100 / 52. 92.100
libavcodec     55. 69.100 / 55. 69.100
libavformat    55. 48.100 / 55. 48.100
libavdevice    55. 13.102 / 55. 13.102
libavfilter     4. 11.100 /  4. 11.100
libavresample   1.  3.  0 /  1.  3.  0
libswscale      2.  6.100 /  2.  6.100
libswresample   0. 19.100 /  0. 19.100
libpostproc    52.  3.100 / 52.  3.100
knowledge/ffmpeg/encode-watermark.txt · Last modified: 2014/08/10 20:38 by Jacob V. Rasmussen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki