Summary: | cad/netgen: switch to multimedia/ffmpeg (2.0 API) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||
Component: | Individual Port(s) | Assignee: | Stephen Montgomery-Smith <stephen> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | stephen | ||||
Priority: | --- | Keywords: | patch | ||||
Version: | Latest | Flags: | jbeich:
maintainer-feedback?
(stephen) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207547 | ||||||
Bug Depends on: | 214199 | ||||||
Bug Blocks: | 215036 | ||||||
Attachments: |
|
Description
Jan Beich
![]() ![]() Created attachment 177163 [details] v1 avcodec_encode_video() was implemented on top of avcodec_encode_video2() [1]. My conversion maybe slightly error-prone but the rest are mechanical changes. If unsure check numerious examples scattered in the ports tree. I'm not sure how to test runtime. [1] https://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/utils.c;h=cc28732c01fb;hb=refs/heads/release/2.8#l2120 Hi Jan, Now I have time to look at it. But there are now two different bug reports. Could you send me one big patch that takes cad/netgen from where it is currently to where it should be? Thanks, Stephen combined diff: http://sprunge.us/XjgG build log: http://sprunge.us/IWVA Also, can we close bug 214199, since this bug report supersedes it? No, the issues are distinct. Bug 214199 unbreaks FFMPEG=on build in poudriere while this one divorces it from poorly maintained multimedia/ffmpeg0 and has higher risk of a regression. A commit references this bug: Author: stephen Date: Sun Nov 20 16:09:53 UTC 2016 New revision: 426602 URL: https://svnweb.freebsd.org/changeset/ports/426602 Log: - When FFMPEG=on, link to multimedia/ffmpeg. - Respect PREFIX. - Conversion for avcodec_encode_video(). PR: ports/214199 PR: ports/214644 Changes: head/cad/netgen/Makefile head/cad/netgen/files/patch-configure head/cad/netgen/files/patch-ng_ng.tcl head/cad/netgen/files/patch-ng_ngappinit.cpp head/cad/netgen/files/patch-ng_ngpkg.cpp Committed, thank you. Please get back to me or re-open if there are further problems. I don't actually use this software at present, so I don't know if your conversion produces run-time errors. |