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 / 30 Page
    [ 인텔 정품 cpu 팬 높이 치수 / mini-itx 보드에 나스케이스 cpu 팬 (높이) 쿨러 구입 정보… ]

    인텔 정품 cpu 팬 높이 치수 / mini-itx 보드에 나스케이스 cpu 팬 (높이) 쿨러 구입 정보 가격 참조팬 종료별 비교 http://…

    [ [정보] VMware Player를 이용해서 XPEnology/Synology /헤놀로지 윈도우 서버 201… ] 댓글 4

    ♠[정보] VMware Player를 이용해서 XPEnology/Synology\r\n/헤놀로지 윈도우 서버 2016 구축 설치사용기 입니다\r…

    [ SK 인터넷과 IPTV 연결과 사설공유기 pc연결시 기존 IPTV와 PC 랜 연결시 화면 끝김 발생 대응 … ] 댓글 1

    SK 인터넷과 IPTV 연결과 사설공유기 pc연결시 기존 IPTV와 PC 랜 연결시 화면 끝김 발생 대응 허브및 공유기 ,서버 연결도기존 : I…

    [ MS 정품 무료 웹에디터 배포 다운로드(Microsoft Microsoft Expression Web 4) ] 댓글 8

    MS정품무료웹에디터배포다운로드(MicrosoftMicrosoftExpression\Web4)-홈페이지나블로그또는다양한웹페이지를만들때아마도HTML…

    [ 패리티 일괄성검사 빠르게 하는방법(dsm6)_시놀로지/헤놀로지 윈도우 vmware 사용자 ]

    시놀로지/헤놀로지 윈도우 vmware 사용자 패리티 일괄성검사 빠르게 하는방법\r\n1) 초기 하드구성을 볼륨단위로 묽어서 구성하라\r\n저는 …

    [ 옥션에서 싼값에 디지털TV 셋톱BOX 을 구입 > 셀런 tv / celruntv 새롭게 GHOST PATCH… ] 댓글 23

    옥션에서 싼값에 디지털TV 셋톱BOX 을 구입했는데 이것이 요물 단지 입니다사용상에 문제는 없으나 구글링하여kevin 분의 자료를 받아 업데이트…

    [ pwigo 암호 초기화및 이메일 확인하기 password change 패스워드 변경 하기 ]

    pwigo 암호 초기화및 이메일 확인하기 password change등록된 이메일을 모른다 확인하여 암호 변경https://11q.kr/piwi…

    [ 부하가 적은 파일 전송 FlashFXP 을 이용한 nas용 파일전송 백업 ftp 사용방법기 입니다 ] 댓글 5

    부하가 적은 파일 전송 FlashFXP 을 이용한 nas용 파일전송 백업 ftp 사용방법기 입니다FlashFXP에 오신 것을 환영합니다!Flas…

    [ 이메일 서버에서 왜 스펨메일이 생기는지 ?아시는 분 리풀좀 해주세요 ]

    이메일 서버에서 왜 스펨메일이 생기는지 ?아시는 분 리풀좀 해주세요>\r\n>\r\n>\r\n♠ 출처는 링크 참조 바랍니다. h…

    [ 준비)omvs 프로그램을 이용한 S* (B*v) IPTV 주소 따는 방법 준비 ]

    오! 멀티 캐스트 비디오 스캐너\r\n\r\n무료 비디오 스트리밍 멀티 캐스트 IP 주소를 찾을 수 있습니다! 멀티 캐스트\r\n비디오 스캐너.…

    [ RAID 볼륨 시스템 파티션 실패함 수정 방법 ]

    RAID 볼륨 시스템 파티션 실패함 수정 방법DSM 새로 설치후 이전 RAID/볼륨을 추가시 시스템 파티션\r\n실패함발생시 수리방법 > …

    [ 웹페이지 화면 표현 시간 ]

    그누보드5 팁자료실웹페이지 화면 표현 시간검색목록목록tail.php 에 아래와 같이 변경하면화면에 표현 하는데 걸리는 시간을같이 볼수 있습니다.…

    [ iptv시청과 iptime공유기 확인 사항과 20170717 채널 서치 ] 댓글 156

    첫번째)공유기 밑에 iptv 시청하면서 ip 확인 하는 방법MBC Sports+__를 보고 있습니다 , 주소는udp://239.192.59.3:…

    [ VMware Raw Device Mapping(RDM) 설정 ] 댓글 3

    VMware Raw Device Mapping(RDM) 설정서버관련2013.09.28 01:38뷰어댓글로이전글다음글VMware에서 datasto…

    [ u5pvr사용기) 제품사용기 사용사례 sound 출력 설정 버퍼링 정보 ] 댓글 1

    [U5PVR] U5PVR ATV 베타펌 리뷰 Ver. 1 (스샷 압박 주의) : 네이버 카페출처 : [Eddy Lab] UHD 미니 PC 포럼 …

    [ 빨강모자님 감사 내용스킨건 문의 )글 주소 복사버튼 만들기의 또 하나의 방법.. ] 댓글 5

    저는 스킨을 shimss 변경하면 아래와같이 내용이 나오지 않으며 복사,이동,,,,, 2줄로 나와서basic으로 사용합니다.-----------…

    [ u5pvr)데비안/우분투 리눅스 커널(Kernel) 업데이트 - 2017.12.20. [출처] 데비안/우분투… ]

    u5pvr)데비안/우분투 리눅스 커널(Kernel) 업데이트 - 2017.12.20. [출처] 데비안/우분투 리눅스 커널(Kernel) 업데이트…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-07-01 19:19:32

    오늘의 홈 현황


    • 현재 접속자♨ 554 명
    • 오늘 가입자※ 1 명
    • 어제 가입자※ 4 명
    • 주간 가입자※ 12 명
    • 오늘 방문자 1,852 명
    • 어제 방문자 1,787 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,406,902 명
    • 전체 게시물※ 8,671 개
    • 전체 댓글수※ 24,813 개
    • 전체 회원수 11,079 명

    QR코드


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

    알림 0








    최신글↑