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,672 / 15 Page
    [ ● phpmyadmin data검사 인덱스 ??? 는 동일한 것으로, 두 가지 중 하나는 제거해도 상관없습… ]

    ● phpmyadmin data검사인덱스 ??? 는 동일한 것으로, 두 가지 중 하나는 제거해도 상관없습니다. - mysql data의 문제 검…

    [ ● svchost.exe 동작확인 하기 네트워크 동작 중지및 일부 프로그램 강제종료 중지 건 ]

    ● svchost.exe 동작확인 하기 네트워크 동작 중지및 일부 프로그램 강제종료 중지 건svchost.exe 가 윈도우에서 왜 많이 실행되고…

    [ ● dsm업데이트 가능)tinycore-redpill.v0.8.0 빌드 작업)Esxi sever xpeno… ] 댓글 43

    ARPl 로더를 사용을 추천 합니다★★★ 시놀로지작업) 새로운 레드필 로더 ARPL(Automated Redpill Loader)로 빌드하기 강…

    [ ● 시놀로지 ipcamera / 카메라 동작 감지 녹화 설정 / 동작감지 이메일 알림 활성화로 카카오 문자 … ] 댓글 2

    ● 시놀로지 ipcamera / 카메라 동작 감지 녹화 설정 / 동작감지 이메일 알림 활성화로 카카오 문자 받기시놀로지 카메라를 가정내 활용하는…

    [ ● 시놀로지작업) 시놀로지 초기 설치 설정하기 ( 또는 헤놀로지 부트로더 설정후) ]

    ● 시놀로지작업) 시놀로지 초기 설치설정하기 ( 또는 헤놀로지 부트로더 설정후) 시놀로지 초기구입이나 헤놀로지 부트로더 로 부팅후 설정 작업 입…

    [ 작업중● 구글 도메인 구입 등록 변경 벙법 및 사이트 11q.kr 에서 123q.me 사이트 도메인 변경 진… ] 댓글 8

    ● 구글 도메인 구입 등록 변경 벙법및 사이트 11q.kr 에서 123q.me 사이트 도메인 변경 진행중구글 도메인을 구입 사유1) 시놀로지 지…

    [ 과거 오래된 스킨 글쓰기가 안 되는 [ $wr_id값 ] 대응방법 ]

    오래된 스킨사용시 글쓰기가 되지 않아\r\n1.기본 설치 스킨 사용하고\r\n2. 또다른 방법은 저는 배추 에디터 스킨을 최신을 사용 중입니다\…

    [ SyncBack V3.2.18.0(ko_KR) 사용 설명서 ]

    ◎ 네이버에서 [https://11q.kr 홈피] 검색 찾아오세요 ◎아래 사이트 링크 합니다http://cdmanii.com/294 \r\n\r…

    [ [배추스킨 업데이트후 ]모비일에서 글쓰기 스마트폰에서 pc mode에서 글쓰기2 ]

    모비일에서 글쓰기스마트폰에서 pc mode에서 글쓰기\r\n모바일에서. 업데이트 가능하게 하기write skin.php수정------------…

    [ 림스 모바일2.4.2 수정내용(9/5일버전 다운후) ]

    림스 모바일2.4.2 수정내용(9/5일버전 다운후)2012-09-06 11:20:33 , 56 조회written by 11q.kr관리자\r\n\…

    [ [림스업] 배추 게시판 림스모바일 사용시 삭제 않되는 문제 추가 m/bbs/delete.php에 스킨 경로… ]

    // 배추 게시판 림스모바일 사용시 삭제 않되는 문제 추가 m/bbs/delete.php에 스킨 경로 #3추가시작// 스킨경로 추가 내용$boa…

    [ 강력한 모바일 저작도구 m-Bizmaker를 소개합니다. ]

    2011. 01. 13.에mbizmaker1님이 올린 동영상\r\n\r\nhttp://www.mbizmaker.com강력한 모바일 저작도구 m-…

    [ //림스 모바일 빌더 경로 추가 ] 댓글 2

    //림스 모바일 빌더 경로 추가\r\n$g4['url']="https://11q.kr/web/m";\r\n//게시판 아이디와 게시판명\r\n//…

    [ 게시판 스킨에서 일반동영상 wmv, avi, asf 올리면 ]

    기존버전에서는 동영상이 실행이 되는데 그누 최신버전이나 배추빌더 최신버전에서는 게시판 스킨에서 일반동영상 wmv, avi, asf 올리면 동영상…

    [ config.php 도메인 설정 방법밀 로그인 되는 조건 ]

    ..Shims HomePage[https://11q.kr 홈피] .로그인이 되지 않는다 https://에\r\ndefine('G4_HTT…

    [ 에디트플러스 3.51.615 editplus ]

    http://www.editplus.com/kr/index.html설치 다운받기http://www.editplus.com/kr/ftp.php?n…

    [ 탑메뉴_drop_down_auto_그룹메뉴 글자색 변경/AMINA 설정 ]

    탑메뉴_drop_down_auto_그룹메뉴 글자색 변경\r\n\r\n기본 설치 정보및 출처 \r\nhttp://umz.kr/0CWTr\r\n\r…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-02 22:40:50

    오늘의 홈 현황


    • 현재 접속자♨ 617 명
    • 오늘 가입자※ 4 명
    • 어제 가입자※ 4 명
    • 주간 가입자※ 7 명
    • 오늘 방문자 2,225 명
    • 어제 방문자 2,099 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,355,470 명
    • 전체 게시물※ 8,615 개
    • 전체 댓글수※ 24,678 개
    • 전체 회원수 11,008 명

    QR코드


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

    알림 0








    최신글↑