Windows下的YouTube-dl与FFmpeg下载安装配置

YouTube-dl

下载地址

http://ytdl-org.github.io/youtube-dl/download.html

Windows下的YouTube-dl与FFmpeg下载安装配置_第1张图片
先点击下载并安装环境包 Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package (x86)
然后点击下载 Windows.exe
下载完成之后,放到你指定的目录下
例如:
在这里插入图片描述
WIN+R输入cmd切换至youtube-dl文件目录下
输入以下命令

D:\Youtubedl>youtube-dl --version
2021.12.17

D:\Youtubedl>youtube-dl --help
Usage: youtube-dl [OPTIONS] URL [URL...]

Options:
  General Options:
    -h, --help                           Print this help text and exit
    --version                            Print program version and exit
    -U, --update                         Update this program to latest version. Make sure that you have sufficient permissions (run with
                                         sudo if needed)
    -i, --ignore-errors                  Continue on download errors, for example to skip unavailable videos in a playlist
    --abort-on-error                     Abort downloading of further videos (in the playlist or the command line) if an error occurs
    --dump-user-agent                    Display the current browser identification
    --list-extractors                    List all supported extractors
    --extractor-descriptions             Output descriptions of all supported extractors
    --force-generic-extractor            Force extraction to use the generic extractor
    --default-search PREFIX              Use this prefix for unqualified URLs. For example "gvsearch2:" downloads two videos from google
                                         videos for youtube-dl "large apple". Use the value "auto" to let youtube-dl guess ("auto_warning"
                                         to emit a warning when guessing). "error" just throws an error. The default value "fixup_error"
                                         repairs broken URLs, but emits an error if this is not possible instead of searching.
    --ignore-config                      Do not read configuration files. When given in the global configuration file /etc/youtube-dl.conf:
                                         Do not read the user configuration in ~/.config/youtube-dl/config (%APPDATA%/youtube-dl/config.txt
                                         on Windows)
    --config-location PATH               Location of the configuration file; either the path to the config or its containing directory.
    --flat-playlist                      Do not extract the videos of a playlist, only list them.
    --mark-watched                       Mark videos watched (YouTube only)
    --no-mark-watched                    Do not mark videos watched (YouTube only)
    --no-color                           Do not emit color codes in output

  Network Options:
    --proxy URL                          Use the specified HTTP/HTTPS/SOCKS proxy. To enable SOCKS proxy, specify a proper scheme. For
                                         example socks5://127.0.0.1:1080/. Pass in an empty string (--proxy "") for direct connection
    --socket-timeout SECONDS             Time to wait before giving up, in seconds
    --source-address IP                  Client-side IP address to bind to
    -4, --force-ipv4                     Make all connections via IPv4
    -6, --force-ipv6                     Make all connections via IPv6

  Geo Restriction:
    --geo-verification-proxy URL         Use this proxy to verify the IP address for some geo-restricted sites. The default proxy specified
                                         by --proxy (or none, if the option is not present) is used for the actual downloading.
    --geo-bypass                         Bypass geographic restriction via faking X-Forwarded-For HTTP header
    --no-geo-bypass                      Do not bypass geographic restriction via faking X-Forwarded-For HTTP header
    --geo-bypass-country CODE            Force bypass geographic restriction with explicitly provided two-letter ISO 3166-2 country code
    --geo-bypass-ip-block IP_BLOCK       Force bypass geographic restriction with explicitly provided IP block in CIDR notation

  Video Selection:
    --playlist-start NUMBER              Playlist video to start at (default is 1)
    --playlist-end NUMBER                Playlist video to end at (default is last)
    --playlist-items ITEM_SPEC           Playlist video items to download. Specify indices of the videos in the playlist separated by
                                         commas like: "--playlist-items 1,2,5,8" if you want to download videos indexed 1, 2, 5, 8 in the
                                         playlist. You can specify range: "--playlist-items 1-3,7,10-13", it will download the videos at
                                         index 1, 2, 3, 7, 10, 11, 12 and 13.
    --match-title REGEX                  Download only matching titles (regex or caseless sub-string)
    --reject-title REGEX                 Skip download for matching titles (regex or caseless sub-string)
    --max-downloads NUMBER               Abort after downloading NUMBER files
    --min-filesize SIZE                  Do not download any videos smaller than SIZE (e.g. 50k or 44.6m)
    --max-filesize SIZE                  Do not download any videos larger than SIZE (e.g. 50k or 44.6m)
    --date DATE                          Download only videos uploaded in this date
    --datebefore DATE                    Download only videos uploaded on or before this date (i.e. inclusive)
    --dateafter DATE                     Download only videos uploaded on or after this date (i.e. inclusive)
    --min-views COUNT                    Do not download any videos with less than COUNT views
    --max-views COUNT                    Do not download any videos with more than COUNT views
    --match-filter FILTER                Generic video filter. Specify any key (see the "OUTPUT TEMPLATE" for a list of available keys) to
                                         match if the key is present, !key to check if the key is not present, key > NUMBER (like
                                         "comment_count > 12", also works with >=, <, <=, !=, =) to compare against a number, key =
                                         'LITERAL' (like "uploader = 'Mike Smith'", also works with !=) to match against a string literal
                                         and & to require multiple matches. Values which are not known are excluded unless you put a
                                         question mark (?) after the operator. For example, to only match videos that have been liked more
                                         than 100 times and disliked less than 50 times (or the dislike functionality is not available at
                                         the given service), but who also have a description, use --match-filter "like_count > 100 &
                                         dislike_count  .
    --no-playlist                        Download only the video, if the URL refers to a video and a playlist.
    --yes-playlist                       Download the playlist, if the URL refers to a video and a playlist.
    --age-limit YEARS                    Download only videos suitable for the given age
    --download-archive FILE              Download only videos not listed in the archive file. Record the IDs of all downloaded videos in
                                         it.
    --include-ads                        Download advertisements as well (experimental)

  Download Options:
    -r, --limit-rate RATE                Maximum download rate in bytes per second (e.g. 50K or 4.2M)
    -R, --retries RETRIES                Number of retries (default is 10), or "infinite".
    --fragment-retries RETRIES           Number of retries for a fragment (default is 10), or "infinite" (DASH, hlsnative and ISM)
    --skip-unavailable-fragments         Skip unavailable fragments (DASH, hlsnative and ISM)
    --abort-on-unavailable-fragment      Abort downloading when some fragment is not available
    --keep-fragments                     Keep downloaded fragments on disk after downloading is finished; fragments are erased by default
    --buffer-size SIZE                   Size of download buffer (e.g. 1024 or 16K) (default is 1024)
    --no-resize-buffer                   Do not automatically adjust the buffer size. By default, the buffer size is automatically resized
                                         from an initial value of SIZE.
    --http-chunk-size SIZE               Size of a chunk for chunk-based HTTP downloading (e.g. 10485760 or 10M) (default is disabled). May
                                         be useful for bypassing bandwidth throttling imposed by a webserver (experimental)
    --playlist-reverse                   Download playlist videos in reverse order
    --playlist-random                    Download playlist videos in random order
    --xattr-set-filesize                 Set file xattribute ytdl.filesize with expected file size
    --hls-prefer-native                  Use the native HLS downloader instead of ffmpeg
    --hls-prefer-ffmpeg                  Use ffmpeg instead of the native HLS downloader
    --hls-use-mpegts                     Use the mpegts container for HLS videos, allowing to play the video while downloading (some
                                         players may not be able to play it)
    --external-downloader COMMAND        Use the specified external downloader. Currently supports
                                         aria2c,avconv,axel,curl,ffmpeg,httpie,wget
    --external-downloader-args ARGS      Give these arguments to the external downloader

  Filesystem Options:
    -a, --batch-file FILE                File containing URLs to download ('-' for stdin), one URL per line. Lines starting with '#', ';'
                                         or ']' are considered as comments and ignored.
    --id                                 Use only video ID in file name
    -o, --output TEMPLATE                Output filename template, see the "OUTPUT TEMPLATE" for all the info
    --output-na-placeholder PLACEHOLDER  Placeholder value for unavailable meta fields in output filename template (default is "NA")
    --autonumber-start NUMBER            Specify the start value for %(autonumber)s (default is 1)
    --restrict-filenames                 Restrict filenames to only ASCII characters, and avoid "&" and spaces in filenames
    -w, --no-overwrites                  Do not overwrite files
    -c, --continue                       Force resume of partially downloaded files. By default, youtube-dl will resume downloads if
                                         possible.
    --no-continue                        Do not resume partially downloaded files (restart from beginning)
    --no-part                            Do not use .part files - write directly into output file
    --no-mtime                           Do not use the Last-modified header to set the file modification time
    --write-description                  Write video description to a .description file
    --write-info-json                    Write video metadata to a .info.json file
    --write-annotations                  Write video annotations to a .annotations.xml file
    --load-info-json FILE                JSON file containing the video information (created with the "--write-info-json" option)
    --cookies FILE                       File to read cookies from and dump cookie jar in
    --cache-dir DIR                      Location in the filesystem where youtube-dl can store some downloaded information permanently. By
                                         default $XDG_CACHE_HOME/youtube-dl or ~/.cache/youtube-dl . At the moment, only YouTube player
                                         files (for videos with obfuscated signatures) are cached, but that may change.
    --no-cache-dir                       Disable filesystem caching
    --rm-cache-dir                       Delete all filesystem cache files

  Thumbnail Options:
    --write-thumbnail                    Write thumbnail image to disk
    --write-all-thumbnails               Write all thumbnail image formats to disk
    --list-thumbnails                    Simulate and list all available thumbnail formats

  Verbosity / Simulation Options:
    -q, --quiet                          Activate quiet mode
    --no-warnings                        Ignore warnings
    -s, --simulate                       Do not download the video and do not write anything to disk
    --skip-download                      Do not download the video
    -g, --get-url                        Simulate, quiet but print URL
    -e, --get-title                      Simulate, quiet but print title
    --get-id                             Simulate, quiet but print id
    --get-thumbnail                      Simulate, quiet but print thumbnail URL
    --get-description                    Simulate, quiet but print video description
    --get-duration                       Simulate, quiet but print video length
    --get-filename                       Simulate, quiet but print output filename
    --get-format                         Simulate, quiet but print output format
    -j, --dump-json                      Simulate, quiet but print JSON information. See the "OUTPUT TEMPLATE" for a description of
                                         available keys.
    -J, --dump-single-json               Simulate, quiet but print JSON information for each command-line argument. If the URL refers to a
                                         playlist, dump the whole playlist information in a single line.
    --print-json                         Be quiet and print the video information as JSON (video is still being downloaded).
    --newline                            Output progress bar as new lines
    --no-progress                        Do not print progress bar
    --console-title                      Display progress in console titlebar
    -v, --verbose                        Print various debugging information
    --dump-pages                         Print downloaded pages encoded using base64 to debug problems (very verbose)
    --write-pages                        Write downloaded intermediary pages to files in the current directory to debug problems
    --print-traffic                      Display sent and read HTTP traffic
    -C, --call-home                      Contact the youtube-dl server for debugging
    --no-call-home                       Do NOT contact the youtube-dl server for debugging

  Workarounds:
    --encoding ENCODING                  Force the specified encoding (experimental)
    --no-check-certificate               Suppress HTTPS certificate validation
    --prefer-insecure                    Use an unencrypted connection to retrieve information about the video. (Currently supported only
                                         for YouTube)
    --user-agent UA                      Specify a custom user agent
    --referer URL                        Specify a custom referer, use if the video access is restricted to one domain
    --add-header FIELD:VALUE             Specify a custom HTTP header and its value, separated by a colon ':'. You can use this option
                                         multiple times
    --bidi-workaround                    Work around terminals that lack bidirectional text support. Requires bidiv or fribidi executable
                                         in PATH
    --sleep-interval SECONDS             Number of seconds to sleep before each download when used alone or a lower bound of a range for
                                         randomized sleep before each download (minimum possible number of seconds to sleep) when used
                                         along with --max-sleep-interval.
    --max-sleep-interval SECONDS         Upper bound of a range for randomized sleep before each download (maximum possible number of
                                         seconds to sleep). Must only be used along with --min-sleep-interval.

  Video Format Options:
    -f, --format FORMAT                  Video format code, see the "FORMAT SELECTION" for all the info
    --all-formats                        Download all available video formats
    --prefer-free-formats                Prefer free video formats unless a specific one is requested
    -F, --list-formats                   List all available formats of requested videos
    --youtube-skip-dash-manifest         Do not download the DASH manifests and related data on YouTube videos
    --merge-output-format FORMAT         If a merge is required (e.g. bestvideo+bestaudio), output to given container format. One of mkv,
                                         mp4, ogg, webm, flv. Ignored if no merge is required

  Subtitle Options:
    --write-sub                          Write subtitle file
    --write-auto-sub                     Write automatically generated subtitle file (YouTube only)
    --all-subs                           Download all the available subtitles of the video
    --list-subs                          List all available subtitles for the video
    --sub-format FORMAT                  Subtitle format, accepts formats preference, for example: "srt" or "ass/srt/best"
    --sub-lang LANGS                     Languages of the subtitles to download (optional) separated by commas, use --list-subs for
                                         available language tags

  Authentication Options:
    -u, --username USERNAME              Login with this account ID
    -p, --password PASSWORD              Account password. If this option is left out, youtube-dl will ask interactively.
    -2, --twofactor TWOFACTOR            Two-factor authentication code
    -n, --netrc                          Use .netrc authentication data
    --video-password PASSWORD            Video password (vimeo, youku)

  Adobe Pass Options:
    --ap-mso MSO                         Adobe Pass multiple-system operator (TV provider) identifier, use --ap-list-mso for a list of
                                         available MSOs
    --ap-username USERNAME               Multiple-system operator account login
    --ap-password PASSWORD               Multiple-system operator account password. If this option is left out, youtube-dl will ask
                                         interactively.
    --ap-list-mso                        List all supported multiple-system operators

  Post-processing Options:
    -x, --extract-audio                  Convert video files to audio-only files (requires ffmpeg/avconv and ffprobe/avprobe)
    --audio-format FORMAT                Specify audio format: "best", "aac", "flac", "mp3", "m4a", "opus", "vorbis", or "wav"; "best" by
                                         default; No effect without -x
    --audio-quality QUALITY              Specify ffmpeg/avconv audio quality, insert a value between 0 (better) and 9 (worse) for VBR or a
                                         specific bitrate like 128K (default 5)
    --recode-video FORMAT                Encode the video to another format if necessary (currently supported: mp4|flv|ogg|webm|mkv|avi)
    --postprocessor-args ARGS            Give these arguments to the postprocessor
    -k, --keep-video                     Keep the video file on disk after the post-processing; the video is erased by default
    --no-post-overwrites                 Do not overwrite post-processed files; the post-processed files are overwritten by default
    --embed-subs                         Embed subtitles in the video (only for mp4, webm and mkv videos)
    --embed-thumbnail                    Embed thumbnail in the audio as cover art
    --add-metadata                       Write metadata to the video file
    --metadata-from-title FORMAT         Parse additional metadata like song title / artist from the video title. The format syntax is the
                                         same as --output. Regular expression with named capture groups may also be used. The parsed
                                         parameters replace existing values. Example: --metadata-from-title "%(artist)s - %(title)s"
                                         matches a title like "Coldplay - Paradise". Example (regex): --metadata-from-title
                                         "(?P.+?) - (?P.+)"</span>
    --xattrs                             Write metadata to the video <span class="token function">file</span><span class="token string">'s xattrs (using dublin core and xdg standards)
    --fixup POLICY                       Automatically correct known faults of the file. One of never (do nothing), warn (only emit a
                                         warning), detect_or_warn (the default; fix file if we can, warn otherwise)
    --prefer-avconv                      Prefer avconv over ffmpeg for running the postprocessors
    --prefer-ffmpeg                      Prefer ffmpeg over avconv for running the postprocessors (default)
    --ffmpeg-location PATH               Location of the ffmpeg/avconv binary; either the path to the binary or its containing directory.
    --exec CMD                           Execute a command on the file after downloading and post-processing, similar to find'</span>s -exec
                                         syntax. Example: --exec <span class="token string">'adb push {} /sdcard/Music/ && rm {}'</span>
    --convert-subs FORMAT                Convert the subtitles to other <span class="token function">format</span> <span class="token punctuation">(</span>currently supported: srt<span class="token operator">|</span>ass<span class="token operator">|</span>vtt<span class="token operator">|</span>lrc<span class="token punctuation">)</span>
