LinHES Forums
http://forums.linhes.org/

Installing ffmpeg-svn? (was question on Makefile)
http://forums.linhes.org/viewtopic.php?f=5&t=20472
Page 1 of 1

Author:  Too Many Secrets [ Tue Nov 03, 2009 9:04 pm ]
Post subject:  Installing ffmpeg-svn? (was question on Makefile)

[another edit]OK, I did a pacman -S ffmpeg and it showed some ffmpeg-svn updates, installed and now it looks like I'm making the file. I'll stop talking to myself now.[/another edit]

[edit] I think these errors are actually due to an older version of ffmpeg that is in R6.

Code:
ffmpeg 20081220-3


AFter reading some replys in the below page I found this:
Quote:
If you're having problems building the segmenter, I've built it successfully on Fedora 11. You must have the ffmpeg-devel RPM (V0.5-2 or later) and the ffmpeg-libs RPM (V0.5-2 or later) installed.

NOTE: Earlier versions of these RPMs do NOT include the "ticks_per_frame" or "channel_layout" members in the various structures and you'll get compile errors.


So do I need ffmpeg-svn or a new version to run? and if so, how would I go about doing that without borking things? TIA
[/edit]

----

OK, I'm wanting to install a file but the Makefile appears to be giving me troubles. Any light that can be shed is appreciated.

Here is the guide I've been following. Here is the source files.

This is what I'm seeing after I try and make

Code:
make
gcc -Wall -g segmenter.c -o segmenter -lavformat -lavcodec -lavutil
segmenter.c: In function âadd_output_streamâ:
segmenter.c:44: error: âAVCodecContextâ has no member named âticks_per_frameâ
segmenter.c:46: error: âAVCodecContextâ has no member named âticks_per_frameâ
segmenter.c: In function âmainâ:
segmenter.c:193: error: âINT_MAXâ undeclared (first use in this function)
segmenter.c:193: error: (Each undeclared identifier is reported only once
segmenter.c:193: error: for each function it appears in.)
segmenter.c:248: warning: implicit declaration of function âavformat_alloc_contextâ
segmenter.c:248: warning: assignment makes pointer from integer without a cast
make: *** [all] Error 1
[/code]

Author:  cecil [ Wed Nov 25, 2009 4:29 pm ]
Post subject: 

Based on what I'm seeing, I'm going to assume you need a newer version of FFMPEG.

Author:  Too Many Secrets [ Wed Nov 25, 2009 5:24 pm ]
Post subject: 

yes I needed to run pacman -S ffmpeg and it straightened right up. It took me a bit to find the correct pacman flag to show the package I needed.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/