Re: FFMpeg and FreeBSD

2013-06-28 Thread Giorgos Keramidas
On Thu, 27 Jun 2013 12:25:19 +0930, Shane Ambler free...@shaneware.biz wrote:
 On 27/06/2013 09:57, Simon wrote:
 Hello Everyone,

 Does anyone use the latest FFMpeg version 1.2 and FreeBSD?

 How did you compile it? did you run into any issues?

 The FFMpeg port is 6+ months behind and I feel like I'm the only one who uses
 this which would be very odd given everything uses video nowadays.

 You need to look a little closer. We have three versions available in
 ports -

 multimedia/ffmpeg which is at 0.7.15
 multimedia/ffmpeg1 which is at 1.2.1 - updated 2 days ago
 multimedia/ffmpeg-devel which is an svn snapshot at 2012.10.13

 You will find a lot of ports are still configured to use 0.7.15.

 The main catch is the ports are designed to co-exist so ffmpeg1 has the
 trailing 1 added to all the lib/cli names.

 I have had no problems using ffmpeg1 with my version of blender for
 several months now. It has a cmake option for lib names and then I
 added include/ffmpeg1 to C/CXXFLAGS and lib/ffmpeg1 to LDFLAGS.

Hi Shane,

This should probably be in the multimedi chapter of the Handbook or the
FAQ, or in the UPDATING file of the ports.  Would you mind if I copied
parts of the text and added them to e.g the FAQ?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FFMpeg and FreeBSD

2013-06-28 Thread Shane Ambler

On 29/06/2013 02:07, Giorgos Keramidas wrote:


I have had no problems using ffmpeg1 with my version of blender
for several months now. It has a cmake option for lib names and
then I added include/ffmpeg1 to C/CXXFLAGS and lib/ffmpeg1 to
LDFLAGS.


Hi Shane,

This should probably be in the multimedi chapter of the Handbook or
the FAQ, or in the UPDATING file of the ports.  Would you mind if I
copied parts of the text and added them to e.g the FAQ?


sure - I'm thinking FAQ. Maybe start with the following -

To use ffmpeg1 with an existing port.

The first step is to get the ffmpeg1 headers and libs found, this should
be easily accomplished with the following (an easy way to first check
that the port compiles with ffmpeg1) -
CFLAGS+=-I${LOCALBASE}/include/ffmpeg1
CXXFLAGS+=  -I${LOCALBASE}/include/ffmpeg1
LDFLAGS+=   -L${LOCALBASE}/lib/ffmpeg1

If the project source hasn't kept up with ffmpeg changes then you may be
able to replace some of the old functions to quickly keep it working
with the newer version. Blender can be source of inspiration for this -
http://projects.blender.org/scm/viewvc.php/trunk/blender/intern/ffmpeg/ffmpeg_compat.h?view=markuproot=bf-blender

The next step is to get it linking with the new lib names, these are
the ffmpeg lib names with a 1 appended to them eg. libavcodec1 instead
of libavcodec. Some ports may have options to make this easy for example
graphics/blender has a cmake variable called FFMPEG_LIBRARIES so adding
CMAKE_ARGS+=-DFFMPEG_LIBRARIES:STRING=avformat1;avcodec1;avutil1;avdevice1;swscale1
to the port Makefile handles that. Other ports may need a search and
replace such as sed 's|avcodec|avcodec1|g' or a patch manually made
for their Makefiles.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FFMpeg and FreeBSD

2013-06-26 Thread Simon
Hello Everyone,

Does anyone use the latest FFMpeg version 1.2 and FreeBSD?

How did you compile it? did you run into any issues?

The FFMpeg port is 6+ months behind and I feel like I'm the only one who uses
this which would be very odd given everything uses video nowadays.

Thanks,
Simon


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FFMpeg and FreeBSD

2013-06-26 Thread Waitman Gobble
On Jun 26, 2013 5:28 PM, Simon si...@optinet.com wrote:

 Hello Everyone,

 Does anyone use the latest FFMpeg version 1.2 and FreeBSD?

 How did you compile it? did you run into any issues?

 The FFMpeg port is 6+ months behind and I feel like I'm the only one who
uses
 this which would be very odd given everything uses video nowadays.

 Thanks,
 Simon


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

