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,684 / 46 Page
    [ 거실 u5/gt-mini-a android tv 셋탑에서 서재 pc 간단히 네트워크 연결 영화 보기 ] 댓글 1

    거실 u5/gt-mini-a android tv 셋탑에서 서재 pc 간단히 네트워크 연결 영화 보기사용어플 :ES 파일 탐색기,mxplayer,…

    [ 스마트폰 사진 갤러리 사진보기 파일 다중선택 공유하기 ]

    pc로 사진 전송하는 방법으로 네이버 메모가 유용합니다스마트폰 사진 갤러리 사진보기 파일 다중선택 (길게누르면 선택가응)공유하기를 네이버 메모로…

    [ MiBox3 EddyLab에디션 안드로이드 셋탑 네트워크 영화 보기및 TTX 동작으로 자막을 음성으로 ]

    MiBox3 EddyLab에디션 안드로이드 셋탑 네트워크 영화 보기및 TTX 동작으로 자막을 음성으로장비는 구글 안드로이드 셋탑 > MiB…

    [ cafe24 도메인 등록 방법및 공유기변동에 대한 ip등록 방법 ]

    cafe24 도메인 등록 방법및 공유기변동에 대한 ip등록 방법간편한 웹접속을 위하여 도메인을 cafe24에서 구입 ip를 등록 나의 홈피 ip…

    [ 프레임 워크 인 Bootstrap을 시작하십시오 ]

    BootstrapCDN 및 템플릿 시작 페이지를 사용하여 반응 형의 모바일 우선 사이트를 구축하기위한 세계에서 가장 널리 사용되는 프레임 워크 …

    [ 쉴드tv에 termux 설치후 pkg 자동설치 진행으로 pc에서 putty와 winscp 자동연결 가능하게 … ]

    쉴드tv에 termux 설치후 pkg 자동설치 진행으로 pc에서 putty와 winscp 자동연결 가능하게 하기termux의 설치시 외부저장소에…

    [ 시놀로지[KLive] 채널 정리 및 툴 2020.01.05.일 이용 활용하기 ]

    시놀로지[KLive] 채널 정리 및 툴 2020.01.05.일 이용 활용하기# 파일- 링크 :https://drive.google.com/ope…

    [ tvimate klive 라이브 채널 m3u 경로 epg 경로 scrcpy 로 쉽게 등록 하여 TV시청하기 ] 댓글 28

    tvimate klive 라이브 채널 m3u 경로 epg 경로 scrcpy 로 쉽게 등록 하여 TV시청하기주) 먼저 sjva2를 개발 공유해주신…

    [ ???에서 제공하는 tvheadend 구문 ]

    1. 이용환경 : 설치 기기 / (Docker or Native) 표시  예) 시놀 916+ / 도커  라즈베리파이4 / native  Core…

    [ 탭 앞에 아이콘 설정/주소입력창위 홈페이지이름옆에 아이콘출력하기 ]

    탭 앞에 아이콘 설정/주소입력창위 홈페이지이름옆에 아이콘출력하기https://sir.kr/g5_tip/6632?sfl=wr_subject%7C%…

    [ youtube API 유튜브 api 및 일일 할당량으로 접속 오류 및 접속 제한 확인 하기 ]

    youtube API 유튜브 api 및 일일 할당량으로 접속 오류 및 접속 제한 확인 하기저의 조건은 유튜브 무료/유로 사용하지 않음일일 리미트…

    [ ● FolderSync 를 사용하여 스마트폰 사진및 파일 시놀로지 서버에 백업 하기 ]

    ●FolderSync 를 사용하여 스마트폰 사진및 파일 시놀로지 서버에 백업 하기- ds-file ,sync ....하는 nas 프로그램 앱이 …

    [ ● 시놀로지 마린db10 mariadb10 설치 암호 입력 않되는것 암호에 대문자포함 하세요 ]

    ● 시놀로지 마린db10 mariadb10 설치 암호 입력 않되는것 암호에 대문자포함 하세요 에러내용 >패스워드는 현재 강도 규칙을 충족하…

    [ ● VMware ESXi 6.7: VM 자동 시작 / autostart vm VMware Tools를 설치… ]

    ●VMware ESXi 6.7: VM 자동 시작 / autostart vm반짝이는 새 가상 머신이 ESXi에서 모두 설정되었습니까?정전 또는 기…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-07-06 16:40:48

    오늘의 홈 현황


    • 현재 접속자♨ 660 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 6 명
    • 주간 가입자※ 18 명
    • 오늘 방문자 1,621 명
    • 어제 방문자 1,981 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,417,105 명
    • 전체 게시물※ 8,677 개
    • 전체 댓글수※ 24,843 개
    • 전체 회원수 11,092 명

    QR코드


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

    알림 0








    최신글↑