The following FFmpeg command will convert a Dolby Vision (DoVi) enabled Matroska (MKV) file to MPEG-4 Part 14 (MP4) while preserving all subtitles:
ffmpeg -i file.mkv -map 0 -c:v copy -c:a copy -c:s mov_text -strict unofficial file.mp4
#!/usr/bin/env bash | |
######################################################################################### | |
# deploy_certificates.sh | |
# | |
# Copyright (c) 2023 Anthony Accioly <anthony@accioly.dev> | |
# | |
# SPDX-License-Identifier: MIT | |
# | |
# Description: |
enum Shape: | |
case Diamond, Squiggle, Oval | |
enum Color: | |
case Red, Green, Purple | |
enum Shading: | |
case Open, Striped, Solid | |
enum NumberType: |
package com.rockthejvm.blog | |
import kotlinx.coroutines.* | |
import mu.KotlinLogging | |
import java.util.concurrent.Executors | |
// coroutine = "thread" | |
// parallel + concurrent apps | |
private val logger = KotlinLogging.logger {} |
#!/bin/bash | |
# Extracts Artist;Album and Title from a CSV file exported by Mp3tag | |
if [ $# -ne 1 ]; then | |
echo usage: cleanMp3tagCSV file | |
exit 1 | |
fi | |
ORIGINAL_FILE=$1 |
import java.math.BigDecimal; | |
import java.util.*; | |
import java.util.stream.Collectors; | |
import java.util.stream.IntStream; | |
/** | |
* Created by Anthony on 11/10/2014. | |
*/ | |
public class Teste { |
-------------------------------------------- | |
System.nanoTime() | |
-------------------------------------------- | |
Avg Time: 0.99 | |
Max Time: 1.90 | |
Min Time: 0.51 | |
-------------------------------------------- | |
System.currentTimeMillis() | |
-------------------------------------------- | |
Avg Time: 1.00 |