[FFmpeg-devel] Need info on how to run ffmpeg command using dll file

Kumar, Rahul Rahul.Kumar8 at Honeywell.com
Mon Jun 13 12:09:36 EEST 2022


Hi Team,

This is is a reminder. It would be helpful to us if you could respond to my below query. We are looking for other alternatives (apart from using ffmpeg.exe) to execute ffmpeg command (cmd to convert RTSP streams to .ts files). Any leads to native methods performing RTSP->.ts file transcoding would also be helpful.


Thanks,
Rahul

From: Kumar, Rahul
Sent: Tuesday, June 7, 2022 1:00 PM
To: ffmpeg-devel at ffmpeg.org
Cc: Antony, Retty <Retty.Antony at honeywell.com>; T H, Chaitra <Chaitra.TH at Honeywell.com>
Subject: Need info on how to run ffmpeg command using dll file

Hi Team,

We are working on a prototype which converts RTSP streams to HLS using ffmpeg transcoder.


We are using below ffmpeg command to convert RTSP to HLS :

cmd:-
ffmpeg.exe -rtsp_transport tcp -re -i rtsp://<username>:<rtsp://root:><password>@172.31.67.223<mailto:root at 172.31.67.223>:554/axis-media/media.amp?videocodec=h264 -c:v libx264 -crf 21 -preset veryfast -c:a aac -ac 2 -f hls -hls_flags delete_segments -hls_list_size 4 -hls_time 1 -g 5 -sc_threshold 0 -hls_playlist_type event C:\Users\Niagara4.13\tridium\stations\HLSTest\shared\vids\-514225936\stream.m3u8


We downloaded "ffmpeg.exe(5.0)" from https://www.videohelp.com/software/ffmpeg .  We are also using FFmpeg 5.0.1 "Lorentz" (https://ffmpeg.org/download.html) libraries in our project.
Just wanted to check if there is a way to run above ffmpeg command using "dll files" or other alternative instead of using "ffmpeg.exe" (as its size is 110 mb+ and we want to avoid shipping it with our product). ?
Any suggestions would be helpful.


Thanks  & Regards,
Rahul Kumar
Software Engineer, Honeywell.


More information about the ffmpeg-devel mailing list