ffmpeg-full: compile with freetype support
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
@tess @diizzyy @BKPepe @antonlacon Currently OpenWRT offer mjpg-streamer to stream locally attached USB camera. But it does not allow to re-encode the stream using ffmpeg in LuCI. Moreover, one cannot run ffmpeg on the commandline to re-encode it manually and add a timestamp. For that, ffmpeg would have to be configured with --enable-libfreetype
https://ffmpeg.org/pipermail/ffmpeg-user/2012-February/004733.html
I want to re-encode using h264, let's hope the HW can do that.
ffmpeg -i http://xx.xx.xx.xx:8080/?action=stream -filter_complex "drawtext = text = '%{pts\:gmtime\:0\:%M\\\\\:%S}'" -vcodec libx264 -preset veryfast -f mp4 -pix_fmt yuv420p -y output.mp4
Powered by LuCI openwrt-22.03 branch (git-23.119.80898-65ef406) / OpenWrt 22.03.5 r20134-5f15225c1e
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the ffmpeg-full package definition in the OpenWrt packages tree and inspect how its configure options are declared. Enable --enable-libfreetype, then build the package and verify that the shown ffmpeg drawtext use case is supported.
Written by the indexing model from the issue text.
Assessment
- Domain
- audio-video-rtc, build-system
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100