Table of contents

Video

%3 cluster_4994460c_7ec1_4549_b7d3_49626449279e Video cluster_c2bc1612_fc57_48eb_a673_f9ff134b0bff ffmpeg _93a3cf79_b5a5_429d_a292_2372a37be157 Video in video _4002aeab_4556_4dfc_b39f_641b992b2dbd Record desktop _918dc065_29a6_48b4_8022_23438a1bbc17 Convert video to gif _da7fac42_f19f_40f8_801f_1d6a659eb9a9 Mencoder _60aa8284_6d02_4a7f_9a12_48fa17a9f9e4 frei0r _60aa8284_6d02_4a7f_9a12_48fa17a9f9e4->__0:cluster_4994460c_7ec1_4549_b7d3_49626449279e _51574d7d_485e_4d14_bf1f_0918e47490f7 Invoke from FFmpeg _51574d7d_485e_4d14_bf1f_0918e47490f7->__1:cluster_c2bc1612_fc57_48eb_a673_f9ff134b0bff _d15b7d28_ddd0_455c_956f_aa339317d379 Media Streaming _d15b7d28_ddd0_455c_956f_aa339317d379->__2:cluster_4994460c_7ec1_4549_b7d3_49626449279e _c3c1bbff_feb0_44c4_82a9_ff55a518edb5 Chromecast _c3c1bbff_feb0_44c4_82a9_ff55a518edb5->__3:cluster_4994460c_7ec1_4549_b7d3_49626449279e _19c1f1a1_7958_4834_98a5_6f261f39394b OBS Studio: Open-source software for video recording and live streaming _19c1f1a1_7958_4834_98a5_6f261f39394b->__4:cluster_4994460c_7ec1_4549_b7d3_49626449279e _ea48ec1d_f9d4_4fb7_b39a_faa7b6e2ba95 Notes index _ea48ec1d_f9d4_4fb7_b39a_faa7b6e2ba95->__5:cluster_4994460c_7ec1_4549_b7d3_49626449279e _c7aa5d11_24b6_4e35_af14_3bfa428cba83 FFmpeg _c7aa5d11_24b6_4e35_af14_3bfa428cba83->__6:cluster_4994460c_7ec1_4549_b7d3_49626449279e _6bab6027_c883_44d8_b521_120de5051468 GStreamer _6bab6027_c883_44d8_b521_120de5051468->__7:cluster_4994460c_7ec1_4549_b7d3_49626449279e

TODO

ffmpeg

Record desktop

ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+000,600 output.mp4

TODO

Video in video

ffmpeg -i video-chunk-2-2.mp4 -i video-jibo-small.mp4 -b:v 1M -filter_complex "[1:v]scale=360:640 [ovrl], \
        [0:v][ovrl]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2" video-chunk-2.mp4

Convert video to gif

ffmpeg -y  -i "$1" \
	-filter_complex "fps=${4:-10},scale=${3:--1}:-1:flags=lanczos[x];[x]split[x1][x2]; \
	[x1]palettegen[p];[x2][p]paletteuse" "$2"
  • Parameters

    • Input

    • Output

    • Width of output (default: same as input)

    • FPS (default: 10)

TODO

Mencoder