This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set VIDEO="video.ts" | |
set MEDIAINFO="MediaInfo.exe" | |
set FFMPEG="ffmpeg.exe" | |
%FFMPEG% -analyzeduration 100M -probesize 100M -i %VIDEO% -acodec copy -vn %VIDEO%.aac | |
set time1=%1 | |
set sec0=%time1:~-5,-3% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set VIDEO="video.ts" | |
set MEDIAINFO="MediaInfo.exe" | |
set FFMPEG="ffmpeg.exe" | |
%FFMPEG% -analyzeduration 100M -probesize 100M -i %VIDEO% -acodec copy -vn %VIDEO%.aac | |
set time1=%1 | |
set sec0=%time1:~-5,-3% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo off | |
set FFMPEG="H:\ffmpeg.exe" | |
for %%a in (%*) do %FFMPEG% -i %%a -filter_complex palettegen -y %%a_tmp.png && %FFMPEG% -i %%a -i %%a_tmp.png -filter_complex paletteuse -y %%a_min.png && del %%a_tmp.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo off | |
set FFMPEG="H:\ffmpeg.exe" | |
set GIFSICLE="H:\gifsicle.exe" | |
%FFMPEG% -i %1 -filter_complex scale=320:-1,trim=start_frame=%2:end_frame=%3,palettegen -y %1_tmp.png | |
%FFMPEG% -i %1 -i %1_tmp.png -filter_complex scale=320:-1,unsharp=3:3:0.5,trim=start_frame=%2:end_frame=%3,paletteuse -f gif - | %GIFSICLE% -V -U -O3 - -o %1_opt.gif | |
del %1_tmp.png | |
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// みゆっき氏に感謝 | |
// https://gist.github.com/miyukki/2520787 | |
/* ニコ生アラートコメントサーバ接続先一覧 | |
twr01.live.nicovideo.jp:2525/1000000000 | |
twr01.live.nicovideo.jp:2526/1000000002 | |
twr01.live.nicovideo.jp:2527/1000000004 | |
twr01.live.nicovideo.jp:2528/1000000006 | |
twr01.live.nicovideo.jp:2529/1000000008 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone https://github.com/opencv/opencv | |
$ cd opencv | |
$ mkdir build | |
$ cd build | |
$ cmake -G "MSYS Makefiles" .. -DCMAKE_INSTALL_PREFIX=/mingw/i686-w64-mingw32 -DCMAKE_BUILD_TYPE="Release" \ | |
-DWITH_IPP=OFF -DWITH_TBB=ON -DBUILD_opencv_flann=OFF -DBUILD_opencv_photo=OFF -DBUILD_opencv_highgui=OFF\ | |
-DBUILD_opencv_ml=OFF -DBUILD_opencv_objdetect=OFF -DBUILD_opencv_video=OFF -DBUILD_opencv_imgcodecs=OFF | |
$ make && make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prefix=/mingw/i686-w64-mingw32 | |
exec_prefix=${prefix} | |
libdir=${exec_prefix}/lib | |
includedir_old=${prefix}/include/opencv | |
includedir_new=${prefix}/include | |
Name: OpenCV | |
Description: Open Source Computer Vision Library | |
Version: 2.4.13.2 | |
Libs: ${exec_prefix}/lib/libopencv_core2413.dll ${exec_prefix}/lib/libopencv_imgproc2413.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<response> | |
<error> | |
<code>PARAMERROR</code> | |
<description>swfファイルの投稿はできなくなりました: http://blog.nicovideo.jp/niconews/ni053541.html</description> | |
</error> | |
<status>fail</status> | |
</response> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffplay -f lavfi -i smptebars \ | |
-vf "split[0][1];[0]colorkey=0x00bc00,\ | |
lutrgb=val:val:val:if(val\,0\,1)*255,noise=alls=80:allf=t+u[0a];[1][0a]overlay" | |
ffmpeg -f lavfi -i smptebars \ | |
-vf "split[0][1];[0]colorkey=0x00bc00,\ | |
lutrgb=val:val:val:if(val\,0\,1)*255,noise=alls=80:allf=t+u[0a];\ | |
[1][0a]overlay=format=rgb" -vframes 1 0x00bc00.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffplay -f lavfi -i smptebars \ | |
-vf "split[0][1];[0]colorkey=0x00bc00,\ | |
lutrgb=val:val:val:if(val\,0\,1)*255[0a];[1]noise=alls=80:allf=t+u[1a];[1a][0a]overlay" |
OlderNewer