</code></pre> 
  <p>出现以上即为下载安装完成<br> <strong>使用</strong></p> 
  <pre><code class="prism language-bash">//这个是直接下载最优视频
youtube-dl <span class="token punctuation">[</span>url<span class="token punctuation">]</span>

//这里是看该链接的所以可以下载的列表
youtube-dl -F <span class="token punctuation">[</span>url<span class="token punctuation">]</span>

//这个的话可以下载想要的音频和视频(不然没声音)这里不得不说utub的技术很牛逼,还分开的!!
youtube-dl -f video<span class="token punctuation">(</span>序号<span class="token punctuation">)</span>+audio<span class="token punctuation">(</span>序号) <span class="token punctuation">[</span>url<span class="token punctuation">]</span>

//还有加自己的下载位置的,默认在用户的目录下。可以配合上一个的一起用
youtube-dl -o 目录 <span class="token punctuation">[</span>url<span class="token punctuation">]</span>

//如果觉得慢的就自己看proxy端口来添加proxy
youtube-dl --proxy socks5://127.0.0.1:port <span class="token punctuation">[</span>url<span class="token punctuation">]</span>

//最后是一起用的效果
youtube-dl --proxy socks5://127.0.0.1:port -o 目录 -f video<span class="token punctuation">(</span>序号<span class="token punctuation">)</span>+audio<span class="token punctuation">(</span>序号)<span class="token punctuation">[</span>url<span class="token punctuation">]</span>
</code></pre> 
  <p></p> 
  <div class="toc"> 
   <h3>FFmpeg</h3> 
   <br> 下载地址 
  </div> 
  <p></p> 
  <pre><code class="prism language-bash">http://ffmpeg.org/download.html<span class="token comment">#build-windows</span>
</code></pre> 
  <p><a href="http://img.e-com-net.com/image/info8/7771fe8762614511a93ac8a7713e5000.jpg" target="_blank"><img src="http://img.e-com-net.com/image/info8/7771fe8762614511a93ac8a7713e5000.jpg" alt="Windows下的YouTube-dl与FFmpeg下载安装配置_第2张图片" width="650" height="324" style="border:1px solid black;"></a><br> <strong>Windows builds from gyan.dev</strong><br> <a href="http://img.e-com-net.com/image/info8/753d6b588cd54f6eaa6ce0a7279e24a2.jpg" target="_blank"><img src="http://img.e-com-net.com/image/info8/753d6b588cd54f6eaa6ce0a7279e24a2.jpg" alt="Windows下的YouTube-dl与FFmpeg下载安装配置_第3张图片" width="650" height="240" style="border:1px solid black;"></a></p> 
  <p><strong>ffmpeg-git-full.7z</strong><br> 下载后解压到你指定文件夹下<br> 如:D:\ffmpeg<br> 打开环境变量配置<br> 此电脑-属性-高级系统设置-环境变量<br> 选择上面框中的path,选中后编辑-新建,将ffmpeg中的路径添加进去<br> 如:D:\ffmpeg\bin<br> 里面指向的是ffmpeg.exe ffplay.exe ffprobe.exe三个文件<br> 然后确定退出<br> 打开WIN+R,cmd输入ffmpeg -version</p> 
  <pre><code class="prism language-bash">C:\Users\Administrator<span class="token operator">></span>ffmpeg -version
ffmpeg version 2022-03-07-git-e645a1ddb9-full_build-www.gyan.dev Copyright <span class="token punctuation">(</span>c<span class="token punctuation">)</span> 2000-2022 the FFmpeg developers
built with gcc 11.2.0 <span class="token punctuation">(</span>Rev7, Built by MSYS2 project<span class="token punctuation">)</span>
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil      57. 22.100 / 57. 22.100
libavcodec     59. 22.100 / 59. 22.100
libavformat    59. 17.103 / 59. 17.103
libavdevice    59.  5.100 / 59.  5.100
libavfilter     8. 27.100 /  8. 27.100
libswscale      6.  5.100 /  6.  5.100
libswresample   4.  4.100 /  4.  4.100
libpostproc    56.  4.100 / 56.  4.100
</code></pre> 
  <p>则安装配置完成</p> 
  <pre><code class="prism language-powershell">ffmpeg <span class="token operator">-</span>i video<span class="token punctuation">.</span>avi <span class="token operator">/</span><span class="token operator">/</span>查看本地的视频信息
 
ffmpeg <span class="token operator">-</span>i http:<span class="token operator">/</span><span class="token operator">/</span>static<span class="token punctuation">.</span>tripbe<span class="token punctuation">.</span>com<span class="token operator">/</span>videofiles<span class="token operator">/</span>20121214<span class="token operator">/</span>9533522808<span class="token punctuation">.</span>f4v<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>查看远程http视频信息

ffmpeg <span class="token operator">-</span>i input_file <span class="token operator">-</span>vcodec <span class="token function">copy</span> <span class="token operator">-</span>an output_file_video  <span class="token operator">/</span><span class="token operator">/</span>分离视频流
 
ffmpeg <span class="token operator">-</span>i input_file <span class="token operator">-</span>acodec <span class="token function">copy</span> <span class="token operator">-</span>vn output_file_audio  <span class="token operator">/</span><span class="token operator">/</span>分离音频流
 
