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/1881292602771304448.htm"
                           title="MoviePy视频编辑和处理Python库的版本问题解决:No module named ‘moviepy.editor‘" target="_blank">MoviePy视频编辑和处理Python库的版本问题解决:No module named ‘moviepy.editor‘</a>
                        <span class="text-muted">封步宇AIGC</span>
<a class="tag" taget="_blank" href="/search/%E6%96%87%E5%AD%97%E9%9F%B3%E9%A2%91%E8%A7%86%E9%A2%91%E8%87%AA%E5%8A%A8%E5%8C%96%E5%B7%A5%E5%85%B7/1.htm">文字音频视频自动化工具</a><a class="tag" taget="_blank" href="/search/python/1.htm">python</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/ffmpeg/1.htm">ffmpeg</a><a class="tag" taget="_blank" href="/search/%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD/1.htm">人工智能</a>
                        <div>MoviePy是一个强大的Python库,用于视频编辑和处理。它支持多种基本操作,如视频剪切、拼接、插入标题,以及更高级的视频合成(非线性编辑)、视频处理和自定义特效创建。MoviePy能够读写包括GIF在内的常见音频和视频格式,并且兼容Windows、Mac和Linux操作系统,支持Python2.7和3.x版本MoviePy基于ffmpeg和ImageMagick,提供了易于使用的API,能够</div>
                    </li>
                    <li><a href="/article/1881284777999396864.htm"
                           title="在 deepin 中使用原生 Wine 安装与运行 Windows 软件指南" target="_blank">在 deepin 中使用原生 Wine 安装与运行 Windows 软件指南</a>
                        <span class="text-muted"></span>
<a class="tag" taget="_blank" href="/search/deepin/1.htm">deepin</a>
                        <div>一、前言deepin作为一款广受好评的国产Linux发行版,凭借其出色的性能和易用性,吸引了众多用户。然而,在使用deepin时,我们可能会遇到一些仅支持Windows平台的软件。借助Wine这一兼容层,我们可以在deepin中顺利安装和运行这些Windows软件。本文将详细阐述在deepin中利用原生Wine安装与运行Windows软件的全过程,以32位7-Zip的安装程序为例,助你轻松掌握相关</div>
                    </li>
                    <li><a href="/article/1881277987568021504.htm"
                           title="C++网络程序设计" target="_blank">C++网络程序设计</a>
                        <span class="text-muted">0zxm</span>
