[Bf-committers] FFmpeg update instructions

2011-09-02 Thread Sergey I. Sharybin
Hi,

I've tried to write a short HOWTO about updating FFmpeg on linux 
platform to be able to compile Blender easily with new proxies stuff.

Here's link to this doc: 
http://wiki.blender.org/index.php/User:Nazg-gul/FFmpegUpdate

I'm almost sure additional changes are needed, but it should be useful 
already. Feel free to contact me about things i've forgot to mention 
there or if you're commiter feel free to update this page.

-- 
With best regards, Sergey I. Sharybin

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] FFmpeg update instructions

2011-09-02 Thread pete larabell
Made slight update, first svn commands had both listed as 32bit,
changed linux64 command comment to read 64bit.

On Fri, Sep 2, 2011 at 9:29 AM, Sergey I. Sharybin  wrote:
> Hi,
>
> I've tried to write a short HOWTO about updating FFmpeg on linux
> platform to be able to compile Blender easily with new proxies stuff.
>
> Here's link to this doc:
> http://wiki.blender.org/index.php/User:Nazg-gul/FFmpegUpdate
>
> I'm almost sure additional changes are needed, but it should be useful
> already. Feel free to contact me about things i've forgot to mention
> there or if you're commiter feel free to update this page.
>
> --
> With best regards, Sergey I. Sharybin
>
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] FFmpeg update instructions

2011-09-02 Thread Ejner Fergo
Hi Sergey,

Just some points I noticed:

Where you write
"To use this libraries create the lib/ folder near the folder which
contains blender sources"
and later
BF_FFMPEG = "../lib/linux/ffmpeg"

I know what you mean, but there may be others that just copy/paste
that relative path but have not checked out the libs at the right
place. Maybe it could be spelled out a bit more:
"To use these libraries create the lib/ folder in the dir containing
the blender source dir"
or something like that, or maybe even
BF_FFMPEG = "/path/to/cloned/lib/linux/ffmpeg"

Another thing I've helped some users with, is when compiling ffmpeg be
sure to have the libs in the library search path. This ensures you
don't get a message like "missing libavformat.so.53" when trying to
start blender. In your example:

Create a .conf file in /etc/ld.so.conf.d/ (for example ffmpeg.conf)
containing the line:
/opt/ffmpeg-0.8.2/lib
and then run (as root):
ldconfig

Last thing, you have ffmpeg-0.8.1 in places where it should say 0.8.2

Hope the above makes sense.

Best regrads,
Ejner

On Fri, Sep 2, 2011 at 4:29 PM, Sergey I. Sharybin  wrote:
> Hi,
>
> I've tried to write a short HOWTO about updating FFmpeg on linux
> platform to be able to compile Blender easily with new proxies stuff.
>
> Here's link to this doc:
> http://wiki.blender.org/index.php/User:Nazg-gul/FFmpegUpdate
>
> I'm almost sure additional changes are needed, but it should be useful
> already. Feel free to contact me about things i've forgot to mention
> there or if you're commiter feel free to update this page.
>
> --
> With best regards, Sergey I. Sharybin
>
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] FFmpeg update instructions

2011-09-02 Thread Sergey I. Sharybin
Hi,

Thanks you all for feedback.

Some answers are inlined.

Ejner Fergo wrote:
> Hi Sergey,
>
> Just some points I noticed:
>
> Where you write
> "To use this libraries create the lib/ folder near the folder which
> contains blender sources"
> and later
> BF_FFMPEG = "../lib/linux/ffmpeg"
>
> I know what you mean, but there may be others that just copy/paste
> that relative path but have not checked out the libs at the right
> place. Maybe it could be spelled out a bit more:
> "To use these libraries create the lib/ folder in the dir containing
> the blender source dir"
> or something like that, or maybe even
> BF_FFMPEG = "/path/to/cloned/lib/linux/ffmpeg"
I've write where libs should be cloned. Also, i've just added 
illustration how directory structure should looks like.
> Another thing I've helped some users with, is when compiling ffmpeg be
> sure to have the libs in the library search path. This ensures you
> don't get a message like "missing libavformat.so.53" when trying to
> start blender. In your example:
>
> Create a .conf file in /etc/ld.so.conf.d/ (for example ffmpeg.conf)
> containing the line:
> /opt/ffmpeg-0.8.2/lib
> and then run (as root):
> ldconfig
Yeah, this can be helpful.
>
> Last thing, you have ffmpeg-0.8.1 in places where it should say 0.8.2
Already fixed :)
>
> Hope the above makes sense.
>
> Best regrads,
> Ejner
>
> On Fri, Sep 2, 2011 at 4:29 PM, Sergey I. Sharybin  wrote:
>> Hi,
>>
>> I've tried to write a short HOWTO about updating FFmpeg on linux
>> platform to be able to compile Blender easily with new proxies stuff.
>>
>> Here's link to this doc:
>> http://wiki.blender.org/index.php/User:Nazg-gul/FFmpegUpdate
>>
>> I'm almost sure additional changes are needed, but it should be useful
>> already. Feel free to contact me about things i've forgot to mention
>> there or if you're commiter feel free to update this page.
>>
>> --
>> With best regards, Sergey I. Sharybin
>>
>> ___
>> Bf-committers mailing list
>> Bf-committers@blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


-- 
With best regards, Sergey I. Sharybin

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] FFmpeg update instructions

2011-09-02 Thread Ejner Fergo
Hi again!

>> Create a .conf file in /etc/ld.so.conf.d/ (for example ffmpeg.conf)
>> containing the line:
>> /opt/ffmpeg-0.8.2/lib
>> and then run (as root):
>> ldconfig
> Yeah, this can be helpful.

