video - Increasing fps & decreasing duration while streaming using VLC -
hello stackoverflow :3
i have been trying increase fps , decreasing duration while increasing speed when streaming video hard drive using vlc. transcode while streaming if possible. can speed video before streaming not desired task.
the command use streaming regularly (note xxx.xxx.x.xxx represents ip):
vlc --intf dummy -vvv /users/amr/downloads/bigbangsample.mp4 --sout '#rtp{dst=127.0.0.1,port=1234,sdp=rtsp://xxx.xxx.x.xxx:1236/test.sdp}'
after following tips change frames per second vlc stream have tried transcoding using command:
vlc --intf dummy -vvv /users/amr/downloads/bigbangsample.mp4 --sout='#transcode{fps=60}:rtp{dst=127.0.0.1,port=1234,sdp=rtsp://xxx.xxx.x.xxx:1236/test.sdp}'
although can still view stream no warnings or errors video not seem affected @ all.
i unsure if command wrong or if fps has been changed copying frames keep duration same. new vlc , video processing , appreciate input.
update: ffprobe (see below) seems show fps hasn't changed. there standard way change stream fps ?
input #0, rtsp, 'rtsp://xxx.xxx.x.xxx:1236/test.sdp': metadata: title : unnamed comment : n/a duration: n/a, start: 21.377938, bitrate: n/a stream #0:0: audio: aac (lc), 48000 hz, stereo, fltp stream #0:1: video: h264 (high), yuv420p(tv, bt709/unknown/unknown, progressive), 720x404 [sar 1:1 dar 180:101], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
thank time.
i think have add vcodec
, if it's same. try
vlc --intf dummy -vvv /users/amr/downloads/bigbangsample.mp4 --sout='#transcode{vcodec=h264,fps=60}:rtp{dst=127.0.0.1,port=1234,sdp=rtsp://xxx.xxx.x.xxx:1236/test.sdp}'
(worked me @ list)
Comments
Post a Comment