ffmpeg <span class="token operator">-</span>i input<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>an output<span class="token punctuation">.</span>mp4             <span class="token operator">/</span><span class="token operator">/</span>去掉视频中的音频
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>avi <span class="token operator">-</span>vcodec <span class="token function">copy</span> <span class="token operator">-</span>an output<span class="token punctuation">.</span>avi <span class="token operator">/</span><span class="token operator">/</span>去掉视频中的音频

ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>ts <span class="token operator">-</span>acodec <span class="token function">copy</span> <span class="token operator">-</span>vcodec <span class="token function">copy</span> <span class="token operator">-</span>f mp4 output<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>ts视频流转mp4
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>h264 <span class="token operator">-</span>vcodec <span class="token function">copy</span> <span class="token operator">-</span>f mpegts output<span class="token punctuation">.</span>ts/<span class="token operator">/</span>h264视频转ts视频流
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>h264 <span class="token operator">-</span>vcodec <span class="token function">copy</span> <span class="token operator">-</span>f mp4 output<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>h264视频转mp4
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>b:v 640k output<span class="token punctuation">.</span>flv <span class="token operator">/</span><span class="token operator">/</span>mp4转flv
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>acodec <span class="token function">copy</span> <span class="token operator">-</span>vcodec <span class="token function">copy</span> <span class="token operator">-</span>f flv output<span class="token punctuation">.</span>flv <span class="token operator">/</span><span class="token operator">/</span>mp4转flv
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>flv <span class="token operator">-</span>b:v 640k output<span class="token punctuation">.</span>mp4 <span class="token operator">/</span><span class="token operator">/</span>flv转mp4
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>s 176x144 <span class="token operator">-</span>vcodec h263 <span class="token operator">-</span>r 25 <span class="token operator">-</span>b 12200 <span class="token operator">-</span>ab 12200 <span class="token operator">-</span><span class="token function">ac</span> 1 <span class="token operator">-</span>ar 8000 output<span class="token punctuation">.</span>3gp <span class="token operator">/</span><span class="token operator">/</span>mp4转3gp
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>avi <span class="token operator">-</span>s aqif <span class="token operator">-</span>vcodec <span class="token operator">-</span>acodec mp3 <span class="token operator">-</span><span class="token function">ac</span> 1 <span class="token operator">-</span>ar 8000 <span class="token operator">-</span>r 25 <span class="token operator">-</span>ab 32 <span class="token operator">-</span>y output<span class="token punctuation">.</span>3gp <span class="token operator">/</span><span class="token operator">/</span>avi转3gp
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>3gp <span class="token operator">-</span>f avi <span class="token operator">-</span>vcodec xvid <span class="token operator">-</span>acodec mp3 <span class="token operator">-</span>ar 22050 output<span class="token punctuation">.</span>avi <span class="token operator">/</span><span class="token operator">/</span>3gp转flv
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>flv <span class="token operator">-</span>s 176x144 <span class="token operator">-</span>vcodec h263 <span class="token operator">-</span>r 25 <span class="token operator">-</span>b 200 <span class="token operator">-</span>ab 64 <span class="token operator">-</span>acodec mp3 <span class="token operator">-</span><span class="token function">ac</span> 1 <span class="token operator">-</span>ar 8000 output<span class="token punctuation">.</span>3gp <span class="token operator">/</span><span class="token operator">/</span>flv转3gp
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>mp4 output<span class="token punctuation">.</span>avi <span class="token operator">/</span><span class="token operator">/</span>mp4转avi
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>flv <span class="token operator">-</span>vcodec h264 <span class="token operator">-</span>r 25 <span class="token operator">-</span>b 200 <span class="token operator">-</span>ab 128 <span class="token operator">-</span>acodec mp3 <span class="token operator">-</span><span class="token function">ac</span> 2 <span class="token operator">-</span>ar 44100 output<span class="token punctuation">.</span>mp4 <span class="token operator">/</span><span class="token operator">/</span>flv转mp4
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>c:v libx264 <span class="token operator">-</span>ar 22050 <span class="token operator">-</span>crf 28 output<span class="token punctuation">.</span>flv <span class="token operator">/</span><span class="token operator">/</span>mp4转flv
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>avi <span class="token operator">-</span>c <span class="token function">copy</span> <span class="token operator">-</span>map 0 output<span class="token punctuation">.</span>mp4 <span class="token operator">/</span><span class="token operator">/</span>avi转mp4
 
ffmpeg <span class="token operator">-</span>i  http:<span class="token operator">/</span><span class="token operator">/</span>vfile1<span class="token punctuation">.</span>grtn<span class="token punctuation">.</span>cn<span class="token operator">/</span>2018<span class="token operator">/</span>1542<span class="token operator">/</span>0254<span class="token operator">/</span>3368<span class="token operator">/</span>154202543368<span class="token punctuation">.</span>ssm<span class="token operator">/</span>154202543368<span class="token punctuation">.</span>m3u8 <span class="token operator">-</span>c <span class="token function">copy</span> <span class="token operator">-</span>bsf:a aac_adtstoasc <span class="token operator">-</span>movflags <span class="token operator">+</span>faststart test<span class="token punctuation">.</span>mp4 <span class="token operator">/</span><span class="token operator">/</span>m3u8转mp4
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>mkv <span class="token operator">-</span>y <span class="token operator">-</span>vcodec <span class="token function">copy</span> <span class="token operator">-</span>acodec <span class="token function">copy</span> output<span class="token punctuation">.</span>mp4 <span class="token operator">/</span><span class="token operator">/</span>mkv转mp4
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>mkv <span class="token operator">-</span>vcodec <span class="token function">copy</span> <span class="token operator">-</span>acodec <span class="token function">copy</span> output<span class="token punctuation">.</span>avi  <span class="token operator">/</span><span class="token operator">/</span>mkv转avi

ffmpeg –i test<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>y <span class="token operator">-</span>f image2 <span class="token operator">-</span>ss 8 <span class="token operator">-</span>t 0<span class="token punctuation">.</span>001 <span class="token operator">-</span>s 350x240 testImage<span class="token punctuation">.</span>jpg <span class="token operator">/</span><span class="token operator">/</span>截取指定时间的缩略图,<span class="token operator">-</span>ss后跟的时间单位是秒
 
ffmpeg <span class="token operator">-</span>i input<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>vf <span class="token string">"movie=logo.png [logo]; [in][logo] overlay=10:10:1 [out]"</span> output<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>添加图片水印
 
ffmpeg <span class="token operator">-</span>i input<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>i logo<span class="token punctuation">.</span>png <span class="token operator">-</span>filter_complex overlay test1<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>添加图片水印
 
ffmpeg –i input<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>acodec <span class="token function">copy</span><span class="token operator">-</span>vcodec <span class="token function">copy</span> <span class="token operator">-</span>vf <span class="token string">"movie=test.png[watermark];[in][watermark]overlay=10:10:1[out]"</span> output<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>添加图片水印
 
ffmpeg <span class="token operator">-</span>y <span class="token operator">-</span>i test2<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>ignore_loop 0 <span class="token operator">-</span>i test<span class="token punctuation">.</span>gif <span class="token operator">-</span>filter_complex overlay=0:H<span class="token operator">-</span>h test_out2<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>添加GIF
 
ffmpeg <span class="token operator">-</span>i input<span class="token punctuation">.</span>flv <span class="token operator">-</span>vf <span class="token string">"drawtext=fontfile=simhei.ttf: text='抖音':x=100:y=10:fontsize=24:fontcolor=yellow:shadowy=2"</span> drawtext<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>添加文字水印

ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>metadata:s:v rotate=<span class="token string">"90"</span> <span class="token operator">-</span>codec <span class="token function">copy</span> out<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>旋转90°
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>vf <span class="token string">"transpose=1"</span> out<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>顺时针旋转90°
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>vf <span class="token string">"transpose=2"</span> out<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>逆时针旋转90°
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>vf <span class="token string">"transpose=3"</span> out<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>顺时针旋转90°后再水平翻转
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>vf <span class="token string">"transpose=0"</span> out<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>逆时针旋转90°后再水平翻转
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>vf hflip out<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>水平翻转视频画面
 
ffmpeg <span class="token operator">-</span>i test<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>vf vflip out<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>垂直翻转视频画面

ffmpeg –i test<span class="token punctuation">.</span>avi –r 1 –f image2 image-<span class="token operator">%</span>3d<span class="token punctuation">.</span>jpeg/<span class="token operator">/</span>提取图片
 
ffmpeg <span class="token operator">-</span>ss 0:1:30 <span class="token operator">-</span>t 0:0:20 <span class="token operator">-</span>i input<span class="token punctuation">.</span>avi <span class="token operator">-</span>vcodec <span class="token function">copy</span> <span class="token operator">-</span>acodec <span class="token function">copy</span> output<span class="token punctuation">.</span>avi    <span class="token operator">/</span>/<span class="token operator">-</span>r 提取图像的频率,<span class="token operator">-</span>ss 开始时间,<span class="token operator">-</span>t 持续时间

ffmpeg <span class="token operator">-</span>ss 10 <span class="token operator">-</span>t 15 <span class="token operator">-</span>i test<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>codec <span class="token function">copy</span> cut<span class="token punctuation">.</span>mp4	<span class="token operator">/</span><span class="token operator">/</span>从10s处开始剪切,持续15秒

ffmpeg<span class="token punctuation">.</span>exe <span class="token operator">-</span>i inputfile<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>filter_complex <span class="token punctuation">[</span>0:v<span class="token punctuation">]</span>reverse<span class="token namespace">[v]</span> <span class="token operator">-</span>map <span class="token namespace">[v]</span> <span class="token operator">-</span>preset superfast reversed<span class="token punctuation">.</span>mp4 <span class="token operator">/</span><span class="token operator">/</span>视频倒放,无音频
 
ffmpeg<span class="token punctuation">.</span>exe <span class="token operator">-</span>i inputfile<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>vf reverse reversed<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>视频倒放,音频不变
 
ffmpeg<span class="token punctuation">.</span>exe <span class="token operator">-</span>i inputfile<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>map 0 <span class="token operator">-</span>c:v <span class="token function">copy</span> <span class="token operator">-</span>af <span class="token string">"areverse"</span> reversed_audio<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>音频倒放,视频不变
 
ffmpeg<span class="token punctuation">.</span>exe <span class="token operator">-</span>i inputfile<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>vf reverse <span class="token operator">-</span>af areverse <span class="token operator">-</span>preset superfast reversed<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>音视频同时倒放
 
ffmpeg <span class="token operator">-</span>i inputfile<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>vf setpts=PTS<span class="token operator">/</span>2 <span class="token operator">-</span>af atempo=2 output<span class="token punctuation">.</span>mp4/<span class="token operator">/</span>视频加速,帧速率变为2倍,调整倍速范围【0<span class="token punctuation">.</span>25,4】
 
ffmpeg <span class="token operator">-</span>i input<span class="token punctuation">.</span>mkv <span class="token operator">-</span>an <span class="token operator">-</span><span class="token keyword">filter</span>:v <span class="token string">"setpts=0.5*PTS"</span> output<span class="token punctuation">.</span>mkv/<span class="token operator">/</span>视频减速播放

ffmpeg <span class="token operator">-</span>i 1<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>qscale 4 1<span class="token punctuation">.</span>mpg 
 
ffmpeg <span class="token operator">-</span>i 2<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>qscale 4 2<span class="token punctuation">.</span>mpg 
 
<span class="token function">cat</span> 1<span class="token punctuation">.</span>mpg 2<span class="token punctuation">.</span>mpg <span class="token punctuation">|</span> ffmpeg <span class="token operator">-</span>f mpeg <span class="token operator">-</span>i <span class="token operator">-</span> <span class="token operator">-</span>qscale 6 <span class="token operator">-</span>vcodec mpeg4 output<span class="token punctuation">.</span>mp4

ffmpeg <span class="token operator">-</span>i 1<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>vcodec <span class="token function">copy</span> <span class="token operator">-</span>acodec <span class="token function">copy</span> <span class="token operator">-</span>vbsf h264_mp4toannexb 1<span class="token punctuation">.</span>ts  
 
