Installing FFmpeg in 9.10

Status
Not open for further replies.

Sander Jansen

Explorer
Joined
Dec 26, 2015
Messages
87
I hove some problems when installing ffmpeg. this is what i do:

I make a new jail of FreeBSD 10.3 (http://download.freenas.org/jails/10/x64/freenas-standard-10.3-RELEASE.tgz)

Then i run this to fix the update/upgrade problems:
Code:
cat > /usr/local/etc/pkg/repos/FreeBSD.conf
FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
mirror_type: "srv",
enabled: yes
} #ctrl+d to end


Then i try this to install ffmpeg:

Code:
cd /usr/ports/multimedia/ffmpeg
make install clean


and after some waiting i get these errors:

Code:
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to src/gallium/auxiliary/util/u_cpu_detect.c.rej
=> Patch patch-src__gallium__auxiliary__util__u_cpu_detect.c failed to apply cleanly.
=> Patch(es) patch-configure patch-include__GL__internal__dri_interface.h patch-src__gallium__auxiliary__pipe-loader__pipe_loader_drm.c applied cleanly.
*** Error code 1

Stop.
make[8]: stopped in /usr/ports/graphics/libGL
*** Error code 1

Stop.
make[7]: stopped in /usr/ports/graphics/cairo
*** Error code 1

Stop.
make[6]: stopped in /usr/ports/graphics/cairo
*** Error code 1

Stop.
make[5]: stopped in /usr/ports/devel/gobject-introspection
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/print/harfbuzz
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/multimedia/libass
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/multimedia/libass
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/multimedia/ffmpeg
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/ffmpeg
root@Video_Converter:/usr/ports/multimedia/ffmpeg # ffmpeg
ffmpeg: Command not found.


What am i doing wrong? I also tryed:

Code:
pkg update
pkg upgrade
pkg install ffmpeg


This also didnt work... When i type in ffmpeg in commandline, it just says command not found. I feel like its something stupid... but i cant fiend it...

Any help is appreciated (ps. sorry for spelling mistakes, i have dyslexia
 

maglin

Patron
Joined
Jun 20, 2015
Messages
299
You shouldn't have to fix any upgrade issues. Just run
Portsnap fetch extract
On a fresh jail. Then go to the port path and do a
Make clean install


Sent from my iPhone using Tapatalk
 

Sander Jansen

Explorer
Joined
Dec 26, 2015
Messages
87
I need to run the update thingy else i get this:

Code:
Updating FreeBSD repository catalogue...
Repository FreeBSD has a wrong packagesite, need to re-create database
[Video_Converter] Fetching meta.txz: 100%    944 B   0.9kB/s    00:01
[Video_Converter] Fetching packagesite.txz: 100%    5 MiB   5.8MB/s    00:01
Processing entries:   0%
pkg: wrong architecture: freebsd:10:x86:32 instead of FreeBSD:10:amd64
pkg: repository FreeBSD contains packages with wrong ABI: freebsd:10:x86:32
Processing entries: 100%
Unable to update repository FreeBSD


Apart from that, just made a clean jail and did what you said and it worked... the Portsnap fetch extract fixed it... thanks

Now all i need to do is figuer out how to use cron and ffmpeg to automaticly convert video files and put them in another folder... im looking up commands after this post but if anyone had a complete script then that would be great :) most important thing is that it converts in "same as input"but WITH constant bitrate...

EDIT:
for now i found: ffmpeg -i test.mp4 -strict -2 -c:a aac -r 60 ../Converted/test.mp4 Witch somewhat fixed the problems i had with my files. i onley need to fiend a way to automate it with new files
 
Last edited:
Status
Not open for further replies.
Top