<a class="tag" taget="_blank" href="/search/c%2B%2B/1.htm">c++</a><a class="tag" taget="_blank" href="/search/%E7%BD%91%E7%BB%9C/1.htm">网络</a><a class="tag" taget="_blank" href="/search/stm32/1.htm">stm32</a><a class="tag" taget="_blank" href="/search/linux/1.htm">linux</a>
                        <div>在C++网络编程中,使用BerkeleySocketsAPI是一种常见的方法来实现跨平台的TCP通信。BerkeleySocketsAPI最初是在UNIX系统上开发的,但它已经被广泛移植到其他操作系统,包括Windows。示例代码client.cpp#include#include#ifdef_WIN32#include#pragmacomment(lib,"ws2_32.lib")//Winso</div>
                    </li>
                    <li><a href="/article/1881271167843627008.htm"
                           title="Azure Synapse Dedicated SQL Pool实用命令语句" target="_blank">Azure Synapse Dedicated SQL Pool实用命令语句</a>
                        <span class="text-muted">weixin_30777913</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/sql/1.htm">sql</a>
                        <div>一、数据管理相关命令1.数据加载COPY命令:用于从外部存储(如AzureBlob存储)加载数据到DedicatedSQLPool中。COPYINTO[dbo].[target_table]FROM'https://.blob.core.windows.net//'WITH(FILE_TYPE='CSV',FIELDTERMINATOR=',',ROWTERMINATOR='\n',CREDENT</div>
                    </li>
                    <li><a href="/article/1881271039372095488.htm"
                           title="python no module name _lzma,安装/编译pylzma(LZMA Python绑定)" target="_blank">python no module name _lzma,安装/编译pylzma(LZMA 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/no/1.htm">no</a><a class="tag" taget="_blank" href="/search/module/1.htm">module</a><a class="tag" taget="_blank" href="/search/name/1.htm">name</a><a class="tag" taget="_blank" href="/search/_lzma/1.htm">_lzma</a>
                        <div>I'vealreadypostedthisquestionontheauthorswebsite,butIthoughtImightaskhereaswell.I'vebeentryingtoinstallpylzmawiththissetup:Windows7x64Python2.6.6x64theamd64compilercomingfromwindowsserver2003sdkcloned</div>
                    </li>
                    <li><a href="/article/1881243920839536640.htm"
                           title="电脑软件:推荐六款高效实用的PDF阅读器工具" target="_blank">电脑软件:推荐六款高效实用的PDF阅读器工具</a>
                        <span class="text-muted">IT技术分享社区</span>
<a class="tag" taget="_blank" href="/search/%E7%94%B5%E8%84%91%E6%8A%80%E5%B7%A7/1.htm">电脑技巧</a><a class="tag" taget="_blank" href="/search/pdf/1.htm">pdf</a><a class="tag" taget="_blank" href="/search/%E7%94%B5%E8%84%91%E8%BD%AF%E4%BB%B6/1.htm">电脑软件</a><a class="tag" taget="_blank" href="/search/%E5%BE%AE%E8%BD%AF%E6%8A%80%E6%9C%AF/1.htm">微软技术</a><a class="tag" taget="_blank" href="/search/%E5%8A%9E%E5%85%AC%E8%BD%AF%E4%BB%B6/1.htm">办公软件</a>
                        <div>目录1.AdobeAcrobatReaderDC2.福昕阅读器(FoxitReader)3.SumatraPDF4.NitroPDFReader5.SlimPDFReader6.极速pdf阅读器总结在数字化办公日益普及的今天,PDF文件凭借其跨平台、格式稳定且易于分享的特点,成为了众多用户首选的文档格式。对于Windows用户而言,选择一款功能强大且操作便捷的PDF阅读器至关重要。本文将为您盘点并</div>
                    </li>
                    <li><a href="/article/1881228905512235008.htm"
                           title="Windows 蓝牙驱动开发-安装蓝牙设备" target="_blank">Windows 蓝牙驱动开发-安装蓝牙设备</a>
                        <span class="text-muted">程序员王马</span>
<a class="tag" taget="_blank" href="/search/Windows%E8%93%9D%E7%89%99%E9%A9%B1%E5%8A%A8%E5%BC%80%E5%8F%91/1.htm">Windows蓝牙驱动开发</a><a class="tag" taget="_blank" href="/search/windows/1.htm">windows</a><a class="tag" taget="_blank" href="/search/%E9%A9%B1%E5%8A%A8%E5%BC%80%E5%8F%91/1.htm">驱动开发</a>
                        <div>蓝牙配置文件驱动程序有两种安装类型:客户端安装,在此类安装中,远程设备播发其服务,并且计算机与之连接。示例包括:鼠标、键盘和打印机;服务器端安装,在此类安装中,计算机播发服务,并且远程设备可以连接到计算机以使用这些服务;例如,供应商可以创作服务器端安装,使移动设备能够打印到附加到计算机的打印机。这两种安装类型需要不同的安装过程。安装客户端配置文件驱动程序想要使用启用蓝牙的设备的用户将设备置于计算机</div>
                    </li>
                    <li><a href="/article/1881227637767073792.htm"
                           title="如何使用python爬图片" target="_blank">如何使用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/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a>
                        <div>一、说明使用Python爬取图片(或其他类型的文件)通常是为了自动化从互联网上下载图片的过程,这样可以节省人工下载的时间和精力,尤其是在需要大量图片时,下面将介绍两种方法,方法二步骤稍微多些,但可以爬取防爬虫的网站上的图片。二、准备安装python,谷歌浏览器,下载chromedriver,注意chromedriver的版本必须兼容谷歌浏览器,否则在运行python代码时会报错,在windows操</div>
                    </li>
                    <li><a href="/article/1881185723575496704.htm"
                           title="解锁新技能:Windows Forms与ASP.NET API的梦幻联动" target="_blank">解锁新技能:Windows Forms与ASP.NET API的梦幻联动</a>
                        <span class="text-muted">步、步、为营</span>
<a class="tag" taget="_blank" href="/search/windows/1.htm">windows</a><a class="tag" taget="_blank" href="/search/asp.net/1.htm">asp.net</a><a class="tag" taget="_blank" href="/search/%E5%90%8E%E7%AB%AF/1.htm">后端</a>
                        <div>一、开篇引入嘿,各位开发小伙伴们!在日常开发的“战场”上,我们常常会遭遇一个棘手的难题:如何让前端应用与后端服务实现高效且稳定的交互呢?特别是在使用WindowsForms构建桌面应用程序时,这个问题尤为突出。想象一下,你精心打造了一个功能强大的WindowsForms应用,满心期待它能与后端的ASP.NETAPI顺畅“对话”,实现数据的实时获取与更新,为用户带来绝佳的体验。但现实却可能给你泼一盆</div>
                    </li>
                    <li><a href="/article/1881175370028347392.htm"
                           title="python 删除文件-python实现删除文件与目录的方法" target="_blank">python 删除文件-python实现删除文件与目录的方法</a>
                        <span class="text-muted">weixin_39876282</span>

                        <div>本文实例讲述了python实现删除文件与目录的方法。分享给大家供大家参考。具体实现方法如下:os.remove(path)删除文件path.如果path是一个目录,抛出OSError错误。如果要删除目录,请使用rmdir().remove()同unlink()的功能是一样的在Windows系统中,删除一个正在使用的文件,将抛出异常。在Unix中,目录表中的记录被删除,但文件的存储还在。os.rem</div>
                    </li>
                    <li><a href="/article/1881172472653475840.htm"
                           title="minio免费文件管理器(windows版本),若依RuoYi-Vue-Plus框架使用,有需要的可以下载,因为官网下载特别慢" target="_blank">minio免费文件管理器(windows版本),若依RuoYi-Vue-Plus框架使用,有需要的可以下载,因为官网下载特别慢</a>
                        <span class="text-muted">程序员WANG</span>
<a class="tag" taget="_blank" href="/search/%E5%B7%A5%E5%85%B7/1.htm">工具</a><a class="tag" taget="_blank" href="/search/windows/1.htm">windows</a><a class="tag" taget="_blank" href="/search/vue.js/1.htm">vue.js</a><a class="tag" taget="_blank" href="/search/%E5%AE%B9%E5%99%A8/1.htm">容器</a>
                        <div>MinIO是一款开源的对象存储系统,它提供类似AmazonS3的云存储服务,适用于各种规模的企业。MinIO设计为高性能、安全且易于使用,适合存储大量的非结构化数据,如图片、文档、视频以及大数据分析中的日志文件等。在本案例中,我们关注的是Windows版本的MinIO,它被集成到了若依RuoYi-Vue-Plus框架中,以实现文件管理功能。若依RuoYi-Vue-Plus是一个基于Vue.js的现</div>
                    </li>
                    <li><a href="/article/1881164147148779520.htm"
                           title="如何切换npm到淘宝的最新镜像源?" target="_blank">如何切换npm到淘宝的最新镜像源?</a>
                        <span class="text-muted">cesske</span>
<a class="tag" taget="_blank" href="/search/npm/1.htm">npm</a>
                        <div>目录前言一、查看当前npm镜像源二、切换到淘宝镜像源三、验证是否成功切换四、其他注意事项总结前言要切换npm到淘宝的最新镜像源,您可以按照以下步骤操作:一、查看当前npm镜像源在更改npm镜像源之前,首先需要查看当前npm正在使用的镜像源地址。您可以通过在命令行(如Windows的CMD、PowerShell或Linux/macOS的Terminal)中输入以下命令来查看:npmconfigget</div>
                    </li>
                    <li><a href="/article/1881157962689474560.htm"
                           title="Android实战技巧之五十:App的系统签名" target="_blank">Android实战技巧之五十:App的系统签名</a>
                        <span class="text-muted">全速前行</span>
<a class="tag" taget="_blank" href="/search/Android/1.htm">Android</a><a class="tag" taget="_blank" href="/search/Android%E5%AE%9E%E6%88%98%E6%8A%80%E5%B7%A7/1.htm">Android实战技巧</a><a class="tag" taget="_blank" href="/search/%E7%B3%BB%E7%BB%9F%E7%AD%BE%E5%90%8D/1.htm">系统签名</a><a class="tag" taget="_blank" href="/search/sign/1.htm">sign</a>
                        <div>这件事困扰我们多时了。我们一直想用非源码编译的方式解决此事,按如下步骤。这种获取系统签名的方法如下:1、apk中需要使用android:sharedUserId=”android.uid.system”这个属性。在Manifest文件修改,如下:2、将app做无签名编译(AndroidStudio)用命令行编译Windows:gradlew.batassembleReleaseMac/linux:</div>
                    </li>
                    <li><a href="/article/1881145986382884864.htm"
                           title="Python path模块" target="_blank">Python path模块</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/%E7%AD%96%E7%95%A5%E6%A8%A1%E5%BC%8F/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>在Python中,你可能说的是os.path模块(它属于os模块下专门处理路径相关操作的部分)或者是pathlib模块(Python标准库中用于面向对象风格的路径操作模块),以下分别为你详细介绍这两种与路径相关的内容:os.path模块os.path模块提供了一系列用于处理文件路径的实用函数,能帮助开发者方便地操作路径、获取路径相关信息等,且可以适配不同的操作系统(Windows、Linux、ma</div>
                    </li>
                    <li><a href="/article/1881082663217983488.htm"
                           title="运行.py文件" target="_blank">运行.py文件</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>运行.py文件一、使用命令行‌打开命令行终端‌在Windows上,你可以按下Win+R键,然后输入cmd并回车,或者通过开始菜单搜索“命令提示符”并打开。在Mac或Linux上,你可以在应用程序或搜索中找到并打开Terminal。‌导航到.py文件所在的目录‌使用cd命令来切换目录。(注意cd命令跳转目录,如果是和当前不同的磁盘,需要增加/d命令,例如cd/dD:\目标目录)例如,如果你的.py文</div>
                    </li>
                    <li><a href="/article/1881082283344064512.htm"
                           title="Zoom视频会议软件详细使用教程" target="_blank">Zoom视频会议软件详细使用教程</a>
                        <span class="text-muted">范范0825</span>
<a class="tag" taget="_blank" href="/search/zoom/1.htm">zoom</a>
                        <div>Zoom是一款功能强大的视频会议软件,广泛用于远程工作、在线教育、虚拟会议等场景。本教程将详细介绍如何使用Zoom进行会议的创建、加入、管理以及各种高级功能的设置和应用。第一部分:准备工作和基本概述1.1下载和安装Zoom首先,你需要下载并安装Zoom客户端或移动应用程序。Zoom支持多种操作系统,包括Windows、MacOS、iOS和Android。访问Zoom官网(zoom.us)或者你的应</div>
                    </li>
                    <li><a href="/article/1881077358744629248.htm"
                           title="windows下python运行的方法" target="_blank">windows下python运行的方法</a>
                        <span class="text-muted">好烦好烦方法</span>

                        <div>python有2中运行模式,一种是交互运行模式,一种是脚本运行模式。(假设用户已经安装好,网上很多例子) 交互运行方和matlab命令窗口有点类似,有2中方法,一种是用它自带的开发环境IDLE,一种是在命令窗口下运行,建议2种方法都掌握,因为我们要在命令窗口模式下运行脚本文件。 用开始菜单键win+r直接打开命令窗口,输入python字符回车,应该会出现如下提示: ![打开](https://im</div>
                    </li>
                    <li><a href="/article/1881057408214691840.htm"
                           title="flv格式转换为mp4(ffmpeg)" target="_blank">flv格式转换为mp4(ffmpeg)</a>
                        <span class="text-muted">这个名字还中</span>
<a class="tag" taget="_blank" href="/search/Java%E7%88%AC%E8%99%AB/1.htm">Java爬虫</a><a class="tag" taget="_blank" href="/search/java/1.htm">java</a><a class="tag" taget="_blank" href="/search/%E9%9F%B3%E8%A7%86%E9%A2%91/1.htm">音视频</a>
                        <div>使用java将flv文件格式视频转换为mp4文件格式,使用的工具为ffmpeg。/***转换视频格式时需要的自定义线程*/publicclassPrintStreamextendsThread{java.io.InputStream__is=null;publicPrintStream(java.io.InputStreamis){__is=is;}publicvoidrun(){try{whil</div>
                    </li>
                    <li><a href="/article/1881056899164598272.htm"
                           title="音视频开发——FFmpeg 实现MP4转FLV文件 C语言实现" target="_blank">音视频开发——FFmpeg 实现MP4转FLV文件 C语言实现</a>
                        <span class="text-muted">Trump. yang</span>
<a class="tag" taget="_blank" href="/search/%E9%9F%B3%E8%A7%86%E9%A2%91%E5%BC%80%E5%8F%91/1.htm">音视频开发</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/ffmpeg/1.htm">ffmpeg</a><a class="tag" taget="_blank" href="/search/c%E8%AF%AD%E8%A8%80/1.htm">c语言</a>
                        <div>文章目录转换步骤关键代码完整代码转换步骤初始化FFmpeg库打开输入文件找到输入文件的流信息打开输出文件并设置输出格式创建输出文件的流初始化解码器和编码器读取输入文件的帧并写入输出文件释放资源关键代码1初始化FFmpeg库:av_register_all();打开输入文件:if((ret=avformat_open_input(&input_format_ctx,input_filename,NU</div>
                    </li>
                    <li><a href="/article/1881055257350434816.htm"
                           title="Oracle系列---【Smallfile模式的表空间如何确定单个数据文件的最大大小?】" target="_blank">Oracle系列---【Smallfile模式的表空间如何确定单个数据文件的最大大小?】</a>
                        <span class="text-muted">少年攻城狮</span>
<a class="tag" taget="_blank" href="/search/oracle/1.htm">oracle</a><a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E5%BA%93/1.htm">数据库</a>
                        <div>如果你的数据版本是oracle12c以上的版本,直接跳到最下面执行5.1和5.4即可。在Oracle数据库中,MAXSIZE参数用于限制数据文件的最大大小,确保表空间不会无限制增长。MAXSIZE的最大值主要受到以下因素的影响:1.操作系统的文件系统限制不同的操作系统和文件系统有不同的单个文件大小限制。例如:ext4文件系统(Linux):单个文件最大支持16TB。NTFS文件系统(Windows</div>
                    </li>
                    <li><a href="/article/1881049197537456128.htm"
                           title="python中的读取文件的方法总结——路径" target="_blank">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><a class="tag" taget="_blank" href="/search/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a>
                        <div>在windows系统下的路径一般是“/”,在读取路径下的文件的时候,一般采用两种方式:read_csv(r"D:\dataset\data")read_csv("D:\\dataset\\data")在linux系统下的路径一般是“\”。(1)./data#对本目录下的数据集进行导入如果数据集data放在和.py文件下,可以使用.py文件对如下路径进行导入a=pd.read_csv("./cora</div>
                    </li>
                    <li><a href="/article/1881016400923914240.htm"
                           title="python3.9安装numpy+mky_windows下python 3.9 Numpy scipy和matlabplot的安装教程详解" target="_blank">python3.9安装numpy+mky_windows下python 3.9 Numpy scipy和matlabplot的安装教程详解</a>
                        <span class="text-muted">Madmoiselle.may</span>

                        <div>学习python过程中想使用python的matlabplot绘图功能,遇到了一大批问题,然后一路过关斩将,最终安装成功,实为不易,发帖留念。1首先打开cmdwin+r2pip安装pip3install--usernumpyscipymatplotlib–user选项可以设置只安装在当前的用户下,而不是写入到系统目录。默认情况使用国外线路,国外太慢,我们使用清华的镜像就可以:pip3install</div>
                    </li>
                    <li><a href="/article/1881008333767372800.htm"
                           title="【RabbitMQ】超详细Windows系统下RabbitMQ的安装配置" target="_blank">【RabbitMQ】超详细Windows系统下RabbitMQ的安装配置</a>
                        <span class="text-muted">m0_74823963</span>
<a class="tag" taget="_blank" href="/search/rabbitmq/1.htm">rabbitmq</a><a class="tag" taget="_blank" href="/search/windows/1.htm">windows</a><a class="tag" taget="_blank" href="/search/%E5%88%86%E5%B8%83%E5%BC%8F/1.htm">分布式</a>
                        <div>RabbitMQ是一个开源的消息队列中间件,广泛用于分布式系统中的异步消息传递。它支持多种消息协议,易于扩展,功能强大。本文将详细介绍如何在Windows系统下安装和配置RabbitMQ,包括所需的依赖项、安装步骤、基本配置和常见问题解决方案。目录什么是RabbitMQ?安装前的准备2.1系统要求2.2安装ErlangRabbitMQ的安装步骤3.1下载RabbitMQ3.2安装RabbitMQ配</div>
                    </li>
                    <li><a href="/article/1881004714183684096.htm"
                           title="15.6K Stars Yazi-超快终端文件管理器(全平台)" target="_blank">15.6K Stars Yazi-超快终端文件管理器(全平台)</a>
                        <span class="text-muted"></span>

                        <div>我最早知道的这类工具是Linux上的Ranger,后来找到一个能在Windows上用的lf,最近才知道的Yazi,感觉好多工具/功能都被用Rust和golang重新实现了一遍。Yazi(意为“鸭子”)是用Rust编写的终端文件管理器,基于非阻塞异步I/O。它旨在提供高效、用户友好且可自定义的文件管理体验。一篇解释其内部运作的新文章:为什么Yazi很快?完全异步支持:所有I/O操作都是异步的,CPU</div>
                    </li>
                    <li><a href="/article/1880987250469171200.htm"
                           title="深入理解 Windows Server 的核心功能:现代 IT 架构的基石" target="_blank">深入理解 Windows Server 的核心功能:现代 IT 架构的基石</a>
                        <span class="text-muted">Echo_Wish</span>
<a class="tag" taget="_blank" href="/search/%E8%AE%A9%E4%BD%A0%E5%BF%AB%E9%80%9F%E5%85%A5%E5%9D%91%E8%BF%90%E7%BB%B4/1.htm">让你快速入坑运维</a><a class="tag" taget="_blank" href="/search/%E8%BF%90%E7%BB%B4%E6%8E%A2%E7%A7%98/1.htm">运维探秘</a><a class="tag" taget="_blank" href="/search/windows/1.htm">windows</a><a class="tag" taget="_blank" href="/search/%E6%9E%B6%E6%9E%84/1.htm">架构</a>
                        <div>深入理解WindowsServer的核心功能:现代IT架构的基石在现代IT基础架构中,WindowsServer一直扮演着不可或缺的角色。它不仅是一个强大的服务器操作系统,更是企业级解决方案的核心支柱。从中小型企业到跨国公司,WindowsServer提供了从身份管理到高可用性的一系列功能,帮助组织应对复杂的IT挑战。作为一名运维人员或IT架构师,理解其核心功能对于设计高效、安全、可扩展的IT环境</div>
                    </li>
                    <li><a href="/article/1880976159966031872.htm"
                           title="通过外部化 `config.properties` 文件更换数据库配置" target="_blank">通过外部化 `config.properties` 文件更换数据库配置</a>
                        <span class="text-muted">书生-w</span>
<a class="tag" taget="_blank" href="/search/%E6%95%B0%E6%8D%AE%E5%BA%93/1.htm">数据库</a>
                        <div>文章目录1.创建外部配置目录2.修改外部`config.properties`文件3.修改`applicationContext.xml`或`spring-mybatis.xml`4.修改Tomcat启动脚本(可选但推荐)5.重启Tomcat6.验证配置生效7.`startup.bat`与`catalina.bat`的区别8.常见错误排查9.总结(Windows下最推荐方法)在Windows环境下</div>
                    </li>
                    <li><a href="/article/1880969844577333248.htm"
                           title="windows cmd命令大全" target="_blank">windows cmd命令大全</a>
                        <span class="text-muted">Mika-1001</span>
<a class="tag" taget="_blank" href="/search/windows/1.htm">windows</a>
                        <div>一、常用1以下是一些常用的WindowsCMD命令,以及它们的详细描述:dir:列出当前目录下的文件和子目录。cd:改变当前目录。copy:复制文件。move:移动或重命名文件和目录。del:删除文件或目录。erase:删除文件或目录。ren:重命名文件或目录。type:显示文件内容。echo:在命令行中显示文本或变量的值。set:设置或显示环境变量。path:显示或设置系统环境变量中的目录列表。</div>
                    </li>
                    <li><a href="/article/1880968078108454912.htm"
                           title="Windows CMD 常用命令" target="_blank">Windows CMD 常用命令</a>
                        <span class="text-muted">书生-w</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>
                        <div>文章目录1.前言2.如何进入CMD3.常用文件与目录操作命令3.1切换盘符3.2`cd`改变目录3.3`dir`查看目录内容3.4创建、删除目录3.5创建、删除文件4.文件与内容操作4.1复制、移动文件4.2批量复制—`xcopy`/`robocopy`5.网络相关命令5.1`ipconfig`查看本机IP5.2测试网络连通性—`ping`5.3路由跟踪—`tracert`5.4查看端口连接状态—</div>
                    </li>
                    <li><a href="/article/1880960894108758016.htm"
                           title="【Python进阶】Python中的操作系统接口:使用os模块进行系统调用" target="_blank">【Python进阶】Python中的操作系统接口:使用os模块进行系统调用</a>
                        <span class="text-muted">m 哆哆.ღ</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/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/1.htm">开发语言</a>
                        <div>1、操作系统接口的重要性1.1操作系统接口概览操作系统接口就像一座桥梁,连接着用户程序与底层操作系统服务。它是软件开发中不可或缺的一部分,让程序员能够借助标准化的方式与操作系统进行对话,执行诸如文件管理、进程控制、系统资源分配等各种关键任务。操作系统接口可分为以下几类:●命令行接口:通过shell或命令行工具直接与系统交互。●图形用户接口:如WindowsExplorer或MacOS的Finder</div>
                    </li>
                    <li><a href="/article/1880955347343044608.htm"
                           title="如何生成IP地址的自签名证书" target="_blank">如何生成IP地址的自签名证书</a>
                        <span class="text-muted">Ceramist</span>
<a class="tag" taget="_blank" href="/search/SSL%E8%AF%81%E4%B9%A6/1.htm">SSL证书</a>
                        <div>生成一个用于特定IP地址的自签名证书是一个相对直接的过程。自签名证书通常用于开发测试环境,而不是生产环境,因为它们不是由受信任的证书颁发机构(CA)签署的。下面是在命令行工具如OpenSSL中创建自签名证书的基本步骤:前提条件确保你的计算机上已经安装了OpenSSL。大多数Linux发行版默认包含了OpenSSL,而在Windows上可能需要手动安装。步骤打开命令提示符或终端:在Windows上使</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>