ffmpeg <span class="token operator">-</span>i 2<span class="token punctuation">.</span>mp4 <span class="token operator">-</span>vcodec <span class="token function">copy</span> <span class="token operator">-</span>acodec <span class="token function">copy</span> <span class="token operator">-</span>vbsf h264_mp4toannexb 2<span class="token punctuation">.</span>ts
 
ffmpeg <span class="token operator">-</span>i <span class="token string">"concat:1.ts|2.ts"</span> <span class="token operator">-</span>acodec <span class="token function">copy</span> <span class="token operator">-</span>vcodec <span class="token function">copy</span> <span class="token operator">-</span>absf aac_adtstoasc output<span class="token punctuation">.</span>mp4

</code></pre> 
  <pre><code class="prism language-powershell">fmpeg <span class="token operator">-</span>i a<span class="token punctuation">.</span>wav  <span class="token operator">-</span>i a<span class="token punctuation">.</span>avi out<span class="token punctuation">.</span>avi 
若音频比视频长,画面停留在最后一帧,继续播放声音
</code></pre> 
 </div> 
</div>
                            </div>
                        </div>
                    </div>
                    <!--PC和WAP自适应版-->
                    <div id="SOHUCS" sid="1666915168099065856"></div>
                    <script type="text/javascript" src="/views/front/js/chanyan.js"></script>
                    <!-- 文章页-底部 动态广告位 -->
                    <div class="youdao-fixed-ad" id="detail_ad_bottom"></div>
                </div>
                <div class="col-md-3">
                    <div class="row" id="ad">
                        <!-- 文章页-右侧1 动态广告位 -->
                        <div id="right-1" class="col-lg-12 col-md-12 col-sm-4 col-xs-4 ad">
                            <div class="youdao-fixed-ad" id="detail_ad_1"> </div>
                        </div>
                        <!-- 文章页-右侧2 动态广告位 -->
                        <div id="right-2" class="col-lg-12 col-md-12 col-sm-4 col-xs-4 ad">
                            <div class="youdao-fixed-ad" id="detail_ad_2"></div>
                        </div>
                        <!-- 文章页-右侧3 动态广告位 -->
                        <div id="right-3" class="col-lg-12 col-md-12 col-sm-4 col-xs-4 ad">
                            <div class="youdao-fixed-ad" id="detail_ad_3"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="container">
        <h4 class="pt20 mb15 mt0 border-top">你可能感兴趣的:(windows,ffmpeg)</h4>
        <div id="paradigm-article-related">
            <div class="recommend-post mb30">
                <ul class="widget-links">
                    <li><a href="/article/1835504596898902016.htm"
                           title="linux sdl windows.h,Windows下的SDL安装" target="_blank">linux sdl windows.h,Windows下的SDL安装</a>
                        <span class="text-muted">奔跑吧linux内核</span>
<a class="tag" taget="_blank" href="/search/linux/1.htm">linux</a><a class="tag" taget="_blank" href="/search/sdl/1.htm">sdl</a><a class="tag" taget="_blank" href="/search/windows.h/1.htm">windows.h</a>
                        <div>首先你要下载并安装SDL开发包。如果装在C盘下,路径为C:\SDL1.2.5如果在WINDOWS下。你可以按以下步骤:1.打开VC++,点击"Tools",Options2,点击directories选项3.选择"Includefiles"增加一个新的路径。"C:\SDL1.2.5\include"4,现在选择"Libaryfiles“增加"C:\SDL1.2.5\lib"现在你可以开始编写你的第</div>
                    </li>
                    <li><a href="/article/1835502704827396096.htm"
                           title="将cmd中命令输出保存为txt文本文件" target="_blank">将cmd中命令输出保存为txt文本文件</a>
                        <span class="text-muted">落难Coder</span>
<a class="tag" taget="_blank" href="/search/Windows/1.htm">Windows</a><a class="tag" taget="_blank" href="/search/cmd/1.htm">cmd</a><a class="tag" taget="_blank" href="/search/window/1.htm">window</a>
                        <div>最近深度学习本地的训练中我们常常要在命令行中运行自己的代码,无可厚非,我们有必要保存我们的炼丹结果,但是复制命令行输出到txt是非常麻烦的,其实Windows下的命令行为我们提供了相应的操作。其基本的调用格式就是:运行指令>输出到的文件名称或者具体保存路径测试下,我打开cmd并且ping一下百度:pingwww.baidu.com>./data.txt看下相同目录下data.txt的输出:如果你再</div>
                    </li>
                    <li><a href="/article/1835502578050363392.htm"
                           title="PHP环境搭建详细教程" target="_blank">PHP环境搭建详细教程</a>
                        <span class="text-muted">好看资源平台</span>
<a class="tag" taget="_blank" href="/search/%E5%89%8D%E7%AB%AF/1.htm">前端</a><a class="tag" taget="_blank" href="/search/php/1.htm">php</a>
                        <div>PHP是一个流行的服务器端脚本语言,广泛用于Web开发。为了使PHP能够在本地或服务器上运行,我们需要搭建一个合适的PHP环境。本教程将结合最新资料,介绍在不同操作系统上搭建PHP开发环境的多种方法,包括Windows、macOS和Linux系统的安装步骤,以及本地和Docker环境的配置。1.PHP环境搭建概述PHP环境的搭建主要分为以下几类:集成开发环境:例如XAMPP、WAMP、MAMP,这</div>
                    </li>
                    <li><a href="/article/1835491859351302144.htm"
                           title="Python 实现图片裁剪(附代码) | Python工具" target="_blank">Python 实现图片裁剪(附代码) | Python工具</a>
                        <span class="text-muted">剑客阿良_ALiang</span>

                        <div>前言本文提供将图片按照自定义尺寸进行裁剪的工具方法,一如既往的实用主义。环境依赖ffmpeg环境安装,可以参考我的另一篇文章:windowsffmpeg安装部署_阿良的博客-CSDN博客本文主要使用到的不是ffmpeg,而是ffprobe也在上面这篇文章中的zip包中。ffmpy安装:pipinstallffmpy-ihttps://pypi.douban.com/simple代码不废话了,上代码</div>
                    </li>
                    <li><a href="/article/1835440421300432896.htm"
                           title="2023最详细的Python安装教程(Windows版本)" target="_blank">2023最详细的Python安装教程(Windows版本)</a>
                        <span class="text-muted">程序员林哥</span>
<a class="tag" taget="_blank" href="/search/Python/1.htm">Python</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/windows/1.htm">windows</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a>
                        <div>python安装是学习pyhon第一步,很多刚入门小白不清楚如何安装python,今天我来带大家完成python安装与配置,跟着我一步步来,很简单,你肯定能完成。第一部分:python安装(一)准备工作1、下载和安装python(认准官方网站)当然你不想去下载的话也可以分享给你,还有入门学习教程,点击下方卡片跳转进群领取(二)开始安装对于Windows操作系统,可以下载“executableins</div>
                    </li>
                    <li><a href="/article/1835425043241332736.htm"
                           title="windows下python opencv ffmpeg读取摄像头实现rtsp推流 拉流" target="_blank">windows下python opencv ffmpeg读取摄像头实现rtsp推流 拉流</a>
                        <span class="text-muted">图像处理大大大大大牛啊</span>
<a class="tag" taget="_blank" href="/search/opencv%E5%AE%9E%E6%88%98%E4%BB%A3%E7%A0%81%E8%AE%B2%E8%A7%A3/1.htm">opencv实战代码讲解</a><a class="tag" taget="_blank" href="/search/%E8%A7%86%E8%A7%89%E5%9B%BE%E5%83%8F%E9%A1%B9%E7%9B%AE/1.htm">视觉图像项目</a><a class="tag" taget="_blank" href="/search/windows/1.htm">windows</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/opencv/1.htm">opencv</a>
                        <div>windows下pythonopencvffmpeg读取摄像头实现rtsp推流拉流整体流程1.下载所需文件1.1下载rtsp推流服务器1.2下载ffmpeg2.开启RTSP服务器3.opencv读取摄像头并调用ffmpeg进行推流4.opencv进行拉流5.opencv异步拉流整体流程1.下载所需文件1.1下载rtsp推流服务器下载RTSP服务器下载页面https://github.com/blu</div>
                    </li>
                    <li><a href="/article/1835422140325785600.htm"
                           title="pyhon+ffmpeg 常用音视频处理命令" target="_blank">pyhon+ffmpeg 常用音视频处理命令</a>
                        <span class="text-muted">不再游移</span>
<a class="tag" taget="_blank" href="/search/ffmpeg/1.htm">ffmpeg</a><a class="tag" taget="_blank" href="/search/%E9%9F%B3%E8%A7%86%E9%A2%91/1.htm">音视频</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a>
                        <div>FFmpeg是多媒体领域的万能工具。只要涉及音视频领域的处理,基本上没有它做不了的事情!通俗点讲,从视频录制、视频编辑再到播放,它都能做!前段时间做了个短视频自动化脚本项目,需要自动处理音视频(包括一些合成、拼接、转场、调色等等),当时做的时候找各种命令还是很痛苦的,因此对用到的所有处理命令做了个汇总,方便以后使用。目录一、获取音频时长二、获取视频信息三、获取视频时长四、多个视频合并五、视频提取视</div>
                    </li>
                    <li><a href="/article/1835379536594825216.htm"
                           title="bat+ffmpeg批处理图片,图片批量转码" target="_blank">bat+ffmpeg批处理图片,图片批量转码</a>
                        <span class="text-muted">张雨zy</span>
<a class="tag" taget="_blank" href="/search/%E9%9F%B3%E8%A7%86%E9%A2%91/1.htm">音视频</a><a class="tag" taget="_blank" href="/search/ffmpeg/1.htm">ffmpeg</a>
                        <div>直接在cmd中输入//批量转码文件for%ain("*.png")doffmpeg-i"%a"-fs1024k"%~na.webp"//删除所有pngdel*.png@echooff表示执行了这条命令后关闭所有命令(包括本身这条命令)的回显。而echooff命令则表示关闭其他所有命令(不包括本身这条命令)的回显,@的作用就是关闭紧跟其后的一条命令的回显脚本完整代码写入脚本中后,需要多加一个%,例如</div>
                    </li>
                    <li><a href="/article/1835378522626027520.htm"
                           title="ffmpeg批量将tif文件转成jpeg格式" target="_blank">ffmpeg批量将tif文件转成jpeg格式</a>
                        <span class="text-muted">winfredzhang</span>
<a class="tag" taget="_blank" href="/search/%E5%9B%BE%E5%83%8F%E5%B7%A5%E5%85%B7/1.htm">图像工具</a><a class="tag" taget="_blank" href="/search/ffmpeg/1.htm">ffmpeg</a><a class="tag" taget="_blank" href="/search/tif/1.htm">tif</a><a class="tag" taget="_blank" href="/search/jpeg/1.htm">jpeg</a><a class="tag" taget="_blank" href="/search/%E8%BD%AC%E6%8D%A2/1.htm">转换</a>
                        <div>1、cmd2、切换到安装ffmpeg的路径。3、输入命令:ffmpeg-start_number001-i"D:\ocr\%03d.tif"-start_number001-pix_fmtyuv420p-qscale:v1"D:\ocr\%03d.jpg"结果。</div>
                    </li>
                    <li><a href="/article/1835361883645898752.htm"
                           title="编译Windows平台的Nginx+ngx_http_proxy_connect_module" target="_blank">编译Windows平台的Nginx+ngx_http_proxy_connect_module</a>
                        <span class="text-muted">Grovvy_Deng</span>
