Login  Register

Re: FFmpeg plugin question

Posted by Stein Rørvik on Apr 19, 2019; 11:20am
URL: http://imagej.273.s1.nabble.com/FFmpeg-plugin-question-tp5021858p5022104.html

I am on Windows 7 and the updated plugin found on on Github works for me in ImageJ 1.52. Apparently the author has recently updated the plugin for JavaCV 1.4.4 and OpenCV 4.0.1; did you make sure you used the updated jars for all libraries?

The legacy plugin, which the main page links to, was for JavaCV 0.1 and OpenCV 2.4.
Apparently the ffmpeg.jar for the legacy version is now missing. I downloaded it in early February this year so if you can't get the updated version to work, I can send it to you for you to try. The legacy version also works for me on Windows 7.

A third alternative that you can try (besides the existing FFMPEG_IO update site) is the one discussed in this thread:
https://forum.image.sc/t/plugins-for-reading-and-writing-compressed-video/8777

I tested all these plugins in February and found all of them to work for MPEG4, but not for H264 saved as MKV container which was my original objective. (The updated qztseng plugin works fine for H264 in MP4 container though.)

Stein

-----Original Message-----
From: ImageJ Interest Group <[hidden email]> On Behalf Of Kenton Arkill
Sent: 18. april 2019 21:55
To: [hidden email]
Subject: Re: FFmpeg plugin question

Thankyou very much! found it on the github address.
However I do get his error:
error:org.bytedeco.javacv.FrameRecorder$Exception: avcodec_open2() error
-22: Could not open video codec.
(I'm using mac OS 10.14.4, Fiji (updated, and ImageJ 1.52n, java 1.80_202), trying to save as an MPEG) Any help is appreciated.

Best
Kenton

On Thu, 18 Apr 2019 at 16:00, Curtis Rueden < [hidden email]> wrote:

> Hi Kenton,
>
> It looks like the author, Qingzong Tseng (CCed), is in the process of
> moving things around.
>
> Try browsing around the GitHub site:
> https://github.com/qztseng/imagej_plugins
>
> @Qingzong If you set up an ImageJ update site [1], users would not
> have these problems.
>
> Regards,
> Curtis
>
> [1] https://imagej.net/How_to_set_up_and_populate_an_update_site
>
> --
> Curtis Rueden
> LOCI software architect - https://loci.wisc.edu/software
> ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden Have
> you tried the Image.sc Forum? https://forum.image.sc/
>
>
>
> On Thu, Apr 18, 2019 at 7:21 AM Kenton Arkill
> <[hidden email]>
> wrote:
>
> > Dear all
> > Related: on the save as movie site (
> > https://sites.google.com/site/qingzongtseng/save-as-movie ) the
> ffmpeg.jar
> > does not link/download. is there somewhere else I can get this from?
> > Best
> > Kenton
> >
> > On Fri, 1 Mar 2019 at 18:53, Stein Rørvik <[hidden email]>
> wrote:
> >
> > > The Fiji update site for FFMPEG links to
> > > http://fiji.sc/~schindelin/ffmpeg-plugins/
> > > This plugin works as advertised.
> > >
> > > But where can I find the source code of this ImageJ plugin
> > (FFMPEG_IO.jar)?
> > > What I would like to do is to is to see if it can be modified to
> support
> > > modern codecs like H.264
> > >
> > > Under
> > > http://fiji.sc/~schindelin/ffmpeg-plugins/lib/
> > > we find the library files for the respective platforms, but they
> > > are a bit outdated (2013).
> > > Where can I find newer versions of the native libraries
> > > (ffmpeg.dll for
> > > Windows) ?
> > >
> > > Stein
> > >
> > > --
> > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html
> > >
> >
> > --
> > ImageJ mailing list: http://imagej.nih.gov/ij/list.html
> >
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html