i make extensive use of ffmpeg, try devel port or try build from ffmpeg
src, try gcc46. there arent issues i can think of. its pretty well put
together. if you install the port first then build src  its easier b/c it
pulls in dependencies. just use something besides /usr/local for the prefix
of src install.

Waitman Gobble
San Jose California USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FFMpeg and FreeBSD

2013-06-26 Thread Simon
On Wed, 26 Jun 2013 18:11:03 -0700, Waitman Gobble wrote:

On Jun 26, 2013 5:28 PM, Simon si...@optinet.com wrote:

 Hello Everyone,

 Does anyone use the latest FFMpeg version 1.2 and FreeBSD?

 How did you compile it? did you run into any issues?

 The FFMpeg port is 6+ months behind and I feel like I'm the only one who
uses
 this which would be very odd given everything uses video nowadays.

 Thanks,
 Simon


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

i make extensive use of ffmpeg, try devel port or try build from ffmpeg
src, try gcc46. there arent issues i can think of. its pretty well put
together. if you install the port first then build src  its easier b/c it
pulls in dependencies. just use something besides /usr/local for the prefix
of src install.

Waitman Gobble
San Jose California USA

Thanks, can you confirm you compiled version 1.2 from source without issues?
I saw a lot of patches in older port versions of it, so I assumed I will have 
many
issues. The ffmpeg-develop port installs oct 2012 version which is even older
than ffmpeg1 port, I believe.

-Simon

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FFMpeg and FreeBSD

2013-06-26 Thread Shane Ambler

On 27/06/2013 09:57, Simon wrote:

Hello Everyone,

Does anyone use the latest FFMpeg version 1.2 and FreeBSD?

How did you compile it? did you run into any issues?

The FFMpeg port is 6+ months behind and I feel like I'm the only one who uses
this which would be very odd given everything uses video nowadays.


You need to look a little closer. We have three versions available in 
ports -


multimedia/ffmpeg which is at 0.7.15
multimedia/ffmpeg1 which is at 1.2.1 - updated 2 days ago
multimedia/ffmpeg-devel which is an svn snapshot at 2012.10.13

You will find a lot of ports are still configured to use 0.7.15.

The main catch is the ports are designed to co-exist so ffmpeg1 has the
trailing 1 added to all the lib/cli names.

I have had no problems using ffmpeg1 with my version of blender for
several months now. It has a cmake option for lib names and then I
added include/ffmpeg1 to C/CXXFLAGS and lib/ffmpeg1 to LDFLAGS.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FFMpeg and FreeBSD

2013-06-26 Thread Bernt Hansson



On 2013-06-27 02:27, Simon wrote:

Hello Everyone,

Does anyone use the latest FFMpeg version 1.2 and FreeBSD?

How did you compile it? did you run into any issues?

The FFMpeg port is 6+ months behind and I feel like I'm the only one who uses
this which would be very odd given everything uses video nowadays.

Thanks,
Simon


I use ffmpeg1-1.2.1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FFMpeg and FreeBSD

2013-06-26 Thread Simon
On Thu, 27 Jun 2013 12:25:19 +0930, Shane Ambler wrote:

On 27/06/2013 09:57, Simon wrote:
 Hello Everyone,

 Does anyone use the latest FFMpeg version 1.2 and FreeBSD?

 How did you compile it? did you run into any issues?

 The FFMpeg port is 6+ months behind and I feel like I'm the only one who uses
 this which would be very odd given everything uses video nowadays.

You need to look a little closer. We have three versions available in 
ports -

multimedia/ffmpeg which is at 0.7.15
multimedia/ffmpeg1 which is at 1.2.1 - updated 2 days ago
multimedia/ffmpeg-devel which is an svn snapshot at 2012.10.13

You will find a lot of ports are still configured to use 0.7.15.

The main catch is the ports are designed to co-exist so ffmpeg1 has the
trailing 1 added to all the lib/cli names.

I have had no problems using ffmpeg1 with my version of blender for
several months now. It has a cmake option for lib names and then I
added include/ffmpeg1 to C/CXXFLAGS and lib/ffmpeg1 to LDFLAGS.


Thanks for the info. I did an update of my ports tree last Friday, when I
also emailed the maintainer of FFmpeg port. As I received no response,
I assumed the port hasn't changed. I just synced my ports and see the
1.2.1 in ffmpeg1

I would like to thank Martin for the update!

-Simon


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org