<a class="tag" taget="_blank" href="/search/windows/1.htm">windows</a><a class="tag" taget="_blank" href="/search/nginx/1.htm">nginx</a><a class="tag" taget="_blank" href="/search/http/1.htm">http</a>
                        <div>编译Windows平台的Nginx+ngx_http_proxy_connect_module背景:由于公司的正向出局代理是windows机器。机器上的Squid不稳定,打算替换成nginx+ngx_http_proxy_connect_module实现。通过几天痛苦的尝试,最后参考了github大神项目通过在线CICD工具编译window平台可用的ng。步骤:获取git可识别的patch由于CI</div>
                    </li>
                    <li><a href="/article/1835358230465835008.htm"
                           title="关闭Windows自动更新的6种方法" target="_blank">关闭Windows自动更新的6种方法</a>
                        <span class="text-muted">Gemini1995</span>
<a class="tag" taget="_blank" href="/search/windows/1.htm">windows</a>
                        <div>在Windows操作系统中,可以使用多种方法来关闭自动更新。以下是其中一些常用的方法:使用设置应用:打开“设置”应用(Win+I),选择“更新和安全”。在左侧菜单中选择“Windows更新”。点击“更改活动时间”或“高级选项”。在“更新选项”下拉菜单中选择“通知我但不自动下载或安装”或“从不检查更新”。通过服务管理器:打开“服务”管理器,可以通过在运行对话框中输入services.msc来打开。找</div>
                    </li>
                    <li><a href="/article/1835353690366636032.htm"
                           title="【nginx】ngx_http_proxy_connect_module 正向代理" target="_blank">【nginx】ngx_http_proxy_connect_module 正向代理</a>
                        <span class="text-muted">等风来不如迎风去</span>
<a class="tag" taget="_blank" href="/search/%E7%BD%91%E7%BB%9C%E6%9C%8D%E5%8A%A1%E5%85%A5%E9%97%A8%E4%B8%8E%E5%AE%9E%E6%88%98/1.htm">网络服务入门与实战</a><a class="tag" taget="_blank" href="/search/nginx/1.htm">nginx</a><a class="tag" taget="_blank" href="/search/http/1.htm">http</a><a class="tag" taget="_blank" href="/search/%E8%BF%90%E7%BB%B4/1.htm">运维</a>
                        <div>50.65无法访问服务器,(403错误)50.196可以访问服务器。那么,配置65通过196访问。需要一个nginx作为代理【nginx】搭配okhttp配置反向代理发送原生的nginx是不支持okhttp的CONNECT请求的。大神竟然给出了一个java工程GINX编译ngx_http_proxy_connect_module及做正向代理是linux构建的。是windows构建的:编译Windo</div>
                    </li>
                    <li><a href="/article/1835344356412846080.htm"
                           title="Windows安装ciphey编码工具,附一道ciscn编码题例" target="_blank">Windows安装ciphey编码工具,附一道ciscn编码题例</a>
                        <span class="text-muted">im-Miclelson</span>
<a class="tag" taget="_blank" href="/search/CTF%E5%B7%A5%E5%85%B7/1.htm">CTF工具</a><a class="tag" taget="_blank" href="/search/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/1.htm">网络安全</a>
                        <div>TA是什么一款智能化的编码分析解码工具,对于CTF中复杂性编码类题目可以快速攻破。编码自动分析解码的神器。如何安装Windows环境Python3.864位(最新的版本不兼容,32位的也不行)PIP直接安装pipinstallciphey-ihttps://pypi.mirrors.ustc.edu.cn/simple/安装后若是出现报错请根据错误代码行数找到对应文件,r修改成rb即可。使用标准语</div>
                    </li>
                    <li><a href="/article/1835335283227324416.htm"
                           title="Python程序打包指南:手把手教你一步步完成" target="_blank">Python程序打包指南:手把手教你一步步完成</a>
                        <span class="text-muted">Python_P叔</span>
<a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E5%BA%93/1.htm">数据库</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a>
                        <div>最近感兴趣想将开发的项目转成Package,研究了一下相关文章,并且自己跑通了,走了一下弯路,这里记录一下如何打包一个简单的Python项目,展示如何添加必要的文件和结构来创建包,如何构建包,以及如何将其上传到Python包索引(PyPI)。首先要确保安装最新版本:#Unix/macOSpython3-mpipinstall--upgradepip#windowspy-mpipinstall--u</div>
                    </li>
                    <li><a href="/article/1835314779552575488.htm"
                           title="管理员权限的软件不能开机自启动的解决方法" target="_blank">管理员权限的软件不能开机自启动的解决方法</a>
                        <span class="text-muted">ss_ctrl</span>

                        <div>这是几种解决方法:1.将启动参数写入到32位注册表里面去在64位系统下我们64位的程序访问此HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run注册表路径,是可以正确访问的,32位程序访问此注册表路径时,默认会被系统自动映射到HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft</div>
                    </li>
                    <li><a href="/article/1835297405591973888.htm"
                           title="matlab游标标注移动,matlab实现图形窗口的数据游标" target="_blank">matlab游标标注移动,matlab实现图形窗口的数据游标</a>
                        <span class="text-muted">莫白想</span>
<a class="tag" taget="_blank" href="/search/matlab%E6%B8%B8%E6%A0%87%E6%A0%87%E6%B3%A8%E7%A7%BB%E5%8A%A8/1.htm">matlab游标标注移动</a>
                        <div>DatacursorsforfigurewindowSeveralrelatedfunctions:CreateCursorsetsupaverticalcursoronallaxesinafigure.Thecursorscanbemovedaroundusingthemouse.MultiplecursorsaresupportedineachfigureGetCursorLocationre</div>
                    </li>
                    <li><a href="/article/1835285434691842048.htm"
                           title="TA-Lib Python 库 Windows 64位安装包" target="_blank">TA-Lib Python 库 Windows 64位安装包</a>
                        <span class="text-muted">黄桥壮Quinn</span>

                        <div>TA-LibPython库Windows64位安装包TA.rar项目地址:https://gitcode.com/open-source-toolkit/3ff39简介本仓库提供了一个适用于Windows64位系统的TA-LibPython库安装包。TA-Lib是一个广泛用于金融技术分析的库,支持多种技术指标的计算。资源文件文件名TA-Lib-0.4.29-cp312-win-amd64.whl描</div>
                    </li>
                    <li><a href="/article/1835257575277424640.htm"
                           title="【Python爬虫】百度百科词条内容" target="_blank">【Python爬虫】百度百科词条内容</a>
                        <span class="text-muted">PokiFighting</span>
