Mar 22, 2022
ReadingNotes,
FFMpeg,
Linux,
Video
RTSP的URL地址格式是: rtsp://$(IP):$(PORT)/user=$(USER)&password=$(PWD)&channel=$(Channel)&stream=$(Stream).sdp?real_stream 在确认能够收到流之后(如使用VLC),可以使用FFMPEG来录制流[1] apt install FFmpeg -y RTSP="rtsp://127.0.0.1:554/user=user&password=password&channel=Channel&stream=Stream.sdp?real_stream" ffmpeg -rtsp_transport tcp -i $RTSP -vcodec copy -r 1 -t 60 -y $(TZ=UTC-8 date
...
Mar 16, 2022
FFMpeg,
Linux,
OpenShift
We, ProjectMercury, recently wanted to move encoding jobs into OpenShift to make our workflow more efficiently. After some effort, we made it work. Here is a quick note of the process
Pre-requests:
git rhc I assume you already have both of them
After sshed into your openshift virtual machine. Using following commands to install ffmpeg
cd $OPENSHIFT_DATA_DIR mkdir bin wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz wget http://ffmpeg.org/releases/ffmpeg-2.0.1.tar.gz tar -xvf yasm-1.2.0.tar.gz cd yasm-1.2.0 .
...