Sida loo ciyaaro qulqulka RTSP iyadoo la adeegsanayo Interface Line Line iyadoo la adeegsanayo FFmpeg

Maqaalkan, waxaan ku tusi doonaa casharro ku saabsan sida loo ciyaaro qulqulka RTSP(play RTSP stream) iyada oo loo marayo interface-line interface iyadoo la adeegsanayo FFmpeg . RTSP waxay u taagan tahay Protocol-ka Streaming Real Time(Real Time Streaming Protocol) waana hab-maamuuska caadiga ah ee maamula kala wareejinta durdurrada warbaahinta waqtiga-dhabta ah ee u dhexeeya macmiilka iyo server-ka. Waxa ugu horrayn loo adeegsadaa ilaalinta iyo la socodka muuqaalka CCTV ee tooska ah. Hadda ka hor, waxaan ku tusnay sida loo ciyaaro qulqulka RTSP ee VLC media player(play the RTSP stream in the VLC media player) . Hadda, haddii aad rabto inaad daawato qulqulka RTSP iyada oo loo marayo isla markiiba amarka, waxaad isticmaali kartaa software FFmpeg .

FFmpeg waa bilaash, il furan, oo la qaadi karo maqalka iyo fiidiyooga software adoo isticmaalaya kaas oo aad ku qaban karto hawlo badan sida cabbirka fiidiyowyada(resize videos) , dufcadaha wareega fiidiyooga(batch rotates videos) , beddelo fiidiyowyada, iyo in ka badan. Waxa intaa dheer in, waxa kale oo aad u isticmaali kartaa in aad ku darto videos ay ku jiraan durdurrada RTSP live. (RTSP)Kaliya waxaad u baahan tahay inaad geliso hal amar oo fudud oo ku jira Promot Command(Command Promot) si taas loo sameeyo. Halkan, waxaan u socdaa inaan ku xuso tillaabo tallaabo tallaabo ah si loogu ciyaaro qulqulka RTSP iyada oo la adeegsanayo khadka taliska iyadoo la adeegsanayo FFmpeg . Markaa, aan hadda bilowno!

Sida loo ciyaaro qulqulka RTSP iyadoo la adeegsanayo (RTSP)Interface Line Line(Command Line Interface) iyadoo la adeegsanayo FFmpeg

Waa kuwan tillaabooyinka ugu muhiimsan ee lagu ciyaaro qulqulka RTSP iyada oo loo marayo interface Line Line iyadoo la adeegsanayo (Command Line)FFmpeg :

  1. Soo deji FFmpeg.
  2. Soo(Unzip) dejiso faylka FFmpeg ZIP
  3. Ku fur Command Prompt galka FFmpeg(Unzipped FFmpeg) oo aan la furin .
  4. Ku qor amar leh qulqulka RTSP ee aad rabto inaad ku ciyaarto.
  5. Taabo(Press Enter) badhanka Gelida si aad u daawato qulqulka RTSP

Aan si faahfaahsan u eegno tillaabooyinka kore!

Marka hore, waxaad u baahan tahay inaad ku soo dejiso barnaamijka FFmpeg(download the FFmpeg software) ee adiga Windows 11/10 PC. Hadda, ka fur galka FFmpeg ee la soo dejiyay adigoo isticmaalaya soo saare ZIP(ZIP extractor) ama Windows-ku-dhismay qalabka isku-buuqa(Windows built-in compress tool) .

Marka xigta, fur faylka FFmpeg ee la soo saaray ka dibna ku fur Command Prompt ee galkan(open the Command Prompt in this folder) adigoo ku dhejinaya CMD goobta ciwaanka oo riix batoonka Gelida(Enter) .

Intaa ka dib, ku qor amarka hoose ee syntax ka dibna taabo badhanka Gelida .(Enter)

ffplay.exe <RTSP URL>

Codsiga ffplay.exe asal ahaan waxaa loo isticmaalaa in lagu ciyaaro oo lagu daawado faylasha warbaahinta iyadoo la adeegsanayo FFmpeg . Markaa, waxaad u baahan tahay inaad ku xusto arjigan RTSP URL si aad u ciyaarto qulqulka RTSP .

Tusaale mid ka mid ah amarradan ayaa hoos ku qoran:

ffplay.exe rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov

Sida loo ciyaaro qulqulka RTSP iyadoo la adeegsanayo Interface Line Line iyadoo la adeegsanayo FFmpeg

Markaad riixdo Gelida si aad u fuliso amarka sare, waxay kuu furi doontaa daaqada ciyaarta fiidiyowga halkaasoo aad awoodi doonto inaad daawato qulqulka RTSP . Waxaad isticmaali kartaa booska bannaan si aad u ciyaarto/ u hakiso fiidyaha, laba jeer dhagsii daaqadda si aad u daawato fiidyowga RTSP ee shaashad buuxa, oo aad isticmaasho tibaaxaha kale ee kiiboodhka iyo mouse-ka si aad u maamusho dib-u-ciyaarista fiidiyowga.

Marka, tani waa sida aad u isticmaali karto amar si fudud loo isticmaali karo si aad u ciyaarto oo aad u daawato qulqulka RTSP iyada oo loo marayo interface-line interface adoo isticmaalaya FFmpeg .

Hadda akhri:(Now read:)



About the author

Waxaan ahay injineer maqal ah oo xirfad leh oo leh khibrad 10 sano ka badan. Waxaan ka shaqeynayay warshadaha muusikada dhowrkii sano ee la soo dhaafay, waxaanan ku yeeshay sumcad xooggan gudaha goobtaas. Waxaan sidoo kale ahay koontada isticmaale ee khibrad sare leh iyo hawlwadeenka badbaadada qoyska. Mas'uuliyadahayga waxaa ka mid ah maaraynta xisaabaadka isticmaalaha, bixinta taageerada macaamiisha, iyo bixinta talooyinka badbaadada qoyska shaqaalaha.



Related posts