Skip to content

Instantly share code, notes, and snippets.

@tigefabot
tigefabot / ffmpeg-10bit.md
Last active October 4, 2022 11:33
ffmpeg 10bit

If you have an appropriately configured modern version of FFmpeg and x265, (the repository FFmpeg under Zesty Zapus 17.04 falls into this category), you should find encoding with 8, 10 and 12bit fairly straightforward.

I illustrate a sample command line for each below:

1. 8bit HEVC encoding with FFmpeg...

Check the capability of your installed version of x265 for 8bit encoding as follows:

andrew@illium~$ x265 -V

x265 [info]: HEVC encoder version 2.4

@gilson27
gilson27 / ffmpeg_command_snippets.txt
Last active February 20, 2021 15:58
My quick command snippets (ffmpeg)
///////////////////////////////////////////// FFMPEG snippets ////////////////////////////////////////////////////
ffmpeg -f rawvideo -vcodec rawvideo -s 1920x1080 -r 30 -pix_fmt yuv420p -i crowdRun_D.yuv -codec:v v210 output.mov
ffmpeg -i input.avi -c:v libx264 -crf 19 -preset slow -c:a libfaac -b:a 192k -ac 2 out.mp4
==================================================================================================================
Decode 10 bit mov capture as yuv v210
------------------------------------------------------------------------------------------------------------------
@JonasGroeger
JonasGroeger / gen-ubuntu-sources-list.py
Created June 16, 2015 09:16
Generates '/etc/apt/sources.list' compatible lists for Ubuntu releases
#!/usr/bin/env python3
import argparse
import getpass
import os
import time
import sys
KNOWN_CODENAMES = ['lucid', 'precise', 'trusty', 'utopic', 'vivid', 'wily']