<div dir="ltr">1. you can reduce the ffmpeg.exe size via configure to remove what you do not want.<div>2. you can wrap the new dll based on libav***.dll. something like:</div><div>yourdll.dll</div><div>->libavcodec.dll, libavformat.dll etc.</div><div><br></div><div>but be noted, if you want to open source yourdll, then you can use a static link to ffmpeg. means everything you can build into yourdll.dll so that you just need to deploy this dll.<br><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 3, 2022 at 1:14 PM Kumar, Rahul via Libav-user <<a href="mailto:libav-user@ffmpeg.org">libav-user@ffmpeg.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-5328934564287359185">
<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="m_-5328934564287359185WordSection1">
<p class="MsoNormal">Hi Team,<br>
<br>
We are working on a prototype which converts RTSP streams to HLS using ffmpeg transcoder.<br>
<br>
We are using below ffmpeg command to convert RTSP to HLS :<br>
<br>
<b>cmd:</b>-<br>
<span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:rgb(23,43,77);background:white">ffmpeg.exe -rtsp_transport tcp -re -i </span><a title="Follow link"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:rgb(0,82,204);background:white">rtsp://<username>:</span></a><a href="mailto:root@172.31.67.223" title="Follow link" target="_blank"><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:rgb(0,82,204);background:white"><password>@172.31.67.223</span></a><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:rgb(23,43,77);background:white">: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<br>
<br>
<br>
We downloaded “ffmpeg.exe(5.0)” from <a href="https://www.videohelp.com/software/ffmpeg" target="_blank">
https://www.videohelp.com/software/ffmpeg</a></span><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:black;background:white"> . We are also using FFmpeg 5.0.1 "Lorentz" (<a href="https://ffmpeg.org/download.html" target="_blank">https://ffmpeg.org/download.html</a>)
libraries in our project. <br>
<b><br>
Can somebody help me answering below questions :<br>
<br>
1. Can we reduce the size of ffmpeg.exe ? Any idea how can we create a smaller ffmpeg.exe which should be able to run only above command </b></span><b>to convert RTSP to HLS</b><b><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:black;background:white">?
</span></b><span style="font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:black;background:white">(as its size is 110 mb+ so it is difficult to ship it with our product).<b><br>
2. Is there a way to run above ffmpeg command using “dll files” or other alternative instead of using “ffmpeg.exe”</b>
<br>
<br>
<br>
<br>
Regards,<br>
Rahul K<br>
Honeywell</span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".<br>
</div></blockquote></div>