<a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E5%A4%84%E7%90%86/1.htm">数据处理</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/%E7%88%AC%E8%99%AB/1.htm">爬虫</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a>
                        <div>词条内容我这里随便选取了一个链接,用的是FBI的词条importurllib.requestimporturllib.parsefromlxmlimportetreedefquery(url):headers={'user-agent':'Mozilla/5.0(WindowsNT6.1;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/80.</div>
                    </li>
                    <li><a href="/article/1835249126091091968.htm"
                           title="如何避免学习linux必然会遇到的几个问题" target="_blank">如何避免学习linux必然会遇到的几个问题</a>
                        <span class="text-muted">twintwin</span>

                        <div>相信在看这篇文章的都是对linux系统所迷的志同道合的人,不管你是刚开始学,还是已经接触过一些linux的知识,下面的问题是你在学习linux所必须遇到的,若是没有的话那我只能说大神我服你了。下面我就作为一个过来人分享下我学习后的经验。一、无法摆脱Windows的思维方式相信大家接触电脑的时候都是从windows开始,windows的思维方式已经根深蒂固。不过现在你已经打算开始学习linux了,就</div>
                    </li>
                    <li><a href="/article/1835245731506647040.htm"
                           title="两种方法判断Python的位数是32位还是64位" target="_blank">两种方法判断Python的位数是32位还是64位</a>
                        <span class="text-muted">sanqima</span>
<a class="tag" taget="_blank" href="/search/Python%E7%BC%96%E7%A8%8B/1.htm">Python编程</a><a class="tag" taget="_blank" href="/search/%E7%94%B5%E8%84%91/1.htm">电脑</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a>
                        <div>  Python从1991年发布以来,凭借其简洁、清晰、易读的语法、丰富的标准库和第三方工具,在Web开发、自动化测试、人工智能、图形识别、机器学习等领域发展迅猛。  Python是一种胶水语言,通过Cython库与C/C++语言进行链接,通过Jython库与Java语言进行链接。  Python是跨平台的,可运行在多种操作系统上,包括但不限于Windows、Linux和macOS。这意味着用Py</div>
                    </li>
                    <li><a href="/article/1835221779694579712.htm"
                           title="使用ffmpeg将pcm格式音频转化为mp3格式音频" target="_blank">使用ffmpeg将pcm格式音频转化为mp3格式音频</a>
                        <span class="text-muted">布丁小站</span>
<a class="tag" taget="_blank" href="/search/ffmpeg/1.htm">ffmpeg</a><a class="tag" taget="_blank" href="/search/pcm/1.htm">pcm</a><a class="tag" taget="_blank" href="/search/%E9%9F%B3%E8%A7%86%E9%A2%91/1.htm">音视频</a>
                        <div>voidAudioCode::ENcode(AVCodecContext*cdc_ctx,AVFrame*frame,AVPacket*pkt){intret=0;/*sendtheframeforencoding*/ret=avcodec_send_frame(cdc_ctx,frame);if(ret=0){ret=avcodec_receive_packet(cdc_ctx,pkt);if(</div>
                    </li>
                    <li><a href="/article/1835192913345212416.htm"
                           title="python logging模块默认日志级别_一看就懂,Python 日志 logging 模块详解及应用" target="_blank">python logging模块默认日志级别_一看就懂,Python 日志 logging 模块详解及应用</a>
                        <span class="text-muted">路易·罗莎</span>
<a class="tag" taget="_blank" href="/search/python/1.htm">python</a><a class="tag" taget="_blank" href="/search/logging%E6%A8%A1%E5%9D%97%E9%BB%98%E8%AE%A4%E6%97%A5%E5%BF%97%E7%BA%A7%E5%88%AB/1.htm">logging模块默认日志级别</a>
                        <div>日志概述百度百科的日志概述:Windows网络操作系统都设计有各种各样的日志文件,如应用程序日志,安全日志、系统日志、Scheduler服务日志、FTP日志、WWW日志、DNS服务器日志等等,这些根据你的系统开启的服务的不同而有所不同。我们在系统上进行一些操作时,这些日志文件通常会记录下我们操作的一些相关内容,这些内容对系统安全工作人员相当有用。比如说有人对系统进行了IPC探测,系统就会在安全日志</div>
                    </li>
                    <li><a href="/article/1835175341849669632.htm"
                           title="《黑神话:悟空》游戏AkExpander.dll文件缺失,使用工具修复更快捷" target="_blank">《黑神话:悟空》游戏AkExpander.dll文件缺失,使用工具修复更快捷</a>
                        <span class="text-muted">李秋秋啊</span>
<a class="tag" taget="_blank" href="/search/%E6%B8%B8%E6%88%8F/1.htm">游戏</a>
                        <div>在Windows操作系统中,当遇到“黑神话:悟空”游戏中的AkExpander.dll文件丢失问题时,用户可能会经历游戏启动失败或运行中断的情况。这个DLL文件是游戏正常运行所必需的,缺失或损坏会导致关键功能无法执行,影响游戏体验。针对《黑神话:悟空》游戏中AkExpander.dll文件缺失的问题,您可以尝试以下几种解决方法:一、重新安装游戏首先,考虑卸载当前安装的游戏版本,并从官方渠道重新下载</div>
                    </li>
                    <li><a href="/article/1835141568131067904.htm"
                           title="MySQL数据库全面学习之(上篇)" target="_blank">MySQL数据库全面学习之(上篇)</a>
                        <span class="text-muted">一心只为学</span>
<a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E5%BA%93/1.htm">数据库</a><a class="tag" taget="_blank" href="/search/mysql/1.htm">mysql</a><a class="tag" taget="_blank" href="/search/%E5%AD%A6%E4%B9%A0/1.htm">学习</a>
                        <div>Windows服务--启动MySQLnetstartmysql--创建Windows服务sccreatemysqlbinPath=mysqld_bin_path(注意:等号与值之间有空格)连接与断开服务器mysql-h地址-P端口-u用户名-p密码SHOWPROCESSLIST--显示哪些线程正在运行SHOWVARIABLES--显示系统变量信息数据库操作--查看当前数据库SELECTDATABA</div>
                    </li>
                    <li><a href="/article/1835137152187461632.htm"
                           title="技术周总结 09.09~09.15周日(C# WinForm WPF)" target="_blank">技术周总结 09.09~09.15周日(C# WinForm WPF)</a>
                        <span class="text-muted">打破砂锅问到底007</span>
<a class="tag" taget="_blank" href="/search/wpf/1.htm">wpf</a><a class="tag" taget="_blank" href="/search/c%23/1.htm">c#</a><a class="tag" taget="_blank" href="/search/WinForm/1.htm">WinForm</a>
                        <div>文章目录一、09.09周一1.1)问题01:Windows桌面开发中,WPF和WinForm的区别和联系?联系:区别:二、09.12周四2.1)问题01:visualstudio的相关快捷键有哪些?通用快捷键编辑导航调试窗口管理2.2)问题02:publicpartialclassChoosePLReason:CommonBaseForm2.3)问题03:介绍WindowsForms中的Syste</div>
                    </li>
                    <li><a href="/article/1835131605165895680.htm"
                           title="xp系统打开计算机硬盘分区,详解WindowsXP硬盘分区步骤" target="_blank">xp系统打开计算机硬盘分区,详解WindowsXP硬盘分区步骤</a>
                        <span class="text-muted">随缘惜情</span>
<a class="tag" taget="_blank" href="/search/xp%E7%B3%BB%E7%BB%9F%E6%89%93%E5%BC%80%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%A1%AC%E7%9B%98%E5%88%86%E5%8C%BA/1.htm">xp系统打开计算机硬盘分区</a>
                        <div>有许多游戏玩家对经典的WinXP系统非常忠实,即使重新购买了一台超强配置的电脑,依然选择安装WinXP系统,因为WinXP对很多老游戏兼容性更强,游戏玩家也对硬盘的分配非常讲究,因为每一款好玩的游戏容量都是非常庞大,而如果硬盘容量太小的话就装不了几款游戏了,所以许多用户喜欢将其它硬盘容量都分配到一个比较大的分区内,若是Win7就可以非常直观的自动分配,而在WinXP系统下该如何实现呢?下面一起来认</div>
                    </li>
                    <li><a href="/article/1835123776463925248.htm"
                           title="什么是 PHP? 为什么用 PHP? 谁在用 PHP?" target="_blank">什么是 PHP? 为什么用 PHP? 谁在用 PHP?</a>
                        <span class="text-muted">m0_37438181</span>
<a class="tag" taget="_blank" href="/search/%E6%B0%B8%E8%BF%9C%E5%AD%A6%E4%B9%A0/1.htm">永远学习</a><a class="tag" taget="_blank" href="/search/php/1.htm">php</a><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a>
                        <div>一、什么是PHP?PHP(HypertextPreprocessor,超文本预处理器)是一种广泛应用于Web开发的通用开源脚本语言。PHP主要用于服务器端编程,可以嵌入HTML中,与数据库进行交互,生成动态网页内容。它具有以下特点:简单易学:语法相对简单,容易上手,对于初学者来说是一个不错的选择。跨平台性:可以在多种操作系统上运行,如Windows、Linux、Unix等。丰富的函数库:提供了大量</div>
                    </li>
                    <li><a href="/article/1835122011819569152.htm"
                           title="Windows多版本python共存" target="_blank">Windows多版本python共存</a>
                        <span class="text-muted">翟光</span>
<a class="tag" taget="_blank" href="/search/Python/1.htm">Python</a><a class="tag" taget="_blank" href="/search/Python/1.htm">Python</a>
                        <div>1.简介Python自从进入3.x版本后,与2.x的版本发生了许多变化,3.x对2.x也不兼容。在实际应用中,可能会2.x和3.x的版本交叉应用,因此,需要在本地安装多个版本的Python。本处介绍一种在Windows系统下安装多个不同版本的python的方法,安装后无需进行任何特殊的处理(例如将python.exe更名为python2.exe什么的)即可使用。2.安装环境本人的安装环境如下:系统</div>
                    </li>
                    <li><a href="/article/1835108779365068800.htm"
                           title="gs3101光猫改桥接及路由器pppie拨号设置" target="_blank">gs3101光猫改桥接及路由器pppie拨号设置</a>
                        <span class="text-muted">xing2zhe3wujiang1</span>
<a class="tag" taget="_blank" href="/search/%E8%B7%AF%E7%94%B1%E5%99%A8/1.htm">路由器</a><a class="tag" taget="_blank" href="/search/%E7%BD%91%E7%BB%9C/1.htm">网络</a>
                        <div>1)改桥接1连接光猫发出的WiFi,并访问192.168.1.1输入光猫背面提供的账号密码,保持登录。2打开新页面并访问192.168.1.1/cgi-bin/getGateWay.cgiFamilyGateWayYes/No#如果第二行显示No,再次刷新浏览器就可以了3在控制面板-程序和功能-启动或关闭Windows功能选中Telnet4输入telnet192.168.1.1tclogin:ad</div>
                    </li>
                    <li><a href="/article/1835103991080513536.htm"
                           title="操作系统简介" target="_blank">操作系统简介</a>
                        <span class="text-muted">像风一样自由2020</span>
<a class="tag" taget="_blank" href="/search/%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/1.htm">操作系统</a><a class="tag" taget="_blank" href="/search/linux/1.htm">linux</a><a class="tag" taget="_blank" href="/search/ubuntu/1.htm">ubuntu</a><a class="tag" taget="_blank" href="/search/windows/1.htm">windows</a><a class="tag" taget="_blank" href="/search/harmonyos/1.htm">harmonyos</a>
                        <div>操作系统简介操作系统(OperatingSystem,简称OS)是管理计算机硬件和软件资源的系统软件,为用户和应用程序提供接口。现今,操作系统种类繁多,主要分为桌面操作系统、服务器操作系统和移动操作系统等。以下是对目前存在的主要操作系统的详细介绍。1.Windows简介:Windows是由微软公司开发的系列图形界面操作系统,是全球使用最广泛的桌面操作系统之一。最新版本:截至2023年10月,最新版</div>
                    </li>
                                <li><a href="/article/5.htm"
                                       title="[星球大战]阿纳金的背叛" target="_blank">[星球大战]阿纳金的背叛</a>
                                    <span class="text-muted">comsci</span>

                                    <div> 
      本来杰迪圣殿的长老是不同意让阿纳金接受训练的......... 
 
    但是由于政治原因,长老会妥协了...这给邪恶的力量带来了机会 
 
    所以......现代的地球联邦接受了这个教训...绝对不让某些年轻人进入学院 
 
   </div>
                                </li>
                                <li><a href="/article/132.htm"
                                       title="看懂它,你就可以任性的玩耍了!" target="_blank">看懂它,你就可以任性的玩耍了!</a>
                                    <span class="text-muted">aijuans</span>
<a class="tag" taget="_blank" href="/search/JavaScript/1.htm">JavaScript</a>
                                    <div>          javascript作为前端开发的标配技能,如果不掌握好它的三大特点:1.原型 2.作用域 3. 闭包 ,又怎么可以说你学好了这门语言呢?如果标配的技能都没有撑握好,怎么可以任性的玩耍呢?怎么验证自己学好了以上三个基本点呢,我找到一段不错的代码,稍加改动,如果能够读懂它,那么你就可以任性了。 