Unfortunately you can't redirect an output with sudo, so instead of:
sudo echo "/opt/ffmpeg-0.8.2/lib" > /etc/ld.so.conf.d/ffmpeg.conf
you can use this command instead:
echo "/opt/ffmpeg-0.8.2/lib" | sudo tee -a /etc/ld.so.conf.d/ffmpeg.conf

Best regards,
Ejner
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] FFmpeg update instructions

2011-09-02 Thread Sergey I. Sharybin
Oops. Right.

I've plenty times run intothis issue but still continues doing this 
stupid thing.

Thanks again for fix :)

Ejner Fergo wrote:
> Hi again!
>
>>> Create a .conf file in /etc/ld.so.conf.d/ (for example ffmpeg.conf)
>>> containing the line:
>>> /opt/ffmpeg-0.8.2/lib
>>> and then run (as root):
>>> ldconfig
>> Yeah, this can be helpful.
> Unfortunately you can't redirect an output with sudo, so instead of:
> sudo echo "/opt/ffmpeg-0.8.2/lib">  /etc/ld.so.conf.d/ffmpeg.conf
> you can use this command instead:
> echo "/opt/ffmpeg-0.8.2/lib" | sudo tee -a /etc/ld.so.conf.d/ffmpeg.conf
>
> Best regards,
> Ejner
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


-- 
With best regards, Sergey I. Sharybin

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] FFmpeg update instructions

2011-09-02 Thread Ejner Fergo
Hehe, yeah me too :)

Have a nice weekend!

/Ejner

On Fri, Sep 2, 2011 at 9:20 PM, Sergey I. Sharybin  wrote:
> Oops. Right.
>
> I've plenty times run intothis issue but still continues doing this
> stupid thing.
>
> Thanks again for fix :)
>
> Ejner Fergo wrote:
>> Hi again!
>>
 Create a .conf file in /etc/ld.so.conf.d/ (for example ffmpeg.conf)
 containing the line:
 /opt/ffmpeg-0.8.2/lib
 and then run (as root):
 ldconfig
>>> Yeah, this can be helpful.
>> Unfortunately you can't redirect an output with sudo, so instead of:
>> sudo echo "/opt/ffmpeg-0.8.2/lib">  /etc/ld.so.conf.d/ffmpeg.conf
>> you can use this command instead:
>> echo "/opt/ffmpeg-0.8.2/lib" | sudo tee -a /etc/ld.so.conf.d/ffmpeg.conf
>>
>> Best regards,
>> Ejner
>> ___
>> Bf-committers mailing list
>> Bf-committers@blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>
>
> --
> With best regards, Sergey I. Sharybin
>
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] FFmpeg update instructions

2011-09-03 Thread Bastien Montagne
Hi Serguey,

I added (the start of) a section about repositories featuring ffmpeg 
packages of the right version. For now, there’s just 
debian-multimedia.org, which has 0.8.2 for oldstable, stable, testing 
and unstable! But I’m sure there are other repos for other distros as 
well ;)

Hope it’s OK with you…

Cheers,
Bastien.

Le 02 Sep 2011 20:29:28 +0600,  "Sergey I. Sharybin" 
 a écrit :
> Hi,
>
> I've tried to write a short HOWTO about updating FFmpeg on linux
> platform to be able to compile Blender easily with new proxies stuff.
>
> Here's link to this doc:
> http://wiki.blender.org/index.php/User:Nazg-gul/FFmpegUpdate
>
> I'm almost sure additional changes are needed, but it should be useful
> already. Feel free to contact me about things i've forgot to mention
> there or if you're commiter feel free to update this page.

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] FFmpeg update instructions

2011-09-03 Thread Sergey I. Sharybin
Hi,

Yes, it's totally ok. Actually, it's what i wanted to add just you was 
first :)

And i suppose there should be something the same for redhat-based 
distros like fedora or altlinux. But i'm not actually familiar with this 
distors so can't actually suggest anything for them.

Bastien Montagne wrote:
> Hi Serguey,
>
> I added (the start of) a section about repositories featuring ffmpeg
> packages of the right version. For now, there’s just
> debian-multimedia.org, which has 0.8.2 for oldstable, stable, testing
> and unstable! But I’m sure there are other repos for other distros as
> well ;)
>
> Hope it’s OK with you…
>
> Cheers,
> Bastien.
>
> Le 02 Sep 2011 20:29:28 +0600,  "Sergey I. Sharybin"
>   a écrit :
>> Hi,
>>
>> I've tried to write a short HOWTO about updating FFmpeg on linux
>> platform to be able to compile Blender easily with new proxies stuff.
>>
>> Here's link to this doc:
>> http://wiki.blender.org/index.php/User:Nazg-gul/FFmpegUpdate
>>
>> I'm almost sure additional changes are needed, but it should be useful
>> already. Feel free to contact me about things i've forgot to mention
>> there or if you're commiter feel free to update this page.
> ___
> Bf-committers mailing list
> Bf-committers@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers


-- 
With best regards, Sergey I. Sharybin

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] FFmpeg update instructions

2011-09-14 Thread Αντώνης Ρυακιωτάκης
Hi Sergey, it was my own turn to try out your guide. I downloaded your
compiled libs but theoraenc and theoradec are missing, producing link
errors if you use the suggested line in your guide:

FFMPEG_LIBRARIES:STRING="avformat;avcodec;avutil;avdevice;swscale;dirac_encoder;mp3lame;ogg;orc-0.4;schroedinger-1.0;theora;theoraenc;theoradec;vorbis;vorbisenc;vpx;x264;xvidcore;faad;asound;jack"

Removing them did the trick.
If you do change anything, please notify so we can svn up and update.

Also updated the main compiling troubleshooting guide
(http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Linux/Troubleshooting)
to redirect to your page.
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers