ffmpeg -i filename -ab 320000 -ar 48000 output.mp3
Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
import com.mojang.datafixers.util.Function3; | |
import com.mojang.serialization.Codec; | |
import com.mojang.serialization.codecs.RecordCodecBuilder; | |
import net.minecraft.block.BlockState; | |
import java.util.List; | |
public class CodecExample { | |
public static final Codec<CodecExample> CODEC = RecordCodecBuilder.create( | |
instance -> instance.group( |