R
R
rusrich2019-03-12 18:29:21
Ruby on Rails
rusrich, 2019-03-12 18:29:21

How to convert video file without extension using FFMPEG?

In a rail application, I use the standard ActiveStorage file uploader.
It applauds files while removing the extension.
How can I tell FFMPEG to take a specific file without extension as source video?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Moskus, 2019-03-13
@Moskus

ffmpeg has a -f switch that allows you to explicitly specify the format. The list of formats is obtained with the -formats command. So no need to rename.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question