function jClass(b</div>
                                </li>
                                <li><a href="/article/259.htm"
                                       title="Java常用工具包 Jodd" target="_blank">Java常用工具包 Jodd</a>
                                    <span class="text-muted">Kai_Ge</span>
<a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/jodd/1.htm">jodd</a>
                                    <div>Jodd 是一个开源的 Java 工具集, 包含一些实用的工具类和小型框架。简单,却很强大!  写道   Jodd = Tools + IoC + MVC + DB + AOP + TX + JSON + HTML < 1.5 Mb  
Jodd 被分成众多模块,按需选择,其中 
 
  工具类模块有:  
  
   jodd-core    &nb</div>
                                </li>
                                <li><a href="/article/386.htm"
                                       title="SpringMvc下载" target="_blank">SpringMvc下载</a>
                                    <span class="text-muted">120153216</span>
<a class="tag" taget="_blank" href="/search/springMVC/1.htm">springMVC</a>
                                    <div>@RequestMapping(value = WebUrlConstant.DOWNLOAD)
	public void download(HttpServletRequest request,HttpServletResponse response,String fileName) {
		OutputStream os = null;
		InputStream is = null;
</div>
                                </li>
                                <li><a href="/article/513.htm"
                                       title="Python 标准异常总结" target="_blank">Python 标准异常总结</a>
                                    <span class="text-muted">2002wmj</span>
<a class="tag" taget="_blank" href="/search/python/1.htm">python</a>
                                    <div>Python标准异常总结  
    AssertionError 断言语句(assert)失败   AttributeError 尝试访问未知的对象属性   EOFError 用户输入文件末尾标志EOF(Ctrl+d)   FloatingPointError 浮点计算错误   GeneratorExit generator.close()方法被调用的时候   ImportError 导入模块失</div>
                                </li>
                                <li><a href="/article/640.htm"
                                       title="SQL函数返回临时表结构的数据用于查询" target="_blank">SQL函数返回临时表结构的数据用于查询</a>
                                    <span class="text-muted">357029540</span>
<a class="tag" taget="_blank" href="/search/SQL+Server/1.htm">SQL Server</a>
                                    <div>这两天在做一个查询的SQL,这个SQL的一个条件是通过游标实现另外两张表查询出一个多条数据,这些数据都是INT类型,然后用IN条件进行查询,并且查询这两张表需要通过外部传入参数才能查询出所需数据,于是想到了用SQL函数返回值,并且也这样做了,由于是返回多条数据,所以把查询出来的INT类型值都拼接为了字符串,这时就遇到问题了,在查询SQL中因为条件是INT值,SQL函数的CAST和CONVERST都</div>
                                </li>
                                <li><a href="/article/767.htm"
                                       title="java 时间格式化 | 比较大小| 时区 个人笔记" target="_blank">java 时间格式化 | 比较大小| 时区 个人笔记</a>
                                    <span class="text-muted">7454103</span>
<a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/eclipse/1.htm">eclipse</a><a class="tag" taget="_blank" href="/search/tomcat/1.htm">tomcat</a><a class="tag" taget="_blank" href="/search/c/1.htm">c</a><a class="tag" taget="_blank" href="/search/MyEclipse/1.htm">MyEclipse</a>
                                    <div>个人总结! 不当之处多多包含! 
 
  引用   1.0 如何设置 tomcat 的时区: 
         位置:(catalina.bat---JAVA_OPTS  下面加上) 
         set JAVA_OPT</div>
                                </li>
                                <li><a href="/article/894.htm"
                                       title="时间获取Clander的用法" target="_blank">时间获取Clander的用法</a>
                                    <span class="text-muted">adminjun</span>
<a class="tag" taget="_blank" href="/search/Clander/1.htm">Clander</a><a class="tag" taget="_blank" href="/search/%E6%97%B6%E9%97%B4/1.htm">时间</a>
                                    <div>/** 
   * 得到几天前的时间 
   * @param d 
   * @param day 
   * @return 
   */ 
  public static Date getDateBefore(Date d,int day){ 
   Calend</div>
                                </li>
                                <li><a href="/article/1021.htm"
                                       title="JVM初探与设置" target="_blank">JVM初探与设置</a>
                                    <span class="text-muted">aijuans</span>
<a class="tag" taget="_blank" href="/search/java/1.htm">java</a>
                                    <div>JVM是Java Virtual Machine(Java虚拟机)的缩写,JVM是一种用于计算设备的规范,它是一个虚构出来的计算机,是通过在实际的计算机上仿真模拟各种计算机功能来实现的。Java虚拟机包括一套字节码指令集、一组寄存器、一个栈、一个垃圾回收堆和一个存储方法域。 JVM屏蔽了与具体操作系统平台相关的信息,使Java程序只需生成在Java虚拟机上运行的目标代码(字节码),就可以在多种平台</div>
                                </li>
                                <li><a href="/article/1148.htm"
                                       title="SQL中ON和WHERE的区别" target="_blank">SQL中ON和WHERE的区别</a>
                                    <span class="text-muted">avords</span>

                                    <div>SQL中ON和WHERE的区别       
数据库在通过连接两张或多张表来返回记录时,都会生成一张中间的临时表,然后再将这张临时表返回给用户。   www.2cto.com     在使用left jion时,on和where条件的区别如下:    1、 on条件是在生成临时表时使用的条件,它不管on中的条件是否为真,都会返回左边表中的记录。  </div>
                                </li>
                                <li><a href="/article/1275.htm"
                                       title="说说自信" target="_blank">说说自信</a>
                                    <span class="text-muted">houxinyou</span>
<a class="tag" taget="_blank" href="/search/%E5%B7%A5%E4%BD%9C/1.htm">工作</a><a class="tag" taget="_blank" href="/search/%E7%94%9F%E6%B4%BB/1.htm">生活</a>
                                    <div>自信的来源分为两种,一种是源于实力,一种源于头脑.实力是一个综合的评定,有自身的能力,能利用的资源等.比如我想去月亮上,要身体素质过硬,还要有飞船等等一系列的东西.这些都属于实力的一部分.而头脑不同,只要你头脑够简单就可以了!同样要上月亮上,你想,我一跳,1米,我多跳几下,跳个几年,应该就到了!什么?你说我会往下掉?你笨呀你!找个东西踩一下不就行了吗? 
  
  
无论工作还</div>
                                </li>
                                <li><a href="/article/1402.htm"
                                       title="WEBLOGIC事务超时设置" target="_blank">WEBLOGIC事务超时设置</a>
                                    <span class="text-muted">bijian1013</span>
<a class="tag" taget="_blank" href="/search/weblogic/1.htm">weblogic</a><a class="tag" taget="_blank" href="/search/jta/1.htm">jta</a><a class="tag" taget="_blank" href="/search/%E4%BA%8B%E5%8A%A1%E8%B6%85%E6%97%B6/1.htm">事务超时</a>
                                    <div>        系统中统计数据,由于调用统计过程,执行时间超过了weblogic设置的时间,提示如下错误: 
统计数据出错!
原因:The transaction is no longer active - status: 'Rolling Back. [Reason=weblogic.transaction.internal</div>
                                </li>
                                <li><a href="/article/1529.htm"
                                       title="两年已过去,再看该如何快速融入新团队" target="_blank">两年已过去,再看该如何快速融入新团队</a>
                                    <span class="text-muted">bingyingao</span>
<a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/%E4%BA%92%E8%81%94%E7%BD%91/1.htm">互联网</a><a class="tag" taget="_blank" href="/search/%E8%9E%8D%E5%85%A5/1.htm">融入</a><a class="tag" taget="_blank" href="/search/%E6%9E%B6%E6%9E%84/1.htm">架构</a><a class="tag" taget="_blank" href="/search/%E6%96%B0%E5%9B%A2%E9%98%9F/1.htm">新团队</a>
                                    <div>偶得的空闲,翻到了两年前的帖子 
该如何快速融入一个新团队,有所感触,就记下来,为下一个两年后的今天做参考。 
 
    时隔两年半之后的今天,再来看当初的这个博客,别有一番滋味。而我已经于今年三月份离开了当初所在的团队,加入另外的一个项目组,2011年的这篇博客之后的时光,我很好的融入了那个团队,而直到现在和同事们关系都特别好。大家在短短一年半的时间离一起经历了一</div>
                                </li>
                                <li><a href="/article/1656.htm"
                                       title="【Spark七十七】Spark分析Nginx和Apache的access.log" target="_blank">【Spark七十七】Spark分析Nginx和Apache的access.log</a>
                                    <span class="text-muted">bit1129</span>
<a class="tag" taget="_blank" href="/search/apache/1.htm">apache</a>
                                    <div>Spark分析Nginx和Apache的access.log,第一个问题是要对Nginx和Apache的access.log文件进行按行解析,按行解析就的方法是正则表达式: 
  
Nginx的access.log解析正则表达式 
  
val PATTERN = """([^ ]*) ([^ ]*) ([^ ]*) (\\[.*\\]) (\&q</div>
                                </li>
                                <li><a href="/article/1783.htm"
                                       title="Erlang patch" target="_blank">Erlang patch</a>
                                    <span class="text-muted">bookjovi</span>
<a class="tag" taget="_blank" href="/search/erlang/1.htm">erlang</a>
                                    <div>Totally five patchs committed to erlang otp, just small patchs. 
IMO, erlang really is a interesting programming language, I really like its concurrency feature. 
but the functional programming style </div>
                                </li>
                                <li><a href="/article/1910.htm"
                                       title="log4j日志路径中加入日期" target="_blank">log4j日志路径中加入日期</a>
                                    <span class="text-muted">bro_feng</span>
<a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/log4j/1.htm">log4j</a>
                                    <div>要用log4j使用记录日志,日志路径有每日的日期,文件大小5M新增文件。 
实现方式 
log4j: 
<appender name="serviceLog"
		class="org.apache.log4j.RollingFileAppender">
      	<param name="Encoding" v</div>
                                </li>
                                <li><a href="/article/2037.htm"
                                       title="读《研磨设计模式》-代码笔记-桥接模式" target="_blank">读《研磨设计模式》-代码笔记-桥接模式</a>
                                    <span class="text-muted">bylijinnan</span>
<a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/1.htm">设计模式</a>
                                    <div>声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/ 
 
 



/**
 * 个人觉得关于桥接模式的例子,蜡笔和毛笔这个例子是最贴切的:http://www.cnblogs.com/zhenyulu/articles/67016.html
 * 笔和颜色是可分离的,蜡笔把两者耦合在一起了:一支蜡笔只有一种</div>
                                </li>
                                <li><a href="/article/2164.htm"
                                       title="windows7下SVN和Eclipse插件安装" target="_blank">windows7下SVN和Eclipse插件安装</a>
                                    <span class="text-muted">chenyu19891124</span>
<a class="tag" taget="_blank" href="/search/eclipse%E6%8F%92%E4%BB%B6/1.htm">eclipse插件</a>
                                    <div>今天花了一天时间弄SVN和Eclipse插件的安装,今天弄好了。svn插件和Eclipse整合有两种方式,一种是直接下载插件包,二种是通过Eclipse在线更新。由于之前Eclipse版本和svn插件版本有差别,始终是没装上。最后在网上找到了适合的版本。所用的环境系统:windows7JDK:1.7svn插件包版本:1.8.16Eclipse:3.7.2工具下载地址:Eclipse下在地址:htt</div>
                                </li>
                                <li><a href="/article/2291.htm"
                                       title="[转帖]工作流引擎设计思路" target="_blank">[转帖]工作流引擎设计思路</a>
                                    <span class="text-muted">comsci</span>
<a class="tag" taget="_blank" href="/search/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/1.htm">设计模式</a><a class="tag" taget="_blank" href="/search/%E5%B7%A5%E4%BD%9C/1.htm">工作</a><a class="tag" taget="_blank" href="/search/%E5%BA%94%E7%94%A8%E6%9C%8D%E5%8A%A1%E5%99%A8/1.htm">应用服务器</a><a class="tag" taget="_blank" href="/search/workflow/1.htm">workflow</a><a class="tag" taget="_blank" href="/search/%E4%BC%81%E4%B8%9A%E5%BA%94%E7%94%A8/1.htm">企业应用</a>
                                    <div> 作为国内的同行,我非常希望在流程设计方面和大家交流,刚发现篇好文(那么好的文章,现在才发现,可惜),关于流程设计的一些原理,个人觉得本文站得高,看得远,比俺的文章有深度,转载如下 
 
================================================================================= 
 
自开博以来不断有朋友来探讨工作流引擎该如何</div>
                                </li>
                                <li><a href="/article/2418.htm"
                                       title="Linux 查看内存,CPU及硬盘大小的方法" target="_blank">Linux 查看内存,CPU及硬盘大小的方法</a>
                                    <span class="text-muted">daizj</span>
<a class="tag" taget="_blank" href="/search/linux/1.htm">linux</a><a class="tag" taget="_blank" href="/search/cpu/1.htm">cpu</a><a class="tag" taget="_blank" href="/search/%E5%86%85%E5%AD%98/1.htm">内存</a><a class="tag" taget="_blank" href="/search/%E7%A1%AC%E7%9B%98/1.htm">硬盘</a><a class="tag" taget="_blank" href="/search/%E5%A4%A7%E5%B0%8F/1.htm">大小</a>
                                    <div>一、查看CPU信息的命令 
 
[root@R4 ~]# cat /proc/cpuinfo |grep "model name" && cat /proc/cpuinfo |grep "physical id" 
model name : Intel(R) Xeon(R) CPU X5450 @ 3.00GHz 
model name : </div>
                                </li>
                                <li><a href="/article/2545.htm"
                                       title="linux 踢出在线用户" target="_blank">linux 踢出在线用户</a>
                                    <span class="text-muted">dongwei_6688</span>
<a class="tag" taget="_blank" href="/search/linux/1.htm">linux</a>
                                    <div>两个步骤: 
1.用w命令找到要踢出的用户,比如下面: 
  
[root@localhost ~]# w
 18:16:55 up 39 days,  8:27,  3 users,  load average: 0.03, 0.03, 0.00
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT</div>
                                </li>
                                <li><a href="/article/2672.htm"
                                       title="放手吧,就像不曾拥有过一样" target="_blank">放手吧,就像不曾拥有过一样</a>
                                    <span class="text-muted">dcj3sjt126com</span>

                                    <div>内容提要:   
静悠悠编著的《放手吧就像不曾拥有过一样》集结“全球华语世界最舒缓心灵”的精华故事,触碰生命最深层次的感动,献给全世界亿万读者。《放手吧就像不曾拥有过一样》的作者衷心地祝愿每一位读者都给自己一个重新出发的理由,将那些令你痛苦的、扛起的、背负的,一并都放下吧!把憔悴的面容换做一种清淡的微笑,把沉重的步伐调节成春天五线谱上的音符,让自己踏着轻快的节奏,在人生的海面上悠然漂荡,享受宁静与</div>
                                </li>
                                <li><a href="/article/2799.htm"
                                       title="php二进制安全的含义" target="_blank">php二进制安全的含义</a>
                                    <span class="text-muted">dcj3sjt126com</span>
<a class="tag" taget="_blank" href="/search/PHP/1.htm">PHP</a>
                                    <div>PHP里,有string的概念。
string里,每个字符的大小为byte(与PHP相比,Java的每个字符为Character,是UTF8字符,C语言的每个字符可以在编译时选择)。
byte里,有ASCII代码的字符,例如ABC,123,abc,也有一些特殊字符,例如回车,退格之类的。
特殊字符很多是不能显示的。或者说,他们的显示方式没有标准,例如编码65到哪儿都是字母A,编码97到哪儿都是字符</div>
                                </li>
                                <li><a href="/article/2926.htm"
                                       title="Linux下禁用T440s,X240的一体化触摸板(touchpad)" target="_blank">Linux下禁用T440s,X240的一体化触摸板(touchpad)</a>
                                    <span class="text-muted">gashero</span>
<a class="tag" taget="_blank" href="/search/linux/1.htm">linux</a><a class="tag" taget="_blank" href="/search/ThinkPad/1.htm">ThinkPad</a><a class="tag" taget="_blank" href="/search/%E8%A7%A6%E6%91%B8%E6%9D%BF/1.htm">触摸板</a>
                                    <div>自打1月买了Thinkpad T440s就一直很火大,其中最让人恼火的莫过于触摸板。 
  
Thinkpad的经典就包括用了小红点(TrackPoint)。但是小红点只能定位,还是需要鼠标的左右键的。但是自打T440s等开始启用了一体化触摸板,不再有实体的按键了。问题是要是好用也行。 
  
实际使用中,触摸板一堆问题,比如定位有抖动,以及按键时会有飘逸。这就导致了单击经常就</div>
                                </li>
                                <li><a href="/article/3053.htm"
                                       title="graph_dfs" target="_blank">graph_dfs</a>
                                    <span class="text-muted">hcx2013</span>
<a class="tag" taget="_blank" href="/search/Graph/1.htm">Graph</a>
                                    <div>package edu.xidian.graph;

class MyStack {
	private final int SIZE = 20;
	private int[] st;
	private int top;

	public MyStack() {
		st = new int[SIZE];
		top = -1;
	}

	public void push(i</div>
                                </li>
                                <li><a href="/article/3180.htm"
                                       title="Spring4.1新特性——Spring核心部分及其他" target="_blank">Spring4.1新特性——Spring核心部分及其他</a>
                                    <span class="text-muted">jinnianshilongnian</span>
<a class="tag" taget="_blank" href="/search/spring+4.1/1.htm">spring 4.1</a>
                                    <div>目录 
Spring4.1新特性——综述 
Spring4.1新特性——Spring核心部分及其他 
Spring4.1新特性——Spring缓存框架增强 
Spring4.1新特性——异步调用和事件机制的异常处理 
Spring4.1新特性——数据库集成测试脚本初始化 
Spring4.1新特性——Spring MVC增强 
Spring4.1新特性——页面自动化测试框架Spring MVC T</div>
                                </li>
                                <li><a href="/article/3307.htm"
                                       title="配置HiveServer2的安全策略之自定义用户名密码验证" target="_blank">配置HiveServer2的安全策略之自定义用户名密码验证</a>
                                    <span class="text-muted">liyonghui160com</span>

                                    <div>  
  
具体从网上看 
  
http://doc.mapr.com/display/MapR/Using+HiveServer2#UsingHiveServer2-ConfiguringCustomAuthentication 
  
 
  
   
   LDAP Authentication using OpenLDAP 
   Setting </div>
                                </li>
                                <li><a href="/article/3434.htm"
                                       title="一位30多的程序员生涯经验总结" target="_blank">一位30多的程序员生涯经验总结</a>
                                    <span class="text-muted">pda158</span>
<a class="tag" taget="_blank" href="/search/%E7%BC%96%E7%A8%8B/1.htm">编程</a><a class="tag" taget="_blank" href="/search/%E5%B7%A5%E4%BD%9C/1.htm">工作</a><a class="tag" taget="_blank" href="/search/%E7%94%9F%E6%B4%BB/1.htm">生活</a><a class="tag" taget="_blank" href="/search/%E5%92%A8%E8%AF%A2/1.htm">咨询</a>
                                    <div>1.客户在接触到产品之后,才会真正明白自己的需求。 
  这是我在我的第一份工作上面学来的。只有当我们给客户展示产品的时候,他们才会意识到哪些是必须的。给出一个功能性原型设计远远比一张长长的文字表格要好。 2.只要有充足的时间,所有安全防御系统都将失败。 
  安全防御现如今是全世界都在关注的大课题、大挑战。我们必须时时刻刻积极完善它,因为黑客只要有一次成功,就可以彻底打败你。   3.</div>
                                </li>
                                <li><a href="/article/3561.htm"
                                       title="分布式web服务架构的演变" target="_blank">分布式web服务架构的演变</a>
                                    <span class="text-muted">自由的奴隶</span>
<a class="tag" taget="_blank" href="/search/linux/1.htm">linux</a><a class="tag" taget="_blank" href="/search/Web/1.htm">Web</a><a class="tag" taget="_blank" href="/search/%E5%BA%94%E7%94%A8%E6%9C%8D%E5%8A%A1%E5%99%A8/1.htm">应用服务器</a><a class="tag" taget="_blank" href="/search/%E4%BA%92%E8%81%94%E7%BD%91/1.htm">互联网</a>
                                    <div>最开始,由于某些想法,于是在互联网上搭建了一个网站,这个时候甚至有可能主机都是租借的,但由于这篇文章我们只关注架构的演变历程,因此就假设这个时候已经是托管了一台主机,并且有一定的带宽了,这个时候由于网站具备了一定的特色,吸引了部分人访问,逐渐你发现系统的压力越来越高,响应速度越来越慢,而这个时候比较明显的是数据库和应用互相影响,应用出问题了,数据库也很容易出现问题,而数据库出问题的时候,应用也容易</div>
                                </li>
                                <li><a href="/article/3688.htm"
                                       title="初探Druid连接池之二——慢SQL日志记录" target="_blank">初探Druid连接池之二——慢SQL日志记录</a>
                                    <span class="text-muted">xingsan_zhang</span>
<a class="tag" taget="_blank" href="/search/%E6%97%A5%E5%BF%97/1.htm">日志</a><a class="tag" taget="_blank" href="/search/%E8%BF%9E%E6%8E%A5%E6%B1%A0/1.htm">连接池</a><a class="tag" taget="_blank" href="/search/druid/1.htm">druid</a><a class="tag" taget="_blank" href="/search/%E6%85%A2SQL/1.htm">慢SQL</a>
                                    <div>由于工作原因,这里先不说连接数据库部分的配置,后面会补上,直接进入慢SQL日志记录。 
  
1.applicationContext.xml中增加如下配置: 
<bean abstract="true" id="mysql_database" class="com.alibaba.druid.pool.DruidDataSourc</div>
                                </li>
                </ul>
            </div>
        </div>
    </div>

<div>
    <div class="container">
        <div class="indexes">
            <strong>按字母分类:</strong>
            <a href="/tags/A/1.htm" target="_blank">A</a><a href="/tags/B/1.htm" target="_blank">B</a><a href="/tags/C/1.htm" target="_blank">C</a><a
                href="/tags/D/1.htm" target="_blank">D</a><a href="/tags/E/1.htm" target="_blank">E</a><a href="/tags/F/1.htm" target="_blank">F</a><a
                href="/tags/G/1.htm" target="_blank">G</a><a href="/tags/H/1.htm" target="_blank">H</a><a href="/tags/I/1.htm" target="_blank">I</a><a
                href="/tags/J/1.htm" target="_blank">J</a><a href="/tags/K/1.htm" target="_blank">K</a><a href="/tags/L/1.htm" target="_blank">L</a><a
                href="/tags/M/1.htm" target="_blank">M</a><a href="/tags/N/1.htm" target="_blank">N</a><a href="/tags/O/1.htm" target="_blank">O</a><a
                href="/tags/P/1.htm" target="_blank">P</a><a href="/tags/Q/1.htm" target="_blank">Q</a><a href="/tags/R/1.htm" target="_blank">R</a><a
                href="/tags/S/1.htm" target="_blank">S</a><a href="/tags/T/1.htm" target="_blank">T</a><a href="/tags/U/1.htm" target="_blank">U</a><a
                href="/tags/V/1.htm" target="_blank">V</a><a href="/tags/W/1.htm" target="_blank">W</a><a href="/tags/X/1.htm" target="_blank">X</a><a
                href="/tags/Y/1.htm" target="_blank">Y</a><a href="/tags/Z/1.htm" target="_blank">Z</a><a href="/tags/0/1.htm" target="_blank">其他</a>
        </div>
    </div>
</div>
<footer id="footer" class="mb30 mt30">
    <div class="container">
        <div class="footBglm">
            <a target="_blank" href="/">首页</a> -
            <a target="_blank" href="/custom/about.htm">关于我们</a> -
            <a target="_blank" href="/search/Java/1.htm">站内搜索</a> -
            <a target="_blank" href="/sitemap.txt">Sitemap</a> -
            <a target="_blank" href="/custom/delete.htm">侵权投诉</a>
        </div>
        <div class="copyright">版权所有 IT知识库 CopyRight © 2000-2050 E-COM-NET.COM , All Rights Reserved.
<!--            <a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">京ICP备09083238号</a><br>-->
        </div>
    </div>
</footer>
<!-- 代码高亮 -->
<script type="text/javascript" src="/static/syntaxhighlighter/scripts/shCore.js"></script>
<script type="text/javascript" src="/static/syntaxhighlighter/scripts/shLegacy.js"></script>
<script type="text/javascript" src="/static/syntaxhighlighter/scripts/shAutoloader.js"></script>
<link type="text/css" rel="stylesheet" href="/static/syntaxhighlighter/styles/shCoreDefault.css"/>
<script type="text/javascript" src="/static/syntaxhighlighter/src/my_start_1.js"></script>





</body>

</html>