Coder Social home page Coder Social logo

stoyanovgeorge / ffmpeg Goto Github PK

View Code? Open in Web Editor NEW
138.0 138.0 19.0 70 KB

Automated scripts for installation of ffmpeg and its most popular libraries from source under Ubuntu and a detailed wiki containing a lot of hints and tricks for ffmpeg.

License: Apache License 2.0

Shell 100.00%
compilation ffmpeg source ubuntu

ffmpeg's People

Contributors

stoyanovgeorge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ffmpeg's Issues

Decklink support?

Would it be possible for you to include compilation support for Blackmagic Decklink SDK.

Thanks.

script failed

I downloaded your script and tried to install it on a fresh, new install of Ubuntu server 18.04 64-bit.
It gives me this error: ERROR: x265 not found using pkg-config - and tells me to "Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem.", but I can't find that config.log or ffbuild anywhere.
I tried the automated script and got the same errors.
It never came up with the "reboot" option/command. It just ends with that error, how to report it on the mailing list/IRC then asks if you want to remove the install directory.
Is there something I've done wrong?
I am a visually impaired user and I'm trying to install this on a Dell PowerEdge server.

Thanks in advance,
Flip

Don't know how to use the multiple lines you suggest

Hi there!

ffmpeg -i input.mkv \
    -map 0:0 -map 0:1 -map 0:1 -map 0:3 \
    -c:v copy \
    -c:a:0 libmp3lame -b:a:0 128k \
    -c:a:1 libfaac -b:a:1 96k \
    -c:s copy \
    output.mkv

Should all this be put inside a script file (bat file)?
If I paste it in the shell (windows) I get errors, one error per line

Thank you

Request: Intel SVT encoders.

The Intel SVT encoders offer significant performance improvements. Would be great to see them integrated into the compile.

suggested ways to fix corruptions

I liked your suggestions on https://github.com/stoyanovgeorge/ffmpeg/wiki/How-to-Find-and-Fix-Corruptions-in-FFMPEG

Here are some useful stuff I've found:

  1. This is well known: -err_detect ignore_err it makes ffmpeg continue to process a file, along with -codec copy it can skip bad-frames and create a playable stream with minimal (no) processing (very fast).
  2. also very fast are the mux-filters you can switch-ON with -flags and -fflags: -flags "-output_corrupt" -fflags "+discardcorrupt" (its best to wrap arguments with -/+ so the operation-system pass them well to the ffmpeg command-line-processor). Mux-filters are very fast and do not need to re-encode the streams, just copy.
  3. Using the mkv "container" in the output generates a "more tolerable" result for some reason. b.t.w., YouTube supports mkv files. ffmpeg -hide_banner -strict "experimental" -y -threads 16 -flags "-output_corrupt" -fflags "+discardcorrupt" -err_detect ignore_err -i input.mp4 -codec copy output.mkv.
  4. With encoding: I've found that when converting older formats (AVI, FLV,3GP) to mp4, the frames might be in weird height/length and mp4 stream must have a frame-size (height and width) that is dividable by 2 otherwise the encoding or playing is failing and the result is often squished (I use pad filter for fixing that, preserving the original perspective bringing the video to 16:9 ratio which works nicely on wide screen without stretching the original dimensions), when content is cut without re-encoding result might creates a weird frames timestamps and unplayable skips (I use setpts=PTS-STARTPTS for that), to improve compression reducing frame-difference and noise I use hqdn3d, and finally I found that a lot of improvements in H.265 format is capable of producing a smaller filesize (in same quality) while using the CPU more efficiently, I usually copy the audio as is saving some time. The mkv container works well with it. -c:v libx265 -c:a copy -crf 26 -preset ultrafast ---- CRF 28 (h.265) === CRF 23 (h.264), 1/2 size.

    The command-line looks something like that: call ffmpeg -hide_banner -strict "experimental" -y -threads 16 -flags "-output_corrupt" -fflags "+discardcorrupt" -err_detect ignore_err -i input.mp4 -c:v libx265 -c:a copy -crf 26 -preset ultrafast -vf "fifo,setpts=PTS-STARTPTS,pad=width=ih*16/9:height=ih:x=(ow-iw)/2:y=(oh-ih)/2:color=#00000000,scale=-2:1080,hqdn3d" output.mkv

Ubuntu 18.04.04 Fails

vmaf fails.
Removed it from the both scripts.
FFMPEG still fails to build.
SRT and other plugins fail when build and configured with configuration script and make.
AWS EC2.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.