Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#14234 closed enhancement (fixed)

ffmpeg 0.4.9-pre1 R5 vhook variant

Reported by: dershow Owned by: acho@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: ffmpeg Cc:
Port:

Description

ffmpeg has an option to be built with vhooks that allow a video filter to be put in the video path between the input and the output. I believe that by default it is enabled when the source is downloaded directly from the web. The macport version adds the flag: --disable-vhook so that this option is not included. My suggestion is to add a variant so that the user has the option of building +vhook which would disable this flag and additionally would build the few example files that are included in the basic download from the website in the folder vhooks.

Change History (4)

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: acho@… removed
Owner: changed from macports-tickets@… to acho@…

Assigning to maintainer.

comment:2 Changed 16 years ago by dershow

On my local copy I made a change to the port to get rid of --disable-vhook. It now does build with vhooks, and it also builds the vhook examples (it may have been doing this already, but I had not looked in the right place?). I tested a few of the examples and they do work. Except for ppm, which is the one that would be most useful. I did install netpbm. I did dig into the ppm.c example code enough to see that it just forks and opens pipes to another application. But it seems that the return data never arrives. So ffmpeg with -vhook '/opt/local/lib/vhook/ppm.dylib just hangs. I even tried a trivial example: -vhook '/opt/local/lib/vhook/ppm.dylib cat' and it just hangs. So it seems that there is a bug in ppm.c on the mac. I do realize that vhook is not listed as deprecated for ffmpeg, but at the same time the new libavfilter that is supposed to replace it seems not yet to be working either. So vhook is probably the best thing for now.

comment:3 Changed 16 years ago by reiffert@…

Resolution: fixed
Status: newclosed

I committed this in r35073 and r35074. Additionally --enable-avfilter was added as the README claims vhook will be depreciated soon. Regarding the ppm problems: I cant make -vhook '/opt/local/lib/vhook/ppm.dylib cat' to cat out ppm frames to stdout as well. Please report this upstream to the ffmpeg mailinglist and reopen this ticket when there are any news.

comment:4 Changed 15 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.