So much documentation.
-
Encode for 1080p blu-ray: https://web.archive.org/web/20211016213149/http://www.x264bluray.com/home/1080i-p
1080p Primary and Secondary Streams
1080p23.976 / 1080p24
x264 --bitrate XXXXX --preset veryslow --tune film --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 1 -o out.264 input.file x264 --bitrate XXXXX --preset veryslow --tune film --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 24 --open-gop --slices 4 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 2 -o out.264 input.file
NB: the following two streams are encoded using fake-interlaced mode. This allows the stream to be encoded progressively yet flagged as interlaced.
1080p25
x264 --bitrate XXXXX --preset veryslow --tune film --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 25 --open-gop --slices 4 --fake-interlaced --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 1 -o out.264 input.file x264 --bitrate XXXXX --preset veryslow --tune film --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 25 --open-gop --slices 4 --fake-interlaced --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 2 -o out.264 input.file
1080p29.97
x264 --bitrate XXXXX --preset veryslow --tune film --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 30 --open-gop --slices 4 --fake-interlaced --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 1 -o out.264 input.file x264 --bitrate XXXXX --preset veryslow --tune film --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 30 --open-gop --slices 4 --fake-interlaced --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 2 -o out.264 input.file
-
Don't transcode to disk, transcode to s3:
fifo=$(mkstemp ...)
ffmpeg ... unix://${fifo}
# in another process
s3 cp ${fifo} s3://<destination>
Works for to or from, probably!
Other interesting FFMpeg protocols: tcp, tls, udp, aqmp, http, sftp, hls.
Also, you can just mount s3 on the filesystem and use it to push out HLS using the HLS demuxer.
-
FFMPEG CAN SEND STUFF TO RTMP links AND STREAM IT. LIVESTREAMS.
-
Transcode to HLS, putting output to some HTTP server:
ffmpeg -re -i in.ts -f hls -method PUT http://example.com/live/out.m3u8
Various options for DRM+ffmpeg.\
I particularly like the use of bento4 in that guide for VOD.
- brew
- Martin Riedl's FFmpeg Build Server
- Great for "Mac native" experience
- The OSXExperts builds were a revelation, though.
- Great for Bundling.
I'm pretty sure it's just apt-get install -y ffmpeg
.
You need rpmfusion, then just dnf install ffmpeg
Provided by the wonderful John Van Sickle..
How can I make ffmpeg more digestible?
I drool over ffmpeg.guide but I can't seem to log in. I can get to the demo though.
Looks really good.
ffWorks looks good, but ultimately is a more limited tool.
FFmpegGUI is exactly what I want, but I can't get it to build and it appears abandoned.
-
Media Lovin' Toolkit (MLT) (Not to be chttps://www.mltframework.org/docs/onfused with a nice Mutton, Lettuce, and Tomato sandwhich) is of interest.
-
QWinFF is an OK transcoder, I guess, but not all bells and whistles.
- Installation and Overview
- Burn in subtitles and apply Overlays (make your own Technologik): FILTERS
- Match input bitrates and quality or change it up: CODECS
- Transcode an HLS and put it directly on S3 without writing to disk: MUXERS
- Extract frames (one filter for each): BLARG
- Select scene frames, Create sprite sheets, create mosaics (select)