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,675 / 12 Page
    [ 작성중)u5pvr사용기 사례 입니다 ]

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

    [ 정보)♥♥♥iptv.m3u 파일 그룹제거 perfect player 나 progtv 에서 리모컨우측 방향… ] 댓글 3

    정보)♥♥♥iptv.m3u 파일 그룹제거 perfect player 나 progtv 에서 리모컨우측 방향키로 한페이지 채널정보 넘기기https:…

    [ iperf 설치 다른 IP 서버와 통신 측정 하기 /u5pvr/ synology/vmware ] 댓글 2

    iperf 설치 다른 IP 서버와 통신 측정 하기 /u5pvr/ synology/vmware윈도우용 파일 cmd 명령어를 만들어 저장 합니다.i…

    [ 실패)안드로이드 OS 설치 듀얼 부팅 하기/How to install android x86 on pc … ]

    저의 저사양 삼성 노트북 r530 구형 노트북 에서는 v8.1는 사용불가능remixos는 아래 버전 사용가능참조:https://11q.kr/g5…

    [ 작업완료 )구누보드 아미나빌드 5.3버전 업데이트_에러 대응 ] 댓글 1

    안녕하세요금일 업데이트 진행중아미나빌더 1.7.27 - G5.2.9.8.4 / YC5.2.9.8.4 사용중아미나빌더 1.8.5 - G5.3.1.…

    [ PHP 리다이렉션(페이지 이동) 3가지 방식 ]

    PHP 리다이렉션(페이지 이동) 3가지 방식1.메타테그를 이용한 방법<?echo "<meta http-equiv='refresh' c…

    [ 우분투)한번에 끝내는 Ubuntu 웹서버세팅 (우분투 서버세팅) ]

    한번에 끝내는 Ubuntu 웹서버세팅 (우분투 서버세팅)https://blog.lael.be/post/73◎ ■ ▶ ☞ ♠ 정보찾아 공유 드리며…

    [ FFmpeg를 우분투 18.04에 설치하는 법 / Ubuntu에 FFmpeg 4.x 설치하기 ] 댓글 2

    FFmpeg는 멀티미디어 파일을 트랜스 코딩하기위한 무료 오픈 소스 명령 행 도구입니다. 여기에는 libavcodec, libavformat 및…

    [ u5pvr 블루투스 버벅임 문제 발생시 무선 안테나 연결상태 확인 합니다 ]

    u5pvr 블루투스 버벅임 문제 발생시 무선 안테나 연결상태 확인 합니다제품의 설명서가 없어 wifi 사용하지 않아 wifi 안테나인줄 알고 제…

    [ Let's Encrypt Authority X3 인증서 만료시갱신 수동으로 진행 합니다 ]

    Let's Encrypt Authority X3 인증서 만료시홈페이지 로딩이 늘어집니다원인를 찾아보니 인증서 만료됬네요오늘은 인증서갱신 수동으로…

    [ u5 atv8업데이트후 설정.....진행하다 포기,,,,,atv7의 20181201버전으로 롤백 ]

    U5pvr Atv8로 재설치 5시간이상 경과 이상없습니다저의 설치조건는Linux internal 설치후 (Aolupdate 별도진행)Pooq t…

    [ SmartYouTubeTV 4k 유튜브 시청 광고없이 보기 ] 댓글 11

    SmartYouTubeTVhttps://smarttubenext.com/SmartTubeNext APK는 사용자 가 Google Play 서비스…

    [ 사용버전)summernote0812에 G5에 적용 jQuery, bootstrap 다른 버전을 조합 ] 댓글 2

    사용버전)summernote0812에 또다른 G5에 적용 jQuery, bootstrap 다른 버전을 조합저는 일부 B/I 메뉴바에서 동시 클릭…

    [ 실패)Portainer 설치 및 설정 (Docker Web UI 관리툴) u5pvr 설치 작업 ]

    Portainer 설치 및 설정 (Docker Web UI 관리툴) u5pvr 설치 작업putty이 ssh 접속 아래 명령을 입력 합니다dock…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-24 21:37:41

    오늘의 홈 현황


    • 현재 접속자♨ 775 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 0 명
    • 주간 가입자※ 15 명
    • 오늘 방문자 1,098 명
    • 어제 방문자 0 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,392,367 명
    • 전체 게시물※ 8,652 개
    • 전체 댓글수※ 24,765 개
    • 전체 회원수 11,066 명

    QR코드


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

    알림 0








    최신글↑