11.Nas_1


새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


Install FFmpeg on Ubuntu 18.04 Bionic Beaver Linux

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    Objective

    The objective is to Install FFmpeg on Ubuntu 18.04 Bionic Beaver Linux. 

    This guide will provide you with an information on how to install FFmpeg on Ubuntu 18.04 from a standard Ubuntu repository as well as how to install latest FFmpeg by compiling it from a source.

    Operating System and Software Versions

    • Operating System: - Ubuntu 18.04 Bionic Beaver

    Requirements

    Privileged access to your Ubuntu System as root or via sudo command is required.

    Difficulty

    EASY

    Conventions

    • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
    • $ - requires given linux commands to be executed as a regular non-privileged user

    Instructions

    Install FFmpeg from Ubuntu Repository

    The easiest way to install FFmpeg on Ubuntu is to use the apt command, open up terminal and enter:
    $ sudo apt install ffmpeg
    
    In most cases you do not need to go any further. To check for a installed ffmpeg version run:
    $ ffmpeg -version
    ffmpeg version 3.4.2-1build1 Copyright (c) 2000-2018 the FFmpeg developers
    
    To see all available FFmpeg's encoders and decoders execute:
    $ ffmpeg -encoders
    $ ffmpeg -decoders
    


    Install FFmpeg from source

    This FFmpeg installation will yield the highest possible FFmpeg and codes versions.

    Prerequisites

    The following linux command will install all FFmpeg compilation prerequisites for Ubuntu 18.04:
     $ sudo apt install -y libopus-dev libmp3lame-dev libfdk-aac-dev libvpx-dev libx264-dev yasm libass-dev libtheora-dev libvorbis-dev mercurial cmake
    
    We will also need libx265-dev development library. However, the version of x256 from Ubuntu's libx265-dev package is lower than expected by latest FFmpeg source code.

    You may try to install libx265-dev using $ sudo apt install libx265-dev and fast forward to compilation. However, if you see ERROR: x265 not found using pkg-confg you will need to compile the x256 library from source using the below commands:
    $ mkdir ~/ffmpeg; cd ~/ffmpeg
    $ hg clone https://bitbucket.org/multicoreware/x265
    $ cd x265/build/linux 
    $ PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_SHARED:bool=off ../../source && PATH="$HOME/bin:$PATH" 
    $ make && make install
    

    Compile and Install FFmpeg

    Once we have all the prerequisites installed we are now ready to compile FFmpeg. 

    First download the latest FFmpeg source code:
    $ if [ -d ~/ffmpeg ]; then cd ~/ffmpeg; else mkdir ~/ffmpeg && cd ~/ffmpeg; fi
    $ wget -O- http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 | tar xj
    
    Navigate to the newly extracted ffmpeg directory:
    $ cd ~/ffmpeg/ffmpeg
    
    Next, compile and install FFmpeg by coping the below text into your terminal and hitting the ENTERkey. Be patient as this may take some time:

    PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" \
       ./configure \
      --prefix="$HOME/ffmpeg_build" \
      --pkg-config-flags="--static" \
      --extra-cflags="-I$HOME/ffmpeg_build/include" \
      --extra-ldflags="-L$HOME/ffmpeg_build/lib" \
      --extra-libs="-lpthread -lm" \
      --bindir="$HOME/bin" \
      --enable-gpl \
      --enable-libass \
      --enable-libfdk-aac \
      --enable-libfreetype \
      --enable-libmp3lame \
      --enable-libopus \
      --enable-libtheora \
      --enable-libvorbis \
      --enable-libvpx \
      --enable-libx264 \
      --enable-libx265 \
      --enable-nonfree && \
    PATH="$HOME/bin:$PATH" make && make install
    
    If successful, your should now have the ffmpeg command available on your Ubuntu system:
    $ ffmpeg -version
    ffmpeg version N-90268-g9fe61b6 Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 7 (Ubuntu 7.3.0-5ubuntu1)
    
    For additional information on how to remove and update your FFmpeg installation visit https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
    ARE YOU LOOKING FOR A LINUX JOB?
    Submit your RESUME or create a JOB ALERT on LinuxCareers.com job portal.
    DO YOU NEED ADDITIONAL HELP?
    Get extra help by visiting our LINUX FORUM or simply use comments below.

    ◎ ■ ▶ ☞ ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다. https://11q.kr ♠

    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    등록된 댓글이 없습니다.

    목록

    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사




    Total 1,681 / 5 Page
    [ 모바일빌더_림스 모바일 빌더 설치 문제점 ]

    .1) 홈피 path가 되지 않는다//림스 모바일 빌더 경로 추가$g4['url']="https://11q.kr/web/m";//하단 경로 제거…

    [ 배추 스킨 본문 html 의 photostation embed 삽입 ] 댓글 1

    Shims HomePage[https://11q.kr 홈피]\r\n====================\r\n\n\n[이 게시물은 관리자님에 의…

    [ 하마 반응형 빌더 g4s 빌더 기존 db작업 ]

    ### ■ https://11q.kr는 정보를 찾아 공유 합니다.. ■ https://11q.kr\r\n1) hama를 설치 구동에 문제 없는지…

    [ 배추스킨 cheditor의 그림 내 pc 사진넣기 사진아이콘이 나타나지 않을시 ]

    배추스킨 chedit의 그림 내 pc 사진넣기 > 사진아이콘이 나타나지 않을시\r\n주소창에chrome://plugins/ 넣고( 링크 누…

    [ IPCAMERA FOSCAM 8918W / IPCAM VIEWER 설정 ]

    IPCAMERA FOSCAM 8918W / IPCAM VIEWER 설정\r\n\r\n\n[이 게시물은 관리자님에 의해 2013-11-17 19:…

    [ ds-712+에 ds-107 2대 사용하기 / ds107 /ds712 ]

    iptime 공유기에서 ds-712+에 ds-107 2대 사용하기 / ds107 /ds712아래와 같이 외부포트를 설정하여 원래의 port로 접…

    [ 마운트 검증 3개의 홈피 data 공유 ]

    11q.kr 는 네이버/구글에서 검색 찾아오세요------------------------------------------------------…

    [ Tbl-Black 최근글 헤드스킨 ...설치참고 ]

    Tbl-Black 최근글 헤드스킨AD 아미나0조회 171그누보드2013.11.02 03:28첨부파일 - tbl-black.zip (4.2K) […

    [ ds nas HDD 교체 방법 정보 ]

    http://cafe.naver.com/synologynas/50443\r\n\r\n기존NAS하드 USB 연결 방법 참조\r\nhttp://ca…

    [ 나만의 홈페이지를 무료로 제작하세요 ] 댓글 1

    나만의 홈페이지를직접 제작하세요.무료입니다.내 마음대로 편집. 코딩없는 웹디자인.전세계 58,930,436명의 사용자 커뮤니티.시작하기나만을 위…

    [ [배추빌더5] 시놀로지 nas 서버에 배추빌더 /배추스킨 설치하기 20160429 ] 댓글 3

    시놀로지nas에 배추빌더 설치를 home path 로 설정 설치 가능하게 만들었습니다아래 php.ini를 참조하여config.php를 변경 해당…

    [ 헤놀로지 설치준비)관련 참조자료 EX익스트림매뉴얼 ]

    출처 EX익스트림매뉴얼http://extrememanual.net/2823♠\r\n♠ https://11q.kr는 정보를 찾아 공유 합니다..\…

    [ MySQL 가져오기 에러 오류메시지 해결방법 a6004ns iptime 공유기 phpmyadmin에 data… ] 댓글 1

    MySQL메시지:문서오류메세지아시는분조언좀아래와같이가겨오기하면에러가나서복원을못하는상황입니다조언좀부탁합니다오류SQL질의:----테이블의덤프데이터`…

    [ 자료펌)별도 PHOTO 폴더 piwigo 설치 mount --bind A B 마운트 심 볼릭 링크 방법 ] 댓글 17

    Photo2 piwigo mount --bind 옵션으로 아파치 연결 웹서비스`목적 : 시놀로지 photo station은 섬네일 및 사용사의 …


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-30 14:48:13

    오늘의 홈 현황


    • 현재 접속자♨ 570 명
    • 오늘 가입자※ 1 명
    • 어제 가입자※ 5 명
    • 주간 가입자※ 11 명
    • 오늘 방문자 1,322 명
    • 어제 방문자 2,101 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,404,585 명
    • 전체 게시물※ 8,667 개
    • 전체 댓글수※ 24,800 개
    • 전체 회원수 11,078 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