* [FFmpeg-devel] Need to reduce size of ffmpeg.exe for version 5.0.1
@ 2022-10-03 20:14 Kumar, Rahul
2022-10-04 10:20 ` Martijn van Beurden
0 siblings, 1 reply; 2+ messages in thread
From: Kumar, Rahul @ 2022-10-03 20:14 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: T H, Chaitra
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@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.
Can somebody help me answering below questions :
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 to convert RTSP to HLS? (as its size is 110 mb+ so it is difficult to ship it with our product).
2. Is there a way to run above ffmpeg command using "dll files" or other alternative instead of using "ffmpeg.exe"
Regards,
Rahul K
Honeywell
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [FFmpeg-devel] Need to reduce size of ffmpeg.exe for version 5.0.1
2022-10-03 20:14 [FFmpeg-devel] Need to reduce size of ffmpeg.exe for version 5.0.1 Kumar, Rahul
@ 2022-10-04 10:20 ` Martijn van Beurden
0 siblings, 0 replies; 2+ messages in thread
From: Martijn van Beurden @ 2022-10-04 10:20 UTC (permalink / raw)
To: FFmpeg development discussions and patches; +Cc: T H, Chaitra
Op ma 3 okt. 2022 om 22:14 schreef Kumar, Rahul <Rahul.Kumar8@honeywell.com>:
> Can somebody help me answering below questions :
>
> 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 to convert RTSP to HLS? (as its size is 110 mb+ so it is difficult to ship it with our product).
> 2. Is there a way to run above ffmpeg command using "dll files" or other alternative instead of using "ffmpeg.exe"
>
I sent you an answer to a similar question the 13th of July, but you
didn't reply: http://ffmpeg.org/pipermail/ffmpeg-devel/2022-June/297489.html
1) You can compile ffmpeg from sources yourself. You can disable
components you won't use and use --enable-small in the configuration.
2) You can use the dll files by writing a program using them.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-04 10:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-03 20:14 [FFmpeg-devel] Need to reduce size of ffmpeg.exe for version 5.0.1 Kumar, Rahul
2022-10-04 10:20 ` Martijn van Beurden
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git