Parade Series - NVR Storage

FFMPEG Codec

FFMPEG Manual

c 复制代码
@ffmpeg -version
ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.3.1 (GCC) 20200523
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil      56. 31.100 / 56. 31.100
libavcodec     58. 54.100 / 58. 54.100
libavformat    58. 29.100 / 58. 29.100
libavdevice    58.  8.100 / 58.  8.100
libavfilter     7. 57.100 /  7. 57.100
libswscale      5.  5.100 /  5.  5.100
libswresample   3.  5.100 /  3.  5.100
libpostproc    55.  5.100 / 55.  5.100
复制代码
@ffmpeg 
    -i rtsp://admin:rate@[email protected]        input-url
    -t 120                                       limit the duration of data read from the input (120 : 2 minutes)
    -c:v libx264                                 encodes video with libx264
    -c:a libmp3lame -b:a 8k -ac 1                encodes audio with mp3 sampling rate 8000 HZ mono channel
    -crf 26                                      Constant Rate Factor
    -profile:v baseline                          hardware compatibility (iOS & Android)
    -b:v 100k                                    video codec bit rate
    -maxrate 100k                                maximum average bit rate
    -bufsize 1835k                               codec buffer size
    -pix_fmt yuv420p                             Quick time Compatible format
    -force_key_frames "expr:gte(t,n_forced*1)"
    -strict -2
    -hls_time 1                                  HTTP Live Streaming duration (1 : 1 second)
    -start_number 0 
    -f segment -segment_format mpegts
    -segment_list playlist.m3u8                  play list file
    -segment_list_flags +live                    living stream mode
    -segment_time 10                             segment duration (10 : 10 seconds)
    %TIME_STAMP%-%04d.ts





相关推荐
Sʜᴀᴅᴏᴡ . ₪3361 小时前
未授权rce漏洞
服务器·安全
echola_mendes1 小时前
LangChain 结构化输出:用 Pydantic + PydanticOutputParser 驯服 LLM 的“自由发挥”
服务器·前端·数据库·ai·langchain
Sʜᴀᴅᴏᴡ . ₪3362 小时前
Tomcat-Thales靶机攻略
linux·运维·服务器
屎派克2 小时前
linux和windows是采用何种机制保存密码的?
linux·运维·服务器
张小九992 小时前
Linux修改默认shell为zsh
linux·运维·服务器
竹之却2 小时前
【云服务器】在 Linux(Ubuntu / CentOS 7)上快速搭建我的世界 Minecraft 服务器,并实现远程联机,详细教程
linux·服务器·ubuntu·腾讯云·我的世界服务器搭建
Hello.Reader3 小时前
使用nohup和--remove-source-files在后台运行rsync并记录日志
运维·服务器·网络
即兴小索奇4 小时前
王者荣耀服务器突然崩了
运维·服务器·王者荣耀
山外有山a4 小时前
neo4j知识图谱常用命令
服务器·数据库·oracle
重启就好4 小时前
【LVS】负载均衡群集部署(DR模式)
服务器·负载均衡·lvs